[PATCH] arm64: zynqmp: Increase size of malloc pool
Michal Simek
monstr at monstr.eu
Tue Mar 30 09:20:18 CEST 2021
út 23. 2. 2021 v 14:49 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> From: Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>
>
> size of malloc() pool for use before relocation is not sufficient
> for ZynqMP mini u-boot with emmc configuration. Increase it to 4K.
>
> Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
> configs/xilinx_zynqmp_mini_emmc0_defconfig | 2 ++
> configs/xilinx_zynqmp_mini_emmc1_defconfig | 2 ++
> 2 files changed, 4 insertions(+)
>
> diff --git a/configs/xilinx_zynqmp_mini_emmc0_defconfig b/configs/xilinx_zynqmp_mini_emmc0_defconfig
> index 35eb5f1fe805..4594f8096d39 100644
> --- a/configs/xilinx_zynqmp_mini_emmc0_defconfig
> +++ b/configs/xilinx_zynqmp_mini_emmc0_defconfig
> @@ -3,8 +3,10 @@ CONFIG_SYS_CONFIG_NAME="xilinx_zynqmp_mini_emmc"
> CONFIG_SYS_ICACHE_OFF=y
> CONFIG_ARCH_ZYNQMP=y
> CONFIG_SYS_TEXT_BASE=0x10000
> +CONFIG_SYS_MALLOC_F_LEN=0x1000
> CONFIG_NR_DRAM_BANKS=1
> CONFIG_ENV_SIZE=0x80
> +CONFIG_SPL_SYS_MALLOC_F_LEN=0x600
> CONFIG_SPL=y
> # CONFIG_CMD_ZYNQMP is not set
> CONFIG_DEFAULT_DEVICE_TREE="zynqmp-mini-emmc0"
> diff --git a/configs/xilinx_zynqmp_mini_emmc1_defconfig b/configs/xilinx_zynqmp_mini_emmc1_defconfig
> index eaec137adaf8..d7c64b9da535 100644
> --- a/configs/xilinx_zynqmp_mini_emmc1_defconfig
> +++ b/configs/xilinx_zynqmp_mini_emmc1_defconfig
> @@ -3,8 +3,10 @@ CONFIG_SYS_CONFIG_NAME="xilinx_zynqmp_mini_emmc"
> CONFIG_SYS_ICACHE_OFF=y
> CONFIG_ARCH_ZYNQMP=y
> CONFIG_SYS_TEXT_BASE=0x10000
> +CONFIG_SYS_MALLOC_F_LEN=0x1000
> CONFIG_NR_DRAM_BANKS=1
> CONFIG_ENV_SIZE=0x80
> +CONFIG_SPL_SYS_MALLOC_F_LEN=0x600
> CONFIG_SPL=y
> # CONFIG_CMD_ZYNQMP is not set
> CONFIG_DEFAULT_DEVICE_TREE="zynqmp-mini-emmc1"
> --
> 2.30.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
More information about the U-Boot
mailing list