]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
airoha: fix U-Boot artifacts for AN7581 eMMC boards
authorRobert Marko <robert.marko@sartura.hr>
Sun, 9 Aug 2026 10:50:08 +0000 (12:50 +0200)
committerRobert Marko <robert.marko@sartura.hr>
Sun, 9 Aug 2026 10:52:07 +0000 (12:52 +0200)
The AN7581 eMMC Eagle and Kite boards use the shared an7581_rfb
U-Boot build, which produces artifacts with the rfb suffix. The image
recipes instead look for nonexistent per-device rfb-emmc-eagle and
rfb-emmc-kite artifacts.

Use the shared rfb artifacts for both boards so their preloader and
BL31/U-Boot FIP artifacts can be generated.

Fixes: 94a21b3fe9bd ("uboot-airoha: move FIP generation to target and enable autoselection")
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
target/linux/airoha/image/an7581.mk

index c33949a67aacd6a07ca6305aafd75f3f495019be..388e088138abd53911c70b9496d6d07f570d733b 100644 (file)
@@ -72,8 +72,8 @@ define Device/airoha_an7581-evb-emmc-eagle
   DEVICE_DTS := an7581-evb-emmc-eagle
   DEVICE_PACKAGES := airoha-en7581-mt7996-npu-firmware \
                    kmod-mt7996-firmware wpad-basic-mbedtls
-  ARTIFACT/preloader.bin := an7581-preloader rfb-emmc-eagle
-  ARTIFACT/bl31-uboot.fip := an7581-bl31-uboot rfb-emmc-eagle
+  ARTIFACT/preloader.bin := an7581-preloader rfb
+  ARTIFACT/bl31-uboot.fip := an7581-bl31-uboot rfb
   ARTIFACTS := preloader.bin bl31-uboot.fip
 endef
 TARGET_DEVICES += airoha_an7581-evb-emmc-eagle
@@ -84,8 +84,8 @@ define Device/airoha_an7581-evb-emmc-kite
   DEVICE_DTS := an7581-evb-emmc-kite
   DEVICE_PACKAGES := airoha-en7581-npu-firmware \
                    kmod-mt7992-firmware wpad-basic-mbedtls
-  ARTIFACT/preloader.bin := an7581-preloader rfb-emmc-kite
-  ARTIFACT/bl31-uboot.fip := an7581-bl31-uboot rfb-emmc-kite
+  ARTIFACT/preloader.bin := an7581-preloader rfb
+  ARTIFACT/bl31-uboot.fip := an7581-bl31-uboot rfb
   ARTIFACTS := preloader.bin bl31-uboot.fip
 endef
 TARGET_DEVICES += airoha_an7581-evb-emmc-kite