mvebu: split up DEVICE_TITLE

DEVICE_TITLE is split up into DEVICE_VENDOR, DEVICE_MODEL and DEVICE_VARIANT

Signed-off-by: Moritz Warning <moritzwarning@web.de>
This commit is contained in:
Moritz Warning 2019-09-10 00:13:30 +02:00 committed by Hauke Mehrtens
parent 0aca8dc6ad
commit 88f8b63a3d
3 changed files with 90 additions and 27 deletions

View File

@ -2,42 +2,64 @@ ifeq ($(SUBTARGET),cortexa53)
define Device/globalscale_espressobin define Device/globalscale_espressobin
$(call Device/Default-arm64) $(call Device/Default-arm64)
DEVICE_TITLE := ESPRESSObin (Marvell Armada 3700 Community Board) 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
DEVICE_DTS := armada-3720-espressobin DEVICE_DTS := armada-3720-espressobin
endef endef
TARGET_DEVICES += globalscale_espressobin TARGET_DEVICES += globalscale_espressobin
define Device/globalscale_espressobin-emmc define Device/globalscale_espressobin-emmc
$(call Device/Default-arm64) $(call Device/Default-arm64)
DEVICE_TITLE := ESPRESSObin eMMC (Marvell Armada 3700 Community Board) DEVICE_VENDOR := Marvell
DEVICE_MODEL := ESPRESSObin
DEVICE_VARIANT := eMMC
DEVICE_ALT0_VENDOR := Marvell
DEVICE_ALT0_MODEL := Armada 3700 Community Board
DEVICE_ALT0_VARIANT := eMMC
DEVICE_DTS := armada-3720-espressobin-emmc DEVICE_DTS := armada-3720-espressobin-emmc
endef endef
TARGET_DEVICES += globalscale_espressobin-emmc TARGET_DEVICES += globalscale_espressobin-emmc
define Device/globalscale_espressobin-v7 define Device/globalscale_espressobin-v7
$(call Device/Default-arm64) $(call Device/Default-arm64)
DEVICE_TITLE := ESPRESSObin V7 (Marvell Armada 3700 Community Board) 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
DEVICE_DTS := armada-3720-espressobin-v7 DEVICE_DTS := armada-3720-espressobin-v7
endef endef
TARGET_DEVICES += globalscale_espressobin-v7 TARGET_DEVICES += globalscale_espressobin-v7
define Device/globalscale_espressobin-v7-emmc define Device/globalscale_espressobin-v7-emmc
$(call Device/Default-arm64) $(call Device/Default-arm64)
DEVICE_TITLE := ESPRESSObin V7 eMMC (Marvell Armada 3700 Community Board) 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
DEVICE_DTS := armada-3720-espressobin-v7-emmc DEVICE_DTS := armada-3720-espressobin-v7-emmc
endef endef
TARGET_DEVICES += globalscale_espressobin-v7-emmc TARGET_DEVICES += globalscale_espressobin-v7-emmc
define Device/marvell_armada-3720-db define Device/marvell_armada-3720-db
$(call Device/Default-arm64) $(call Device/Default-arm64)
DEVICE_TITLE := Marvell Armada 3720 Development Board DB-88F3720-DDR3 DEVICE_VENDOR := Marvell
DEVICE_MODEL := Armada 3720 Development Board (DB-88F3720-DDR3)
DEVICE_DTS := armada-3720-db DEVICE_DTS := armada-3720-db
endef endef
TARGET_DEVICES += marvell_armada-3720-db TARGET_DEVICES += marvell_armada-3720-db
define Device/methode_udpu define Device/methode_udpu
$(call Device/Default-arm64) $(call Device/Default-arm64)
DEVICE_TITLE := Methode micro-DPU (uDPU) DEVICE_VENDOR := Methode
DEVICE_MODEL := micro-DPU (uDPU)
DEVICE_DTS := armada-3720-uDPU DEVICE_DTS := armada-3720-uDPU
KERNEL_LOADADDR := 0x00080000 KERNEL_LOADADDR := 0x00080000
KERNEL_INITRAMFS := kernel-bin | gzip | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb KERNEL_INITRAMFS := kernel-bin | gzip | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb

View File

