OMAP3_logic: Add NAND args to boot UBIFS
PATCH 1/1 OMAP3_logic: Add NAND args to boot UBIFS
With the recent addition of UBI support, this patch will add the preset parameters to allow for mouting an UBIFS from the 'fs' partition in NAND.
Signed-off-by Adam Ford <[email protected]>
--- include/configs/omap3_logic.h | 6 ++++++ 1 file changed, 6 insertions(+)
include/configs/omap3_logic.h +6 -0
@@ -180,6 +180,8 @@"mmcdev=0\0" \"mmcroot=/dev/mmcblk0p2 rw\0" \"mmcrootfstype=ext4 rootwait\0" \ +"nandroot=ubi0:rootfs rw ubi.mtd=4 noinitrd\0" \ +"nandrootfstype=ubifs rootwait\0" \"autoboot=mmc dev ${mmcdev}; if mmc rescan; then " \"if run loadbootscript; then " \"run bootscript; " \
@@ -221,6 +223,10 @@"${optargs} " \"root=${mmcroot} " \"rootfstype=${mmcrootfstype}\0" \ +"nandargs=run setconsole; setenv bootargs console=${console} " \ +"${optargs} " \ +"root=${nandroot} " \ +"rootfstype=${nandrootfstype}\0" \"fdtaddr=0x86000000\0" \"loadfdtimage=mmc rescan; " \"fatload mmc ${mmcdev} ${fdtaddr} ${fdtimage}\0" \
Signature · 1 line
1.9.1
PATCH 1/1 OMAP3_logic: Add NAND args to boot UBIFS
Quoted 13 lines · Adam Ford
With the recent addition of UBI support, this patch will add the preset parameters to allow for mouting an UBIFS from the 'fs' partition in NAND.
Signed-off-by Adam Ford <[email protected]>--- include/configs/omap3_logic.h | 6 ++++++ 1 file changed, 6 insertions(+)include/configs/omap3_logic.h +0
-0
include/configs/omap3_logic.h line 183
Quoted 4 lines
include/configs/omap3_logic.h +1
-0@@ -180,6 +180,8 @@"mmcdev=0\0" \"mmcroot=/dev/mmcblk0p2 rw\0" \"mmcrootfstype=ext4 rootwait\0" \ +"nandroot=ubi0:rootfs rw ubi.mtd=4 noinitrd\0" \
Since we have mtdparts defined and being passed in, you should use ubi.mtd=fs here instead to be more future-proof. IMHO.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160209/9c1506aa/attachment.sig>