From cfbe4bf33064314df66db223ea8b7d7218aae2e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Thu, 15 Jan 2026 23:14:40 +0100 Subject: [PATCH] rpi64: uboot: Fix addresses dtb and ramdisk to not overlap with kernel Device tree was overwritten by the kernel while unpacking. --- board/aarch64/raspberrypi-rpi64/uboot/rpi-env.dtso | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/board/aarch64/raspberrypi-rpi64/uboot/rpi-env.dtso b/board/aarch64/raspberrypi-rpi64/uboot/rpi-env.dtso index 58fdd41c..9bda40db 100644 --- a/board/aarch64/raspberrypi-rpi64/uboot/rpi-env.dtso +++ b/board/aarch64/raspberrypi-rpi64/uboot/rpi-env.dtso @@ -12,6 +12,15 @@ boot_targets = "mmc0"; ethprime = "eth0"; + /* Memory layout for kernel boot: + * 0x00200000: Kernel relocation address + * 0x04000000: FDT (64MB, gives enough space for kernels up to ~60MB) + * 0x10000000: Ramdisk (Memsize - 256MB) + */ + kernel_addr_r = "0x00200000"; + fdt_addr_r = "0x04000000"; + ramdisk_addr_r = "0x10000000"; + stdout = "serial"; stderr = "serial"; stdin = "serial";