aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2023-02-28 12:39:36 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-03-01 23:24:23 +0100
commit79bd0172ca5671f7cdf382dc80ec1630da057947 (patch)
treeac66066a97a10f371b8de4f9b0a7c9dc6a9062dd /target/linux/ramips
parent84c04ff4069a652755267d126418b211379c1cbf (diff)
downloadupstream-79bd0172ca5671f7cdf382dc80ec1630da057947.tar.gz
upstream-79bd0172ca5671f7cdf382dc80ec1630da057947.tar.bz2
upstream-79bd0172ca5671f7cdf382dc80ec1630da057947.zip
mt7621: move uboot-envtools to DEFAULT_PACKAGES
Several devices depend on fw_printenv during sysupgrade. Make sure it always is present in all images, including initramfs images built by the buildbots. Fixes: 2449a632084b ("ramips: mt7621: Add support for ZyXEL NR7101") Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/image/mt7621.mk370
-rw-r--r--target/linux/ramips/mt7621/target.mk2
2 files changed, 194 insertions, 178 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 28f6fef681..822e62a69c 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -134,7 +134,7 @@ define Device/adslr_g7
IMAGE_SIZE := 16064k
DEVICE_VENDOR := ADSLR
DEVICE_MODEL := G7
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += adslr_g7
@@ -144,7 +144,7 @@ define Device/afoundry_ew1200
DEVICE_VENDOR := AFOUNDRY
DEVICE_MODEL := EW1200
DEVICE_PACKAGES := kmod-ata-ahci kmod-mt76x2 kmod-mt7603 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
SUPPORTED_DEVICES += ew1200
endef
TARGET_DEVICES += afoundry_ew1200
@@ -154,7 +154,7 @@ define Device/alfa-network_quad-e4g
IMAGE_SIZE := 16064k
DEVICE_VENDOR := ALFA Network
DEVICE_MODEL := Quad-E4G
- DEVICE_PACKAGES := kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3 uboot-envtools \
+ DEVICE_PACKAGES := kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3 \
-wpad-basic-mbedtls
SUPPORTED_DEVICES += quad-e4g
endef
@@ -163,7 +163,7 @@ TARGET_DEVICES += alfa-network_quad-e4g
define Device/ampedwireless_ally_common
$(Device/dsa-migration)
DEVICE_VENDOR := Amped Wireless
- DEVICE_PACKAGES := kmod-mt7615-firmware uboot-envtools
+ DEVICE_PACKAGES := kmod-mt7615-firmware
IMAGE_SIZE := 32768k
KERNEL_SIZE := 4096k
BLOCKSIZE := 128k
@@ -208,7 +208,7 @@ define Device/arcadyan_we420223-99
IMAGES += factory.trx
IMAGE/factory.trx := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | check-size
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += arcadyan_we420223-99
@@ -217,7 +217,8 @@ define Device/asiarf_ap7621-001
IMAGE_SIZE := 16000k
DEVICE_VENDOR := AsiaRF
DEVICE_MODEL := AP7621-001
- DEVICE_PACKAGES := kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 -wpad-basic-mbedtls
+ DEVICE_PACKAGES := kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 \
+ -wpad-basic-mbedtls -uboot-envtools
endef
TARGET_DEVICES += asiarf_ap7621-001
@@ -226,7 +227,8 @@ define Device/asiarf_ap7621-nv1
IMAGE_SIZE := 16000k
DEVICE_VENDOR := AsiaRF
DEVICE_MODEL := AP7621-NV1
- DEVICE_PACKAGES := kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 -wpad-basic-mbedtls
+ DEVICE_PACKAGES := kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 \
+ -wpad-basic-mbedtls -uboot-envtools
endef
TARGET_DEVICES += asiarf_ap7621-nv1
@@ -238,7 +240,7 @@ define Device/asus_rp-ac56
IMAGE_SIZE := 16000k
BLOCKSIZE := 64k
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 \
- kmod-i2c-ralink kmod-sound-mt7620
+ kmod-i2c-ralink kmod-sound-mt7620 -uboot-envtools
IMAGES += factory.bin
IMAGE/factory.bin := append-kernel | append-rootfs | pad-rootfs | check-size
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
@@ -256,7 +258,7 @@ define Device/asus_rp-ac87
IMAGE/factory.bin := append-kernel | append-rootfs | pad-rootfs | check-size
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
check-size | append-metadata
- DEVICE_PACKAGES := kmod-mt7615-firmware rssileds
+ DEVICE_PACKAGES := kmod-mt7615-firmware rssileds -uboot-envtools
endef
TARGET_DEVICES += asus_rp-ac87
@@ -285,7 +287,7 @@ define Device/asus_rt-ac65p
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
check-size
- DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware uboot-envtools
+ DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware
endef
TARGET_DEVICES += asus_rt-ac65p
@@ -302,7 +304,7 @@ define Device/asus_rt-ac85p
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
check-size
- DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware uboot-envtools
+ DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware
endef
TARGET_DEVICES += asus_rt-ac85p
@@ -314,7 +316,7 @@ define Device/asus_rt-n56u-b1
DEVICE_VARIANT := B1
IMAGE_SIZE := 16064k
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
endef
TARGET_DEVICES += asus_rt-n56u-b1
@@ -333,8 +335,7 @@ define Device/asus_rt-ax53u
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
check-size
- DEVICE_PACKAGES := kmod-mt7915-firmware kmod-usb3 uboot-envtools \
- kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := kmod-mt7915-firmware kmod-usb3 kmod-usb-ledtrig-usbport
endef
TARGET_DEVICES += asus_rt-ax53u
@@ -357,7 +358,7 @@ define Device/asus_rt-ax54
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
check-size
- DEVICE_PACKAGES := kmod-mt7915-firmware uboot-envtools
+ DEVICE_PACKAGES := kmod-mt7915-firmware
endef
TARGET_DEVICES += asus_rt-ax54
@@ -378,8 +379,7 @@ define Device/beeline_smartbox-flash
IMAGES += factory.trx
IMAGE/factory.trx := append-kernel | append-ubi | check-size
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
- DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware \
- uboot-envtools uencrypt
+ DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware uencrypt
endef
TARGET_DEVICES += beeline_smartbox-flash
@@ -392,7 +392,7 @@ define Device/beeline_smartbox-giga
DEVICE_VENDOR := Beeline
DEVICE_MODEL := SmartBox GIGA
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
- kmod-usb3 uboot-envtools
+ kmod-usb3
endef
TARGET_DEVICES += beeline_smartbox-giga
@@ -404,8 +404,7 @@ define Device/beeline_smartbox-turbo
SERCOMM_SWVER := 1004
DEVICE_VENDOR := Beeline
DEVICE_MODEL := SmartBox TURBO
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware \
- kmod-usb3 uboot-envtools
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware kmod-usb3
endef
TARGET_DEVICES += beeline_smartbox-turbo
@@ -417,7 +416,7 @@ define Device/belkin_rt1800
IMAGE_SIZE := 49152k
DEVICE_VENDOR := Belkin
DEVICE_MODEL := RT1800
- DEVICE_PACKAGES := kmod-mt7915-firmware kmod-usb3 uboot-envtools
+ DEVICE_PACKAGES := kmod-mt7915-firmware kmod-usb3
UBINIZE_OPTS := -E 5
KERNEL_LOADADDR := 0x82000000
KERNEL := kernel-bin | relocate-kernel 0x80001000 | lzma | \
@@ -437,7 +436,7 @@ define Device/buffalo_wsr-1166dhp
IMAGE_SIZE := 15936k
DEVICE_VENDOR := Buffalo
DEVICE_MODEL := WSR-1166DHP
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 -uboot-envtools
SUPPORTED_DEVICES += wsr-1166
endef
TARGET_DEVICES += buffalo_wsr-1166dhp
@@ -451,7 +450,7 @@ define Device/buffalo_wsr-2533dhpl
DEVICE_ALT0_VENDOR := Buffalo
DEVICE_ALT0_MODEL := WSR-2533DHP
IMAGE/sysupgrade.bin := trx | pad-rootfs | append-metadata
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += buffalo_wsr-2533dhpl
@@ -460,7 +459,7 @@ define Device/buffalo_wsr-600dhp
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Buffalo
DEVICE_MODEL := WSR-600DHP
- DEVICE_PACKAGES := kmod-mt7603 kmod-rt2800-pci
+ DEVICE_PACKAGES := kmod-mt7603 kmod-rt2800-pci -uboot-envtools
SUPPORTED_DEVICES += wsr-600
endef
TARGET_DEVICES += buffalo_wsr-600dhp
@@ -471,7 +470,7 @@ define Device/bolt_arion
IMAGE_SIZE := 32448k
DEVICE_VENDOR := BOLT
DEVICE_MODEL := Arion
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 uboot-envtools
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2
endef
TARGET_DEVICES += bolt_arion
@@ -481,7 +480,7 @@ define Device/cudy_m1800
DEVICE_MODEL := M1800
IMAGE_SIZE := 16064k
UIMAGE_NAME := R17
- DEVICE_PACKAGES := kmod-mt7915-firmware
+ DEVICE_PACKAGES := kmod-mt7915-firmware -uboot-envtools
endef
TARGET_DEVICES += cudy_m1800
@@ -492,7 +491,7 @@ define Device/cudy_wr1300-v1
DEVICE_MODEL := WR1300
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
SUPPORTED_DEVICES += cudy,wr1300 R10
endef
TARGET_DEVICES += cudy_wr1300-v1
@@ -503,7 +502,8 @@ define Device/cudy_wr1300-v2
DEVICE_VENDOR := Cudy
DEVICE_MODEL := WR1300
DEVICE_VARIANT := v2
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
+ -uboot-envtools
SUPPORTED_DEVICES += cudy,wr1300 R23
endef
TARGET_DEVICES += cudy_wr1300-v2
@@ -514,7 +514,7 @@ define Device/cudy_wr2100
DEVICE_MODEL := WR2100
IMAGE_SIZE := 15872k
UIMAGE_NAME := R11
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += cudy_wr2100
@@ -524,7 +524,7 @@ define Device/cudy_x6
DEVICE_VENDOR := Cudy
DEVICE_MODEL := X6
UIMAGE_NAME := R13
- DEVICE_PACKAGES := kmod-mt7915-firmware
+ DEVICE_PACKAGES := kmod-mt7915-firmware -uboot-envtools
endef
TARGET_DEVICES += cudy_x6
@@ -545,7 +545,7 @@ define Device/dlink_dap-x1860-a1
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
check-size | elx-header 011b0060 8844A2D168B45A2D
- DEVICE_PACKAGES := kmod-mt7915-firmware rssileds
+ DEVICE_PACKAGES := kmod-mt7915-firmware rssileds -uboot-envtools
endef
TARGET_DEVICES += dlink_dap-x1860-a1
@@ -553,7 +553,7 @@ define Device/dlink_dir-8xx-a1
$(Device/dsa-migration)
IMAGE_SIZE := 16000k
DEVICE_VENDOR := D-Link
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
KERNEL := $$(KERNEL) | uimage-sgehdr
IMAGES += factory.bin
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
@@ -565,7 +565,7 @@ define Device/dlink_dir-8xx-r1
$(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := D-Link
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
KERNEL_INITRAMFS := $$(KERNEL)
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
check-size | append-metadata
@@ -580,7 +580,7 @@ define Device/dlink_dir-xx60-a1
UBINIZE_OPTS := -E 5
DEVICE_VENDOR := D-Link
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
KERNEL := $$(KERNEL) | uimage-sgehdr
IMAGES += factory.bin
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
@@ -647,7 +647,8 @@ define Device/dlink_dir-860l-b1
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DIR-860L
DEVICE_VARIANT := B1
- DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport \
+ -uboot-envtools
SUPPORTED_DEVICES += dir-860l-b1
endef
TARGET_DEVICES += dlink_dir-860l-b1
@@ -703,7 +704,8 @@ define Device/dual-q_h721
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Dual-Q
DEVICE_MODEL := H721
- DEVICE_PACKAGES := kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3 -wpad-basic-mbedtls
+ DEVICE_PACKAGES := kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3 \
+ -wpad-basic-mbedtls -uboot-envtools
endef
TARGET_DEVICES += dual-q_h721
@@ -714,7 +716,7 @@ define Device/d-team_newifi-d2
DEVICE_VENDOR := Newifi
DEVICE_MODEL := D2
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
endef
TARGET_DEVICES += d-team_newifi-d2
@@ -724,7 +726,7 @@ define Device/d-team_pbr-m1
DEVICE_VENDOR := PandoraBox
DEVICE_MODEL := PBR-M1
DEVICE_PACKAGES := kmod-ata-ahci kmod-mt7603 kmod-mt76x2 kmod-sdhci-mt7620 \
- kmod-usb3 kmod-usb-ledtrig-usbport
+ kmod-usb3 kmod-usb-ledtrig-usbport -uboot-envtools
SUPPORTED_DEVICES += pbr-m1
endef
TARGET_DEVICES += d-team_pbr-m1
@@ -740,7 +742,7 @@ define Device/edimax_ra21s
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
elx-header 02020040 8844A2D168B45A2D
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += edimax_ra21s
@@ -759,7 +761,7 @@ define Device/edimax_re23s
IMAGE/factory.bin := append-kernel | append-rootfs | \
edimax-header -s CSYS -m RN76 -f 0x70000 -S 0x01100000 | pad-rootfs | \
check-size
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += edimax_re23s
@@ -772,7 +774,7 @@ define Device/edimax_rg21s
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
elx-header 02020038 8844A2D168B45A2D
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += edimax_rg21s
@@ -784,7 +786,7 @@ define Device/elecom_wrc-1167ghbk2-s
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
elecom-wrc-gs-factory WRC-1167GHBK2-S 0.00
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += elecom_wrc-1167ghbk2-s
@@ -796,7 +798,7 @@ define Device/elecom_wrc-gs
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
elecom-wrc-gs-factory $$$$(ELECOM_HWNAME) 0.00 -N | \
append-string MT7621_ELECOM_$$$$(ELECOM_HWNAME)
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
define Device/elecom_wrc-1167gs2-b
@@ -857,7 +859,7 @@ define Device/elecom_wrc-2533ghbk2-t
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
elx-header 0107003b 8844A2D168B45A2D | \
elecom-product-header WRC-2533GHBK2-T
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += elecom_wrc-2533ghbk2-t
@@ -871,7 +873,7 @@ define Device/elecom_wrc-2533ghbk-i
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
elx-header 0107002d 8844A2D168B45A2D | \
elecom-product-header WRC-2533GHBK-I
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += elecom_wrc-2533ghbk-i
@@ -907,8 +909,7 @@ define Device/etisalat_s3
SERCOMM_SWVER := 4009
DEVICE_VENDOR := Etisalat
DEVICE_MODEL := S3
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware \
- kmod-usb3 uboot-envtools
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware kmod-usb3
endef
TARGET_DEVICES += etisalat_s3
@@ -917,7 +918,8 @@ define Device/firefly_firewrt
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Firefly
DEVICE_MODEL := FireWRT
- DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport \
+ -uboot-envtools
SUPPORTED_DEVICES += firewrt
endef
TARGET_DEVICES += firefly_firewrt
@@ -928,7 +930,7 @@ define Device/gehua_ghl-r-001
DEVICE_VENDOR := GeHua
DEVICE_MODEL := GHL-R-001
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
endef
TARGET_DEVICES += gehua_ghl-r-001
@@ -937,7 +939,7 @@ define Device/glinet_gl-mt1300
IMAGE_SIZE := 32448k
DEVICE_VENDOR := GL.iNet
DEVICE_MODEL := GL-MT1300
- DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3
+ DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 -uboot-envtools
endef
TARGET_DEVICES += glinet_gl-mt1300
@@ -946,7 +948,8 @@ define Device/gnubee_gb-pc1
$(Device/uimage-lzma-loader)
DEVICE_VENDOR := GnuBee
DEVICE_MODEL := Personal Cloud One
- DEVICE_PACKAGES := kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620 -wpad-basic-mbedtls
+ DEVICE_PACKAGES := kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620 \
+ -wpad-basic-mbedtls -uboot-envtools
IMAGE_SIZE := 32448k
endef
TARGET_DEVICES += gnubee_gb-pc1
@@ -956,7 +959,8 @@ define Device/gnubee_gb-pc2
$(Device/uimage-lzma-loader)
DEVICE_VENDOR := GnuBee
DEVICE_MODEL := Personal Cloud Two
- DEVICE_PACKAGES := kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620 -wpad-basic-mbedtls
+ DEVICE_PACKAGES := kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620 \
+ -wpad-basic-mbedtls -uboot-envtools
IMAGE_SIZE := 32448k
endef
TARGET_DEVICES += gnubee_gb-pc2
@@ -974,7 +978,7 @@ define Device/h3c_tx180x
KERNEL := $$(KERNEL_INITRAMFS) | h3c-blank-header
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
DEVICE_VENDOR := H3C
- DEVICE_PACKAGES := kmod-mt7915-firmware uboot-envtools
+ DEVICE_PACKAGES := kmod-mt7915-firmware
endef
define Device/h3c_tx1800-plus
@@ -1011,7 +1015,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
haier-sim_wr1800k-factory
endif
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
- DEVICE_PACKAGES := kmod-mt7915-firmware uboot-envtools
+ DEVICE_PACKAGES := kmod-mt7915-firmware
endef
define Device/haier_har-20s2u1
@@ -1026,7 +1030,7 @@ define Device/hilink_hlk-7621a-evb
$(Device/uimage-lzma-loader)
DEVICE_VENDOR := HiLink
DEVICE_MODEL := HLK-7621A evaluation board
- DEVICE_PACKAGES += kmod-mt76x2 kmod-usb3
+ DEVICE_PACKAGES += kmod-mt76x2 kmod-usb3 -uboot-envtools
IMAGE_SIZE := 32448k
endef
TARGET_DEVICES += hilink_hlk-7621a-evb
@@ -1045,7 +1049,7 @@ define Device/hiwifi_hc5962
check-size
DEVICE_VENDOR := HiWiFi
DEVICE_MODEL := HC5962
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 -uboot-envtools
endef
TARGET_DEVICES += hiwifi_hc5962
@@ -1064,7 +1068,7 @@ define Device/humax_e10
IMAGE/factory.bin := append-kernel | append-rootfs | pad-rootfs | \
edimax-header -s CSYS -m EA03 -f 0x70000 -S 0x01100000 | \
check-size | zip upg -P f013c26cf0a320fb71d03356dcb6bb63
- DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3
+ DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 -uboot-envtools
endef
TARGET_DEVICES += humax_e10
@@ -1076,7 +1080,7 @@ define Device/huasifei_ws1208v2
DEVICE_MODEL := WS1208V2
DEVICE_PACKAGES := kmod-ata-ahci kmod-mt7603 kmod-mt76x2 kmod-sdhci-mt7620 \
kmod-usb3 kmod-usb-net-cdc-mbim kmod-usb-net-qmi-wwan \
- kmod-usb-serial-option
+ kmod-usb-serial-option -uboot-envtools
endef
TARGET_DEVICES += huasifei_ws1208v2
@@ -1089,7 +1093,7 @@ define Device/iodata_wn-ax1167gr
ARTIFACTS := initramfs-factory.bin
ARTIFACT/initramfs-factory.bin := append-image-stage initramfs-kernel.bin | \
check-size 7680k | senao-header -r 0x30a -p 0x1055 -t 4
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 -uboot-envtools
endef
TARGET_DEVICES += iodata_wn-ax1167gr
@@ -1117,7 +1121,7 @@ define Device/iodata_wn-ax1167gr2
DEVICE_MODEL := WN-AX1167GR2
KERNEL_INITRAMFS := $(KERNEL_DTB) | loader-kernel | lzma | \
uImage lzma -M 0x434f4d42 -n '3.10(XBC.1)b10' | iodata-mstc-header
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += iodata_wn-ax1167gr2
@@ -1126,7 +1130,7 @@ define Device/iodata_wn-ax2033gr
DEVICE_MODEL := WN-AX2033GR
KERNEL_INITRAMFS := $(KERNEL_DTB) | loader-kernel | lzma | \
uImage lzma -M 0x434f4d42 -n '3.10(VST.1)C10' | iodata-mstc-header
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += iodata_wn-ax2033gr
@@ -1135,7 +1139,7 @@ define Device/iodata_wn-dx1167r
DEVICE_MODEL := WN-DX1167R
KERNEL_INITRAMFS := $(KERNEL_DTB) | loader-kernel | lzma | \
uImage lzma -M 0x434f4d43 -n '3.10(XIK.1)b10' | iodata-mstc-header
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += iodata_wn-dx1167r
@@ -1144,7 +1148,8 @@ define Device/iodata_wn-dx1200gr
DEVICE_MODEL := WN-DX1200GR
KERNEL_INITRAMFS := $(KERNEL_DTB) | loader-kernel | lzma | \
uImage lzma -M 0x434f4d43 -n '3.10(XIQ.0)b20' | iodata-mstc-header
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
+ -uboot-envtools
endef
TARGET_DEVICES += iodata_wn-dx1200gr
@@ -1153,7 +1158,7 @@ define Device/iodata_wn-dx2033gr
DEVICE_MODEL := WN-DX2033GR
KERNEL_INITRAMFS := $(KERNEL_DTB) | loader-kernel | lzma | \
uImage lzma -M 0x434f4d42 -n '3.10(XID.0)b30' | iodata-mstc-header
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += iodata_wn-dx2033gr
@@ -1163,7 +1168,7 @@ define Device/iodata_wn-gx300gr
IMAGE_SIZE := 7616k
DEVICE_VENDOR := I-O DATA
DEVICE_MODEL := WN-GX300GR
- DEVICE_PACKAGES := kmod-mt7603
+ DEVICE_PACKAGES := kmod-mt7603 -uboot-envtools
endef
TARGET_DEVICES += iodata_wn-gx300gr
@@ -1176,7 +1181,7 @@ define Device/iodata_wnpr2600g
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
elx-header 0104003a 8844A2D168B45A2D
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += iodata_wnpr2600g
@@ -1186,7 +1191,7 @@ define Device/iptime_a3002mesh
UIMAGE_NAME := a3002me
DEVICE_VENDOR := ipTIME
DEVICE_MODEL := A3002MESH
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += iptime_a3002mesh
@@ -1197,7 +1202,8 @@ define Device/iptime_a3004ns-dual
UIMAGE_NAME := a3004nd
DEVICE_VENDOR := ipTIME
DEVICE_MODEL := A3004NS-dual
- DEVICE_PACKAGES := kmod-usb3 kmod-mt76x2 kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := kmod-usb3 kmod-mt76x2 kmod-usb-ledtrig-usbport \
+ -uboot-envtools
endef
TARGET_DEVICES += iptime_a3004ns-dual
@@ -1214,7 +1220,7 @@ define Device/iptime_a3004t
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
DEVICE_VENDOR := ipTIME
DEVICE_MODEL := A3004T
- DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3
+ DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 -uboot-envtools
endef
TARGET_DEVICES += iptime_a3004t
@@ -1225,7 +1231,7 @@ define Device/iptime_a6004ns-m
DEVICE_VENDOR := ipTIME
DEVICE_MODEL := A6004NS-M
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
endef
TARGET_DEVICES += iptime_a6004ns-m
@@ -1236,7 +1242,7 @@ define Device/iptime_a6ns-m
DEVICE_VENDOR := ipTIME
DEVICE_MODEL := A6ns-M
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
endef
TARGET_DEVICES += iptime_a6ns-m
@@ -1246,7 +1252,7 @@ define Device/iptime_a8004t
UIMAGE_NAME := a8004t
DEVICE_VENDOR := ipTIME
DEVICE_MODEL := A8004T
- DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3
+ DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 -uboot-envtools
endef
TARGET_DEVICES += iptime_a8004t
@@ -1266,7 +1272,7 @@ define Device/iptime_ax2004m
check-size | iptime-crc32 ax2004m
DEVICE_VENDOR := ipTIME
DEVICE_MODEL := AX2004M
- DEVICE_PACKAGES := kmod-mt7915-firmware kmod-usb3
+ DEVICE_PACKAGES := kmod-mt7915-firmware kmod-usb3 -uboot-envtools
endef
TARGET_DEVICES += iptime_ax2004m
@@ -1281,7 +1287,7 @@ define Device/iptime_t5004
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
DEVICE_VENDOR := ipTIME
DEVICE_MODEL := T5004
- DEVICE_PACKAGES := -wpad-basic-mbedtls
+ DEVICE_PACKAGES := -wpad-basic-mbedtls -uboot-envtools
endef
TARGET_DEVICES += iptime_t5004
@@ -1294,7 +1300,7 @@ define Device/jcg_jhr-ac876m
DEVICE_VENDOR := JCG
DEVICE_MODEL := JHR-AC876M
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
endef
TARGET_DEVICES += jcg_jhr-ac876m
@@ -1312,7 +1318,7 @@ define Device/jcg_q20
check-size
DEVICE_VENDOR := JCG
DEVICE_MODEL := Q20
- DEVICE_PACKAGES := kmod-mt7915-firmware uboot-envtools
+ DEVICE_PACKAGES := kmod-mt7915-firmware
endef
TARGET_DEVICES += jcg_q20
@@ -1325,7 +1331,7 @@ define Device/jcg_y2
JCG_MAXSIZE := 16064k
DEVICE_VENDOR := JCG
DEVICE_MODEL := Y2
- DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3
+ DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 -uboot-envtools
endef
TARGET_DEVICES += jcg_y2
@@ -1336,7 +1342,8 @@ define Device/keenetic_kn-3010
IMAGE_SIZE := 31488k
DEVICE_VENDOR := Keenetic
DEVICE_MODEL := KN-3010
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
+ -uboot-envtools
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to $$$$(BLOCKSIZE) | \
check-size | zyimage -d 0x803010 -v "KN-3010"
@@ -1350,7 +1357,7 @@ define Device/lenovo_newifi-d1
DEVICE_VENDOR := Newifi
DEVICE_MODEL := D1
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-sdhci-mt7620 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
SUPPORTED_DEVICES += newifi-d1
endef
TARGET_DEVICES += lenovo_newifi-d1
@@ -1364,8 +1371,7 @@ define Device/linksys_e5600
IMAGE_SIZE := 26624k
DEVICE_VENDOR := Linksys
DEVICE_MODEL := E5600
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
- uboot-envtools
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
UBINIZE_OPTS := -E 5
IMAGES += factory.bin
IMAGE/sysupgrade.bin := sysupgrade-tar | check-size | append-metadata
@@ -1391,8 +1397,7 @@ define Device/linksys_ea7xxx
KERNEL_SIZE := 4096k
IMAGE_SIZE := 36864k
DEVICE_VENDOR := Linksys
- DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware \
- uboot-envtools
+ DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware
UBINIZE_OPTS := -E 5
IMAGES := sysupgrade.bin factory.bin
IMAGE/sysupgrade.bin := sysupgrade-tar | check-size | append-metadata
@@ -1456,7 +1461,7 @@ define Device/linksys_re6500
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Linksys
DEVICE_MODEL := RE6500
- DEVICE_PACKAGES := kmod-mt76x2
+ DEVICE_PACKAGES := kmod-mt76x2 -uboot-envtools
SUPPORTED_DEVICES += re6500
endef
TARGET_DEVICES += linksys_re6500
@@ -1466,7 +1471,8 @@ define Device/mediatek_ap-mt7621a-v60
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Mediatek
DEVICE_MODEL := AP-MT7621A-V60 EVB
- DEVICE_PACKAGES := kmod-usb3 kmod-sdhci-mt7620 kmod-sound-mt7620 -wpad-basic-mbedtls
+ DEVICE_PACKAGES := kmod-usb3 kmod-sdhci-mt7620 kmod-sound-mt7620 \
+ -wpad-basic-mbedtls -uboot-envtools
endef
TARGET_DEVICES += mediatek_ap-mt7621a-v60
@@ -1476,7 +1482,7 @@ define Device/mediatek_mt7621-eval-board
IMAGE_SIZE := 15104k
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := MT7621 EVB
- DEVICE_PACKAGES := -wpad-basic-mbedtls
+ DEVICE_PACKAGES := -wpad-basic-mbedtls -uboot-envtools
SUPPORTED_DEVICES += mt7621
endef
TARGET_DEVICES += mediatek_mt7621-eval-board
@@ -1486,7 +1492,7 @@ define Device/MikroTik
DEVICE_VENDOR := MikroTik
BLOCKSIZE := 64k
IMAGE_SIZE := 16128k
- DEVICE_PACKAGES := kmod-usb3
+ DEVICE_PACKAGES := kmod-usb3 -uboot-envtools
KERNEL_NAME := vmlinuz
KERNEL := kernel-bin | append-dtb-elf
IMAGE/sysupgrade.bin := append-kernel | kernel2minor -s 1024 | \
@@ -1539,7 +1545,7 @@ define Device/mqmaker_witi
DEVICE_VENDOR := MQmaker
DEVICE_MODEL := WiTi
DEVICE_PACKAGES := kmod-ata-ahci kmod-mt76x2 kmod-sdhci-mt7620 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
SUPPORTED_DEVICES += witi mqmaker,witi-256m mqmaker,witi-512m
endef
TARGET_DEVICES += mqmaker_witi
@@ -1552,7 +1558,7 @@ define Device/mtc_wr1201
DEVICE_MODEL := Wireless Router WR1201
KERNEL_INITRAMFS := $(KERNEL_DTB) | uImage lzma -n 'WR1201_8_128'
DEVICE_PACKAGES := kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
endef
TARGET_DEVICES += mtc_wr1201
@@ -1573,7 +1579,7 @@ define Device/mts_wg430223
IMAGES += factory.trx
IMAGE/factory.trx := append-kernel | append-ubi | check-size
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
- DEVICE_PACKAGES := kmod-mt7615-firmware uboot-envtools uencrypt
+ DEVICE_PACKAGES := kmod-mt7615-firmware uencrypt
endef
TARGET_DEVICES += mts_wg430223
@@ -1582,7 +1588,7 @@ define Device/netgear_ex6150
$(Device/uimage-lzma-loader)
DEVICE_VENDOR := NETGEAR
DEVICE_MODEL := EX6150
- DEVICE_PACKAGES := kmod-mt76x2
+ DEVICE_PACKAGES := kmod-mt76x2 -uboot-envtools
NETGEAR_BOARD_ID := U12H318T00_NETGEAR
IMAGE_SIZE := 14848k
IMAGES += factory.chk
@@ -1605,7 +1611,8 @@ define Device/netgear_sercomm_nand
IMAGE/kernel.bin := append-kernel
IMAGE/rootfs.bin := append-ubi | check-size
DEVICE_VENDOR := NETGEAR
- DEVICE_PACKAGES := kmod-mt7603 kmod-usb3 kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := kmod-mt7603 kmod-usb3 kmod-usb-ledtrig-usbport \
+ -uboot-envtools
endef
define Device/netgear_r6220
@@ -1754,7 +1761,7 @@ define Device/netgear_wax202
$(Device/dsa-migration)
DEVICE_VENDOR := NETGEAR
DEVICE_MODEL := WAX202
- DEVICE_PACKAGES := kmod-mt7915-firmware
+ DEVICE_PACKAGES := kmod-mt7915-firmware -uboot-envtools
NETGEAR_ENC_MODEL := WAX202
NETGEAR_ENC_REGION := US
BLOCKSIZE := 128k
@@ -1786,7 +1793,7 @@ define Device/netgear_wndr3700-v5
SERCOMM_SWVER := 0x1054
SERCOMM_PAD := 320k
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
SUPPORTED_DEVICES += wndr3700v5
endef
TARGET_DEVICES += netgear_wndr3700-v5
@@ -1808,7 +1815,8 @@ define Device/netis_wf2881
check-size
DEVICE_VENDOR := NETIS
DEVICE_MODEL := WF2881
- DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport \
+ -uboot-envtools
endef
TARGET_DEVICES += netis_wf2881
@@ -1818,7 +1826,7 @@ define Device/oraybox_x3a
IMAGE_SIZE := 15360k
DEVICE_VENDOR := OrayBox
DEVICE_MODEL := X3A
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += oraybox_x3a
@@ -1830,7 +1838,7 @@ define Device/phicomm_k2p
DEVICE_ALT0_VENDOR := Phicomm
DEVICE_ALT0_MODEL := KE 2P
SUPPORTED_DEVICES += k2p
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += phicomm_k2p
@@ -1840,7 +1848,7 @@ define Device/planex_vr500
IMAGE_SIZE := 65216k
DEVICE_VENDOR := Planex
DEVICE_MODEL := VR500
- DEVICE_PACKAGES := kmod-usb3 -wpad-basic-mbedtls
+ DEVICE_PACKAGES := kmod-usb3 -wpad-basic-mbedtls -uboot-envtools
SUPPORTED_DEVICES += vr500
endef
TARGET_DEVICES += planex_vr500
@@ -1859,8 +1867,7 @@ define Device/raisecom_msg1500-x-00
DEVICE_VARIANT := X.00
DEVICE_ALT0_VENDOR := Nokia
DEVICE_ALT0_MODEL := A-040W-Q
- DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
- kmod-usb-ledtrig-usbport uboot-envtools
+ DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 kmod-usb-ledtrig-usbport
endef
TARGET_DEVICES += raisecom_msg1500-x-00
@@ -1868,7 +1875,8 @@ define Device/renkforce_ws-wn530hp3-a
$(Device/dsa-migration)
DEVICE_VENDOR := Renkforce
DEVICE_MODEL := WS-WN530HP3-A
- DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
+ DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
+ -uboot-envtools
IMAGE/sysupgrade.bin := append-kernel | pad-to 65536 | append-rootfs | \
check-size | append-metadata
IMAGE_SIZE := 15040k
@@ -1883,8 +1891,7 @@ define Device/rostelecom_rt-sf-1
SERCOMM_SWVER := 1026
DEVICE_VENDOR := Rostelecom
DEVICE_MODEL := RT-SF-1
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware \
- kmod-usb3 uboot-envtools
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware kmod-usb3
endef
TARGET_DEVICES += rostelecom_rt-sf-1
@@ -1895,7 +1902,7 @@ define Device/samknows_whitebox-v8
DEVICE_VENDOR := SamKnows
DEVICE_MODEL := Whitebox 8
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport uboot-envtools
+ kmod-usb-ledtrig-usbport
SUPPORTED_DEVICES += sk-wb8
endef
TARGET_DEVICES += samknows_whitebox-v8
@@ -1910,7 +1917,7 @@ define Device/sercomm_na502
KERNEL_SIZE := 4096k
DEVICE_VENDOR := SERCOMM
DEVICE_MODEL := NA502
- DEVICE_PACKAGES := kmod-mt76x2 kmod-mt7603 kmod-usb3
+ DEVICE_PACKAGES := kmod-mt76x2 kmod-mt7603 kmod-usb3 -uboot-envtools
endef
TARGET_DEVICES += sercomm_na502
@@ -1925,7 +1932,7 @@ define Device/sercomm_na502s
DEVICE_VENDOR := SERCOMM
DEVICE_MODEL := NA502S
DEVICE_PACKAGES := kmod-mt76x2 kmod-mt7603 kmod-usb3 kmod-usb-serial \
- kmod-usb-serial-xr_usb_serial_common
+ kmod-usb-serial-xr_usb_serial_common -uboot-envtools
endef
TARGET_DEVICES += sercomm_na502s
@@ -1943,7 +1950,8 @@ define Device/snr_snr-cpe-me2-lite
DEVICE_VENDOR := SNR
DEVICE_MODEL := SNR-CPE-ME2-Lite
UIMAGE_NAME := $$(DEVICE_MODEL)
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
+ -uboot-envtools
endef
TARGET_DEVICES += snr_snr-cpe-me2-lite
@@ -1952,7 +1960,8 @@ define Device/storylink_sap-g3200u3
IMAGE_SIZE := 7872k
DEVICE_VENDOR := STORYLiNK
DEVICE_MODEL := SAP-G3200U3
- DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport \
+ -uboot-envtools
SUPPORTED_DEVICES += sap-g3200u3
endef
TARGET_DEVICES += storylink_sap-g3200u3
@@ -1962,7 +1971,7 @@ define Device/telco-electronics_x1
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Telco Electronics
DEVICE_MODEL := X1
- DEVICE_PACKAGES := kmod-usb3 kmod-mt76
+ DEVICE_PACKAGES := kmod-usb3 kmod-mt76 -uboot-envtools
endef
TARGET_DEVICES += telco-electronics_x1
@@ -1971,7 +1980,7 @@ define Device/tenbay_t-mb5eu-v01
DEVICE_VENDOR := Tenbay
DEVICE_MODEL := T-MB5EU-V01
DEVICE_DTS_CONFIG := config@1
- DEVICE_PACKAGES += kmod-mt7915-firmware kmod-usb3
+ DEVICE_PACKAGES += kmod-mt7915-firmware kmod-usb3 -uboot-envtools
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
IMAGE_SIZE := 15808k
SUPPORTED_DEVICES += mt7621-dm2-t-mb5eu-v01-nor
@@ -1984,7 +1993,7 @@ define Device/thunder_timecloud
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Thunder
DEVICE_MODEL := Timecloud
- DEVICE_PACKAGES := kmod-usb3 -wpad-basic-mbedtls
+ DEVICE_PACKAGES := kmod-usb3 -wpad-basic-mbedtls -uboot-envtools
SUPPORTED_DEVICES += timecloud
endef
TARGET_DEVICES += thunder_timecloud
@@ -1995,7 +2004,7 @@ define Device/totolink_a7000r
UIMAGE_NAME := C8340R1C-9999
DEVICE_VENDOR := TOTOLINK
DEVICE_MODEL := A7000R
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += totolink_a7000r
@@ -2005,7 +2014,7 @@ define Device/totolink_x5000r
UIMAGE_NAME := C8343R-9999
DEVICE_VENDOR := TOTOLINK
DEVICE_MODEL := X5000R
- DEVICE_PACKAGES := kmod-mt7915-firmware
+ DEVICE_PACKAGES := kmod-mt7915-firmware -uboot-envtools
endef
TARGET_DEVICES += totolink_x5000r
@@ -2015,7 +2024,7 @@ define Device/tplink_archer-a6-v3
DEVICE_MODEL := Archer A6
DEVICE_VARIANT := V3
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e \
- kmod-mt7663-firmware-ap
+ kmod-mt7663-firmware-ap -uboot-envtools
TPLINK_BOARD_ID := ARCHER-A6-V3
KERNEL := $(KERNEL_DTB) | uImage lzma
IMAGE_SIZE := 15744k
@@ -2027,8 +2036,8 @@ define Device/tplink_archer-c6-v3
$(Device/tplink-safeloader)
DEVICE_MODEL := Archer C6
DEVICE_VARIANT := V3
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e \
- kmod-mt7663-firmware-ap
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
+ -uboot-envtools
TPLINK_BOARD_ID := ARCHER-C6-V3
KERNEL := $(KERNEL_DTB) | uImage lzma
IMAGE_SIZE := 15744k
@@ -2040,9 +2049,8 @@ define Device/tplink_archer-c6u-v1
$(Device/tplink-safeloader)
DEVICE_MODEL := Archer C6U
DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-mt7603 \
- kmod-mt7615e kmod-mt7663-firmware-ap \
- kmod-usb3 kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
+ kmod-usb3 kmod-usb-ledtrig-usbport -uboot-envtools
KERNEL := $(KERNEL_DTB) | uImage lzma
TPLINK_BOARD_ID := ARCHER-C6U-V1
IMAGE_SIZE := 15744k
@@ -2054,7 +2062,8 @@ define Device/tplink_deco-m4r-v4
$(Device/tplink-safeloader)
DEVICE_MODEL := Deco M4R
DEVICE_VARIANT := v4
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
+ -uboot-envtools
KERNEL := $(KERNEL_DTB) | uImage lzma
TPLINK_BOARD_ID := DECO-M4R-V4
IMAGE_SIZE := 15744k
@@ -2066,7 +2075,8 @@ define Device/tplink_eap235-wall-v1
$(Device/tplink-safeloader)
DEVICE_MODEL := EAP235-Wall
DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
+ -uboot-envtools
TPLINK_BOARD_ID := EAP235-WALL-V1
IMAGE_SIZE := 13440k
IMAGE/factory.bin := append-rootfs | tplink-safeloader factory | \
@@ -2079,7 +2089,7 @@ define Device/tplink_eap615-wall-v1
$(Device/tplink-safeloader)
DEVICE_MODEL := EAP615-Wall
DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-mt7915-firmware
+ DEVICE_PACKAGES := kmod-mt7915-firmware -uboot-envtools
TPLINK_BOARD_ID := EAP615-WALL-V1
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | pad-to 64k
KERNEL_INITRAMFS := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb with-initrd
@@ -2100,8 +2110,7 @@ define Device/tplink_ec330-g5u-v1
DEVICE_ALT0_VENDOR := TP-Link
DEVICE_ALT0_MODEL := Archer C9ERT
DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb-ledtrig-usbport \
- kmod-usb3 uboot-envtools
+ DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb-ledtrig-usbport kmod-usb3
KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | \
uImage-tplink-c9 standalone '$(call toupper,$(LINUX_KARCH)) \
$(VERSION_DIST) Linux-$(LINUX_VERSION)' | \
@@ -2117,7 +2126,7 @@ define Device/tplink_er605-v2
DEVICE_VENDOR := TP-Link
DEVICE_MODEL := ER605
DEVICE_VARIANT := v2
- DEVICE_PACKAGES := -wpad-basic-mbedtls kmod-usb3
+ DEVICE_PACKAGES := -wpad-basic-mbedtls kmod-usb3 -uboot-envtools
BLOCKSIZE := 128k
PAGESIZE := 2048
KERNEL_SIZE := 4096k
@@ -2137,7 +2146,7 @@ define Device/tplink_mr600-v2-eu
DEVICE_VARIANT := v2 (EU)
TPLINK_FLASHLAYOUT := 16Mltq
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
- kmod-usb-net-qmi-wwan uqmi kmod-usb3
+ kmod-usb-net-qmi-wwan uqmi kmod-usb3 -uboot-envtools
KERNEL := $(KERNEL_DTB) | uImage lzma
KERNEL_INITRAMFS := $$(KERNEL) | tplink-v2-header
TPLINK_BOARD_ID := MR600-V2-EU
@@ -2150,7 +2159,7 @@ define Device/tplink_re350-v1
$(Device/tplink-safeloader)
DEVICE_MODEL := RE350
DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 -uboot-envtools
TPLINK_BOARD_ID := RE350-V1
IMAGE_SIZE := 6016k
SUPPORTED_DEVICES += re350-v1
@@ -2162,7 +2171,7 @@ define Device/tplink_re500-v1
$(Device/tplink-safeloader)
DEVICE_MODEL := RE500
DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
TPLINK_BOARD_ID := RE500-V1
IMAGE_SIZE := 14208k
endef
@@ -2173,7 +2182,7 @@ define Device/tplink_re650-v1
$(Device/tplink-safeloader)
DEVICE_MODEL := RE650
DEVICE_VARIANT := v1
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
TPLINK_BOARD_ID := RE650-V1
IMAGE_SIZE := 14208k
endef
@@ -2184,7 +2193,7 @@ define Device/tplink_re650-v2
$(Device/tplink-safeloader)
DEVICE_MODEL := RE650
DEVICE_VARIANT := v2
- DEVICE_PACKAGES := kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7615-firmware -uboot-envtools
TPLINK_BOARD_ID := RE650-V2
IMAGE_SIZE := 7994k
endef
@@ -2195,7 +2204,8 @@ define Device/tplink_tl-wpa8631p-v3
$(Device/tplink-safeloader)
DEVICE_MODEL := TL-WPA8631P
DEVICE_VARIANT := v3
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
+ -uboot-envtools
TPLINK_BOARD_ID := TL-WPA8631P-V3
IMAGE_SIZE := 7232k
endef
@@ -2211,7 +2221,7 @@ define Device/ubnt_edgerouter_common
KERNEL_INITRAMFS := $$(KERNEL) | \
ubnt-erx-factory-image $(KDIR)/tmp/$$(KERNEL_INITRAMFS_PREFIX)-factory.tar
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
- DEVICE_PACKAGES += -wpad-basic-mbedtls
+ DEVICE_PACKAGES += -wpad-basic-mbedtls -uboot-envtools
endef
define Device/ubnt_edgerouter-x
@@ -2237,7 +2247,7 @@ define Device/ubnt_unifi-6-lite
DEVICE_MODEL := UniFi 6 Lite
DEVICE_DTS_CONFIG := config@1
DEVICE_DTS_LOADADDR := 0x87000000
- DEVICE_PACKAGES += kmod-mt7603 kmod-mt7915-firmware
+ DEVICE_PACKAGES += kmod-mt7603 kmod-mt7915-firmware -uboot-envtools
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
IMAGE_SIZE := 15424k
endef
@@ -2250,7 +2260,8 @@ define Device/ubnt_unifi-flexhd
DEVICE_DTS_CONFIG := config@2
DEVICE_DTS_LOADADDR := 0x87000000
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
- DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615-firmware kmod-leds-ubnt-ledbar
+ DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615-firmware kmod-leds-ubnt-ledbar \
+ -uboot-envtools
IMAGE_SIZE := 15552k
endef
TARGET_DEVICES += ubnt_unifi-flexhd
@@ -2259,7 +2270,7 @@ define Device/ubnt_unifi-nanohd
$(Device/dsa-migration)
DEVICE_VENDOR := Ubiquiti
DEVICE_MODEL := UniFi nanoHD
- DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615-firmware
+ DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615-firmware -uboot-envtools
IMAGE_SIZE := 15552k
endef
TARGET_DEVICES += ubnt_unifi-nanohd
@@ -2270,6 +2281,7 @@ define Device/ubnt_usw-flex
DEVICE_MODEL := UniFi Switch Flex
DEVICE_DTS_CONFIG := config@1
DEVICE_DTS_LOADADDR := 0x87000000
+ DEVICE_PACKAGES += -uboot-envtools
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
IMAGE_SIZE := 14720k
endef
@@ -2282,7 +2294,7 @@ define Device/unielec_u7621-01-16m
DEVICE_VENDOR := UniElec
DEVICE_MODEL := U7621-01
DEVICE_VARIANT := 16M
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 -uboot-envtools
endef
TARGET_DEVICES += unielec_u7621-01-16m
@@ -2293,7 +2305,8 @@ define Device/unielec_u7621-06-16m
DEVICE_VENDOR := UniElec
DEVICE_MODEL := U7621-06
DEVICE_VARIANT := 16M
- DEVICE_PACKAGES := kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3 -wpad-basic-mbedtls
+ DEVICE_PACKAGES := kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3 \
+ -wpad-basic-mbedtls -uboot-envtools
SUPPORTED_DEVICES += u7621-06-256M-16M unielec,u7621-06-256m-16m
endef
TARGET_DEVICES += unielec_u7621-06-16m
@@ -2305,7 +2318,8 @@ define Device/unielec_u7621-06-32m
DEVICE_VENDOR := UniElec
DEVICE_MODEL := U7621-06
DEVICE_VARIANT := 32M
- DEVICE_PACKAGES := kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3 -wpad-basic-mbedtls
+ DEVICE_PACKAGES := kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3 \
+ -wpad-basic-mbedtls -uboot-envtools
SUPPORTED_DEVICES += unielec,u7621-06-32m
endef
TARGET_DEVICES += unielec_u7621-06-32m
@@ -2317,7 +2331,8 @@ define Device/unielec_u7621-06-64m
DEVICE_VENDOR := UniElec
DEVICE_MODEL := U7621-06
DEVICE_VARIANT := 64M
- DEVICE_PACKAGES := kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3 -wpad-basic-mbedtls
+ DEVICE_PACKAGES := kmod-ata-ahci kmod-sdhci-mt7620 kmod-usb3 \
+ -wpad-basic-mbedtls -uboot-envtools
SUPPORTED_DEVICES += unielec,u7621-06-512m-64m
endef
TARGET_DEVICES += unielec_u7621-06-64m
@@ -2326,7 +2341,7 @@ define Device/wavlink_wl-wn531a6
$(Device/dsa-migration)
DEVICE_VENDOR := Wavlink
DEVICE_MODEL := WL-WN531A6
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware kmod-usb3
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware kmod-usb3 -uboot-envtools
IMAGE_SIZE := 15040k
endef
TARGET_DEVICES += wavlink_wl-wn531a6
@@ -2336,7 +2351,7 @@ define Device/wavlink_wl-wn533a8
DEVICE_VENDOR := Wavlink
DEVICE_MODEL := WL-WN533A8
KERNEL_INITRAMFS_SUFFIX := -WN533A8$$(KERNEL_SUFFIX)
- DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3
+ DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 -uboot-envtools
IMAGE_SIZE := 15040k
endef
TARGET_DEVICES += wavlink_wl-wn533a8
@@ -2354,7 +2369,7 @@ define Device/wavlink_ws-wn572hp3-4g
IMAGE/sysupgrade.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
append-rootfs | pad-rootfs | check-size | append-metadata
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
- kmod-usb3 kmod-usb-net-rndis comgt-ncm
+ kmod-usb3 kmod-usb-net-rndis comgt-ncm -uboot-envtools
endef
TARGET_DEVICES += wavlink_ws-wn572hp3-4g
@@ -2366,7 +2381,7 @@ define Device/wevo_11acnas
DEVICE_VENDOR := WeVO
DEVICE_MODEL := 11AC NAS Router
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
SUPPORTED_DEVICES += 11acnas
endef
TARGET_DEVICES += wevo_11acnas
@@ -2380,7 +2395,7 @@ define Device/wevo_w2914ns-v2
DEVICE_MODEL := W2914NS
DEVICE_VARIANT := v2
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
SUPPORTED_DEVICES += w2914nsv2
endef
TARGET_DEVICES += wevo_w2914ns-v2
@@ -2394,7 +2409,7 @@ define Device/winstars_ws-wn583a6
DEVICE_ALT0_VENDOR := Gemeita
DEVICE_ALT0_MODEL := AC2100
KERNEL_INITRAMFS_SUFFIX := -WN583A6$$(KERNEL_SUFFIX)
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += winstars_ws-wn583a6
@@ -2402,7 +2417,6 @@ define Device/xiaomi_nand_separate
$(Device/dsa-migration)
$(Device/uimage-lzma-loader)
DEVICE_VENDOR := Xiaomi
- DEVICE_PACKAGES := uboot-envtools
BLOCKSIZE := 128k
PAGESIZE := 2048
KERNEL_SIZE := 4096k
@@ -2418,7 +2432,7 @@ define Device/xiaomi_mi-router-3g
DEVICE_MODEL := Mi Router 3G
IMAGE_SIZE := 124416k
DEVICE_PACKAGES += kmod-mt7603 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
SUPPORTED_DEVICES += R3G mir3g xiaomi,mir3g
endef
TARGET_DEVICES += xiaomi_mi-router-3g
@@ -2430,7 +2444,7 @@ define Device/xiaomi_mi-router-3g-v2
DEVICE_VENDOR := Xiaomi
DEVICE_MODEL := Mi Router 3G
DEVICE_VARIANT := v2
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 -uboot-envtools
SUPPORTED_DEVICES += xiaomi,mir3g-v2
endef
TARGET_DEVICES += xiaomi_mi-router-3g-v2
@@ -2449,8 +2463,7 @@ define Device/xiaomi_mi-router-3-pro
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
check-size
- DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
- kmod-usb-ledtrig-usbport uboot-envtools
+ DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 kmod-usb-ledtrig-usbport
SUPPORTED_DEVICES += xiaomi,mir3p
endef
TARGET_DEVICES += xiaomi_mi-router-3-pro
@@ -2470,7 +2483,7 @@ define Device/xiaomi_mi-router-4a-gigabit
DEVICE_VENDOR := Xiaomi
DEVICE_MODEL := Mi Router 4A
DEVICE_VARIANT := Gigabit Edition
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 -uboot-envtools
endef
TARGET_DEVICES += xiaomi_mi-router-4a-gigabit
@@ -2481,7 +2494,8 @@ define Device/xiaomi_mi-router-4a-gigabit-v2
DEVICE_VENDOR := Xiaomi
DEVICE_MODEL := Mi Router 4A
DEVICE_VARIANT := Gigabit Edition v2
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap \
+ -uboot-envtools
endef
TARGET_DEVICES += xiaomi_mi-router-4a-gigabit-v2
@@ -2489,7 +2503,7 @@ define Device/xiaomi_mi-router-ac2100
$(Device/xiaomi_nand_separate)
DEVICE_MODEL := Mi Router AC2100
IMAGE_SIZE := 120320k
- DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615-firmware
+ DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615-firmware -uboot-envtools
endef
TARGET_DEVICES += xiaomi_mi-router-ac2100
@@ -2506,7 +2520,7 @@ define Device/xiaomi_mi-router-cr660x
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
IMAGE/firmware.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
check-size
- DEVICE_PACKAGES += kmod-mt7915-firmware uboot-envtools
+ DEVICE_PACKAGES += kmod-mt7915-firmware
endef
define Device/xiaomi_mi-router-cr6606
@@ -2540,7 +2554,8 @@ define Device/xiaoyu_xy-c5
IMAGE_SIZE := 32448k
DEVICE_VENDOR := XiaoYu
DEVICE_MODEL := XY-C5
- DEVICE_PACKAGES := kmod-ata-ahci kmod-usb3 -wpad-basic-mbedtls
+ DEVICE_PACKAGES := kmod-ata-ahci kmod-usb3 -wpad-basic-mbedtls \
+ -uboot-envtools
endef
TARGET_DEVICES += xiaoyu_xy-c5
@@ -2550,7 +2565,7 @@ define Device/xzwifi_creativebox-v1
DEVICE_VENDOR := CreativeBox
DEVICE_MODEL := v1
DEVICE_PACKAGES := kmod-ata-ahci kmod-mt7603 kmod-mt76x2 kmod-sdhci-mt7620 \
- kmod-usb3 -wpad-basic-mbedtls
+ kmod-usb3 -wpad-basic-mbedtls -uboot-envtools
endef
TARGET_DEVICES += xzwifi_creativebox-v1
@@ -2560,7 +2575,7 @@ define Device/youhua_wr1200js
DEVICE_VENDOR := YouHua
DEVICE_MODEL := WR1200JS
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
endef
TARGET_DEVICES += youhua_wr1200js
@@ -2570,7 +2585,7 @@ define Device/youku_yk-l2
DEVICE_VENDOR := Youku
DEVICE_MODEL := YK-L2
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
UIMAGE_MAGIC := 0x12291000
UIMAGE_NAME := 400000000000000000003000
endef
@@ -2581,7 +2596,7 @@ define Device/yuncore_ax820
IMAGE_SIZE := 15808k
DEVICE_VENDOR := YunCore
DEVICE_MODEL := AX820
- DEVICE_PACKAGES := kmod-mt7915-firmware
+ DEVICE_PACKAGES := kmod-mt7915-firmware -uboot-envtools
endef
TARGET_DEVICES += yuncore_ax820
@@ -2591,7 +2606,7 @@ define Device/yuncore_fap640
IMAGE_SIZE := 15808k
DEVICE_VENDOR := YunCore
DEVICE_MODEL := FAP640
- DEVICE_PACKAGES := kmod-mt7915-firmware
+ DEVICE_PACKAGES := kmod-mt7915-firmware -uboot-envtools
endef
TARGET_DEVICES += yuncore_fap640
@@ -2601,7 +2616,7 @@ define Device/yuncore_fap690
IMAGE_SIZE := 15808k
DEVICE_VENDOR := YunCore
DEVICE_MODEL := FAP690
- DEVICE_PACKAGES := kmod-mt7915-firmware
+ DEVICE_PACKAGES := kmod-mt7915-firmware -uboot-envtools
endef
TARGET_DEVICES += yuncore_fap690
@@ -2613,7 +2628,8 @@ define Device/zbtlink_zbt-we1326
DEVICE_MODEL := ZBT-WE1326
DEVICE_ALT0_VENDOR := Wiflyer
DEVICE_ALT0_MODEL := WF3526-P
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-sdhci-mt7620
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-sdhci-mt7620 \
+ -uboot-envtools
SUPPORTED_DEVICES += zbt-we1326
endef
TARGET_DEVICES += zbtlink_zbt-we1326
@@ -2625,7 +2641,7 @@ define Device/zbtlink_zbt-we3526
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WE3526
DEVICE_PACKAGES := kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
endef
TARGET_DEVICES += zbtlink_zbt-we3526
@@ -2637,7 +2653,7 @@ define Device/zbtlink_zbt-wg1602-16m
DEVICE_MODEL := ZBT-WG1602
DEVICE_VARIANT := 16M
DEVICE_PACKAGES := kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
endef
TARGET_DEVICES += zbtlink_zbt-wg1602-16m
@@ -2649,7 +2665,7 @@ define Device/zbtlink_zbt-wg1602-v04-16m
DEVICE_MODEL := ZBT-WG1602-V04
DEVICE_VARIANT := 16M
DEVICE_PACKAGES := kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
endef
TARGET_DEVICES += zbtlink_zbt-wg1602-v04-16m
@@ -2661,7 +2677,7 @@ define Device/zbtlink_zbt-wg1602-v04-32m
DEVICE_MODEL := ZBT-WG1602-V04
DEVICE_VARIANT := 32M
DEVICE_PACKAGES := kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
endef
TARGET_DEVICES += zbtlink_zbt-wg1602-v04-32m
@@ -2673,7 +2689,8 @@ define Device/zbtlink_zbt-wg1608-16m
DEVICE_MODEL := ZBT-WG1608
DEVICE_VARIANT := 16M
DEVICE_PACKAGES := kmod-sdhci-mt7620 kmod-mt7603 kmod-mt7615e \
- kmod-mt7663-firmware-ap kmod-usb3 kmod-usb-ledtrig-usbport
+ kmod-mt7663-firmware-ap kmod-usb3 kmod-usb-ledtrig-usbport \
+ -uboot-envtools
endef
TARGET_DEVICES += zbtlink_zbt-wg1608-16m
@@ -2684,7 +2701,7 @@ define Device/zbtlink_zbt-wg2626
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WG2626
DEVICE_PACKAGES := kmod-ata-ahci kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
SUPPORTED_DEVICES += zbt-wg2626
endef
TARGET_DEVICES += zbtlink_zbt-wg2626
@@ -2697,7 +2714,7 @@ define Device/zbtlink_zbt-wg3526-16m
DEVICE_MODEL := ZBT-WG3526
DEVICE_VARIANT := 16M
DEVICE_PACKAGES := kmod-ata-ahci kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 \
- kmod-usb3 kmod-usb-ledtrig-usbport
+ kmod-usb3 kmod-usb-ledtrig-usbport -uboot-envtools
SUPPORTED_DEVICES += zbt-wg3526 zbt-wg3526-16M
endef
TARGET_DEVICES += zbtlink_zbt-wg3526-16m
@@ -2710,7 +2727,7 @@ define Device/zbtlink_zbt-wg3526-32m
DEVICE_MODEL := ZBT-WG3526
DEVICE_VARIANT := 32M
DEVICE_PACKAGES := kmod-ata-ahci kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 \
- kmod-usb3 kmod-usb-ledtrig-usbport
+ kmod-usb3 kmod-usb-ledtrig-usbport -uboot-envtools
SUPPORTED_DEVICES += ac1200pro zbt-wg3526-32M
endef
TARGET_DEVICES += zbtlink_zbt-wg3526-32m
@@ -2721,7 +2738,7 @@ define Device/zio_freezio
DEVICE_VENDOR := ZIO
DEVICE_MODEL := FREEZIO
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 \
- kmod-usb-ledtrig-usbport
+ kmod-usb-ledtrig-usbport -uboot-envtools
endef
TARGET_DEVICES += zio_freezio
@@ -2732,9 +2749,8 @@ define Device/zyxel_lte3301-plus
UBINIZE_OPTS := -E 5
DEVICE_VENDOR := ZyXEL
DEVICE_MODEL := LTE3301-PLUS
- DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
- uboot-envtools kmod-usb-ledtrig-usbport kmod-usb-net-qmi-wwan \
- kmod-usb-serial-option uqmi
+ DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 kmod-usb-ledtrig-usbport \
+ kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
KERNEL := $(KERNEL_DTB) | uImage lzma | \
zytrx-header $$(DEVICE_MODEL) $$(VERSION_DIST)-$$(REVISION)
KERNEL_INITRAMFS := $(KERNEL_DTB) | uImage lzma | \
@@ -2751,7 +2767,7 @@ define Device/zyxel_nr7101
UBINIZE_OPTS := -E 5
DEVICE_VENDOR := ZyXEL
DEVICE_MODEL := NR7101
- DEVICE_PACKAGES := kmod-mt7603 kmod-usb3 uboot-envtools kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
+ DEVICE_PACKAGES := kmod-mt7603 kmod-usb3 kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
KERNEL := $(KERNEL_DTB) | uImage lzma | zytrx-header $$(DEVICE_MODEL) $$(VERSION_DIST)-$$(REVISION)
KERNEL_INITRAMFS := $(KERNEL_DTB) | uImage lzma | zytrx-header $$(DEVICE_MODEL) 9.99(ABUV.9)$$(VERSION_DIST)-recovery
KERNEL_INITRAMFS_SUFFIX := -recovery.bin
@@ -2766,7 +2782,7 @@ define Device/zyxel_nwa-ax
PAGESIZE := 2048
KERNEL_SIZE := 8192k
UBINIZE_OPTS := -E 5
- DEVICE_PACKAGES := kmod-mt7915-firmware uboot-envtools zyxel-bootconfig
+ DEVICE_PACKAGES := kmod-mt7915-firmware zyxel-bootconfig
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
IMAGES += factory.bin ramboot-factory.bin
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | zyxel-nwa-fit
@@ -2796,7 +2812,7 @@ define Device/zyxel_wap6805
IMAGE_SIZE := 32448k
DEVICE_VENDOR := ZyXEL
DEVICE_MODEL := WAP6805
- DEVICE_PACKAGES := kmod-mt7603 kmod-mt7621-qtn-rgmii
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt7621-qtn-rgmii -uboot-envtools
KERNEL := $$(KERNEL/lzma-loader) | uImage none | uimage-padhdr 160
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
endef
diff --git a/target/linux/ramips/mt7621/target.mk b/target/linux/ramips/mt7621/target.mk
index cfb798e358..153ff08421 100644
--- a/target/linux/ramips/mt7621/target.mk
+++ b/target/linux/ramips/mt7621/target.mk
@@ -10,7 +10,7 @@ KERNELNAME:=vmlinux vmlinuz
# make Kernel/CopyImage use $LINUX_DIR/vmlinuz
IMAGES_DIR:=../../..
-DEFAULT_PACKAGES += wpad-basic-mbedtls
+DEFAULT_PACKAGES += wpad-basic-mbedtls uboot-envtools
define Target/Description
Build firmware images for Ralink MT7621 based boards.