Skip to content

Commit f83e0f6

Browse files
committed
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 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
1 parent 1a95484 commit f83e0f6

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

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

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

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

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

0 commit comments

Comments
 (0)