@ -2,7 +2,10 @@ ifeq ($(SUBTARGET),cortexa72)
define Device/marvell_macchiatobin define Device/marvell_macchiatobin
$(call Device/Default-arm64) $(call Device/Default-arm64)
DEVICE_TITLE := MACCHIATObin (SolidRun Armada 8040 Community Board) DEVICE_VENDOR := SolidRun
DEVICE_MODEL := MACCHIATObin
DEVICE_ALT0_VENDOR := SolidRun
DEVICE_ALT0_MODEL := Armada 8040 Community Board
DEVICE_PACKAGES += kmod-i2c-core kmod-i2c-mux kmod-i2c-mux-pca954x DEVICE_PACKAGES += kmod-i2c-core kmod-i2c-mux kmod-i2c-mux-pca954x
DEVICE_DTS := armada-8040-mcbin DEVICE_DTS := armada-8040-mcbin
SUPPORTED_DEVICES := marvell,armada8040-mcbin SUPPORTED_DEVICES := marvell,armada8040-mcbin
@ -11,7 +14,8 @@ TARGET_DEVICES += marvell_macchiatobin
define Device/marvell_armada8040-db define Device/marvell_armada8040-db
$(call Device/Default-arm64) $(call Device/Default-arm64)
DEVICE_TITLE := Marvell Armada 8040 DB board DEVICE_VENDOR := Marvell
DEVICE_MODEL := Armada 8040 Development Board
DEVICE_DTS := armada-8040-db DEVICE_DTS := armada-8040-db
IMAGE/sdcard.img.gz := boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata IMAGE/sdcard.img.gz := boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata
endef endef
@ -19,7 +23,8 @@ TARGET_DEVICES += marvell_armada8040-db
define Device/marvell_armada7040-db define Device/marvell_armada7040-db
$(call Device/Default-arm64) $(call Device/Default-arm64)
DEVICE_TITLE := Marvell Armada 7040 DB board DEVICE_VENDOR := Marvell
DEVICE_MODEL := Armada 7040 Development Board
DEVICE_DTS := armada-7040-db DEVICE_DTS := armada-7040-db
IMAGE/sdcard.img.gz := boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata IMAGE/sdcard.img.gz := boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata
endef endef

View File

