[PATCH v2 6/6] arm: mach-k3: Increase SYSFW max image size

Gole, Dhruva d-gole at ti.com
Wed Mar 1 14:56:53 CET 2023


On 3/1/2023 3:01 PM, Manorit Chawdhry wrote:
> From: Dave Gerlach <d-gerlach at ti.com>
>
> When booting with HS silicon, the system firmware image is 278270, which
> is slightly larger than currently allocated amount.
>
> This can cause unexpected behavior if this overlap interferes with other
> things in memory, so increase this with a slightly margin added as well
> to avoid any boot issues that can appear after system firmware gets
> loaded.
>
> Signed-off-by: Dave Gerlach <d-gerlach at ti.com>
> Signed-off-by: Tero Kristo <kristo at kernel.org>
> Signed-off-by: Manorit Chawdhry <m-chawdhry at ti.com>
> ---


Reviewed-by: Dhruva Gole <d-gole at ti.com>


>  arch/arm/mach-k3/Kconfig | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig
> index 0991b42423a0..bae0a827c29f 100644
> --- a/arch/arm/mach-k3/Kconfig
> +++ b/arch/arm/mach-k3/Kconfig
> @@ -141,8 +141,7 @@ config K3_SYSFW_IMAGE_MMCSD_RAW_MODE_PART
>  config K3_SYSFW_IMAGE_SIZE_MAX
>  	int "Amount of memory dynamically allocated for loading SYSFW blob"
>  	depends on K3_LOAD_SYSFW
> -	default 163840 if SOC_K3_AM625 || SOC_K3_AM62A7
> -	default	278000
> +	default	280000
>  	help
>  	  Amount of memory (in bytes) reserved through dynamic allocation at
>  	  runtime for loading the combined System Firmware and configuration image

-- 
Regards,
Dhruva Gole <d-gole at ti.com>



More information about the U-Boot mailing list