]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3308: allow loading larger kernel Image
authorAndy Yan <andy.yan@rock-chips.com>
Thu, 26 Dec 2019 07:20:04 +0000 (15:20 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 27 Dec 2019 06:26:13 +0000 (14:26 +0800)
When compile the curren mainline linux kernel(Linux 5.5-rc3)
with defconfig, the final Image is 29M, it's much
larger than Linux 5.4.

On the current u-boot side on rk3308, the gap between
kernel and fdt is 25M, the fdt will overwrite kernel
Image, so move ftd to a higher memory to give 34M
gab for them.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
include/configs/rk3308_common.h

index a67d3d7d1b748f470f3c6fb21be6020adaecd55d..bd9ac826f3df070e64aa664f3d2dea40fed979d6 100644 (file)
@@ -42,7 +42,7 @@
 #define ENV_MEM_LAYOUT_SETTINGS \
        "scriptaddr=0x00500000\0" \
        "pxefile_addr_r=0x00600000\0" \
-       "fdt_addr_r=0x01f00000\0" \
+       "fdt_addr_r=0x02800000\0" \
        "kernel_addr_r=0x00680000\0" \
        "ramdisk_addr_r=0x04000000\0"