kontron-sl-mx8mm: change kernel_addr_r and scriptaddr
PATCH 1/1 kontron-sl-mx8mm: change kernel_addr_r and scriptaddr
Currently the space between kernel_addr_r and the fdt_addr_r is only 32MB. To have enought space to load kernel images bigger than 32MB change the kernel_addr_r to CONFIG_SYS_LOAD_ADDR. Also set the scriptaddr to this value.
--- include/configs/kontron-sl-mx8mm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/configs/kontron-sl-mx8mm.h +2 -2
@@ -68,11 +68,11 @@#define FEC_QUIRK_ENET_MAC #define CONFIG_EXTRA_ENV_SETTINGS \ - "kernel_addr_r=0x42000000\0" \ + "kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ "fdt_addr_r=0x44000000\0" \ "ramdisk_addr_r=0x46400000\0" \ "pxefile_addr_r=0x46000000\0" \ - "scriptaddr=0x46000000\0" \ + "scriptaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ "dfu_alt_info=sf 0:0=flash-bin raw 0x400 0x1f0000\0" \ "bootdelay=3\0" \ "hostname=" CONFIG_HOSTNAME "\0" \
Signature · 1 line
2.30.2
Hi Heiko,
Quoted 4 lines
Currently the space between
kernel_addr_rand thefdt_addr_ris only 32MB. To have enought space to load kernel images bigger than 32MB change thekernel_addr_rtoCONFIG_SYS_LOAD_ADDR. Also set the scriptaddr to this value.
Did you check and align the values with the almost standard in:include/configs/ti_armv7_common.h
-michael
Hi,
Am Di., 15. Feb. 2022 um 15:03 Uhr schrieb Michael Walle <[email protected]>:
Quoted 10 lines
Hi Heiko,
Quoted 4 lines
Currently the space between
kernel_addr_rand thefdt_addr_ris only 32MB. To have enought space to load kernel images bigger than 32MB change thekernel_addr_rtoCONFIG_SYS_LOAD_ADDR. Also set the scriptaddr to this value.Did you check and align the values with the almost standard in:
include/configs/ti_armv7_common.h
No, I was not aware that there is a good example of how the layout should be defined. I will rework that accordingly and send v2.
Signature · 1 line
Heiko