* [PATCH v2] board: stemmy: Increase boot image to 64 MB
@ 2021-11-20 22:55 Linus Walleij
2021-11-22 13:22 ` Tom Rini
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Linus Walleij @ 2021-11-20 22:55 UTC (permalink / raw)
To: u-boot, Tom Rini; +Cc: Linus Walleij, Stephan Gerhold
When using a recent kernel with a bunch of compiled-in
stuff the kernel image easily becomes bigger than 8 MB
yielding this error:
Loading Kernel Image
Image too large: increase CONFIG_SYS_BOOTM_LEN
Must RESET board to recover
Fix this by bumping to SZ_64MB.
Cc: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ChangeLog v1->v2:
- Bump to 64MB instead of 16MB
---
include/configs/stemmy.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/stemmy.h b/include/configs/stemmy.h
index ed79b1203901..4bba2a627259 100644
--- a/include/configs/stemmy.h
+++ b/include/configs/stemmy.h
@@ -14,6 +14,7 @@
* bootloader. New images are loaded at the same address for compatibility.
*/
#define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE
+#define CONFIG_SYS_BOOTM_LEN SZ_64M
/* FIXME: This should be loaded from device tree... */
#define CONFIG_SYS_L2_PL310
--
2.31.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] board: stemmy: Increase boot image to 64 MB
2021-11-20 22:55 [PATCH v2] board: stemmy: Increase boot image to 64 MB Linus Walleij
@ 2021-11-22 13:22 ` Tom Rini
2021-11-23 13:15 ` Stephan Gerhold
2022-01-07 17:04 ` Tom Rini
2 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2021-11-22 13:22 UTC (permalink / raw)
To: Linus Walleij; +Cc: u-boot, Stephan Gerhold
[-- Attachment #1: Type: text/plain, Size: 526 bytes --]
On Sat, Nov 20, 2021 at 11:55:42PM +0100, Linus Walleij wrote:
> When using a recent kernel with a bunch of compiled-in
> stuff the kernel image easily becomes bigger than 8 MB
> yielding this error:
>
> Loading Kernel Image
> Image too large: increase CONFIG_SYS_BOOTM_LEN
> Must RESET board to recover
>
> Fix this by bumping to SZ_64MB.
>
> Cc: Stephan Gerhold <stephan@gerhold.net>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] board: stemmy: Increase boot image to 64 MB
2021-11-20 22:55 [PATCH v2] board: stemmy: Increase boot image to 64 MB Linus Walleij
2021-11-22 13:22 ` Tom Rini
@ 2021-11-23 13:15 ` Stephan Gerhold
2022-01-07 17:04 ` Tom Rini
2 siblings, 0 replies; 4+ messages in thread
From: Stephan Gerhold @ 2021-11-23 13:15 UTC (permalink / raw)
To: Linus Walleij; +Cc: u-boot, Tom Rini
On Sat, Nov 20, 2021 at 11:55:42PM +0100, Linus Walleij wrote:
> When using a recent kernel with a bunch of compiled-in
> stuff the kernel image easily becomes bigger than 8 MB
> yielding this error:
>
> Loading Kernel Image
> Image too large: increase CONFIG_SYS_BOOTM_LEN
> Must RESET board to recover
>
> Fix this by bumping to SZ_64MB.
>
> Cc: Stephan Gerhold <stephan@gerhold.net>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Great, thanks for changing it! :)
Reviewed-by: Stephan Gerhold <stephan@gerhold.net>
> ---
> ChangeLog v1->v2:
> - Bump to 64MB instead of 16MB
> ---
> include/configs/stemmy.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/configs/stemmy.h b/include/configs/stemmy.h
> index ed79b1203901..4bba2a627259 100644
> --- a/include/configs/stemmy.h
> +++ b/include/configs/stemmy.h
> @@ -14,6 +14,7 @@
> * bootloader. New images are loaded at the same address for compatibility.
> */
> #define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE
> +#define CONFIG_SYS_BOOTM_LEN SZ_64M
>
> /* FIXME: This should be loaded from device tree... */
> #define CONFIG_SYS_L2_PL310
> --
> 2.31.1
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] board: stemmy: Increase boot image to 64 MB
2021-11-20 22:55 [PATCH v2] board: stemmy: Increase boot image to 64 MB Linus Walleij
2021-11-22 13:22 ` Tom Rini
2021-11-23 13:15 ` Stephan Gerhold
@ 2022-01-07 17:04 ` Tom Rini
2 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2022-01-07 17:04 UTC (permalink / raw)
To: Linus Walleij; +Cc: u-boot, Stephan Gerhold
[-- Attachment #1: Type: text/plain, Size: 615 bytes --]
On Sat, Nov 20, 2021 at 11:55:42PM +0100, Linus Walleij wrote:
> When using a recent kernel with a bunch of compiled-in
> stuff the kernel image easily becomes bigger than 8 MB
> yielding this error:
>
> Loading Kernel Image
> Image too large: increase CONFIG_SYS_BOOTM_LEN
> Must RESET board to recover
>
> Fix this by bumping to SZ_64MB.
>
> Cc: Stephan Gerhold <stephan@gerhold.net>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> Reviewed-by: Tom Rini <trini@konsulko.com>
> Reviewed-by: Stephan Gerhold <stephan@gerhold.net>
Applied to u-boot/next, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-01-07 17:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-20 22:55 [PATCH v2] board: stemmy: Increase boot image to 64 MB Linus Walleij
2021-11-22 13:22 ` Tom Rini
2021-11-23 13:15 ` Stephan Gerhold
2022-01-07 17:04 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox