Andrew Geissler | ea144b03 | 2023-01-27 16:03:57 -0600 | [diff] [blame^] | 1 | From 37ee9a07d168b43bde17b2ce3dbf637905af5bf2 Mon Sep 17 00:00:00 2001 |
| 2 | From: Jon Mason <jon.mason@arm.com> |
| 3 | Date: Wed, 30 Nov 2022 18:59:59 +0000 |
| 4 | Subject: [PATCH 21/25] corstone1000: add compressed kernel support |
| 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 | Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> |
| 13 | Upstream-Status: Pending [Not submitted to upstream yet] |
| 14 | --- |
| 15 | configs/corstone1000_defconfig | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | |
| 18 | diff --git a/configs/corstone1000_defconfig b/configs/corstone1000_defconfig |
| 19 | index 336da67a8d..eeb207aa5f 100644 |
| 20 | --- a/configs/corstone1000_defconfig |
| 21 | +++ b/configs/corstone1000_defconfig |
| 22 | @@ -15,7 +15,7 @@ CONFIG_FIT=y |
| 23 | CONFIG_BOOTDELAY=3 |
| 24 | CONFIG_USE_BOOTARGS=y |
| 25 | CONFIG_BOOTARGS="console=ttyAMA0 loglevel=9 ip=dhcp earlyprintk" |
| 26 | -CONFIG_BOOTCOMMAND="run retrieve_kernel_load_addr; echo Loading kernel from $kernel_addr to memory ... ; loadm $kernel_addr $kernel_addr_r 0xc00000; usb start; usb reset; run distro_bootcmd; bootefi $kernel_addr_r $fdtcontroladdr;" |
| 27 | +CONFIG_BOOTCOMMAND="run retrieve_kernel_load_addr; echo Loading kernel from $kernel_addr to memory ... ; unzip $kernel_addr 0x90000000; loadm 0x90000000 $kernel_addr_r 0xf00000; usb start; usb reset; run distro_bootcmd; bootefi $kernel_addr_r $fdtcontroladdr;" |
| 28 | CONFIG_CONSOLE_RECORD=y |
| 29 | CONFIG_LOGLEVEL=7 |
| 30 | # CONFIG_DISPLAY_CPUINFO is not set |
| 31 | -- |
| 32 | 2.17.1 |
| 33 | |