Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 1 | From df70c467c5d100f1522b4521f48da4c51e43688c Mon Sep 17 00:00:00 2001 |
| 2 | From: Jon Mason <jon.mason@arm.com> |
| 3 | Date: Thu, 25 Aug 2022 13:48:22 +0000 |
| 4 | Subject: [PATCH 25/25] corstone1000: use a compressed kernel |
| 5 | |
| 6 | The corstone1000 kernel has become too large to fit in the available |
| 7 | storage. Swtiching to a compressed kernel avoids the problem, but |
| 8 | requires uncompressing it. Add this decompression to the default boot |
| 9 | instructions. |
| 10 | |
| 11 | Signed-off-by: Jon Mason <jon.mason@arm.com> |
| 12 | --- |
| 13 | include/configs/corstone1000.h | 3 ++- |
| 14 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/include/configs/corstone1000.h b/include/configs/corstone1000.h |
| 17 | index 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 | -- |
| 31 | 2.30.2 |
| 32 | |