[PATCH v2 1/4] arm: mvebu: Espressobin: Move env load addresses

Stefan Roese sr at denx.de
Thu Aug 27 17:31:09 CEST 2020


On 27.08.20 15:01, Pali Rohár wrote:
> According to Marvell's U-Boot description [1] current env load addresses
> overlaps with ATF RT services region and TEE. Because the ATF RT service
> and TEE region is going to be marked as secure and can't be overwritten,
> use different different addresses for envs.
> 
> [1] - https://github.com/MarvellEmbeddedProcessors/u-boot-marvell/commit/0a5b159806baa0746b6449920e450498bc269ba7
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
> Changes in V2:
> * Move also ramdisk_addr_r, so there is enough space for kernel
> * Drop patch "Define console env" as it cause problems for Debian bootscript
> ---
>   include/configs/mvebu_armada-37xx.h | 10 +++++-----
>   1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h
> index ca662b0ce7..a9ed0a838f 100644
> --- a/include/configs/mvebu_armada-37xx.h
> +++ b/include/configs/mvebu_armada-37xx.h
> @@ -91,11 +91,11 @@
>   #include <config_distro_bootcmd.h>
>   
>   #define CONFIG_EXTRA_ENV_SETTINGS	\
> -	"scriptaddr=0x4d00000\0"	\
> -	"pxefile_addr_r=0x4e00000\0"	\
> -	"fdt_addr_r=0x4f00000\0"	\
> -	"kernel_addr_r=0x5000000\0"	\
> -	"ramdisk_addr_r=0x8000000\0"	\
> +	"scriptaddr=0x6d00000\0"	\
> +	"pxefile_addr_r=0x6e00000\0"	\
> +	"fdt_addr_r=0x6f00000\0"	\
> +	"kernel_addr_r=0x7000000\0"	\
> +	"ramdisk_addr_r=0xa000000\0"	\
>   	BOOTENV
>   
>   #endif /* _CONFIG_MVEBU_ARMADA_37XX_H */
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list