[U-Boot] [PATCH] dragonboard410c: Increase default environment size.

Mateusz Kulikowski mateusz.kulikowski at gmail.com
Sun Jun 19 23:05:32 CEST 2016


Due to changes in distro environment, ENV_SIZE limit was reached on Dragonboard.
This patch increases environment size to 8KiB.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski at gmail.com>

---
Hi all,

I'm back after a short break (sorry for that).

This patch fixes environment for dragonboard - it grew during
my absence beyond limit (0x1000). This caused rather nasty isuses:

<log>
U-Boot 2016.07-rc1-00222-g9ab165d (Jun 19 2016 - 22:59:30 +0200)
[...]
*** Error - default environment is too large
[...]
dragonboard410c => print

Environment size: 1/4092 bytes
</log>

There are still 2 issues pending for dragonboard:
- BOOTDELAY migration - I have to catch up with all the mails, but I
assume this will be fixed "globally"
- non-working MMC - will investigate that, and post patch in next days.

Of course patch was target tested.

Thanks,
Mateusz

 include/configs/dragonboard410c.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h
index d32889d..4b00922 100644
--- a/include/configs/dragonboard410c.h
+++ b/include/configs/dragonboard410c.h
@@ -129,7 +129,7 @@ REFLASH(dragonboard/u-boot.img, 8)\
 	BOOTENV
 
 #define CONFIG_ENV_IS_NOWHERE
-#define CONFIG_ENV_SIZE			0x1000
+#define CONFIG_ENV_SIZE			0x2000
 #define CONFIG_ENV_VARS_UBOOT_CONFIG
 #define CONFIG_SYS_NO_FLASH
 
-- 
2.7.4



More information about the U-Boot mailing list