blob: 4cc2498bf02dd7fe522b0fb09c99c97db31630bb [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001From df70c467c5d100f1522b4521f48da4c51e43688c Mon Sep 17 00:00:00 2001
2From: Jon Mason <jon.mason@arm.com>
3Date: Thu, 25 Aug 2022 13:48:22 +0000
4Subject: [PATCH 25/25] corstone1000: use a compressed kernel
5
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>
12---
13 include/configs/corstone1000.h | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
15
16diff --git a/include/configs/corstone1000.h b/include/configs/corstone1000.h
17index d9855bf91e..d0cbc40121 100644
18--- a/include/configs/corstone1000.h
19+++ b/include/configs/corstone1000.h
20@@ -126,7 +126,8 @@
21 #define CONFIG_BOOTCOMMAND \
22 "run retrieve_kernel_load_addr;" \
23 "echo Loading kernel from $kernel_addr to memory ... ;" \
24- "loadm $kernel_addr $kernel_addr_r 0xc00000;" \
25+ "unzip $kernel_addr 0x90000000;" \
26+ "loadm 0x90000000 $kernel_addr_r 0xd00000;" \
27 "usb start; usb reset;" \
28 "run distro_bootcmd;" \
29 "bootefi $kernel_addr_r $fdtcontroladdr;"
30--
312.30.2
32