diff options
| author | Peng Fan <[email protected]> | 2026-06-20 00:06:03 +0800 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2026-06-26 23:02:46 -0300 |
| commit | c295bc7c15b0f58e8b550e74819f8840ddd8a970 (patch) | |
| tree | 86ba038c425dba07770ed9e2119002722e39f071 /configs | |
| parent | b61c4f2a322228383a6fa6db8fd8308718939418 (diff) | |
imx8mp_evk: enable booting Image.gz and avoid extra memcpy
Add support for booting compressed kernel Image.gz by defining
kernel_comp_addr_r and kernel_comp_size in the default environment.
Set kernel_comp_addr_r to a high memory region (0x80000000) to provide
a dedicated decompression buffer, avoiding overlap between compressed
input and decompressed output.
Also adjust CONFIG_SYS_LOAD_ADDR from 0x40480000 to 0x40600000.
With TEXT_OFFSET=0, the kernel is relocated directly to loadaddr, so
separating decompression and execution regions is required to guarantee
safe decompression without additional copying.
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'configs')
| -rw-r--r-- | configs/imx8mp_evk_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/imx8mp_evk_defconfig b/configs/imx8mp_evk_defconfig index d176b42e83d..12dcf3d1435 100644 --- a/configs/imx8mp_evk_defconfig +++ b/configs/imx8mp_evk_defconfig @@ -19,7 +19,7 @@ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y CONFIG_SPL_BSS_START_ADDR=0x98fc00 CONFIG_SPL_BSS_MAX_SIZE=0x400 CONFIG_SYS_BOOTM_LEN=0x2000000 -CONFIG_SYS_LOAD_ADDR=0x40480000 +CONFIG_SYS_LOAD_ADDR=0x40600000 CONFIG_SPL=y CONFIG_ENV_OFFSET_REDUND=0x20400 CONFIG_SPL_IMX_ROMAPI_LOADADDR=0x48000000 |
