2024-10-17 13:54:52 +00:00
|
|
|
define Device/FitImageLzma
|
|
|
|
KERNEL_SUFFIX := -uImage.itb
|
|
|
|
KERNEL = kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(DEVICE_DTS).dtb
|
|
|
|
KERNEL_NAME := Image
|
|
|
|
endef
|
|
|
|
|
2024-10-23 10:19:03 +00:00
|
|
|
define Device/airoha_an7581-evb
|
2024-10-17 13:54:52 +00:00
|
|
|
$(call Device/FitImageLzma)
|
|
|
|
DEVICE_VENDOR := Airoha
|
2024-10-23 10:19:03 +00:00
|
|
|
DEVICE_MODEL := AN7581 Evaluation Board (SNAND)
|
|
|
|
DEVICE_PACKAGES := kmod-leds-pwm kmod-i2c-an7581 kmod-pwm-airoha kmod-input-gpio-keys-polled
|
|
|
|
DEVICE_DTS := an7581-evb
|
2024-10-17 13:54:52 +00:00
|
|
|
DEVICE_DTS_DIR := ../dts
|
|
|
|
DEVICE_DTS_CONFIG := config@1
|
|
|
|
KERNEL_LOADADDR := 0x80088000
|
|
|
|
IMAGE/sysupgrade.bin := append-kernel | pad-to 128k | append-rootfs | pad-rootfs | append-metadata
|
|
|
|
endef
|
2024-10-23 10:19:03 +00:00
|
|
|
TARGET_DEVICES += airoha_an7581-evb
|
2024-10-17 13:54:52 +00:00
|
|
|
|
2024-10-23 10:19:03 +00:00
|
|
|
define Device/airoha_an7581-evb-emmc
|
2024-10-17 13:54:52 +00:00
|
|
|
DEVICE_VENDOR := Airoha
|
2024-10-23 10:19:03 +00:00
|
|
|
DEVICE_MODEL := AN7581 Evaluation Board (EMMC)
|
|
|
|
DEVICE_DTS := an7581-evb-emmc
|
2024-10-17 13:54:52 +00:00
|
|
|
DEVICE_DTS_DIR := ../dts
|
2024-10-23 10:19:03 +00:00
|
|
|
DEVICE_PACKAGES := kmod-i2c-an7581
|
2024-10-17 13:54:52 +00:00
|
|
|
endef
|
2024-10-23 10:19:03 +00:00
|
|
|
TARGET_DEVICES += airoha_an7581-evb-emmc
|