blob: 59000cd5111857bcfe1e6b014b582a6968387614 [file] [log] [blame]
Patrick Williams8dd68482022-10-04 07:57:18 -05001From 26c8a8528b794dbaba49bcf3e1bae8a1e15a8448 Mon Sep 17 00:00:00 2001
Patrick Williams92b42cb2022-09-03 06:53:57 -05002From: Jon Mason <jon.mason@arm.com>
Patrick Williams8dd68482022-10-04 07:57:18 -05003Date: Thu, 25 Aug 2022 11:21:28 +0100
4Subject: [PATCH] corstone1000: add compressed kernel support
Patrick Williams92b42cb2022-09-03 06:53:57 -05005
6The corstone1000 kernel has become too large to fit in the available
7storage. Swtiching to a compressed kernel avoids the problem, but
8requires uncompressing it. Add this decompression to the default boot
9instructions.
10
11Signed-off-by: Jon Mason <jon.mason@arm.com>
Patrick Williams8dd68482022-10-04 07:57:18 -050012Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
13Upstream-Status: Pending [Not submitted to upstream yet]
Patrick Williams92b42cb2022-09-03 06:53:57 -050014---
15 include/configs/corstone1000.h | 3 ++-
16 1 file changed, 2 insertions(+), 1 deletion(-)
17
18diff --git a/include/configs/corstone1000.h b/include/configs/corstone1000.h
Patrick Williams8dd68482022-10-04 07:57:18 -050019index 815239590e..a8aa105fe6 100644
Patrick Williams92b42cb2022-09-03 06:53:57 -050020--- a/include/configs/corstone1000.h
21+++ b/include/configs/corstone1000.h
Patrick Williams8dd68482022-10-04 07:57:18 -050022@@ -120,7 +120,8 @@
Patrick Williams92b42cb2022-09-03 06:53:57 -050023 #define CONFIG_BOOTCOMMAND \
24 "run retrieve_kernel_load_addr;" \
25 "echo Loading kernel from $kernel_addr to memory ... ;" \
26- "loadm $kernel_addr $kernel_addr_r 0xc00000;" \
Patrick Williams8dd68482022-10-04 07:57:18 -050027+ "unzip $kernel_addr 0x90000000;" \
28+ "loadm 0x90000000 $kernel_addr_r 0xf00000;" \
Patrick Williams92b42cb2022-09-03 06:53:57 -050029 "usb start; usb reset;" \
30 "run distro_bootcmd;" \
31 "bootefi $kernel_addr_r $fdtcontroladdr;"
32--
Patrick Williams8dd68482022-10-04 07:57:18 -0500332.17.1
Patrick Williams92b42cb2022-09-03 06:53:57 -050034