--- a/board/raspberrypi/rpi/rpi.env +++ b/board/raspberrypi/rpi/rpi.env @@ -68,10 +68,19 @@ fdt_high=ffffffff initrd_high=ffffffff #endif -kernel_addr_r=0x00080000 -scriptaddr=0x02400000 -pxefile_addr_r=0x02500000 -fdt_addr_r=0x02600000 -ramdisk_addr_r=0x02700000 +/* + * Guix router: generic distro kernels are far bigger than 36M once booti + * relocates them to the 2M boundary (and adds BSS), so the stock layout puts + * the FDT and initrd inside the kernel's footprint. Keep the kernel alone in + * the low 128M and stack everything else above it. + */ +kernel_addr_r=0x00200000 +scriptaddr=0x08000000 +pxefile_addr_r=0x08100000 +fdt_addr_r=0x08200000 +fdtoverlay_addr_r=0x08300000 +kernel_comp_addr_r=0x0a000000 +kernel_comp_size=0x06000000 +ramdisk_addr_r=0x10000000 boot_targets=mmc usb pxe dhcp