]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
librem5: Add addresses for compressed kernel load
authorArnaud Ferraris <arnaud.ferraris@collabora.com>
Fri, 27 Oct 2023 13:40:45 +0000 (15:40 +0200)
committerFabio Estevam <festevam@gmail.com>
Wed, 13 Dec 2023 13:01:09 +0000 (10:01 -0300)
The "booti" command to load arm64 Linux kernels supports automatic
decompression of zipped kernel images, but relies on some environment
variables to point to usable buffer RAM.

Add those variables and let them point to some default values, that
should cover most use-cases.

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
include/configs/librem5.h

index ce0a340ba26e852eef954f20a84a8727c7d2df8e..876b02f4da64aaaf84efee9ece05cbbd803146bb 100644 (file)
@@ -56,6 +56,8 @@
        "scriptaddr=0x80000000\0" \
        "pxefile_addr_r=0x80100000\0" \
        "kernel_addr_r=0x80800000\0" \
+       "kernel_comp_addr_r=0x90000000\0" \
+       "kernel_comp_size=0x08000000\0" \
        "fdt_addr_r=0x84800000\0" \
        "ramdisk_addr_r=0x85000000\0" \
        "console=" CONSOLE ",115200\0" \