diff mbox

[U-Boot,u-boot,2/3] am335x_evm: nand: Fix boot from NAND

Message ID 1433497342-16169-3-git-send-email-rogerq@ti.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Roger Quadros June 5, 2015, 9:42 a.m. UTC
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>
---
 include/configs/am335x_evm.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Tom Rini June 5, 2015, 12:48 p.m. UTC | #1
On Fri, Jun 05, 2015 at 12:42:21PM +0300, Roger Quadros wrote:

> 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>
Tom Rini June 13, 2015, 2:10 a.m. UTC | #2
On Fri, Jun 05, 2015 at 12:42:21PM +0300, Roger Quadros wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 1c6cbd7..a5f1f06 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -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 ""