summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Ferraris <arnaud.ferraris@collabora.com>2023-10-27 15:40:45 +0200
committerFabio Estevam <festevam@gmail.com>2023-12-13 10:01:09 -0300
commit62b1bbdfdf453e8438c404b4ea40e63ee60f03e9 (patch)
tree21b2fc429852a1bc086b160cfc8c4ac2cca63167
parent4ae3fcdf7b5cb9625e78110183392d0d4e8fe783 (diff)
librem5: Add addresses for compressed kernel load
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>
-rw-r--r--include/configs/librem5.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/librem5.h b/include/configs/librem5.h
index ce0a340ba26..876b02f4da6 100644
--- a/include/configs/librem5.h
+++ b/include/configs/librem5.h
@@ -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" \