[U-Boot] [PATCH 12/13] tricorder: read kernel directly from NAND

Andreas Bießmann andreas.devel at googlemail.com
Fri Sep 6 15:04:57 CEST 2013


From: Andreas Bießmann <andreas.biessmann at corscience.de>

Signed-off-by: Andreas Bießmann <andreas.biessmann at corscience.de>
---
 include/configs/tricorder.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h
index e2bbebb..7eff448 100644
--- a/include/configs/tricorder.h
+++ b/include/configs/tricorder.h
@@ -260,9 +260,10 @@
 	"loaduimage_ubi=ubi part ubi; " \
 		"ubifsmount ubi:root; " \
 		"ubifsload ${loadaddr} /boot/uImage\0" \
+	"loaduimage_nand=nand read ${loadaddr} kernel 0x500000\0" \
 	"nandboot=echo Booting from nand ...; " \
 		"run nandargs; " \
-		"run loaduimage_ubi; " \
+		"run loaduimage_nand; " \
 		"bootm ${loadaddr}\0" \
 	"autoboot=mmc dev ${mmcdev}; if mmc rescan; then " \
 			"if run loadbootscript; then " \
-- 
1.7.10.4



More information about the U-Boot mailing list