mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-16 03:46:56 +00:00
cd558f77b6
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: https://github.com/agherzan/meta-raspberrypi/issues/1306 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
16 lines
445 B
Plaintext
16 lines
445 B
Plaintext
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
|
|
|
SRC_URI:append:rpi = " \
|
|
file://fw_env.config \
|
|
"
|
|
|
|
SRC_URI:append:rpi = " file://0001-rpi-always-set-fdt_addr-with-firmware-provided-FDT-address.patch"
|
|
SRC_URI:append:raspberrypi4 = " file://maxsize.cfg"
|
|
|
|
DEPENDS:append:rpi = " u-boot-default-script"
|
|
|
|
do_install:append:rpi () {
|
|
install -d ${D}${sysconfdir}
|
|
install -m 0644 ${UNPACKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
|
|
}
|