board: stm32: fix extra env setings addresses

For stm32f4, f7 and h7 boards, reserve:
 - 4MB for kernel
 - 64KB for fdt, boot script, pxefile
 - the remaining memory for ramdisk

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick DELAUNAY <patrick.delaunay@st.com>
This commit is contained in:
Patrice Chotard 2020-02-03 15:10:39 +01:00 committed by Patrick Delaunay
parent 83ba243897
commit 638c2058f8
5 changed files with 20 additions and 20 deletions

View File

@ -40,12 +40,12 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"kernel_addr_r=0x00008000\0" \
"fdtfile=stm32429i-eval.dtb\0" \
"fdt_addr_r=0x00700000\0" \
"scriptaddr=0x00800000\0" \
"pxefile_addr_r=0x00800000\0" \
"fdt_addr_r=0x00408000\0" \
"scriptaddr=0x00418000\0" \
"pxefile_addr_r=0x00428000\0" \
"ramdisk_addr_r=0x00438000\0" \
"fdt_high=0xffffffffffffffff\0" \
"initrd_high=0xffffffffffffffff\0" \
"ramdisk_addr_r=0x00900000\0" \
BOOTENV
/*

View File

@ -40,12 +40,12 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"kernel_addr_r=0x00008000\0" \
"fdtfile=stm32f469-disco.dtb\0" \
"fdt_addr_r=0x00700000\0" \
"scriptaddr=0x00800000\0" \
"pxefile_addr_r=0x00800000\0" \
"fdt_addr_r=0x00408000\0" \
"scriptaddr=0x00418000\0" \
"pxefile_addr_r=0x00428000\0" \
"ramdisk_addr_r=0x00438000\0" \
"fdt_high=0xffffffffffffffff\0" \
"initrd_high=0xffffffffffffffff\0" \
"ramdisk_addr_r=0x00900000\0" \
BOOTENV
/*

View File

@ -48,12 +48,12 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"kernel_addr_r=0xC0008000\0" \
"fdtfile=stm32f746-disco.dtb\0" \
"fdt_addr_r=0xC0500000\0" \
"scriptaddr=0xC0008000\0" \
"pxefile_addr_r=0xC0008000\0" \
"fdt_addr_r=0xC0408000\0" \
"scriptaddr=0xC0418000\0" \
"pxefile_addr_r=0xC0428000\0" \
"ramdisk_addr_r=0xC0438000\0" \
"fdt_high=0xffffffffffffffff\0" \
"initrd_high=0xffffffffffffffff\0" \
"ramdisk_addr_r=0xC0600000\0" \
BOOTENV
/*

View File

@ -35,12 +35,12 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"kernel_addr_r=0xD0008000\0" \
"fdtfile=stm32h743i-disco.dtb\0" \
"fdt_addr_r=0xD0700000\0" \
"scriptaddr=0xD0800000\0" \
"pxefile_addr_r=0xD0800000\0" \
"fdt_addr_r=0xD0408000\0" \
"scriptaddr=0xD0418000\0" \
"pxefile_addr_r=0xD0428000\0" \
"ramdisk_addr_r=0xD0438000\0" \
"fdt_high=0xffffffffffffffff\0" \
"initrd_high=0xffffffffffffffff\0" \
"ramdisk_addr_r=0xD0900000\0" \
BOOTENV
/*

View File

@ -35,12 +35,12 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"kernel_addr_r=0xD0008000\0" \
"fdtfile=stm32h743i-eval.dtb\0" \
"fdt_addr_r=0xD0700000\0" \
"scriptaddr=0xD0800000\0" \
"pxefile_addr_r=0xD0800000\0" \
"fdt_addr_r=0xD0408000\0" \
"scriptaddr=0xD0418000\0" \
"pxefile_addr_r=0xD0428000\0" \
"ramdisk_addr_r=0xD0438000\0" \
"fdt_high=0xffffffffffffffff\0" \
"initrd_high=0xffffffffffffffff\0" \
"ramdisk_addr_r=0xD0900000\0" \
BOOTENV
/*