diff mbox

[U-Boot,v2,1/1] meson: gxbb: increase CONFIG_SYS_BOOTM_LEN

Message ID 1492192480-23481-1-git-send-email-xypron.glpk@gmx.de
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Heinrich Schuchardt April 14, 2017, 5:54 p.m. UTC
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.

Cc: Andreas Färber <afaerber@suse.de>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
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(+)

Comments

Heinrich Schuchardt May 2, 2017, 9:58 p.m. UTC | #1
On 04/14/2017 07:54 PM, xypron.glpk@gmx.de wrote:
> 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.
> 
> Cc: Andreas Färber <afaerber@suse.de>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
> 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(+)
> 
> diff --git a/include/configs/meson-gxbb-common.h b/include/configs/meson-gxbb-common.h
> index c3229ea..e993263 100644
> --- a/include/configs/meson-gxbb-common.h
> +++ b/include/configs/meson-gxbb-common.h
> @@ -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
Tom Rini May 7, 2017, 1:28 a.m. UTC | #2
On Fri, Apr 14, 2017 at 07:54:40PM +0200, xypron.glpk@gmx.de wrote:

> 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.
> 
> Cc: Andreas Färber <afaerber@suse.de>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

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

Patch

diff --git a/include/configs/meson-gxbb-common.h b/include/configs/meson-gxbb-common.h
index c3229ea..e993263 100644
--- a/include/configs/meson-gxbb-common.h
+++ b/include/configs/meson-gxbb-common.h
@@ -54,4 +54,6 @@ 
 	MESON_FDTFILE_SETTING \
 	BOOTENV
 
+#define CONFIG_SYS_BOOTM_LEN    (64 << 20)      /* 64 MiB */
+
 #endif /* __MESON_GXBB_COMMON_CONFIG_H */