From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 5 Apr 2016 21:39:14 -0700 Subject: [U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme In-Reply-To: References: <1459502893-11399-1-git-send-email-wenbin.song@nxp.com> <570420DF.5090408@nxp.com> Message-ID: <570492F2.8000409@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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