* [PATCH 1/1] config: qemu: increase SYS_MALLOC_F_LEN
@ 2020-06-07 9:54 Heinrich Schuchardt
2020-06-15 19:56 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2020-06-07 9:54 UTC (permalink / raw)
To: u-boot
Several configutation options require additional memory before relocation:
* CONSOLE_RECORD
* LOG
* RSA
The current default of 0x400 is too small to encompass them all. Increase
the value of SYS_MALLOC_F_LEN to 0x2000 for ARCH_QEMU.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
There is a similar patch for ARCH_SUNXI still pending:
arm: sunxi: increase SYS_MALLOC_F_LEN
https://lists.denx.de/pipermail/u-boot/2020-June/415227.html
---
Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Kconfig b/Kconfig
index 13204e2384..798a8e4d42 100644
--- a/Kconfig
+++ b/Kconfig
@@ -146,7 +146,7 @@ config SYS_MALLOC_F_LEN
default 0x2000 if (ARCH_IMX8 || ARCH_IMX8M || ARCH_MX7 || \
ARCH_MX7ULP || ARCH_MX6 || ARCH_MX5 || \
ARCH_LS1012A || ARCH_LS1021A || ARCH_LS1043A || \
- ARCH_LS1046A || ARCH_SUNXI)
+ ARCH_LS1046A || ARCH_QEMU || ARCH_SUNXI)
default 0x400
help
Before relocation, memory is very limited on many platforms. Still,
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 1/1] config: qemu: increase SYS_MALLOC_F_LEN
2020-06-07 9:54 [PATCH 1/1] config: qemu: increase SYS_MALLOC_F_LEN Heinrich Schuchardt
@ 2020-06-15 19:56 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2020-06-15 19:56 UTC (permalink / raw)
To: u-boot
On Sun, Jun 07, 2020 at 11:54:00AM +0200, Heinrich Schuchardt wrote:
> Several configutation options require additional memory before relocation:
>
> * CONSOLE_RECORD
> * LOG
> * RSA
>
> The current default of 0x400 is too small to encompass them all. Increase
> the value of SYS_MALLOC_F_LEN to 0x2000 for ARCH_QEMU.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200615/967fa7cc/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-15 19:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-07 9:54 [PATCH 1/1] config: qemu: increase SYS_MALLOC_F_LEN Heinrich Schuchardt
2020-06-15 19:56 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.