* [PATCH] arm: actions: increase SYS_MALLOC_F_LEN
@ 2020-11-09 14:01 Amit Singh Tomar
2020-11-09 14:18 ` Manivannan Sadhasivam
2020-11-09 22:20 ` Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Amit Singh Tomar @ 2020-11-09 14:01 UTC (permalink / raw)
To: u-boot
after commit 4ab3817ff16a ("clk: fixed-rate: Enable DM_FLAG_PRE_RELOC flag")
Cubieboard7 (based on actions S700 SoC) fails to boot.
It is due to the fact that the default value of CONFIG_SYS_MALLOC_F_LEN (0x400)
would not provide enough memory for clock device to probe (before relocation)
well.
This commit fixes it, by increasing SYS_MALLOC_F_LEN to value 0x2000.
Suggested-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
---
Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Kconfig b/Kconfig
index c94b10e9fa72..6dc20ed25b29 100644
--- a/Kconfig
+++ b/Kconfig
@@ -200,7 +200,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_QEMU || ARCH_SUNXI)
+ ARCH_LS1046A || ARCH_QEMU || ARCH_SUNXI || ARCH_OWL)
default 0x400
help
Before relocation, memory is very limited on many platforms. Still,
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] arm: actions: increase SYS_MALLOC_F_LEN
2020-11-09 14:01 [PATCH] arm: actions: increase SYS_MALLOC_F_LEN Amit Singh Tomar
@ 2020-11-09 14:18 ` Manivannan Sadhasivam
2020-11-09 22:20 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Manivannan Sadhasivam @ 2020-11-09 14:18 UTC (permalink / raw)
To: u-boot
On Mon, Nov 09, 2020 at 07:31:08PM +0530, Amit Singh Tomar wrote:
> after commit 4ab3817ff16a ("clk: fixed-rate: Enable DM_FLAG_PRE_RELOC flag")
> Cubieboard7 (based on actions S700 SoC) fails to boot.
>
> It is due to the fact that the default value of CONFIG_SYS_MALLOC_F_LEN (0x400)
> would not provide enough memory for clock device to probe (before relocation)
> well.
>
> This commit fixes it, by increasing SYS_MALLOC_F_LEN to value 0x2000.
>
> Suggested-by: Andre Przywara <andre.przywara@arm.com>
> Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
Thanks for fixing!
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Regards,
Mani
> ---
> Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Kconfig b/Kconfig
> index c94b10e9fa72..6dc20ed25b29 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -200,7 +200,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_QEMU || ARCH_SUNXI)
> + ARCH_LS1046A || ARCH_QEMU || ARCH_SUNXI || ARCH_OWL)
> default 0x400
> help
> Before relocation, memory is very limited on many platforms. Still,
> --
> 2.7.4
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] arm: actions: increase SYS_MALLOC_F_LEN
2020-11-09 14:01 [PATCH] arm: actions: increase SYS_MALLOC_F_LEN Amit Singh Tomar
2020-11-09 14:18 ` Manivannan Sadhasivam
@ 2020-11-09 22:20 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2020-11-09 22:20 UTC (permalink / raw)
To: u-boot
On Mon, Nov 09, 2020 at 07:31:08PM +0530, Amit Singh Tomar wrote:
> after commit 4ab3817ff16a ("clk: fixed-rate: Enable DM_FLAG_PRE_RELOC flag")
> Cubieboard7 (based on actions S700 SoC) fails to boot.
>
> It is due to the fact that the default value of CONFIG_SYS_MALLOC_F_LEN (0x400)
> would not provide enough memory for clock device to probe (before relocation)
> well.
>
> This commit fixes it, by increasing SYS_MALLOC_F_LEN to value 0x2000.
>
> Suggested-by: Andre Przywara <andre.przywara@arm.com>
> Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
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/20201109/e72c20ec/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-09 22:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-09 14:01 [PATCH] arm: actions: increase SYS_MALLOC_F_LEN Amit Singh Tomar
2020-11-09 14:18 ` Manivannan Sadhasivam
2020-11-09 22:20 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox