mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
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@gmail.com>
This commit is contained in:
parent
7e7cef6334
commit
cbc8bcfbaa
@ -127,10 +127,11 @@ define Device/Default
|
|||||||
IMAGES :=
|
IMAGES :=
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/ventana
|
define Device/gateworks_ventana
|
||||||
DEVICE_VENDOR := Gateworks
|
DEVICE_VENDOR := Gateworks
|
||||||
DEVICE_MODEL := Ventana family
|
DEVICE_MODEL := Ventana family
|
||||||
DEVICE_VARIANT := normal NAND flash
|
DEVICE_VARIANT := normal NAND flash
|
||||||
|
DEVICE_NAME := ventana
|
||||||
DEVICE_DTS:= \
|
DEVICE_DTS:= \
|
||||||
imx6dl-gw51xx \
|
imx6dl-gw51xx \
|
||||||
imx6dl-gw52xx \
|
imx6dl-gw52xx \
|
||||||
@ -165,7 +166,7 @@ define Device/ventana
|
|||||||
KERNEL += | boot-overlay
|
KERNEL += | boot-overlay
|
||||||
IMAGES := nand.ubi bootfs.tar.gz dtb
|
IMAGES := nand.ubi bootfs.tar.gz dtb
|
||||||
UBINIZE_PARTS = boot=$$(KDIR_KERNEL_IMAGE).boot.ubifs=15
|
UBINIZE_PARTS = boot=$$(KDIR_KERNEL_IMAGE).boot.ubifs=15
|
||||||
BOOT_SCRIPT := bootscript-ventana
|
BOOT_SCRIPT := bootscript-gateworks_ventana
|
||||||
IMAGE/nand.ubi := append-ubi
|
IMAGE/nand.ubi := append-ubi
|
||||||
IMAGE/bootfs.tar.gz := bootfs.tar.gz
|
IMAGE/bootfs.tar.gz := bootfs.tar.gz
|
||||||
IMAGE/dtb := install-dtb
|
IMAGE/dtb := install-dtb
|
||||||
@ -173,33 +174,32 @@ define Device/ventana
|
|||||||
BLOCKSIZE := 128k
|
BLOCKSIZE := 128k
|
||||||
MKUBIFS_OPTS := -m $$(PAGESIZE) -e 124KiB
|
MKUBIFS_OPTS := -m $$(PAGESIZE) -e 124KiB
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += ventana
|
TARGET_DEVICES += gateworks_ventana
|
||||||
|
|
||||||
define Device/ventana-large
|
define Device/gateworks_ventana-large
|
||||||
$(Device/ventana)
|
$(Device/gateworks_ventana)
|
||||||
DEVICE_VARIANT := large NAND flash
|
DEVICE_VARIANT := large NAND flash
|
||||||
DEVICE_NAME := ventana
|
|
||||||
IMAGES := nand.ubi
|
IMAGES := nand.ubi
|
||||||
PAGESIZE := 4096
|
PAGESIZE := 4096
|
||||||
BLOCKSIZE := 256k
|
BLOCKSIZE := 256k
|
||||||
MKUBIFS_OPTS := -m $$(PAGESIZE) -e 248KiB
|
MKUBIFS_OPTS := -m $$(PAGESIZE) -e 248KiB
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += ventana-large
|
TARGET_DEVICES += gateworks_ventana-large
|
||||||
|
|
||||||
define Device/wandboard
|
define Device/wandboard_dual
|
||||||
DEVICE_VENDOR := Wandboard
|
DEVICE_VENDOR := Wandboard
|
||||||
DEVICE_MODEL := Dual
|
DEVICE_MODEL := Dual
|
||||||
DEVICE_DTS := imx6dl-wandboard
|
DEVICE_DTS := imx6dl-wandboard
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += wandboard
|
TARGET_DEVICES += wandboard_dual
|
||||||
|
|
||||||
define Device/cubox-i
|
define Device/solidrun_cubox-i
|
||||||
DEVICE_VENDOR := SolidRun
|
DEVICE_VENDOR := SolidRun
|
||||||
DEVICE_MODEL := CuBox-i
|
DEVICE_MODEL := CuBox-i
|
||||||
KERNEL := kernel-bin
|
KERNEL := kernel-bin
|
||||||
KERNEL_SUFFIX := -zImage
|
KERNEL_SUFFIX := -zImage
|
||||||
UBOOT := mx6cuboxi
|
UBOOT := mx6cuboxi
|
||||||
BOOT_SCRIPT := bootscript-cubox
|
BOOT_SCRIPT := bootscript-solidrun_cubox
|
||||||
DEVICE_NAME := cubox
|
DEVICE_NAME := cubox
|
||||||
DEVICE_PACKAGES := kmod-drm-imx kmod-drm-imx-hdmi kmod-usb-hid
|
DEVICE_PACKAGES := kmod-drm-imx kmod-drm-imx-hdmi kmod-usb-hid
|
||||||
DEVICE_DTS := imx6q-cubox-i imx6dl-cubox-i imx6q-hummingboard imx6dl-hummingboard
|
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/combined.bin := append-rootfs | pad-extra 128k | imx6-sdcard
|
||||||
IMAGE/dtb := install-dtb
|
IMAGE/dtb := install-dtb
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += cubox-i
|
TARGET_DEVICES += solidrun_cubox-i
|
||||||
|
|
||||||
define Device/apalis
|
define Device/toradex_apalis
|
||||||
DEVICE_VENDOR := Toradex
|
DEVICE_VENDOR := Toradex
|
||||||
DEVICE_MODEL := Apalis family
|
DEVICE_MODEL := Apalis family
|
||||||
SUPPORTED_DEVICES := apalis,ixora apalis,eval
|
SUPPORTED_DEVICES := apalis,ixora apalis,eval
|
||||||
@ -222,7 +222,7 @@ define Device/apalis
|
|||||||
kmod-can kmod-can-flexcan kmod-can-raw \
|
kmod-can kmod-can-flexcan kmod-can-raw \
|
||||||
kmod-leds-gpio kmod-gpio-button-hotplug \
|
kmod-leds-gpio kmod-gpio-button-hotplug \
|
||||||
kmod-pps-gpio kmod-rtc-ds1307
|
kmod-pps-gpio kmod-rtc-ds1307
|
||||||
BOOT_SCRIPT := bootscript-apalis
|
BOOT_SCRIPT := bootscript-toradex_apalis
|
||||||
FILESYSTEMS := squashfs
|
FILESYSTEMS := squashfs
|
||||||
IMAGES := combined.bin sysupgrade.bin
|
IMAGES := combined.bin sysupgrade.bin
|
||||||
DEVICE_IMG_NAME = $$(DEVICE_IMG_PREFIX)-$$(1).$$(2)
|
DEVICE_IMG_NAME = $$(DEVICE_IMG_PREFIX)-$$(1).$$(2)
|
||||||
@ -231,6 +231,6 @@ define Device/apalis
|
|||||||
ARTIFACTS := recovery.scr
|
ARTIFACTS := recovery.scr
|
||||||
ARTIFACT/recovery.scr := recovery-scr
|
ARTIFACT/recovery.scr := recovery-scr
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += apalis
|
TARGET_DEVICES += toradex_apalis
|
||||||
|
|
||||||
$(eval $(call BuildImage))
|
$(eval $(call BuildImage))
|
||||||
|
Loading…
Reference in New Issue
Block a user