@@ -16,5 +16,7 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "cnm-wave-fw"
SERIAL_CONSOLES = "115200;ttyS2"
-# Bitmap image tarball for early splashscreen
-IMAGE_BOOT_FILES += "ti_logo_414x97_32bpp.bmp.gz"
+# Bitmap image tarball for early splashscreen. Only u-boot-ti's own do_deploy
+# installs this file, so skip requiring it when a different bootloader
+# recipe is selected (e.g. via PREFERRED_PROVIDER_virtual/bootloader).
+IMAGE_BOOT_FILES += "${@ 'ti_logo_414x97_32bpp.bmp.gz' if (d.getVar('PREFERRED_PROVIDER_virtual/bootloader') or '').startswith('u-boot-ti') else ''}"
@@ -8,8 +8,10 @@ MACHINE_FEATURES += "screen"
require conf/machine/include/mesa-pvr.inc
PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}"
-# Bitmap image tarball for early splashscreen
-IMAGE_BOOT_FILES += "ti_logo_414x97_32bpp.bmp.gz"
+# Bitmap image tarball for early splashscreen. Only u-boot-ti's own do_deploy
+# installs this file, so skip requiring it when a different bootloader
+# recipe is selected (e.g. via PREFERRED_PROVIDER_virtual/bootloader).
+IMAGE_BOOT_FILES += "${@ 'ti_logo_414x97_32bpp.bmp.gz' if (d.getVar('PREFERRED_PROVIDER_virtual/bootloader') or '').startswith('u-boot-ti') else ''}"
TFA_BOARD = "lite"
@@ -46,7 +46,13 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-pka-fw"
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
-IMAGE_BOOT_FILES += "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin tiboot3-*-evm.bin"
+IMAGE_BOOT_FILES += "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin"
+# tiboot3-*-evm.bin is the naming scheme u-boot-ti's own do_deploy uses for
+# the reference EVM defconfigs; a downstream bootloader recipe built from a
+# custom defconfig (e.g. via PREFERRED_PROVIDER_virtual/bootloader) deploys
+# tiboot3 binaries under its own naming instead, so only require this glob
+# when the resolved bootloader provider actually produces it.
+IMAGE_BOOT_FILES += "${@ 'tiboot3-*-evm.bin' if (d.getVar('PREFERRED_PROVIDER_virtual/bootloader') or '').startswith('u-boot-ti') else ''}"
IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}"
EFI_PROVIDER ?= "grub-efi"