]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rk35xx: expand space for decompressed kernel
authorHugh Cole-Baker <sigmaris@gmail.com>
Tue, 26 Dec 2023 16:43:30 +0000 (16:43 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 19 Jan 2024 02:57:36 +0000 (10:57 +0800)
commit69b73877f02cdc57af6dbd65d5f05d7da4aa898f
treedea5f8e9e588953747e2253c10bac4177711fe25
parentbcbd9a6f5c26b7caf043e785657df64c6e385fc0
rockchip: rk35xx: expand space for decompressed kernel

An uncompressed 6.7.0-rc1 Linux kernel Image built with the arm64
defconfig is about 40MB. This does not fit in to the space between
kernel_comp_addr_r and fdt_addr_r, so when uncompressing an Image.gz
to this size, the FDT will be overwritten. Rearrange addresses to have
128MiB for the kernel and its decompression buffer, then devicetree,
overlay and ramdisk at the end.

Signed-off-by: Hugh Cole-Baker <sigmaris@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
include/configs/rk3568_common.h
include/configs/rk3588_common.h