mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-07 04:58:57 +00:00
arm-bsp/u-boot: corstone1000: detect the kernel size automatically
use filesize environment variable to read the size of the unzipped initramfs bundle Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
a209895b94
commit
ea9ca499c9
+10
-10
@@ -1,29 +1,29 @@
|
||||
From df23489adcba1cdcbcb4fefbed0896fc1f408700 Mon Sep 17 00:00:00 2001
|
||||
From: Emekcan Aras <emekcan.aras@arm.com>
|
||||
Date: Wed, 2 Aug 2023 17:07:05 +0100
|
||||
Subject: [PATCH] Increase the unzipped Kernel size
|
||||
From b57e05e95735b9b58e81b7a67f483b645c56811e Mon Sep 17 00:00:00 2001
|
||||
From: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
|
||||
Date: Fri, 11 Aug 2023 10:41:19 +0100
|
||||
Subject: [PATCH] corstone1000: detect inflated kernel size
|
||||
|
||||
Increases the unzipped kernel size for corstone1000.
|
||||
use filesize variable set by unzip command
|
||||
|
||||
Upstream-Status: Pending [Not submitted to upstream yet]
|
||||
Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
|
||||
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
|
||||
---
|
||||
configs/corstone1000_defconfig | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configs/corstone1000_defconfig b/configs/corstone1000_defconfig
|
||||
index a0af413de8..54a5bca354 100644
|
||||
index b6b1ccdd78..8a10bca069 100644
|
||||
--- a/configs/corstone1000_defconfig
|
||||
+++ b/configs/corstone1000_defconfig
|
||||
@@ -15,7 +15,7 @@ CONFIG_DISTRO_DEFAULTS=y
|
||||
@@ -17,7 +17,7 @@ CONFIG_FIT=y
|
||||
CONFIG_BOOTDELAY=3
|
||||
CONFIG_USE_BOOTARGS=y
|
||||
CONFIG_BOOTARGS="console=ttyAMA0 loglevel=9 ip=dhcp earlyprintk"
|
||||
-CONFIG_BOOTCOMMAND="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;"
|
||||
+CONFIG_BOOTCOMMAND="echo Loading kernel from $kernel_addr to memory ... ; unzip $kernel_addr 0x90000000; loadm 0x90000000 $kernel_addr_r 0xfb0000; usb start; usb reset; run distro_bootcmd; bootefi $kernel_addr_r $fdtcontroladdr;"
|
||||
+CONFIG_BOOTCOMMAND="echo Loading kernel from $kernel_addr to memory ... ; unzip $kernel_addr 0x90000000; loadm 0x90000000 $kernel_addr_r $filesize; usb start; usb reset; run distro_bootcmd; bootefi $kernel_addr_r $fdtcontroladdr;"
|
||||
CONFIG_CONSOLE_RECORD=y
|
||||
CONFIG_LOGLEVEL=7
|
||||
# CONFIG_DISPLAY_CPUINFO is not set
|
||||
--
|
||||
2.17.1
|
||||
2.25.1
|
||||
|
||||
@@ -50,7 +50,7 @@ SRC_URI:append:corstone1000 = " \
|
||||
file://0030-corstone1000-boot-index-from-active.patch \
|
||||
file://0031-corstone1000-enable-PSCI-reset.patch \
|
||||
file://0032-Enable-EFI-set-get-time-services.patch \
|
||||
file://0033-Increase-the-unzipped-Kernel-size.patch \
|
||||
file://0033-corstone1000-detect-inflated-kernel-size.patch \
|
||||
"
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user