This implements the newly introduced compat-version to prevent
broken upgrade between swconfig and DSA for ramips' mt7621 subtarget.
In order to make the situation more transparent for the user, and
to prevent large switch-cases for devices, it is more convenient to
have the entire subtarget 1.1-by-default. This means that new devices
will be added with 1.1 from the start, but in contrast we don't need
to switch them in board.d files. Apart from that, users that manually
backport devices to 19.07 with swconfig will have an equivalent
upgrade experience to officially supported devices.
Since DSA support on mt7621 is out for a while already, this applies
the same uci-defaults workaround for early adopters as already
done for kirkwood and mvebu in previous commits.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
+define Device/dsa-migration
+ DEVICE_COMPAT_VERSION := 1.1
+ DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA
+endef
+
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := ADSLR
DEVICE_MODEL := G7
IMAGE_SIZE := 16064k
DEVICE_VENDOR := ADSLR
DEVICE_MODEL := G7
TARGET_DEVICES += adslr_g7
define Device/afoundry_ew1200
TARGET_DEVICES += adslr_g7
define Device/afoundry_ew1200
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := AFOUNDRY
DEVICE_MODEL := EW1200
IMAGE_SIZE := 16064k
DEVICE_VENDOR := AFOUNDRY
DEVICE_MODEL := EW1200
TARGET_DEVICES += afoundry_ew1200
define Device/alfa-network_quad-e4g
TARGET_DEVICES += afoundry_ew1200
define Device/alfa-network_quad-e4g
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := ALFA Network
DEVICE_MODEL := Quad-E4G
IMAGE_SIZE := 16064k
DEVICE_VENDOR := ALFA Network
DEVICE_MODEL := Quad-E4G
TARGET_DEVICES += alfa-network_quad-e4g
define Device/asiarf_ap7621-001
TARGET_DEVICES += alfa-network_quad-e4g
define Device/asiarf_ap7621-001
+ $(Device/dsa-migration)
IMAGE_SIZE := 16000k
DEVICE_VENDOR := AsiaRF
DEVICE_MODEL := AP7621-001
IMAGE_SIZE := 16000k
DEVICE_VENDOR := AsiaRF
DEVICE_MODEL := AP7621-001
TARGET_DEVICES += asiarf_ap7621-001
define Device/asiarf_ap7621-nv1
TARGET_DEVICES += asiarf_ap7621-001
define Device/asiarf_ap7621-nv1
+ $(Device/dsa-migration)
IMAGE_SIZE := 16000k
DEVICE_VENDOR := AsiaRF
DEVICE_MODEL := AP7621-NV1
IMAGE_SIZE := 16000k
DEVICE_VENDOR := AsiaRF
DEVICE_MODEL := AP7621-NV1
TARGET_DEVICES += asiarf_ap7621-nv1
define Device/asus_rt-ac57u
TARGET_DEVICES += asiarf_ap7621-nv1
define Device/asus_rt-ac57u
+ $(Device/dsa-migration)
DEVICE_VENDOR := ASUS
DEVICE_MODEL := RT-AC57U
IMAGE_SIZE := 16064k
DEVICE_VENDOR := ASUS
DEVICE_MODEL := RT-AC57U
IMAGE_SIZE := 16064k
TARGET_DEVICES += asus_rt-ac57u
define Device/asus_rt-ac65p
TARGET_DEVICES += asus_rt-ac57u
define Device/asus_rt-ac65p
+ $(Device/dsa-migration)
DEVICE_VENDOR := ASUS
DEVICE_MODEL := RT-AC65P
IMAGE_SIZE := 51200k
DEVICE_VENDOR := ASUS
DEVICE_MODEL := RT-AC65P
IMAGE_SIZE := 51200k
TARGET_DEVICES += asus_rt-ac65p
define Device/asus_rt-ac85p
TARGET_DEVICES += asus_rt-ac65p
define Device/asus_rt-ac85p
+ $(Device/dsa-migration)
DEVICE_VENDOR := ASUS
DEVICE_MODEL := RT-AC85P
IMAGE_SIZE := 51200k
DEVICE_VENDOR := ASUS
DEVICE_MODEL := RT-AC85P
IMAGE_SIZE := 51200k
TARGET_DEVICES += asus_rt-ac85p
define Device/buffalo_wsr-1166dhp
TARGET_DEVICES += asus_rt-ac85p
define Device/buffalo_wsr-1166dhp
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE/sysupgrade.bin := trx | pad-rootfs | append-metadata
IMAGE_SIZE := 15936k
$(Device/uimage-lzma-loader)
IMAGE/sysupgrade.bin := trx | pad-rootfs | append-metadata
IMAGE_SIZE := 15936k
TARGET_DEVICES += buffalo_wsr-1166dhp
define Device/buffalo_wsr-2533dhpl
TARGET_DEVICES += buffalo_wsr-1166dhp
define Device/buffalo_wsr-2533dhpl
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 7936k
DEVICE_VENDOR := Buffalo
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 7936k
DEVICE_VENDOR := Buffalo
TARGET_DEVICES += buffalo_wsr-2533dhpl
define Device/buffalo_wsr-600dhp
TARGET_DEVICES += buffalo_wsr-2533dhpl
define Device/buffalo_wsr-600dhp
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Buffalo
DEVICE_MODEL := WSR-600DHP
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Buffalo
DEVICE_MODEL := WSR-600DHP
TARGET_DEVICES += buffalo_wsr-600dhp
define Device/dlink_dir-8xx-a1
TARGET_DEVICES += buffalo_wsr-600dhp
define Device/dlink_dir-8xx-a1
+ $(Device/dsa-migration)
IMAGE_SIZE := 16000k
DEVICE_VENDOR := D-Link
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
IMAGE_SIZE := 16000k
DEVICE_VENDOR := D-Link
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
endef
define Device/dlink_dir-xx60-a1
endef
define Device/dlink_dir-xx60-a1
+ $(Device/dsa-migration)
BLOCKSIZE := 128k
PAGESIZE := 2048
KERNEL_SIZE := 4096k
BLOCKSIZE := 128k
PAGESIZE := 2048
KERNEL_SIZE := 4096k
TARGET_DEVICES += dlink_dir-1960-a1
define Device/dlink_dir-860l-b1
TARGET_DEVICES += dlink_dir-1960-a1
define Device/dlink_dir-860l-b1
+ $(Device/dsa-migration)
$(Device/seama)
BLOCKSIZE := 64k
SEAMA_SIGNATURE := wrgac13_dlink.2013gui_dir860lb
$(Device/seama)
BLOCKSIZE := 64k
SEAMA_SIGNATURE := wrgac13_dlink.2013gui_dir860lb
TARGET_DEVICES += dlink_dir-882-a1
define Device/d-team_newifi-d2
TARGET_DEVICES += dlink_dir-882-a1
define Device/d-team_newifi-d2
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 32448k
DEVICE_VENDOR := Newifi
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 32448k
DEVICE_VENDOR := Newifi
TARGET_DEVICES += d-team_newifi-d2
define Device/d-team_pbr-m1
TARGET_DEVICES += d-team_newifi-d2
define Device/d-team_pbr-m1
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := PandoraBox
DEVICE_MODEL := PBR-M1
IMAGE_SIZE := 16064k
DEVICE_VENDOR := PandoraBox
DEVICE_MODEL := PBR-M1
TARGET_DEVICES += d-team_pbr-m1
define Device/edimax_ra21s
TARGET_DEVICES += d-team_pbr-m1
define Device/edimax_ra21s
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Edimax
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Edimax
TARGET_DEVICES += edimax_ra21s
define Device/edimax_re23s
TARGET_DEVICES += edimax_ra21s
define Device/edimax_re23s
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 15680k
DEVICE_VENDOR := Edimax
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 15680k
DEVICE_VENDOR := Edimax
TARGET_DEVICES += edimax_re23s
define Device/edimax_rg21s
TARGET_DEVICES += edimax_re23s
define Device/edimax_rg21s
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Edimax
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Edimax
TARGET_DEVICES += edimax_rg21s
define Device/elecom_wrc-1167ghbk2-s
TARGET_DEVICES += edimax_rg21s
define Device/elecom_wrc-1167ghbk2-s
+ $(Device/dsa-migration)
IMAGE_SIZE := 15488k
DEVICE_VENDOR := ELECOM
DEVICE_MODEL := WRC-1167GHBK2-S
IMAGE_SIZE := 15488k
DEVICE_VENDOR := ELECOM
DEVICE_MODEL := WRC-1167GHBK2-S
TARGET_DEVICES += elecom_wrc-1167ghbk2-s
define Device/elecom_wrc-gs
TARGET_DEVICES += elecom_wrc-1167ghbk2-s
define Device/elecom_wrc-gs
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
DEVICE_VENDOR := ELECOM
IMAGES += factory.bin
$(Device/uimage-lzma-loader)
DEVICE_VENDOR := ELECOM
IMAGES += factory.bin
TARGET_DEVICES += elecom_wrc-2533gst2
define Device/firefly_firewrt
TARGET_DEVICES += elecom_wrc-2533gst2
define Device/firefly_firewrt
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Firefly
DEVICE_MODEL := FireWRT
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Firefly
DEVICE_MODEL := FireWRT
TARGET_DEVICES += firefly_firewrt
define Device/gehua_ghl-r-001
TARGET_DEVICES += firefly_firewrt
define Device/gehua_ghl-r-001
+ $(Device/dsa-migration)
IMAGE_SIZE := 32448k
DEVICE_VENDOR := GeHua
DEVICE_MODEL := GHL-R-001
IMAGE_SIZE := 32448k
DEVICE_VENDOR := GeHua
DEVICE_MODEL := GHL-R-001
TARGET_DEVICES += gehua_ghl-r-001
define Device/gnubee_gb-pc1
TARGET_DEVICES += gehua_ghl-r-001
define Device/gnubee_gb-pc1
+ $(Device/dsa-migration)
DEVICE_VENDOR := GnuBee
DEVICE_MODEL := Personal Cloud One
DEVICE_PACKAGES := kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620 -wpad-basic
DEVICE_VENDOR := GnuBee
DEVICE_MODEL := Personal Cloud One
DEVICE_PACKAGES := kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620 -wpad-basic
TARGET_DEVICES += gnubee_gb-pc1
define Device/gnubee_gb-pc2
TARGET_DEVICES += gnubee_gb-pc1
define Device/gnubee_gb-pc2
+ $(Device/dsa-migration)
DEVICE_VENDOR := GnuBee
DEVICE_MODEL := Personal Cloud Two
DEVICE_PACKAGES := kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620 -wpad-basic
DEVICE_VENDOR := GnuBee
DEVICE_MODEL := Personal Cloud Two
DEVICE_PACKAGES := kmod-ata-ahci kmod-usb3 kmod-sdhci-mt7620 -wpad-basic
TARGET_DEVICES += gnubee_gb-pc2
define Device/hiwifi_hc5962
TARGET_DEVICES += gnubee_gb-pc2
define Device/hiwifi_hc5962
+ $(Device/dsa-migration)
BLOCKSIZE := 128k
PAGESIZE := 2048
KERNEL_SIZE := 4096k
BLOCKSIZE := 128k
PAGESIZE := 2048
KERNEL_SIZE := 4096k
TARGET_DEVICES += hiwifi_hc5962
define Device/iodata_wn-ax1167gr
TARGET_DEVICES += hiwifi_hc5962
define Device/iodata_wn-ax1167gr
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 15552k
KERNEL_INITRAMFS := $$(KERNEL) | \
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 15552k
KERNEL_INITRAMFS := $$(KERNEL) | \
TARGET_DEVICES += iodata_wn-ax1167gr
define Device/iodata_nand
TARGET_DEVICES += iodata_wn-ax1167gr
define Device/iodata_nand
+ $(Device/dsa-migration)
DEVICE_VENDOR := I-O DATA
BLOCKSIZE := 128k
PAGESIZE := 2048
DEVICE_VENDOR := I-O DATA
BLOCKSIZE := 128k
PAGESIZE := 2048
TARGET_DEVICES += iodata_wn-dx1167r
define Device/iodata_wn-gx300gr
TARGET_DEVICES += iodata_wn-dx1167r
define Device/iodata_wn-gx300gr
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 7616k
DEVICE_VENDOR := I-O DATA
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 7616k
DEVICE_VENDOR := I-O DATA
TARGET_DEVICES += iodata_wn-gx300gr
define Device/iodata_wnpr2600g
TARGET_DEVICES += iodata_wn-gx300gr
define Device/iodata_wnpr2600g
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
DEVICE_VENDOR := I-O DATA
DEVICE_MODEL := WNPR2600G
$(Device/uimage-lzma-loader)
DEVICE_VENDOR := I-O DATA
DEVICE_MODEL := WNPR2600G
TARGET_DEVICES += iodata_wnpr2600g
define Device/iptime_a6ns-m
TARGET_DEVICES += iodata_wnpr2600g
define Device/iptime_a6ns-m
+ $(Device/dsa-migration)
IMAGE_SIZE := 16128k
UIMAGE_NAME := a6nm
DEVICE_VENDOR := ipTIME
IMAGE_SIZE := 16128k
UIMAGE_NAME := a6nm
DEVICE_VENDOR := ipTIME
TARGET_DEVICES += iptime_a6ns-m
define Device/iptime_a8004t
TARGET_DEVICES += iptime_a6ns-m
define Device/iptime_a8004t
+ $(Device/dsa-migration)
IMAGE_SIZE := 16128k
UIMAGE_NAME := a8004t
DEVICE_VENDOR := ipTIME
IMAGE_SIZE := 16128k
UIMAGE_NAME := a8004t
DEVICE_VENDOR := ipTIME
TARGET_DEVICES += iptime_a8004t
define Device/jcg_jhr-ac876m
TARGET_DEVICES += iptime_a8004t
define Device/jcg_jhr-ac876m
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | jcg-header 89.1
IMAGE_SIZE := 16064k
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | jcg-header 89.1
TARGET_DEVICES += jcg_jhr-ac876m
define Device/lenovo_newifi-d1
TARGET_DEVICES += jcg_jhr-ac876m
define Device/lenovo_newifi-d1
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 32448k
DEVICE_VENDOR := Newifi
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 32448k
DEVICE_VENDOR := Newifi
TARGET_DEVICES += lenovo_newifi-d1
define Device/linksys_ea7xxx
TARGET_DEVICES += lenovo_newifi-d1
define Device/linksys_ea7xxx
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
BLOCKSIZE := 128k
PAGESIZE := 2048
$(Device/uimage-lzma-loader)
BLOCKSIZE := 128k
PAGESIZE := 2048
TARGET_DEVICES += linksys_ea7500-v2
define Device/linksys_re6500
TARGET_DEVICES += linksys_ea7500-v2
define Device/linksys_re6500
+ $(Device/dsa-migration)
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Linksys
DEVICE_MODEL := RE6500
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Linksys
DEVICE_MODEL := RE6500
TARGET_DEVICES += linksys_re6500
define Device/mediatek_ap-mt7621a-v60
TARGET_DEVICES += linksys_re6500
define Device/mediatek_ap-mt7621a-v60
+ $(Device/dsa-migration)
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Mediatek
DEVICE_MODEL := AP-MT7621A-V60 EVB
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Mediatek
DEVICE_MODEL := AP-MT7621A-V60 EVB
TARGET_DEVICES += mediatek_ap-mt7621a-v60
define Device/mediatek_mt7621-eval-board
TARGET_DEVICES += mediatek_ap-mt7621a-v60
define Device/mediatek_mt7621-eval-board
+ $(Device/dsa-migration)
BLOCKSIZE := 64k
IMAGE_SIZE := 15104k
DEVICE_VENDOR := MediaTek
BLOCKSIZE := 64k
IMAGE_SIZE := 15104k
DEVICE_VENDOR := MediaTek
TARGET_DEVICES += mediatek_mt7621-eval-board
define Device/MikroTik
TARGET_DEVICES += mediatek_mt7621-eval-board
define Device/MikroTik
+ $(Device/dsa-migration)
DEVICE_VENDOR := MikroTik
BLOCKSIZE := 64k
IMAGE_SIZE := 16128k
DEVICE_VENDOR := MikroTik
BLOCKSIZE := 64k
IMAGE_SIZE := 16128k
TARGET_DEVICES += mikrotik_routerboard-m33g
define Device/mqmaker_witi
TARGET_DEVICES += mikrotik_routerboard-m33g
define Device/mqmaker_witi
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := MQmaker
DEVICE_MODEL := WiTi
IMAGE_SIZE := 16064k
DEVICE_VENDOR := MQmaker
DEVICE_MODEL := WiTi
TARGET_DEVICES += mqmaker_witi
define Device/mtc_wr1201
TARGET_DEVICES += mqmaker_witi
define Device/mtc_wr1201
+ $(Device/dsa-migration)
IMAGE_SIZE := 16000k
DEVICE_VENDOR := MTC
DEVICE_MODEL := Wireless Router WR1201
IMAGE_SIZE := 16000k
DEVICE_VENDOR := MTC
DEVICE_MODEL := Wireless Router WR1201
TARGET_DEVICES += mtc_wr1201
define Device/netgear_ex6150
TARGET_DEVICES += mtc_wr1201
define Device/netgear_ex6150
+ $(Device/dsa-migration)
DEVICE_VENDOR := NETGEAR
DEVICE_MODEL := EX6150
DEVICE_PACKAGES := kmod-mt76x2
DEVICE_VENDOR := NETGEAR
DEVICE_MODEL := EX6150
DEVICE_PACKAGES := kmod-mt76x2
TARGET_DEVICES += netgear_ex6150
define Device/netgear_sercomm_nand
TARGET_DEVICES += netgear_ex6150
define Device/netgear_sercomm_nand
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
BLOCKSIZE := 128k
PAGESIZE := 2048
$(Device/uimage-lzma-loader)
BLOCKSIZE := 128k
PAGESIZE := 2048
TARGET_DEVICES += netgear_wac124
define Device/netgear_wndr3700-v5
TARGET_DEVICES += netgear_wac124
define Device/netgear_wndr3700-v5
+ $(Device/dsa-migration)
$(Device/netgear_sercomm_nor)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 15232k
$(Device/netgear_sercomm_nor)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 15232k
TARGET_DEVICES += netgear_wndr3700-v5
define Device/netis_wf2881
TARGET_DEVICES += netgear_wndr3700-v5
define Device/netis_wf2881
+ $(Device/dsa-migration)
BLOCKSIZE := 128k
PAGESIZE := 2048
FILESYSTEMS := squashfs
BLOCKSIZE := 128k
PAGESIZE := 2048
FILESYSTEMS := squashfs
TARGET_DEVICES += netis_wf2881
define Device/phicomm_k2p
TARGET_DEVICES += netis_wf2881
define Device/phicomm_k2p
+ $(Device/dsa-migration)
IMAGE_SIZE := 15744k
DEVICE_VENDOR := Phicomm
DEVICE_MODEL := K2P
IMAGE_SIZE := 15744k
DEVICE_VENDOR := Phicomm
DEVICE_MODEL := K2P
TARGET_DEVICES += phicomm_k2p
define Device/planex_vr500
TARGET_DEVICES += phicomm_k2p
define Device/planex_vr500
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 65216k
DEVICE_VENDOR := Planex
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 65216k
DEVICE_VENDOR := Planex
TARGET_DEVICES += planex_vr500
define Device/samknows_whitebox-v8
TARGET_DEVICES += planex_vr500
define Device/samknows_whitebox-v8
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := SamKnows
DEVICE_MODEL := Whitebox 8
IMAGE_SIZE := 16064k
DEVICE_VENDOR := SamKnows
DEVICE_MODEL := Whitebox 8
TARGET_DEVICES += samknows_whitebox-v8
define Device/storylink_sap-g3200u3
TARGET_DEVICES += samknows_whitebox-v8
define Device/storylink_sap-g3200u3
+ $(Device/dsa-migration)
IMAGE_SIZE := 7872k
DEVICE_VENDOR := STORYLiNK
DEVICE_MODEL := SAP-G3200U3
IMAGE_SIZE := 7872k
DEVICE_VENDOR := STORYLiNK
DEVICE_MODEL := SAP-G3200U3
TARGET_DEVICES += storylink_sap-g3200u3
define Device/telco-electronics_x1
TARGET_DEVICES += storylink_sap-g3200u3
define Device/telco-electronics_x1
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Telco Electronics
DEVICE_MODEL := X1
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Telco Electronics
DEVICE_MODEL := X1
TARGET_DEVICES += telco-electronics_x1
define Device/thunder_timecloud
TARGET_DEVICES += telco-electronics_x1
define Device/thunder_timecloud
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Thunder
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Thunder
TARGET_DEVICES += thunder_timecloud
define Device/totolink_a7000r
TARGET_DEVICES += thunder_timecloud
define Device/totolink_a7000r
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
UIMAGE_NAME := C8340R1C-9999
DEVICE_VENDOR := TOTOLINK
IMAGE_SIZE := 16064k
UIMAGE_NAME := C8340R1C-9999
DEVICE_VENDOR := TOTOLINK
TARGET_DEVICES += totolink_a7000r
define Device/tplink_re350-v1
TARGET_DEVICES += totolink_a7000r
define Device/tplink_re350-v1
+ $(Device/dsa-migration)
$(Device/tplink-safeloader)
DEVICE_MODEL := RE350
DEVICE_VARIANT := v1
$(Device/tplink-safeloader)
DEVICE_MODEL := RE350
DEVICE_VARIANT := v1
TARGET_DEVICES += tplink_re350-v1
define Device/tplink_re500-v1
TARGET_DEVICES += tplink_re350-v1
define Device/tplink_re500-v1
+ $(Device/dsa-migration)
$(Device/tplink-safeloader)
DEVICE_MODEL := RE500
DEVICE_VARIANT := v1
$(Device/tplink-safeloader)
DEVICE_MODEL := RE500
DEVICE_VARIANT := v1
TARGET_DEVICES += tplink_re500-v1
define Device/tplink_re650-v1
TARGET_DEVICES += tplink_re500-v1
define Device/tplink_re650-v1
+ $(Device/dsa-migration)
$(Device/tplink-safeloader)
DEVICE_MODEL := RE650
DEVICE_VARIANT := v1
$(Device/tplink-safeloader)
DEVICE_MODEL := RE650
DEVICE_VARIANT := v1
TARGET_DEVICES += tplink_re650-v1
define Device/ubnt_edgerouter_common
TARGET_DEVICES += tplink_re650-v1
define Device/ubnt_edgerouter_common
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
DEVICE_VENDOR := Ubiquiti
IMAGE_SIZE := 256768k
$(Device/uimage-lzma-loader)
DEVICE_VENDOR := Ubiquiti
IMAGE_SIZE := 256768k
TARGET_DEVICES += ubnt_edgerouter-x-sfp
define Device/ubnt_unifi-nanohd
TARGET_DEVICES += ubnt_edgerouter-x-sfp
define Device/ubnt_unifi-nanohd
+ $(Device/dsa-migration)
DEVICE_VENDOR := Ubiquiti
DEVICE_MODEL := UniFi nanoHD
DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
DEVICE_VENDOR := Ubiquiti
DEVICE_MODEL := UniFi nanoHD
DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
TARGET_DEVICES += ubnt_unifi-nanohd
define Device/unielec_u7621-06-16m
TARGET_DEVICES += ubnt_unifi-nanohd
define Device/unielec_u7621-06-16m
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := UniElec
DEVICE_MODEL := U7621-06
IMAGE_SIZE := 16064k
DEVICE_VENDOR := UniElec
DEVICE_MODEL := U7621-06
TARGET_DEVICES += unielec_u7621-06-16m
define Device/unielec_u7621-06-64m
TARGET_DEVICES += unielec_u7621-06-16m
define Device/unielec_u7621-06-64m
+ $(Device/dsa-migration)
IMAGE_SIZE := 65216k
DEVICE_VENDOR := UniElec
DEVICE_MODEL := U7621-06
IMAGE_SIZE := 65216k
DEVICE_VENDOR := UniElec
DEVICE_MODEL := U7621-06
TARGET_DEVICES += unielec_u7621-06-64m
define Device/wevo_11acnas
TARGET_DEVICES += unielec_u7621-06-64m
define Device/wevo_11acnas
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
UIMAGE_NAME := 11AC-NAS-Router(0.0.0)
DEVICE_VENDOR := WeVO
IMAGE_SIZE := 16064k
UIMAGE_NAME := 11AC-NAS-Router(0.0.0)
DEVICE_VENDOR := WeVO
TARGET_DEVICES += wevo_11acnas
define Device/wevo_w2914ns-v2
TARGET_DEVICES += wevo_11acnas
define Device/wevo_w2914ns-v2
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
UIMAGE_NAME := W2914NS-V2(0.0.0)
DEVICE_VENDOR := WeVO
IMAGE_SIZE := 16064k
UIMAGE_NAME := W2914NS-V2(0.0.0)
DEVICE_VENDOR := WeVO
TARGET_DEVICES += wevo_w2914ns-v2
define Device/winstars_ws-wn583a6
TARGET_DEVICES += wevo_w2914ns-v2
define Device/winstars_ws-wn583a6
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Winstars
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Winstars
TARGET_DEVICES += winstars_ws-wn583a6
define Device/xiaomi-ac2100
TARGET_DEVICES += winstars_ws-wn583a6
define Device/xiaomi-ac2100
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
BLOCKSIZE := 128k
PAGESIZE := 2048
$(Device/uimage-lzma-loader)
BLOCKSIZE := 128k
PAGESIZE := 2048
TARGET_DEVICES += xiaomi_mi-router-ac2100
define Device/xiaomi_mir3g
TARGET_DEVICES += xiaomi_mi-router-ac2100
define Device/xiaomi_mir3g
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
BLOCKSIZE := 128k
PAGESIZE := 2048
$(Device/uimage-lzma-loader)
BLOCKSIZE := 128k
PAGESIZE := 2048
TARGET_DEVICES += xiaomi_mir3g
define Device/xiaomi_mir3g-v2
TARGET_DEVICES += xiaomi_mir3g
define Device/xiaomi_mir3g-v2
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 14848k
DEVICE_VENDOR := Xiaomi
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 14848k
DEVICE_VENDOR := Xiaomi
TARGET_DEVICES += xiaomi_mir3g-v2
define Device/xiaomi_mir3p
TARGET_DEVICES += xiaomi_mir3g-v2
define Device/xiaomi_mir3p
+ $(Device/dsa-migration)
$(Device/uimage-lzma-loader)
BLOCKSIZE := 128k
PAGESIZE := 2048
$(Device/uimage-lzma-loader)
BLOCKSIZE := 128k
PAGESIZE := 2048
TARGET_DEVICES += xiaomi_redmi-router-ac2100
define Device/xiaoyu_xy-c5
TARGET_DEVICES += xiaomi_redmi-router-ac2100
define Device/xiaoyu_xy-c5
+ $(Device/dsa-migration)
IMAGE_SIZE := 32448k
DEVICE_VENDOR := XiaoYu
DEVICE_MODEL := XY-C5
IMAGE_SIZE := 32448k
DEVICE_VENDOR := XiaoYu
DEVICE_MODEL := XY-C5
TARGET_DEVICES += xiaoyu_xy-c5
define Device/xzwifi_creativebox-v1
TARGET_DEVICES += xiaoyu_xy-c5
define Device/xzwifi_creativebox-v1
+ $(Device/dsa-migration)
IMAGE_SIZE := 32448k
DEVICE_VENDOR := CreativeBox
DEVICE_MODEL := v1
IMAGE_SIZE := 32448k
DEVICE_VENDOR := CreativeBox
DEVICE_MODEL := v1
TARGET_DEVICES += xzwifi_creativebox-v1
define Device/youhua_wr1200js
TARGET_DEVICES += xzwifi_creativebox-v1
define Device/youhua_wr1200js
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := YouHua
DEVICE_MODEL := WR1200JS
IMAGE_SIZE := 16064k
DEVICE_VENDOR := YouHua
DEVICE_MODEL := WR1200JS
TARGET_DEVICES += youhua_wr1200js
define Device/youku_yk-l2
TARGET_DEVICES += youhua_wr1200js
define Device/youku_yk-l2
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Youku
DEVICE_MODEL := YK-L2
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Youku
DEVICE_MODEL := YK-L2
TARGET_DEVICES += youku_yk-l2
define Device/zbtlink_zbt-we1326
TARGET_DEVICES += youku_yk-l2
define Device/zbtlink_zbt-we1326
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WE1326
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WE1326
TARGET_DEVICES += zbtlink_zbt-we1326
define Device/zbtlink_zbt-we3526
TARGET_DEVICES += zbtlink_zbt-we1326
define Device/zbtlink_zbt-we3526
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WE3526
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WE3526
TARGET_DEVICES += zbtlink_zbt-we3526
define Device/zbtlink_zbt-wg2626
TARGET_DEVICES += zbtlink_zbt-we3526
define Device/zbtlink_zbt-wg2626
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WG2626
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WG2626
TARGET_DEVICES += zbtlink_zbt-wg2626
define Device/zbtlink_zbt-wg3526-16m
TARGET_DEVICES += zbtlink_zbt-wg2626
define Device/zbtlink_zbt-wg3526-16m
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WG3526
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WG3526
TARGET_DEVICES += zbtlink_zbt-wg3526-16m
define Device/zbtlink_zbt-wg3526-32m
TARGET_DEVICES += zbtlink_zbt-wg3526-16m
define Device/zbtlink_zbt-wg3526-32m
+ $(Device/dsa-migration)
IMAGE_SIZE := 32448k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WG3526
IMAGE_SIZE := 32448k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WG3526
TARGET_DEVICES += zbtlink_zbt-wg3526-32m
define Device/zio_freezio
TARGET_DEVICES += zbtlink_zbt-wg3526-32m
define Device/zio_freezio
+ $(Device/dsa-migration)
IMAGE_SIZE := 16064k
DEVICE_VENDOR := ZIO
DEVICE_MODEL := FREEZIO
IMAGE_SIZE := 16064k
DEVICE_VENDOR := ZIO
DEVICE_MODEL := FREEZIO
TARGET_DEVICES += zio_freezio
define Device/zyxel_wap6805
TARGET_DEVICES += zio_freezio
define Device/zyxel_wap6805
+ $(Device/dsa-migration)
BLOCKSIZE := 128k
PAGESIZE := 2048
KERNEL_SIZE := 4096k
BLOCKSIZE := 128k
PAGESIZE := 2048
KERNEL_SIZE := 4096k
--- /dev/null
+#!/bin/sh
+#
+# Copyright (C) 2020 OpenWrt.org
+#
+
+. /lib/functions.sh
+. /lib/functions/uci-defaults.sh
+
+board_config_update
+
+case "$(board_name)" in
+ *)
+ ucidef_set_compat_version "1.1"
+ ;;
+esac
+
+board_config_flush
+
+exit 0
--- /dev/null
+#
+# Copyright (C) 2020 OpenWrt.org
+#
+
+uci set system.@system[0].compat_version="1.1"
+uci commit system
+
+exit 0