@ -10,14 +10,17 @@ ifeq ($(SUBTARGET),cortexa9)
define Device/linksys define Device/linksys
$(Device/NAND-128K) $(Device/NAND-128K)
DEVICE_TITLE := Linksys $(1) DEVICE_VENDOR := Linksys
DEVICE_PACKAGES := kmod-mwlwifi swconfig wpad-basic DEVICE_PACKAGES := kmod-mwlwifi swconfig wpad-basic
IMAGES += factory.img IMAGES += factory.img
KERNEL_SIZE := 6144k KERNEL_SIZE := 6144k
endef endef
define Device/linksys_wrt1200ac define Device/linksys_wrt1200ac
$(call Device/linksys,WRT1200AC (Caiman)) $(call Device/linksys)
DEVICE_MODEL := WRT1200AC
DEVICE_ALT0_VENDOR := Linksys
DEVICE_ALT0_MODEL := Caiman
DEVICE_DTS := armada-385-linksys-caiman DEVICE_DTS := armada-385-linksys-caiman
DEVICE_PACKAGES += mwlwifi-firmware-88w8864 DEVICE_PACKAGES += mwlwifi-firmware-88w8864
SUPPORTED_DEVICES := armada-385-linksys-caiman linksys,caiman SUPPORTED_DEVICES := armada-385-linksys-caiman linksys,caiman
@ -25,7 +28,11 @@ endef
TARGET_DEVICES += linksys_wrt1200ac TARGET_DEVICES += linksys_wrt1200ac
define Device/linksys_wrt1900acv2 define Device/linksys_wrt1900acv2
$(call Device/linksys,WRT1900ACv2 (Cobra)) $(call Device/linksys)
DEVICE_MODEL := WRT1900AC
DEVICE_VARIANT := v2
DEVICE_ALT0_VENDOR := Linksys
DEVICE_ALT0_MODEL := Cobra
DEVICE_DTS := armada-385-linksys-cobra DEVICE_DTS := armada-385-linksys-cobra
DEVICE_PACKAGES += mwlwifi-firmware-88w8864 DEVICE_PACKAGES += mwlwifi-firmware-88w8864
SUPPORTED_DEVICES := armada-385-linksys-cobra linksys,cobra SUPPORTED_DEVICES := armada-385-linksys-cobra linksys,cobra
@ -33,7 +40,10 @@ endef
TARGET_DEVICES += linksys_wrt1900acv2 TARGET_DEVICES += linksys_wrt1900acv2
define Device/linksys_wrt3200acm define Device/linksys_wrt3200acm
$(call Device/linksys,WRT3200ACM (Rango)) $(call Device/linksys)
DEVICE_MODEL := WRT3200ACM
DEVICE_ALT0_VENDOR := Linksys
DEVICE_ALT0_MODEL := Rango
DEVICE_DTS := armada-385-linksys-rango DEVICE_DTS := armada-385-linksys-rango
DEVICE_PACKAGES += kmod-btmrvl kmod-mwifiex-sdio mwlwifi-firmware-88w8964 DEVICE_PACKAGES += kmod-btmrvl kmod-mwifiex-sdio mwlwifi-firmware-88w8964
SUPPORTED_DEVICES := armada-385-linksys-rango linksys,rango SUPPORTED_DEVICES := armada-385-linksys-rango linksys,rango
@ -41,7 +51,14 @@ endef
TARGET_DEVICES += linksys_wrt3200acm TARGET_DEVICES += linksys_wrt3200acm
define Device/linksys_wrt1900acs define Device/linksys_wrt1900acs
$(call Device/linksys,WRT1900ACS (Shelby)) $(call Device/linksys)
DEVICE_MODEL := WRT1900ACS
DEVICE_VARIANT := v1
DEVICE_ALT0_VENDOR := Linksys
DEVICE_ALT0_MODEL := WRT1900ACS
DEVICE_ALT0_VARIANT := v2
DEVICE_ALT1_VENDOR := Linksys
DEVICE_ALT1_MODEL := Shelby
DEVICE_DTS := armada-385-linksys-shelby DEVICE_DTS := armada-385-linksys-shelby
DEVICE_PACKAGES += mwlwifi-firmware-88w8864 DEVICE_PACKAGES += mwlwifi-firmware-88w8864
SUPPORTED_DEVICES := armada-385-linksys-shelby linksys,shelby SUPPORTED_DEVICES := armada-385-linksys-shelby linksys,shelby
@ -49,7 +66,10 @@ endef
TARGET_DEVICES += linksys_wrt1900acs TARGET_DEVICES += linksys_wrt1900acs
define Device/linksys_wrt32x define Device/linksys_wrt32x
$(call Device/linksys,WRT32X (Venom)) $(call Device/linksys)
DEVICE_MODEL := WRT32X
DEVICE_ALT0_VENDOR := Linksys
DEVICE_ALT0_MODEL := Venom
DEVICE_DTS := armada-385-linksys-venom DEVICE_DTS := armada-385-linksys-venom
DEVICE_PACKAGES += kmod-btmrvl kmod-mwifiex-sdio mwlwifi-firmware-88w8964 DEVICE_PACKAGES += kmod-btmrvl kmod-mwifiex-sdio mwlwifi-firmware-88w8964
KERNEL_SIZE := 3072k KERNEL_SIZE := 3072k
@ -59,7 +79,11 @@ endef
TARGET_DEVICES += linksys_wrt32x TARGET_DEVICES += linksys_wrt32x
define Device/linksys_wrt1900ac define Device/linksys_wrt1900ac
$(call Device/linksys,WRT1900AC (Mamba)) $(call Device/linksys)
DEVICE_MODEL := WRT1900AC
DEVICE_VARIANT := v1
DEVICE_ALT0_VENDOR := Linksys
DEVICE_ALT0_MODEL := Mamba
DEVICE_DTS := armada-xp-linksys-mamba DEVICE_DTS := armada-xp-linksys-mamba
DEVICE_PACKAGES += mwlwifi-firmware-88w8864 DEVICE_PACKAGES += mwlwifi-firmware-88w8864
KERNEL_SIZE := 3072k KERNEL_SIZE := 3072k
@ -68,29 +92,33 @@ endef
TARGET_DEVICES += linksys_wrt1900ac TARGET_DEVICES += linksys_wrt1900ac
define Device/plathome_openblocks-ax3-4 define Device/plathome_openblocks-ax3-4
DEVICE_VENDOR := Plat'Home
DEVICE_MODEL := OpenBlocks AX3
DEVICE_VARIANT := 4 ports
DEVICE_DTS := armada-xp-openblocks-ax3-4 DEVICE_DTS := armada-xp-openblocks-ax3-4
SUPPORTED_DEVICES += openblocks-ax3-4 SUPPORTED_DEVICES += openblocks-ax3-4
BLOCKSIZE := 128k BLOCKSIZE := 128k
PAGESIZE := 1 PAGESIZE := 1
IMAGES += factory.img IMAGES += factory.img
IMAGE/factory.img := append-kernel | pad-to $$(BLOCKSIZE) | append-ubi IMAGE/factory.img := append-kernel | pad-to $$(BLOCKSIZE) | append-ubi
DEVICE_TITLE := Plat'Home OpenBlocks AX3
endef endef
TARGET_DEVICES += plathome_openblocks-ax3-4 TARGET_DEVICES += plathome_openblocks-ax3-4
define Device/marvell_a385-db-ap define Device/marvell_a385-db-ap
$(Device/NAND-256K) $(Device/NAND-256K)
DEVICE_VENDOR := Marvell
DEVICE_MODEL := Armada 385 Development Board AP (DB-88F6820-AP)
DEVICE_DTS := armada-385-db-ap DEVICE_DTS := armada-385-db-ap
IMAGES += factory.img IMAGES += factory.img
KERNEL_SIZE := 8192k KERNEL_SIZE := 8192k
DEVICE_TITLE := Marvell Armada 385 DB AP (DB-88F6820-AP)
SUPPORTED_DEVICES += armada-385-db-ap SUPPORTED_DEVICES += armada-385-db-ap
endef endef
TARGET_DEVICES += marvell_a385-db-ap TARGET_DEVICES += marvell_a385-db-ap
define Device/marvell_a370-db define Device/marvell_a370-db
$(Device/NAND-512K) $(Device/NAND-512K)
DEVICE_TITLE := Marvell Armada 370 DB (DB-88F6710-BP-DDR3) DEVICE_VENDOR := Marvell
DEVICE_MODEL := Armada 370 Development Board (DB-88F6710-BP-DDR3)
DEVICE_DTS := armada-370-db DEVICE_DTS := armada-370-db
SUPPORTED_DEVICES += armada-370-db SUPPORTED_DEVICES += armada-370-db
endef endef
@ -98,7 +126,8 @@ TARGET_DEVICES += marvell_a370-db
define Device/marvell_a370-rd define Device/marvell_a370-rd
$(Device/NAND-512K) $(Device/NAND-512K)
DEVICE_TITLE := Marvell Armada 370 RD (RD-88F6710-A1) DEVICE_VENDOR := Marvell
DEVICE_MODEL := Armada 370 RD (RD-88F6710-A1)
DEVICE_DTS := armada-370-rd DEVICE_DTS := armada-370-rd
SUPPORTED_DEVICES += armada-370-rd SUPPORTED_DEVICES += armada-370-rd
endef endef
@ -106,7 +135,8 @@ TARGET_DEVICES += marvell_a370-rd
define Device/marvell_axp-db define Device/marvell_axp-db
$(Device/NAND-512K) $(Device/NAND-512K)
DEVICE_TITLE := Marvell Armada XP DB (DB-78460-BP) DEVICE_VENDOR := Marvell
DEVICE_MODEL := Armada XP Development Board (DB-78460-BP)
DEVICE_DTS := armada-xp-db DEVICE_DTS := armada-xp-db
SUPPORTED_DEVICES += armada-xp-db SUPPORTED_DEVICES += armada-xp-db
endef endef
@ -114,14 +144,16 @@ TARGET_DEVICES += marvell_axp-db
define Device/marvell_axp-gp define Device/marvell_axp-gp
$(Device/NAND-512K) $(Device/NAND-512K)
DEVICE_TITLE := Marvell Armada XP GP (DB-MV784MP-GP) DEVICE_VENDOR := Marvell
DEVICE_MODEL := Armada Armada XP GP (DB-MV784MP-GP)
DEVICE_DTS := armada-xp-gp DEVICE_DTS := armada-xp-gp
SUPPORTED_DEVICES += armada-xp-gp SUPPORTED_DEVICES += armada-xp-gp
endef endef
TARGET_DEVICES += marvell_axp-gp TARGET_DEVICES += marvell_axp-gp
define Device/marvell_a388-rd define Device/marvell_a388-rd
DEVICE_TITLE := Marvell Armada 388 RD (RD-88F6820-AP) DEVICE_VENDOR := Marvell
DEVICE_MODEL := Armada 388 RD (RD-88F6820-AP)
DEVICE_DTS := armada-388-rd DEVICE_DTS := armada-388-rd
IMAGES := firmware.bin IMAGES := firmware.bin
IMAGE/firmware.bin := append-kernel | pad-to 256k | append-rootfs | pad-rootfs IMAGE/firmware.bin := append-kernel | pad-to 256k | append-rootfs | pad-rootfs
@ -130,9 +162,10 @@ endef
TARGET_DEVICES += marvell_a388-rd TARGET_DEVICES += marvell_a388-rd
define Device/solidrun_clearfog-pro-a1 define Device/solidrun_clearfog-pro-a1
DEVICE_VENDOR := SolidRun
DEVICE_MODEL := ClearFog Pro
KERNEL_INSTALL := 1 KERNEL_INSTALL := 1
KERNEL := kernel-bin KERNEL := kernel-bin
DEVICE_TITLE := SolidRun ClearFog Pro
DEVICE_PACKAGES := mkf2fs e2fsprogs partx-utils swconfig DEVICE_PACKAGES := mkf2fs e2fsprogs partx-utils swconfig
IMAGES := sdcard.img.gz IMAGES := sdcard.img.gz
IMAGE/sdcard.img.gz := boot-scr | boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata IMAGE/sdcard.img.gz := boot-scr | boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata
@ -144,9 +177,10 @@ endef
TARGET_DEVICES += solidrun_clearfog-pro-a1 TARGET_DEVICES += solidrun_clearfog-pro-a1
define Device/solidrun_clearfog-base-a1 define Device/solidrun_clearfog-base-a1
DEVICE_VENDOR := SolidRun
DEVICE_MODEL := ClearFog Base
KERNEL_INSTALL := 1 KERNEL_INSTALL := 1
KERNEL := kernel-bin KERNEL := kernel-bin
DEVICE_TITLE := SolidRun ClearFog Base
DEVICE_PACKAGES := mkf2fs e2fsprogs partx-utils DEVICE_PACKAGES := mkf2fs e2fsprogs partx-utils
IMAGES := sdcard.img.gz IMAGES := sdcard.img.gz
IMAGE/sdcard.img.gz := boot-scr | boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata IMAGE/sdcard.img.gz := boot-scr | boot-img-ext4 | sdcard-img-ext4 | gzip | append-metadata
@ -159,17 +193,19 @@ TARGET_DEVICES += solidrun_clearfog-base-a1
define Device/globalscale_mirabox define Device/globalscale_mirabox
$(Device/NAND-512K) $(Device/NAND-512K)
DEVICE_VENDOR := Globalscale
DEVICE_MODEL := Mirabox
DEVICE_DTS := armada-370-mirabox DEVICE_DTS := armada-370-mirabox
SUPPORTED_DEVICES += mirabox SUPPORTED_DEVICES += mirabox
DEVICE_TITLE := Globalscale Mirabox
endef endef
TARGET_DEVICES += globalscale_mirabox TARGET_DEVICES += globalscale_mirabox
define Device/cznic_turris-omnia define Device/cznic_turris-omnia
DEVICE_VENDOR := CZ.NIC
DEVICE_MODEL := Turris Omnia
KERNEL_INSTALL := 1 KERNEL_INSTALL := 1
KERNEL := kernel-bin KERNEL := kernel-bin
KERNEL_INITRAMFS := kernel-bin KERNEL_INITRAMFS := kernel-bin
DEVICE_TITLE := Turris Omnia
DEVICE_PACKAGES := \ DEVICE_PACKAGES := \
mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \ mkf2fs e2fsprogs kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \
wpad-basic kmod-ath9k kmod-ath10k-ct ath10k-firmware-qca988x-ct \ wpad-basic kmod-ath9k kmod-ath10k-ct ath10k-firmware-qca988x-ct \