mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
am335x_evm: nand: Fix boot from NAND
Use the correct partition names from with the Device Tree blob and the kernel is picked up. Also use partition name instead of number for the root filesystem in the kernel boot arguments. Signed-off-by: Roger Quadros <rogerq@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
9ddef489c4
commit
cda6017629
1 changed files with 3 additions and 3 deletions
|
@ -54,12 +54,12 @@
|
|||
"${optargs} " \
|
||||
"root=${nandroot} " \
|
||||
"rootfstype=${nandrootfstype}\0" \
|
||||
"nandroot=ubi0:rootfs rw ubi.mtd=9,2048\0" \
|
||||
"nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048\0" \
|
||||
"nandrootfstype=ubifs rootwait=1\0" \
|
||||
"nandboot=echo Booting from nand ...; " \
|
||||
"run nandargs; " \
|
||||
"nand read ${fdtaddr} u-boot-spl-os; " \
|
||||
"nand read ${loadaddr} kernel; " \
|
||||
"nand read ${fdtaddr} NAND.u-boot-spl-os; " \
|
||||
"nand read ${loadaddr} NAND.kernel; " \
|
||||
"bootz ${loadaddr} - ${fdtaddr}\0"
|
||||
#else
|
||||
#define NANDARGS ""
|
||||
|
|
Loading…
Reference in a new issue