
6 Apr
2016
6 Apr
'16
6:39 a.m.
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@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