Issue:
1: Open terminal
2: cat /proc/cmdline look like below
tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,2 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1 quiet
The cmdline “root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1” occurs twice.
Cause:
1: bsp/flash.sh adds cmdline to dtb and boot image header
2: cboot.bin merges the dtb and boot image cmdline
Fix:
1: change the bsp/flash.sh to remove boot image cmdline, look like this:
./mkbootimg ${MKBOOTARG} --cmdline “” > /dev/null 2>&1;
Would you please confirm whether the modification is ok?
thanks.