[U-Boot] [PATCH] ARM: at91sam9263: increase the size for u-boot
Bo Shen
voice.shen at atmel.com
Mon Nov 12 09:52:46 CET 2012
As to more features are added into the u-boot, which cause the u-boot
size larger than 0x40000 (256KiB), so increase the size for u-boot
through move offset of the u-boot environment. Or else, when execute
saveenv command, which will erase the end of the u-boot causing it can
not boot up again.
Signed-off-by: Bo Shen <voice.shen at atmel.com>
---
Sorry for miss this one, add it in a separate patch.
---
include/configs/at91sam9263ek.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h
index 3503822..1bc253b 100644
--- a/include/configs/at91sam9263ek.h
+++ b/include/configs/at91sam9263ek.h
@@ -324,8 +324,8 @@
/* bootstrap + u-boot + env + linux in nandflash */
#define CONFIG_ENV_IS_IN_NAND 1
-#define CONFIG_ENV_OFFSET 0x60000
-#define CONFIG_ENV_OFFSET_REDUND 0x80000
+#define CONFIG_ENV_OFFSET 0xc0000
+#define CONFIG_ENV_OFFSET_REDUND 0xe0000
#define CONFIG_ENV_SIZE 0x20000 /* 1 sector = 128 kB */
#define CONFIG_BOOTCOMMAND "nand read 0x22000000 0xA0000 0x200000; bootm"
#define CONFIG_BOOTARGS "console=ttyS0,115200 " \
--
1.7.9.5
More information about the U-Boot
mailing list