|
@@ -0,0 +1,35 @@
|
|
|
+From 348cdb4bab63ad0a6b373396ad522f1bcc2d6bdb Mon Sep 17 00:00:00 2001
|
|
|
+From: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
|
|
|
+Date: Mon, 17 Oct 2022 15:41:20 +0100
|
|
|
+Subject: [PATCH] corstone1000: use a compressed kernel
|
|
|
+
|
|
|
+The corstone1000 kernel has become too large to fit in the available
|
|
|
+storage. Swtiching to a compressed kernel avoids the problem, but
|
|
|
+requires uncompressing it. Add this decompression to the default boot
|
|
|
+instructions.
|
|
|
+
|
|
|
+Signed-off-by: Jon Mason <jon.mason@arm.com>
|
|
|
+Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
|
|
|
+Upstream-Status: Pending [Not submitted to upstream yet]
|
|
|
+
|
|
|
+---
|
|
|
+ include/configs/corstone1000.h | 3 ++-
|
|
|
+ 1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
+
|
|
|
+diff --git a/include/configs/corstone1000.h b/include/configs/corstone1000.h
|
|
|
+index d9855bf91e..a66e3a8c10 100644
|
|
|
+--- a/include/configs/corstone1000.h
|
|
|
++++ b/include/configs/corstone1000.h
|
|
|
+@@ -126,7 +126,8 @@
|
|
|
+ #define CONFIG_BOOTCOMMAND \
|
|
|
+ "run retrieve_kernel_load_addr;" \
|
|
|
+ "echo Loading kernel from $kernel_addr to memory ... ;" \
|
|
|
+- "loadm $kernel_addr $kernel_addr_r 0xc00000;" \
|
|
|
++ "unzip $kernel_addr 0x90000000;" \
|
|
|
++ "loadm 0x90000000 $kernel_addr_r 0xd00000;" \
|
|
|
+ "usb start; usb reset;" \
|
|
|
+ "run distro_bootcmd;" \
|
|
|
+ "bootefi $kernel_addr_r $fdtcontroladdr;"
|
|
|
+--
|
|
|
+2.17.1
|
|
|
+
|