[PATCH v2 4/5] rpi: Update environment to support booti and large initrd

Simon Glass sjg at chromium.org
Mon Dec 9 19:20:00 CET 2024


The existing values don't provide for decompressing an arm64 boot-image.
Add those values and move things apart a bit so that a 50MB kernel can be
accommodated.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 board/raspberrypi/rpi/rpi.env | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/board/raspberrypi/rpi/rpi.env b/board/raspberrypi/rpi/rpi.env
index b79730a3e26..ee5a4810262 100644
--- a/board/raspberrypi/rpi/rpi.env
+++ b/board/raspberrypi/rpi/rpi.env
@@ -69,9 +69,11 @@ dfu_alt_info+=zImage fat 0 1
 bootm_size=0x20000000
 
 kernel_addr_r=0x00080000
-scriptaddr=0x02400000
-pxefile_addr_r=0x02500000
-fdt_addr_r=0x02600000
-ramdisk_addr_r=0x02700000
+kernel_comp_addr_r=0x02000000
+kernel_comp_size=0x02000000
+scriptaddr=0x05400000
+pxefile_addr_r=0x05500000
+fdt_addr_r=0x05600000
+ramdisk_addr_r=0x05700000
 
 boot_targets=mmc usb pxe dhcp
-- 
2.34.1



More information about the U-Boot mailing list