mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-25 04:19:43 +09:00
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. -V2: ubi.mtd=fs instead of ubi.mtd=4 Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
46f7bb0062
commit
a094c9211e
@ -180,6 +180,8 @@
|
|||||||
"mmcdev=0\0" \
|
"mmcdev=0\0" \
|
||||||
"mmcroot=/dev/mmcblk0p2 rw\0" \
|
"mmcroot=/dev/mmcblk0p2 rw\0" \
|
||||||
"mmcrootfstype=ext4 rootwait\0" \
|
"mmcrootfstype=ext4 rootwait\0" \
|
||||||
|
"nandroot=ubi0:rootfs rw ubi.mtd=fs noinitrd\0" \
|
||||||
|
"nandrootfstype=ubifs rootwait\0" \
|
||||||
"autoboot=mmc dev ${mmcdev}; if mmc rescan; then " \
|
"autoboot=mmc dev ${mmcdev}; if mmc rescan; then " \
|
||||||
"if run loadbootscript; then " \
|
"if run loadbootscript; then " \
|
||||||
"run bootscript; " \
|
"run bootscript; " \
|
||||||
@ -221,6 +223,10 @@
|
|||||||
"${optargs} " \
|
"${optargs} " \
|
||||||
"root=${mmcroot} " \
|
"root=${mmcroot} " \
|
||||||
"rootfstype=${mmcrootfstype}\0" \
|
"rootfstype=${mmcrootfstype}\0" \
|
||||||
|
"nandargs=run setconsole; setenv bootargs console=${console} " \
|
||||||
|
"${optargs} " \
|
||||||
|
"root=${nandroot} " \
|
||||||
|
"rootfstype=${nandrootfstype}\0" \
|
||||||
"fdtaddr=0x86000000\0" \
|
"fdtaddr=0x86000000\0" \
|
||||||
"loadfdtimage=mmc rescan; " \
|
"loadfdtimage=mmc rescan; " \
|
||||||
"fatload mmc ${mmcdev} ${fdtaddr} ${fdtimage}\0" \
|
"fatload mmc ${mmcdev} ${fdtaddr} ${fdtimage}\0" \
|
||||||
|
Loading…
Reference in New Issue
Block a user