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

Tom Rini trini at konsulko.com
Mon Dec 9 20:01:56 CET 2024


On Mon, Dec 09, 2024 at 11:20:00AM -0700, Simon Glass wrote:

> 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

As shown in
https://patchwork.ozlabs.org/project/uboot/patch/20240723193430.3050251-1-walter.lozano@collabora.com/
there's a large comment block to update to reflect and explain why the
addresses are where they are. Please update that as well to explain
the "why" of the "where" things are placed, thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241209/749926ce/attachment.sig>


More information about the U-Boot mailing list