Skip to contentSkip to conversation

dragonboard410c: Increase default environment size.

PATCH New Mateusz Kulikowski 2 participants 2 messages Jun 19, 2016 – Jun 20, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dragonboard410c: Increase default environment size.

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

---
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(-)
include/configs/dragonboard410c.h +1 -1
index d32889d..4b00922 100644
@@ -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
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 dragonboard410c: Increase default environment size.

Quoted 5 lines · Mateusz Kulikowski

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

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160620/dc872948/attachment.sig>