[PATCH v2 3/4] arm: mvebu: Espressobin: Define fdt_addr and kernel_addr env aliases

Stefan Roese sr at denx.de
Mon Aug 31 15:06:36 CEST 2020


On 27.08.20 15:01, Pali Rohár wrote:
> Boot scripts for existing Espressobin Linux distributions, like OpenWRT,
> expect that U-Boot set fdt_addr and kernel_addr envs. So add env aliases
> from fdt_addr_r and kernel_addr_r values.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>

Applied to u-boot-marvell/master

Thanks,
Stefan

> ---
>   include/configs/mvebu_armada-37xx.h | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h
> index 93c05e30cc..905ce09b7a 100644
> --- a/include/configs/mvebu_armada-37xx.h
> +++ b/include/configs/mvebu_armada-37xx.h
> @@ -90,10 +90,13 @@
>   
>   #include <config_distro_bootcmd.h>
>   
> +/* fdt_addr and kernel_addr are needed for existing distribution boot scripts */
>   #define CONFIG_EXTRA_ENV_SETTINGS	\
>   	"scriptaddr=0x6d00000\0"	\
>   	"pxefile_addr_r=0x6e00000\0"	\
> +	"fdt_addr=0x6f00000\0"		\
>   	"fdt_addr_r=0x6f00000\0"	\
> +	"kernel_addr=0x7000000\0"	\
>   	"kernel_addr_r=0x7000000\0"	\
>   	"ramdisk_addr_r=0xa000000\0"	\
>   	BOOTENV
> 


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