[U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

York Sun york.sun at nxp.com
Wed Apr 6 06:39:14 CEST 2016


On 04/05/2016 09:20 PM, Wenbin Song wrote:
> Hi: York
> 
> Do you mean that I should use $mtdpart to instead of "MTDPARTS_DEFAULT" ?
>  
> As follows:	
>        #define CONFIG_BOOTARGS                 "console=ttyS0,115200 root=/dev/ram0 " \
> 	                                         "earlycon=uart8250,mmio,0x21c0500 " \
> 	                                       "$mtdparts"
> 
> If so, the variable $mtdparts can't  be extend ,like that:
> 
> root at ls1043aqds:~# cat /proc/cmdline
> console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ${mtdparts}
> 

What do you see "print bootargs" under U-Boot?
I thought the variable can be extended when U-Boot runs the command. Like we
used to have $consoledev, $othbootargs, etc.

York



More information about the U-Boot mailing list