mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-11-02 22:21:16 +00:00
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@gmail.com>
26 lines
889 B
Makefile
26 lines
889 B
Makefile
define Device/FitImageLzma
|
|
KERNEL_SUFFIX := -uImage.itb
|
|
KERNEL = kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(DEVICE_DTS).dtb
|
|
KERNEL_NAME := Image
|
|
endef
|
|
|
|
define Device/airoha_an7583-evb
|
|
$(call Device/FitImageLzma)
|
|
DEVICE_VENDOR := Airoha
|
|
DEVICE_MODEL := AN7583 Evaluation Board (SNAND)
|
|
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@1
|
|
KERNEL_LOADADDR := 0x80088000
|
|
IMAGE/sysupgrade.bin := append-kernel | pad-to 128k | append-rootfs | pad-rootfs | append-metadata
|
|
endef
|
|
TARGET_DEVICES += airoha_an7583-evb
|
|
|
|
define Device/airoha_an7583-evb-emmc
|
|
DEVICE_VENDOR := Airoha
|
|
DEVICE_MODEL := AN7583 Evaluation Board (EMMC)
|
|
DEVICE_DTS := an7583-evb-emmc
|
|
DEVICE_PACKAGES := kmod-phy-airoha-en8811h kmod-i2c-an7581
|
|
endef
|
|
TARGET_DEVICES += airoha_an7583-evb-emmc
|