Skip to content

Commit fb6028e

Browse files
leon-anaviagherzan
authored andcommitted
u-boot: Disable interrupt timeout for Raspberry Pi 5
Disable U-Boot interrupt timeout for Raspberry Pi 5 to avoid boot issues without a connected debug UART. This is a known U-Boot issue discussed in: https://bugzilla.opensuse.org/show_bug.cgi?id=1251192 https://lists.denx.de/pipermail/u-boot/2025-January/576305.html The issue affects Raspberry Pi 5 with U-Boot version 2025.04 from branch scarthgap/u-boot of layer meta-lts-mixins. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <[email protected]>
1 parent cd67705 commit fb6028e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@ SRC_URI:append:raspberrypi4 = " file://maxsize.cfg"
99

1010
DEPENDS:append:rpi = " u-boot-default-script"
1111

12+
do_configure:append:raspberrypi5() {
13+
# Remove any existing CONFIG_BOOTDELAY= lines
14+
sed -i '/^CONFIG_BOOTDELAY=/d' "${B}/.config"
15+
# Disable U-Boot interrupt timeout to avoid
16+
# boot issues without a connected debug UART
17+
# This is a known U-Boot issue discussed in:
18+
# https://bugzilla.opensuse.org/show_bug.cgi?id=1251192
19+
# https://lists.denx.de/pipermail/u-boot/2025-January/576305.html
20+
echo "CONFIG_BOOTDELAY=-2" >> ${B}/.config
21+
}
22+
1223
do_install:append:rpi () {
1324
install -d ${D}${sysconfdir}
1425
install -m 0644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config

0 commit comments

Comments
 (0)