[PATCH 1/1] riscv: alloc space exhausted
Fabio Estevam
festevam at gmail.com
Tue Apr 5 16:14:19 CEST 2022
Hi Heinrich,
On Tue, Apr 5, 2022 at 10:55 AM Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> When trying to run qemu-riscv64_smode_defconfig with 32 harts booting
> fails. The debug UART shows a message
>
> alloc space exhausted
>
> 32 is the current maximum number of harts for machine virt in QEMU 7.0.
>
> Raise the default for SYS_MALLOC_F_LEN to 16 KiB.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> arch/riscv/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
> index ba29e70acf..6c4586269e 100644
> --- a/arch/riscv/Kconfig
> +++ b/arch/riscv/Kconfig
> @@ -196,7 +196,7 @@ config ANDES_PLIC
> associated with software interrupt.
>
> config SYS_MALLOC_F_LEN
> - default 0x1000
> + default 0x4000
Here I ask the same question you asked me some weeks ago:
https://lists.denx.de/pipermail/u-boot/2022-March/478742.html
We have all defaults for SYS_MALLOC_F_LEN in /Kconfig. Why should
riscv put it somewhere else?
More information about the U-Boot
mailing list