[PATCH] xilinx: zynqmp-r5: Increase amount of MALLOC space

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] xilinx: zynqmp-r5: Increase amount of MALLOC space

Michal Simek-3
There is not enough space for early allocation. That's why increase it.

Signed-off-by: Michal Simek <[hidden email]>
---

 configs/xilinx_zynqmp_r5_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/xilinx_zynqmp_r5_defconfig b/configs/xilinx_zynqmp_r5_defconfig
index 1c6fc73a4d86..f7433e994d39 100644
--- a/configs/xilinx_zynqmp_r5_defconfig
+++ b/configs/xilinx_zynqmp_r5_defconfig
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_ARCH_ZYNQMP_R5=y
 CONFIG_SYS_TEXT_BASE=0x10000000
+CONFIG_SYS_MALLOC_F_LEN=0x1000
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_ENV_SIZE=0x20000
 CONFIG_DEBUG_UART_BASE=0xff010000
--
2.28.0

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] xilinx: zynqmp-r5: Increase amount of MALLOC space

Michal Simek-4
st 16. 9. 2020 v 13:38 odesílatel Michal Simek <[hidden email]> napsal:

>
> There is not enough space for early allocation. That's why increase it.
>
> Signed-off-by: Michal Simek <[hidden email]>
> ---
>
>  configs/xilinx_zynqmp_r5_defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/configs/xilinx_zynqmp_r5_defconfig b/configs/xilinx_zynqmp_r5_defconfig
> index 1c6fc73a4d86..f7433e994d39 100644
> --- a/configs/xilinx_zynqmp_r5_defconfig
> +++ b/configs/xilinx_zynqmp_r5_defconfig
> @@ -1,6 +1,7 @@
>  CONFIG_ARM=y
>  CONFIG_ARCH_ZYNQMP_R5=y
>  CONFIG_SYS_TEXT_BASE=0x10000000
> +CONFIG_SYS_MALLOC_F_LEN=0x1000
>  CONFIG_NR_DRAM_BANKS=1
>  CONFIG_ENV_SIZE=0x20000
>  CONFIG_DEBUG_UART_BASE=0xff010000
> --
> 2.28.0
>

Applied.
M


--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs