mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
e93626f1f4
This introduces the SOC variable to mvebu target to derive some of the DEVICE_DTS variables based on the SOC prefix and the device definition name. Since DTS names and compatible are inconsistent also in the kernel for this target, the scheme cannot be applied to all devices, though. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
74 lines
2.3 KiB
Makefile
74 lines
2.3 KiB
Makefile
define Device/globalscale_espressobin
|
|
$(call Device/Default-arm64)
|
|
DEVICE_VENDOR := Marvell
|
|
DEVICE_MODEL := ESPRESSObin
|
|
DEVICE_VARIANT := Non-eMMC
|
|
DEVICE_ALT0_VENDOR := Marvell
|
|
DEVICE_ALT0_MODEL := Armada 3700 Community Board
|
|
DEVICE_ALT0_VARIANT := Non-eMMC
|
|
SOC := armada-3720
|
|
endef
|
|
TARGET_DEVICES += globalscale_espressobin
|
|
|
|
define Device/globalscale_espressobin-emmc
|
|
$(call Device/Default-arm64)
|
|
DEVICE_VENDOR := Marvell
|
|
DEVICE_MODEL := ESPRESSObin
|
|
DEVICE_VARIANT := eMMC
|
|
DEVICE_ALT0_VENDOR := Marvell
|
|
DEVICE_ALT0_MODEL := Armada 3700 Community Board
|
|
DEVICE_ALT0_VARIANT := eMMC
|
|
SOC := armada-3720
|
|
endef
|
|
TARGET_DEVICES += globalscale_espressobin-emmc
|
|
|
|
define Device/globalscale_espressobin-v7
|
|
$(call Device/Default-arm64)
|
|
DEVICE_VENDOR := Marvell
|
|
DEVICE_MODEL := ESPRESSObin
|
|
DEVICE_VARIANT := V7 Non-eMMC
|
|
DEVICE_ALT0_VENDOR := Marvell
|
|
DEVICE_ALT0_MODEL := Armada 3700 Community Board
|
|
DEVICE_ALT0_VARIANT := V7 Non-eMMC
|
|
SOC := armada-3720
|
|
endef
|
|
TARGET_DEVICES += globalscale_espressobin-v7
|
|
|
|
define Device/globalscale_espressobin-v7-emmc
|
|
$(call Device/Default-arm64)
|
|
DEVICE_VENDOR := Marvell
|
|
DEVICE_MODEL := ESPRESSObin
|
|
DEVICE_VARIANT := V7 eMMC
|
|
DEVICE_ALT0_VENDOR := Marvell
|
|
DEVICE_ALT0_MODEL := Armada 3700 Community Board
|
|
DEVICE_ALT0_VARIANT := V7 eMMC
|
|
SOC := armada-3720
|
|
endef
|
|
TARGET_DEVICES += globalscale_espressobin-v7-emmc
|
|
|
|
define Device/marvell_armada-3720-db
|
|
$(call Device/Default-arm64)
|
|
DEVICE_VENDOR := Marvell
|
|
DEVICE_MODEL := Armada 3720 Development Board (DB-88F3720-DDR3)
|
|
DEVICE_DTS := armada-3720-db
|
|
endef
|
|
TARGET_DEVICES += marvell_armada-3720-db
|
|
|
|
define Device/methode_udpu
|
|
$(call Device/Default-arm64)
|
|
DEVICE_VENDOR := Methode
|
|
DEVICE_MODEL := micro-DPU (uDPU)
|
|
DEVICE_DTS := armada-3720-uDPU
|
|
KERNEL_LOADADDR := 0x00080000
|
|
KERNEL_INITRAMFS := kernel-bin | gzip | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb
|
|
KERNEL_INITRAMFS_SUFFIX := .itb
|
|
DEVICE_PACKAGES := f2fs-tools e2fsprogs fdisk ethtool kmod-usb2 kmod-usb3 \
|
|
kmod-e100 kmod-e1000 kmod-e1000e kmod-igb kmod-ixgbevf \
|
|
kmod-mdio-gpio kmod-switch-mvsw61xx kmod-i2c-pxa
|
|
IMAGE_NAME = $$(IMAGE_PREFIX)-$$(2)
|
|
IMAGES := firmware.tgz
|
|
IMAGE/firmware.tgz := boot-scr | boot-img-ext4 | uDPU-firmware | append-metadata
|
|
BOOT_SCRIPT := udpu
|
|
endef
|
|
TARGET_DEVICES += methode_udpu
|