Skip to contentSkip to conversation

odroid-c2: increase CONFIG_SYS_BOOTM_LEN

PATCH New Heinrich Schuchardt 3 participants 5 messages Apr 14, 2017 – May 7, 2017 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 odroid-c2: increase CONFIG_SYS_BOOTM_LEN

A feature rich Kernel for Linux needs more than 8 MiB. Hence enlarge CONFIG_SYS_BOOTM_LEN to 64 MiB for the Odroid C2. As the Odroid C2 has has 2 GiB of RAM this poses no problem.

---
 include/configs/meson-gxbb-common.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/meson-gxbb-common.h +2 -0
index c3229ea..e993263 100644
@@ -54,4 +54,6 @@
 	MESON_FDTFILE_SETTING \
 	BOOTENV
 
+#define CONFIG_SYS_BOOTM_LEN    (64 << 20)      /* 64 MiB */
+
 #endif /* __MESON_GXBB_COMMON_CONFIG_H */
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 odroid-c2: increase CONFIG_SYS_BOOTM_LEN

Hi,

Am 14.04.2017 um 14:17 schrieb Heinrich Schuchardt:

Quoted 1 line

A feature rich Kernel for Linux needs more than 8 MiB.

"Linux kernel"?

Quoted 2 lines

Hence enlarge CONFIG_SYS_BOOTM_LEN to 64 MiB for the Odroid C2. As the Odroid C2 has has 2 GiB of RAM this poses no problem.

Duplicate "has", and "Odroid-C2".

You are touching a generic GXBB file but reason with Odroid-C2. I have been chain-loading it on the Tronsmart Vega S95 Telos, for instance. I believe your change is generally okay, but you should fix both lines above and probably also the subject.

Regards,
Andreas

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
#2 lore raw

PATCH v2 1/1 meson: gxbb: increase CONFIG_SYS_BOOTM_LEN

A feature rich Linux kernel needs more than 8 MiB.
Hence enlarge CONFIG_SYS_BOOTM_LEN to 64 MiB for the GXBB systems. As all known GXBB systems have at least 512 MiB of RAM this poses no problem.

---
v2:
Title and commit message changed to reflect that this patch applies to all Meson GXBB systems.
v1:
Initial patch
[PATCH 1/1] odroid-c2: increase CONFIG_SYS_BOOTM_LEN
https://lists.denx.de/pipermail/u-boot/2017-April/287343.html

---
 include/configs/meson-gxbb-common.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/meson-gxbb-common.h +2 -0
index c3229ea..e993263 100644
@@ -54,4 +54,6 @@
 	MESON_FDTFILE_SETTING \
 	BOOTENV
 
+#define CONFIG_SYS_BOOTM_LEN    (64 << 20)      /* 64 MiB */
+
 #endif /* __MESON_GXBB_COMMON_CONFIG_H */
Signature · 1 line
2.1.4
#3 lore raw

PATCH v2 1/1 meson: gxbb: increase CONFIG_SYS_BOOTM_LEN

Quoted 24 lines · xypron.glpk at gmx.de

A feature rich Linux kernel needs more than 8 MiB.
Hence enlarge CONFIG_SYS_BOOTM_LEN to 64 MiB for the GXBB systems. As all known GXBB systems have at least 512 MiB of RAM this poses no problem.

---
v2:
Title and commit message changed to reflect that this patch applies to all Meson GXBB systems.
v1:
Initial patch
[PATCH 1/1] odroid-c2: increase CONFIG_SYS_BOOTM_LEN
https://lists.denx.de/pipermail/u-boot/2017-April/287343.html

---
 include/configs/meson-gxbb-common.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/meson-gxbb-common.h +0 -0
index c3229ea..e993263 100644

include/configs/meson-gxbb-common.h line 59

Quoted 6 lines
include/configs/meson-gxbb-common.h +2 -0
@@ -54,4 +54,6 @@
 	MESON_FDTFILE_SETTING \
 	BOOTENV
 
+#define CONFIG_SYS_BOOTM_LEN    (64 << 20)      /* 64 MiB */
+
 #endif /* __MESON_GXBB_COMMON_CONFIG_H */

Hello Tom,

could you, please, consider merging this patch.

Andreas already acknowledged the code change in version 1
(https://patchwork.ozlabs.org/patch/750826/) but requested updating the commit message which is done with version 2.

I have been booting the Odroid C2 using bootm and booti with the patch applied.

Best regards

Heinrich

#4 lore raw

PATCH v2 1/1 meson: gxbb: increase CONFIG_SYS_BOOTM_LEN

In reply to Heinrich Schuchardt
Quoted 6 lines · xypron.glpk at gmx.de

A feature rich Linux kernel needs more than 8 MiB.
Hence enlarge CONFIG_SYS_BOOTM_LEN to 64 MiB for the GXBB systems. As all known GXBB systems have at least 512 MiB of RAM this poses no problem.

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/20170506/15df4dda/attachment.sig>