diff mbox

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

Message ID 1466370332-8247-1-git-send-email-mateusz.kulikowski@gmail.com
State Accepted
Commit 333463d6698b9e7b8a36c7fd3bd5887c34e5cd71
Delegated to: Tom Rini
Headers show

Commit Message

Mateusz Kulikowski June 19, 2016, 9:05 p.m. UTC
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@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(-)

Comments

Tom Rini June 20, 2016, 12:45 p.m. UTC | #1
On Sun, Jun 19, 2016 at 11:05:32PM +0200, Mateusz Kulikowski wrote:

> 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@gmail.com>
> 

Applied to u-boot/master, thanks!
diff mbox

Patch

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