diff --git a/buildroot-external/board/raspberrypi/rpi5-64/config.txt b/buildroot-external/board/raspberrypi/rpi5-64/config.txt index 1a2152d7e..4d92fa19b 100755 --- a/buildroot-external/board/raspberrypi/rpi5-64/config.txt +++ b/buildroot-external/board/raspberrypi/rpi5-64/config.txt @@ -10,9 +10,6 @@ # Enable audio (loads snd_bcm2835) dtparam=audio=on -# Additional overlays and parameters are documented -# /boot/firmware/overlays/README - # Automatically load overlays for detected cameras camera_auto_detect=1 diff --git a/buildroot-external/board/raspberrypi/rpi5-64/hassos-hook.sh b/buildroot-external/board/raspberrypi/rpi5-64/hassos-hook.sh index 1e6b8d460..f0954de6a 100755 --- a/buildroot-external/board/raspberrypi/rpi5-64/hassos-hook.sh +++ b/buildroot-external/board/raspberrypi/rpi5-64/hassos-hook.sh @@ -9,6 +9,10 @@ function hassos_pre_image() { gzip --stdout "${BINARIES_DIR}"/Image > "${BOOT_DATA}/slot-A/kernel_2712.img" cp -r "${BINARIES_DIR}/overlays/" "${BOOT_DATA}/slot-A/" cp "${BINARIES_DIR}"/*.dtbo "${BOOT_DATA}/slot-A/overlays/" 2>/dev/null || true + # README needs to be present, otherwise os_prefix is not + # prepended implicitly to the overlays' path, see: + # https://www.raspberrypi.com/documentation/computers/config_txt.html#overlay_prefix + touch "${BOOT_DATA}/slot-A/overlays/README" 2>/dev/null || true cp "${BOARD_DIR}/config.txt" "${BOOT_DATA}/config.txt" cp "${BOARD_DIR}/cmdline.txt" "${BOOT_DATA}/cmdline.txt" }