summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko.stuebner@cherry.de>2025-05-06 10:55:31 +0200
committerKever Yang <kever.yang@rock-chips.com>2025-05-06 17:59:12 +0800
commit2d6346d9017b4227faee765bddd232928195d10a (patch)
tree2513d738221510a1247955e096804947383452a9 /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c
parent64f670f75fabbfb2a1e4d517b761f976de022133 (diff)
configs: rockchip: sync ENV_MEM_LAYOUT_SETTINGS for px30 to rk3308/etc
Loading a FIT image for kernel, initrd and rootfs on px30 can result in an memory overlap, resulting in the not 100% helpful message of "This will not be a case any time" from lmb_fix_over_lap_regions(). Adding a bit of debug info to lmb_fix_over_lap_regions() brings: lmb_fix_over_lap_regions: base1 0x280000-0x6005ac > base2 0x600000-0x6000d1 So this is because the FIT image gets loaded to the kernel_addr_r at 0x280000 while the pxe-file is already living at 0x600000, only 3.5MB behind. In commit 4acc8bb044a4 ("configs: rockchip: sync ENV_MEM_LAYOUT_SETTINGS for rk3308, rk3328, and rk3399") FUKAUMI Naoki already brought the memory layouts for the mentioned socs in sync. Adjusting the env-layout on px30 to this scheme, magically solves the overlap issue and also brings px30 more in line with the other mentioned SoCs. Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c')
0 files changed, 0 insertions, 0 deletions