[PATCH 1/2] rockchip: rk3308: allow loading larger kernel Image
Kever Yang
kever.yang at rock-chips.com
Thu Dec 26 13:25:05 CET 2019
On 2019/12/26 下午3:20, Andy Yan wrote:
> 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 at rock-chips.com>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
Thanks,
- Kever
> ---
>
> include/configs/rk3308_common.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/rk3308_common.h b/include/configs/rk3308_common.h
> index a67d3d7d1b..bd9ac826f3 100644
> --- a/include/configs/rk3308_common.h
> +++ b/include/configs/rk3308_common.h
> @@ -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"
>
More information about the U-Boot
mailing list