Skip to content

Commit cd558f7

Browse files
leon-anavikraj
authored andcommitted
u-boot_%.bbappend: Increase CONFIG_SYS_BOOTM_LEN
Increase CONFIG_SYS_BOOTM_LEN for machine raspberrypi4 (32-bit) because the kernel size has increased. This fixes the following issue when booting an image with U-Boot: Image Name: Linux-6.6.63-v7l Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 8559752 Bytes = 8.2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK Booting using the fdt blob at 0x2eff2000 Working FDT set to 2eff2000 Loading Kernel Image to 8000 Image too large: increase CONFIG_SYS_BOOTM_LEN Must RESET board to recover Fixes: #1306 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
1 parent d605ed7 commit cd558f7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

recipes-bsp/u-boot/files/maxsize.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_SYS_BOOTM_LEN=0x1000000

recipes-bsp/u-boot/u-boot_%.bbappend

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ SRC_URI:append:rpi = " \
55
"
66

77
SRC_URI:append:rpi = " file://0001-rpi-always-set-fdt_addr-with-firmware-provided-FDT-address.patch"
8+
SRC_URI:append:raspberrypi4 = " file://maxsize.cfg"
89

910
DEPENDS:append:rpi = " u-boot-default-script"
1011

0 commit comments

Comments
 (0)