Merge pull request #121 from balena-os/increase_CONFIG_SYS_BOOTM_LEN

Increase CONFIG_SYS_BOOTM_LEN  and meta-balena update
This commit is contained in:
bulldozer-balena[bot] 2020-08-06 12:19:44 +00:00 committed by GitHub
commit 5e82b6ecac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 1 deletions

@ -1 +1 @@
Subproject commit fa2a91ec41173d1d687676f35a58d0f8d3763317
Subproject commit 1a10689b1c612bdbaa6c7fa509029c7504b0efd7

View file

@ -0,0 +1,33 @@
From 7357ca0c303cc6986273470a550b5c37116e7f21 Mon Sep 17 00:00:00 2001
From: Vicentiu Galanopulo <vicentiu@balena.io>
Date: Tue, 4 Aug 2020 16:06:23 +0200
Subject: [PATCH] Update CONFIG_SYS_BOOTM_LEN to 64M
When booting the Nano PI Neo Air we got
Loading Kernel Image ... Image too large: increase CONFIG_SYS_BOOTM_LEN
Must RESET board to recover
Updated CONFIG_SYS_BOOTM_LEN to 64M to fix the error
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
---
include/configs/sunxi-common.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index a5f5811275..97af50bafc 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -34,6 +34,8 @@
#ifdef CONFIG_ARM64
#define CONFIG_BUILD_TARGET "u-boot.itb"
#define CONFIG_SYS_BOOTM_LEN (32 << 20)
+#else
+#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size 64M */
#endif
/* Serial & console */
--
2.17.1

View file

@ -10,4 +10,5 @@ SRC_URI_remove = "file://resin-specific-env-integration-kconfig.patch"
SRC_URI_append = " \
file://0001-Add-Resin-specific-boot-command.patch \
file://resin-specific-env-integration-kconfig_reworked.patch \
file://0002-Change_CONFIG_SYS_BOOTM_LEN_to_64M.patch \
"