[PATCH] xilinx: Increase max size of image from 60 to 100MB

Michal Simek monstr at monstr.eu
Tue Apr 5 13:26:25 CEST 2022


út 29. 3. 2022 v 12:54 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> Recently big Linux kernels can have more then 60MB that's why increase this
> limit to also cover these large kernels.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  include/configs/xilinx_versal.h | 2 +-
>  include/configs/xilinx_zynqmp.h | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/configs/xilinx_versal.h b/include/configs/xilinx_versal.h
> index 19e09e3cafa2..9088b318ec89 100644
> --- a/include/configs/xilinx_versal.h
> +++ b/include/configs/xilinx_versal.h
> @@ -43,7 +43,7 @@
>  # define PHY_ANEG_TIMEOUT       20000
>  #endif
>
> -#define CONFIG_SYS_BOOTM_LEN   (60 * 1024 * 1024)
> +#define CONFIG_SYS_BOOTM_LEN   (100 * 1024 * 1024)
>
>  #define CONFIG_CLOCKS
>
> diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
> index 494a7c4b0017..d1abe44c4558 100644
> --- a/include/configs/xilinx_zynqmp.h
> +++ b/include/configs/xilinx_zynqmp.h
> @@ -58,7 +58,7 @@
>  # define PHY_ANEG_TIMEOUT       20000
>  #endif
>
> -#define CONFIG_SYS_BOOTM_LEN   (60 * 1024 * 1024)
> +#define CONFIG_SYS_BOOTM_LEN   (100 * 1024 * 1024)
>
>  #define CONFIG_CLOCKS
>
> --
> 2.35.1
>

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