[openwrt/openwrt] airoha: an7583: drop bootloader artifacts entry and add default pkg
LEDE Commits
lede-commits at lists.infradead.org
Thu Oct 23 06:45:15 PDT 2025
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a7964f0893f27e4c47491f9d76748d800216f49d
commit a7964f0893f27e4c47491f9d76748d800216f49d
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Thu Oct 23 15:42:21 2025 +0200
airoha: an7583: drop bootloader artifacts entry and add default pkg
Fix the current image Makefile for Airoha AN7583 by dropping the
artifacts entry for bootloader and add default PKG for the PHY mounted
on the RFB boards.
The artifacts for the bootloader will be readded later once ATF-A
support will be pushed mainline.
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
target/linux/airoha/image/an7583.mk | 32 ++------------------------------
1 file changed, 2 insertions(+), 30 deletions(-)
diff --git a/target/linux/airoha/image/an7583.mk b/target/linux/airoha/image/an7583.mk
index c8747a7913..bbc78c65ae 100644
--- a/target/linux/airoha/image/an7583.mk
+++ b/target/linux/airoha/image/an7583.mk
@@ -1,23 +1,3 @@
-define Build/an7583-bl2-bl31-uboot
- head -c $$((0x800)) /dev/zero > $@
- cat $(STAGING_DIR_IMAGE)/an7583_$1-bl2.fip >> $@
- dd if=$(STAGING_DIR_IMAGE)/an7583_$1-bl31-uboot.img of=$@ bs=1 seek=$$((0x20000)) conv=notrunc
-endef
-
-define Build/an7583-emmc-bl2-bl31-uboot
- head -c $$((0x800)) /dev/zero > $@
- cat $(STAGING_DIR_IMAGE)/an7583_$1-bl2.fip >> $@
- dd if=$(STAGING_DIR_IMAGE)/an7583_$1-bl31-u-boot.fip of=$@ bs=1 seek=$$((0x20000)) conv=notrunc
-endef
-
-define Build/an7583-preloader
- cat $(STAGING_DIR_IMAGE)/an7583_$1-bl2.fip >> $@
-endef
-
-define Build/an7583-bl31-uboot
- cat $(STAGING_DIR_IMAGE)/an7583_$1-bl31-u-boot.fip >> $@
-endef
-
define Device/FitImageLzma
KERNEL_SUFFIX := -uImage.itb
KERNEL = kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(DEVICE_DTS).dtb
@@ -28,15 +8,11 @@ define Device/airoha_an7583-evb
$(call Device/FitImageLzma)
DEVICE_VENDOR := Airoha
DEVICE_MODEL := AN7583 Evaluation Board (SNAND)
- DEVICE_PACKAGES := kmod-leds-pwm kmod-input-gpio-keys-polled
+ DEVICE_PACKAGES := kmod-phy-aeonsemi-as21xxx kmod-leds-pwm kmod-pwm-airoha kmod-input-gpio-keys-polled
DEVICE_DTS := an7583-evb
DEVICE_DTS_CONFIG := config at 1
KERNEL_LOADADDR := 0x80088000
IMAGE/sysupgrade.bin := append-kernel | pad-to 128k | append-rootfs | pad-rootfs | append-metadata
- ARTIFACT/bl2-bl31-uboot.bin := an7583-bl2-bl31-uboot rfb
- ARTIFACT/preloader.bin := an7583-preloader rfb
- ARTIFACT/bl31-uboot.fip := an7583-bl31-uboot rfb
- ARTIFACTS := bl2-bl31-uboot.bin preloader.bin bl31-uboot.fip
endef
TARGET_DEVICES += airoha_an7583-evb
@@ -44,10 +20,6 @@ define Device/airoha_an7583-evb-emmc
DEVICE_VENDOR := Airoha
DEVICE_MODEL := AN7583 Evaluation Board (EMMC)
DEVICE_DTS := an7583-evb-emmc
- DEVICE_PACKAGES := kmod-i2c-an7581
- ARTIFACT/preloader.bin := an7583-preloader rfb
- ARTIFACT/bl31-uboot.fip := an7583-bl31-uboot rfb
- ARTIFACT/bl2-bl31-uboot.bin := an7583-emmc-bl2-bl31-uboot rfb
- ARTIFACTS := bl2-bl31-uboot.bin preloader.bin bl31-uboot.fip
+ DEVICE_PACKAGES := kmod-phy-airoha-en8811h kmod-i2c-an7581
endef
TARGET_DEVICES += airoha_an7583-evb-emmc
More information about the lede-commits
mailing list