[U-Boot] [PATCH v1 1/2] SHEEVAPLUG : REDEFINE MTDPARTS

Gérald Kerma drEagle at doukki.net
Sat Dec 13 21:36:38 CET 2014


Signed-off-by: Gérald Kerma <drEagle at doukki.net>
---
 include/configs/sheevaplug.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index 0f523c5..96fbe87 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -78,8 +78,7 @@
  * it has to be rounded to sector size
  */
 #define CONFIG_ENV_SIZE			0x20000	/* 128k */
-#define CONFIG_ENV_ADDR			0x80000
-#define CONFIG_ENV_OFFSET		0x80000	/* env starts here */
+#define CONFIG_ENV_OFFSET		0xE0000	/* env starts here */
 
 /*
  * Default environment variables
@@ -88,10 +87,11 @@
 	"setenv bootargs ${x_bootargs} ${x_bootargs_root}; "	\
 	"${x_bootcmd_usb}; bootm 0x6400000;"
 
-#define CONFIG_MTDPARTS		\
-	"mtdparts=orion_nand:512K(uboot),"				\
-	"512K(env),1M(script),6M(kernel),"				\
-	"12M(ramdisk),4M(spare),-(rootfs)"
+#define CONFIG_MTDPARTS	\
+	"mtdparts=orion_nand:"					\
+	"640K(uboot),128K(uboot_env),"				\
+	"256K(script),23M at 1M(image),"				\
+	"- at 24M(rootfs)"
 
 #define CONFIG_EXTRA_ENV_SETTINGS	"x_bootargs=console"	\
 	"=ttyS0,115200 mtdparts="CONFIG_MTDPARTS	\
-- 
2.1.3


More information about the U-Boot mailing list