[openwrt/openwrt] imx6: image: use vendor_model scheme
LEDE Commits
lede-commits at lists.infradead.org
Thu May 20 05:23:50 PDT 2021
pepe2k pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/cbc8bcfbaa71fe0928bf07d29ec0fe6217fd51ad
commit cbc8bcfbaa71fe0928bf07d29ec0fe6217fd51ad
Author: Piotr Dymacz <pepe2k at gmail.com>
AuthorDate: Sat Jan 9 16:47:41 2021 +0100
imx6: image: use vendor_model scheme
This switches device names to the common 'vendor_model' approach as in
most of other targets in OpenWrt.
Signed-off-by: Piotr Dymacz <pepe2k at gmail.com>
---
target/linux/imx6/image/Makefile | 30 +++++++++++-----------
...script-ventana => bootscript-gateworks_ventana} | 0
...{bootscript-cubox => bootscript-solidrun_cubox} | 0
...bootscript-apalis => bootscript-toradex_apalis} | 0
.../{recovery-apalis => recovery-toradex_apalis} | 0
5 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile
index 7608bd6d8c..efd553efb9 100644
--- a/target/linux/imx6/image/Makefile
+++ b/target/linux/imx6/image/Makefile
@@ -127,10 +127,11 @@ define Device/Default
IMAGES :=
endef
-define Device/ventana
+define Device/gateworks_ventana
DEVICE_VENDOR := Gateworks
DEVICE_MODEL := Ventana family
DEVICE_VARIANT := normal NAND flash
+ DEVICE_NAME := ventana
DEVICE_DTS:= \
imx6dl-gw51xx \
imx6dl-gw52xx \
@@ -165,7 +166,7 @@ define Device/ventana
KERNEL += | boot-overlay
IMAGES := nand.ubi bootfs.tar.gz dtb
UBINIZE_PARTS = boot=$$(KDIR_KERNEL_IMAGE).boot.ubifs=15
- BOOT_SCRIPT := bootscript-ventana
+ BOOT_SCRIPT := bootscript-gateworks_ventana
IMAGE/nand.ubi := append-ubi
IMAGE/bootfs.tar.gz := bootfs.tar.gz
IMAGE/dtb := install-dtb
@@ -173,33 +174,32 @@ define Device/ventana
BLOCKSIZE := 128k
MKUBIFS_OPTS := -m $$(PAGESIZE) -e 124KiB
endef
-TARGET_DEVICES += ventana
+TARGET_DEVICES += gateworks_ventana
-define Device/ventana-large
- $(Device/ventana)
+define Device/gateworks_ventana-large
+ $(Device/gateworks_ventana)
DEVICE_VARIANT := large NAND flash
- DEVICE_NAME := ventana
IMAGES := nand.ubi
PAGESIZE := 4096
BLOCKSIZE := 256k
MKUBIFS_OPTS := -m $$(PAGESIZE) -e 248KiB
endef
-TARGET_DEVICES += ventana-large
+TARGET_DEVICES += gateworks_ventana-large
-define Device/wandboard
+define Device/wandboard_dual
DEVICE_VENDOR := Wandboard
DEVICE_MODEL := Dual
DEVICE_DTS := imx6dl-wandboard
endef
-TARGET_DEVICES += wandboard
+TARGET_DEVICES += wandboard_dual
-define Device/cubox-i
+define Device/solidrun_cubox-i
DEVICE_VENDOR := SolidRun
DEVICE_MODEL := CuBox-i
KERNEL := kernel-bin
KERNEL_SUFFIX := -zImage
UBOOT := mx6cuboxi
- BOOT_SCRIPT := bootscript-cubox
+ BOOT_SCRIPT := bootscript-solidrun_cubox
DEVICE_NAME := cubox
DEVICE_PACKAGES := kmod-drm-imx kmod-drm-imx-hdmi kmod-usb-hid
DEVICE_DTS := imx6q-cubox-i imx6dl-cubox-i imx6q-hummingboard imx6dl-hummingboard
@@ -208,9 +208,9 @@ define Device/cubox-i
IMAGE/combined.bin := append-rootfs | pad-extra 128k | imx6-sdcard
IMAGE/dtb := install-dtb
endef
-TARGET_DEVICES += cubox-i
+TARGET_DEVICES += solidrun_cubox-i
-define Device/apalis
+define Device/toradex_apalis
DEVICE_VENDOR := Toradex
DEVICE_MODEL := Apalis family
SUPPORTED_DEVICES := apalis,ixora apalis,eval
@@ -222,7 +222,7 @@ define Device/apalis
kmod-can kmod-can-flexcan kmod-can-raw \
kmod-leds-gpio kmod-gpio-button-hotplug \
kmod-pps-gpio kmod-rtc-ds1307
- BOOT_SCRIPT := bootscript-apalis
+ BOOT_SCRIPT := bootscript-toradex_apalis
FILESYSTEMS := squashfs
IMAGES := combined.bin sysupgrade.bin
DEVICE_IMG_NAME = $$(DEVICE_IMG_PREFIX)-$$(1).$$(2)
@@ -231,6 +231,6 @@ define Device/apalis
ARTIFACTS := recovery.scr
ARTIFACT/recovery.scr := recovery-scr
endef
-TARGET_DEVICES += apalis
+TARGET_DEVICES += toradex_apalis
$(eval $(call BuildImage))
diff --git a/target/linux/imx6/image/bootscript-ventana b/target/linux/imx6/image/bootscript-gateworks_ventana
similarity index 100%
rename from target/linux/imx6/image/bootscript-ventana
rename to target/linux/imx6/image/bootscript-gateworks_ventana
diff --git a/target/linux/imx6/image/bootscript-cubox b/target/linux/imx6/image/bootscript-solidrun_cubox
similarity index 100%
rename from target/linux/imx6/image/bootscript-cubox
rename to target/linux/imx6/image/bootscript-solidrun_cubox
diff --git a/target/linux/imx6/image/bootscript-apalis b/target/linux/imx6/image/bootscript-toradex_apalis
similarity index 100%
rename from target/linux/imx6/image/bootscript-apalis
rename to target/linux/imx6/image/bootscript-toradex_apalis
diff --git a/target/linux/imx6/image/recovery-apalis b/target/linux/imx6/image/recovery-toradex_apalis
similarity index 100%
rename from target/linux/imx6/image/recovery-apalis
rename to target/linux/imx6/image/recovery-toradex_apalis
More information about the lede-commits
mailing list