diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index 05d87b52ee0..36cc7d52040 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -84,44 +84,41 @@ define Device/Archer IMAGE/sysupgrade.bin := tplink-v2-image -s -e | append-metadata endef -define Device/tplink_archer-c20i - $(Device/Archer) - TPLINK_FLASHLAYOUT := 8Mmtk - TPLINK_HWID := 0xc2000001 - TPLINK_HWREV := 58 - IMAGES += factory.bin - DEVICE_PACKAGES := kmod-mt76x0e - DEVICE_MODEL := Archer C20i - DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += c20i +define Device/asus_rp-n53 + MTK_SOC := mt7620a + DEVICE_VENDOR := Asus + DEVICE_MODEL := RP-N53 + DEVICE_PACKAGES := kmod-rt2800-pci + SUPPORTED_DEVICES += rp-n53 endef -TARGET_DEVICES += tplink_archer-c20i +TARGET_DEVICES += asus_rp-n53 -define Device/tplink_archer-c50-v1 - $(Device/Archer) - TPLINK_FLASHLAYOUT := 8Mmtk - TPLINK_HWID := 0xc7500001 - TPLINK_HWREV := 69 - IMAGES += factory-us.bin factory-eu.bin - IMAGE/factory-us.bin := tplink-v2-image -e -w 0 - IMAGE/factory-eu.bin := tplink-v2-image -e -w 2 - DEVICE_MODEL := Archer C50 - DEVICE_VARIANT := v1 - DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += c50 +define Device/asus_rt-ac51u + MTK_SOC := mt7620a + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := Asus + DEVICE_MODEL := RT-AC51U + DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += rt-ac51u endef -TARGET_DEVICES += tplink_archer-c50-v1 +TARGET_DEVICES += asus_rt-ac51u -define Device/tplink_archer-mr200 - $(Device/Archer) - TPLINK_FLASHLAYOUT := 8MLmtk - TPLINK_HWID := 0xd7500001 - TPLINK_HWREV := 0x4a - DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-net kmod-usb-net-rndis kmod-usb-serial kmod-usb-serial-option adb-enablemodem - DEVICE_MODEL := Archer MR200 - SUPPORTED_DEVICES += mr200 +define Device/asus_rt-n12p + MTK_SOC := mt7620n + DEVICE_VENDOR := Asus + DEVICE_MODEL := RT-N11P/RT-N12+/RT-N12Eb1 + SUPPORTED_DEVICES += rt-n12p endef -TARGET_DEVICES += tplink_archer-mr200 +TARGET_DEVICES += asus_rt-n12p + +define Device/asus_rt-n14u + MTK_SOC := mt7620n + DEVICE_VENDOR := Asus + DEVICE_MODEL := RT-N14u + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += rt-n14u +endef +TARGET_DEVICES += asus_rt-n14u define Device/bdcom_wap2100-sk MTK_SOC := mt7620a @@ -132,24 +129,42 @@ define Device/bdcom_wap2100-sk endef TARGET_DEVICES += bdcom_wap2100-sk -define Device/yukai_bocco +define Device/buffalo_whr-1166d MTK_SOC := mt7620a - DEVICE_VENDOR := YUKAI Engineering - DEVICE_MODEL := BOCCO - DEVICE_PACKAGES := kmod-sound-core kmod-sound-mt7620 kmod-i2c-ralink - SUPPORTED_DEVICES += bocco + IMAGE_SIZE := 15040k + DEVICE_VENDOR := Buffalo + DEVICE_MODEL := WHR-1166D + DEVICE_PACKAGES := kmod-mt76x2 + SUPPORTED_DEVICES += whr-1166d endef -TARGET_DEVICES += yukai_bocco +TARGET_DEVICES += buffalo_whr-1166d -define Device/hnet_c108 +define Device/buffalo_whr-300hp2 MTK_SOC := mt7620a - IMAGE_SIZE := 16777216 - DEVICE_VENDOR := HNET - DEVICE_MODEL := C108 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 - SUPPORTED_DEVICES += c108 + IMAGE_SIZE := 6848k + DEVICE_VENDOR := Buffalo + DEVICE_MODEL := WHR-300HP2 + SUPPORTED_DEVICES += whr-300hp2 endef -TARGET_DEVICES += hnet_c108 +TARGET_DEVICES += buffalo_whr-300hp2 + +define Device/buffalo_whr-600d + MTK_SOC := mt7620a + IMAGE_SIZE := 6848k + DEVICE_VENDOR := Buffalo + DEVICE_MODEL := WHR-600D + DEVICE_PACKAGES := kmod-rt2800-pci + SUPPORTED_DEVICES += whr-600d +endef +TARGET_DEVICES += buffalo_whr-600d + +define Device/buffalo_wmr-300 + MTK_SOC := mt7620n + DEVICE_VENDOR := Buffalo + DEVICE_MODEL := WMR-300 + SUPPORTED_DEVICES += wmr-300 +endef +TARGET_DEVICES += buffalo_wmr-300 define Device/comfast_cf-wr800n MTK_SOC := mt7620n @@ -159,35 +174,6 @@ define Device/comfast_cf-wr800n endef TARGET_DEVICES += comfast_cf-wr800n -define Device/planex_cs-qr10 - MTK_SOC := mt7620a - DEVICE_VENDOR := Planex - DEVICE_MODEL := CS-QR10 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci \ - kmod-sound-core kmod-sound-mt7620 \ - kmod-i2c-ralink kmod-sdhci-mt7620 - SUPPORTED_DEVICES += cs-qr10 -endef -TARGET_DEVICES += planex_cs-qr10 - -define Device/sanlinking_d240 - MTK_SOC := mt7620a - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := Sanlinking Technologies - DEVICE_MODEL := D240 - DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 - SUPPORTED_DEVICES += d240 -endef -TARGET_DEVICES += sanlinking_d240 - -define Device/planex_db-wrt01 - MTK_SOC := mt7620a - DEVICE_VENDOR := Planex - DEVICE_MODEL := DB-WRT01 - SUPPORTED_DEVICES += db-wrt01 -endef -TARGET_DEVICES += planex_db-wrt01 - define Device/dlink_dch-m225 $(Device/seama) MTK_SOC := mt7620a @@ -201,16 +187,6 @@ define Device/dlink_dch-m225 endef TARGET_DEVICES += dlink_dch-m225 -define Device/dlink_dir-810l - MTK_SOC := mt7620a - DEVICE_PACKAGES := kmod-mt76x0e - DEVICE_VENDOR := D-Link - DEVICE_MODEL := DIR-810L - IMAGE_SIZE := 6720k - SUPPORTED_DEVICES += dir-810l -endef -TARGET_DEVICES += dlink_dir-810l - define Device/dlink_dir-510l $(Device/amit_jboot) MTK_SOC := mt7620a @@ -224,6 +200,16 @@ define Device/dlink_dir-510l endef TARGET_DEVICES += dlink_dir-510l +define Device/dlink_dir-810l + MTK_SOC := mt7620a + DEVICE_PACKAGES := kmod-mt76x0e + DEVICE_VENDOR := D-Link + DEVICE_MODEL := DIR-810L + IMAGE_SIZE := 6720k + SUPPORTED_DEVICES += dir-810l +endef +TARGET_DEVICES += dlink_dir-810l + define Device/dlink_dwr-116-a1 $(Device/amit_jboot) MTK_SOC := mt7620n @@ -301,404 +287,6 @@ define Device/dlink_dwr-922-e2 endef TARGET_DEVICES += dlink_dwr-922-e2 -define Device/linksys_e1700 - MTK_SOC := mt7620a - IMAGES += factory.bin - IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ - umedia-header 0x013326 - DEVICE_VENDOR := Linksys - DEVICE_MODEL := E1700 - SUPPORTED_DEVICES += e1700 -endef -TARGET_DEVICES += linksys_e1700 - -define Device/netgear_ex2700 - MTK_SOC := mt7620a - NETGEAR_HW_ID := 29764623+4+0+32+2x2+0 - NETGEAR_BOARD_ID := EX2700 - BLOCKSIZE := 4k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - IMAGES += factory.bin - KERNEL := $(KERNEL_DTB) | uImage lzma | pad-offset 64k 64 | append-uImage-fakehdr filesystem - IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ - netgear-dni - DEVICE_VENDOR := NETGEAR - DEVICE_MODEL := EX2700 - SUPPORTED_DEVICES += ex2700 -endef -TARGET_DEVICES += netgear_ex2700 - -define Device/netgear_ex3700 - MTK_SOC := mt7620a - NETGEAR_BOARD_ID := U12H319T00_NETGEAR - BLOCKSIZE := 4k - IMAGE_SIZE := 7744k - IMAGES += factory.chk - IMAGE/factory.chk := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | netgear-chk - DEVICE_PACKAGES := kmod-mt76x2 - DEVICE_VENDOR := NETGEAR - DEVICE_MODEL := EX3700/EX3800 - SUPPORTED_DEVICES += ex3700 -endef -TARGET_DEVICES += netgear_ex3700 - -define Device/glinet_gl-mt300a - MTK_SOC := mt7620a - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := GL.iNet - DEVICE_MODEL := GL-MT300A - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += gl-mt300a -endef -TARGET_DEVICES += glinet_gl-mt300a - -define Device/kimax_u25awf-h1 - MTK_SOC := mt7620a - IMAGE_SIZE := 16064k - DEVICE_VENDOR := Kimax - DEVICE_MODEL := U25AWF - DEVICE_VARIANT := H1 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += u25awf-h1 -endef -TARGET_DEVICES += kimax_u25awf-h1 - -define Device/glinet_gl-mt300n - MTK_SOC := mt7620a - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := GL.iNet - DEVICE_MODEL := GL-MT300N - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += gl-mt300n -endef -TARGET_DEVICES += glinet_gl-mt300n - -define Device/glinet_gl-mt750 - MTK_SOC := mt7620a - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := GL.iNet - DEVICE_MODEL := GL-MT750 - DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += gl-mt750 -endef -TARGET_DEVICES += glinet_gl-mt750 - -define Device/hiwifi_hc5661 - MTK_SOC := mt7620a - IMAGE_SIZE := 15872k - DEVICE_VENDOR := HiWiFi - DEVICE_MODEL := HC5661 - DEVICE_PACKAGES := kmod-sdhci-mt7620 - SUPPORTED_DEVICES += hc5661 -endef -TARGET_DEVICES += hiwifi_hc5661 - -define Device/hiwifi_hc5761 - MTK_SOC := mt7620a - IMAGE_SIZE := 15872k - DEVICE_VENDOR := HiWiFi - DEVICE_MODEL := HC5761 - DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport - SUPPORTED_DEVICES += hc5761 -endef -TARGET_DEVICES += hiwifi_hc5761 - -define Device/hiwifi_hc5861 - MTK_SOC := mt7620a - IMAGE_SIZE := 15872k - DEVICE_VENDOR := HiWiFi - DEVICE_MODEL := HC5861 - DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport - SUPPORTED_DEVICES += hc5861 -endef -TARGET_DEVICES += hiwifi_hc5861 - -define Device/head-weblink_hdrm200 - MTK_SOC := mt7620a - IMAGE_SIZE := 16064k - DEVICE_VENDOR := Head Weblink - DEVICE_MODEL := HDRM2000 - DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 \ - uqmi kmod-usb-serial kmod-usb-serial-option -endef -TARGET_DEVICES += head-weblink_hdrm200 - -define Device/iodata_wn-ac1167gr - MTK_SOC := mt7620a - DEVICE_VENDOR := I-O DATA - DEVICE_MODEL := WN-AC1167GR - IMAGE_SIZE := 6864k - IMAGES += factory.bin - IMAGE/factory.bin := \ - $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ - elx-header 01040016 8844A2D168B45A2D - DEVICE_PACKAGES := kmod-mt76x2 -endef -TARGET_DEVICES += iodata_wn-ac1167gr - -define Device/iodata_wn-ac733gr3 - MTK_SOC := mt7620a - DEVICE_VENDOR := I-O DATA - DEVICE_MODEL := WN-AC733GR3 - IMAGE_SIZE := 6992k - IMAGES += factory.bin - IMAGE/factory.bin := \ - $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ - elx-header 01040006 8844A2D168B45A2D - DEVICE_PACKAGES := kmod-mt76x0e kmod-switch-rtl8367b -endef -TARGET_DEVICES += iodata_wn-ac733gr3 - -define Device/kimax_u35wf - MTK_SOC := mt7620n - IMAGE_SIZE := 16064k - DEVICE_VENDOR := Kimax - DEVICE_MODEL := U35WF - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci -endef -TARGET_DEVICES += kimax_u35wf - -define Device/zyxel_keenetic-viva - MTK_SOC := mt7620a - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := ZyXEL - DEVICE_MODEL := Keenetic Viva - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport kmod-switch-rtl8366-smi kmod-switch-rtl8367b - IMAGES += factory.bin - IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to 64k | check-size $$$$(IMAGE_SIZE) | \ - zyimage -d 8997 -v "ZyXEL Keenetic Viva" - SUPPORTED_DEVICES += kng_rc -endef -TARGET_DEVICES += zyxel_keenetic-viva - -define Device/zyxel_keenetic-omni - MTK_SOC := mt7620n - DEVICE_VENDOR := ZyXEL - DEVICE_MODEL := Keenetic Omni - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport - IMAGES += factory.bin - IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | pad-to 64k | check-size $$$$(IMAGE_SIZE) | \ - zyimage -d 4882 -v "ZyXEL Keenetic Omni" - SUPPORTED_DEVICES += kn_rc -endef -TARGET_DEVICES += zyxel_keenetic-omni - -define Device/zyxel_keenetic-omni-ii - MTK_SOC := mt7620n - DEVICE_VENDOR := ZyXEL - DEVICE_MODEL := Keenetic Omni II - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport - IMAGES += factory.bin - IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | pad-to 64k | check-size $$$$(IMAGE_SIZE) | \ - zyimage -d 2102034 -v "ZyXEL Keenetic Omni II" - SUPPORTED_DEVICES += kn_rf -endef -TARGET_DEVICES += zyxel_keenetic-omni-ii - -define Device/microduino_microwrt - MTK_SOC := mt7620a - IMAGE_SIZE := 16128k - DEVICE_VENDOR := Microduino - DEVICE_MODEL := MicroWRT - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += microwrt -endef -TARGET_DEVICES += microduino_microwrt - -define Device/lava_lr-25g001 - $(Device/amit_jboot) - MTK_SOC := mt7620a - DEVICE_VENDOR := LAVA - DEVICE_MODEL := LR-25G001 - DLINK_ROM_ID := LVA6E3804001 - DLINK_FAMILY_MEMBER := 0x6E38 - DLINK_FIRMWARE_SIZE := 0xFE0000 - DEVICE_PACKAGES += kmod-mt76x0e -endef -TARGET_DEVICES += lava_lr-25g001 - -define Device/xiaomi_miwifi-mini - MTK_SOC := mt7620a - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := Xiaomi - DEVICE_MODEL := MiWiFi Mini - DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += miwifi-mini -endef -TARGET_DEVICES += xiaomi_miwifi-mini - -define Device/kingston_mlw221 - MTK_SOC := mt7620n - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := Kingston - DEVICE_MODEL := MLW221 - DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += mlw221 -endef -TARGET_DEVICES += kingston_mlw221 - -define Device/kingston_mlwg2 - MTK_SOC := mt7620n - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := Kingston - DEVICE_MODEL := MLWG2 - DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += mlwg2 -endef -TARGET_DEVICES += kingston_mlwg2 - -define Device/ralink_mt7620a-evb - MTK_SOC := mt7620a - DEVICE_VENDOR := MediaTek - DEVICE_MODEL := MT7620a EVB -endef -TARGET_DEVICES += ralink_mt7620a-evb - -define Device/ralink_mt7620a-mt7530-evb - MTK_SOC := mt7620a - DEVICE_VENDOR := MediaTek - DEVICE_MODEL := MT7620a + MT7530 EVB - SUPPORTED_DEVICES += mt7620a_mt7530 -endef -TARGET_DEVICES += ralink_mt7620a-mt7530-evb - -define Device/ralink_mt7620a-mt7610e-evb - MTK_SOC := mt7620a - DEVICE_VENDOR := MediaTek - DEVICE_MODEL := MT7620a + MT7610e EVB - DEVICE_PACKAGES := kmod-mt76x0e - SUPPORTED_DEVICES += mt7620a_mt7610e -endef -TARGET_DEVICES += ralink_mt7620a-mt7610e-evb - -define Device/ralink_mt7620a-v22sg-evb - MTK_SOC := mt7620a - DEVICE_VENDOR := MediaTek - DEVICE_MODEL := MT7620a V22SG - SUPPORTED_DEVICES += mt7620a_v22sg -endef -TARGET_DEVICES += ralink_mt7620a-v22sg-evb - -define Device/planex_mzk-750dhp - MTK_SOC := mt7620a - DEVICE_VENDOR := Planex - DEVICE_MODEL := MZK-750DHP - DEVICE_PACKAGES := kmod-mt76x0e - SUPPORTED_DEVICES += mzk-750dhp -endef -TARGET_DEVICES += planex_mzk-750dhp - -define Device/planex_mzk-ex300np - MTK_SOC := mt7620a - DEVICE_VENDOR := Planex - DEVICE_MODEL := MZK-EX300NP - SUPPORTED_DEVICES += mzk-ex300np -endef -TARGET_DEVICES += planex_mzk-ex300np - -define Device/planex_mzk-ex750np - MTK_SOC := mt7620a - DEVICE_VENDOR := Planex - DEVICE_MODEL := MZK-EX750NP - DEVICE_PACKAGES := kmod-mt76x2 - SUPPORTED_DEVICES += mzk-ex750np -endef -TARGET_DEVICES += planex_mzk-ex750np - -define Device/sercomm_na930 - MTK_SOC := mt7620a - IMAGE_SIZE := 20m - DEVICE_VENDOR := Sercomm - DEVICE_MODEL := NA930 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += na930 -endef -TARGET_DEVICES += sercomm_na930 - -define Device/ohyeah_oy-0001 - MTK_SOC := mt7620a - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := Oh Yeah - DEVICE_MODEL := OY-0001 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += oy-0001 -endef -TARGET_DEVICES += ohyeah_oy-0001 - -define Device/phicomm_psg1208 - MTK_SOC := mt7620a - DEVICE_VENDOR := Phicomm - DEVICE_MODEL := PSG1208 - DEVICE_PACKAGES := kmod-mt76x2 - SUPPORTED_DEVICES += psg1208 -endef -TARGET_DEVICES += phicomm_psg1208 - -define Device/phicomm_psg1218a - MTK_SOC := mt7620a - DEVICE_VENDOR := Phicomm - DEVICE_MODEL := PSG1218 - DEVICE_VARIANT:= Ax - DEVICE_PACKAGES := kmod-mt76x2 - SUPPORTED_DEVICES += psg1218 psg1218a -endef -TARGET_DEVICES += phicomm_psg1218a - -define Device/phicomm_psg1218b - MTK_SOC := mt7620a - DEVICE_VENDOR := Phicomm - DEVICE_MODEL := PSG1218 - DEVICE_VARIANT := Bx - DEVICE_PACKAGES := kmod-mt76x2 - SUPPORTED_DEVICES += psg1218 psg1218b -endef -TARGET_DEVICES += phicomm_psg1218b - -define Device/phicomm_k2g - MTK_SOC := mt7620a - IMAGE_SIZE := 7552k - DEVICE_VENDOR := Phicomm - DEVICE_MODEL := K2G - DEVICE_PACKAGES := kmod-mt76x2 -endef -TARGET_DEVICES += phicomm_k2g - -define Device/asus_rp-n53 - MTK_SOC := mt7620a - DEVICE_VENDOR := Asus - DEVICE_MODEL := RP-N53 - DEVICE_PACKAGES := kmod-rt2800-pci - SUPPORTED_DEVICES += rp-n53 -endef -TARGET_DEVICES += asus_rp-n53 - -define Device/asus_rt-n12p - MTK_SOC := mt7620n - DEVICE_VENDOR := Asus - DEVICE_MODEL := RT-N11P/RT-N12+/RT-N12Eb1 - SUPPORTED_DEVICES += rt-n12p -endef -TARGET_DEVICES += asus_rt-n12p - -define Device/asus_rt-n14u - MTK_SOC := mt7620n - DEVICE_VENDOR := Asus - DEVICE_MODEL := RT-N14u - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += rt-n14u -endef -TARGET_DEVICES += asus_rt-n14u - -define Device/asus_rt-ac51u - MTK_SOC := mt7620a - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := Asus - DEVICE_MODEL := RT-AC51U - DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport - SUPPORTED_DEVICES += rt-ac51u -endef -TARGET_DEVICES += asus_rt-ac51u - define Device/dovado_tiny-ac MTK_SOC := mt7620a DEVICE_VENDOR := Dovado @@ -761,87 +349,247 @@ define Device/edimax_ew-7478apc endef TARGET_DEVICES += edimax_ew-7478apc -define Device/tplink_archer-c2-v1 - $(Device/Archer) - SUPPORTED_DEVICES += tplink,c2-v1 - TPLINK_FLASHLAYOUT := 8Mmtk - TPLINK_HWID := 0xc7500001 - TPLINK_HWREV := 50 - IMAGES += factory.bin - DEVICE_MODEL := Archer C2 - DEVICE_VARIANT := v1 - DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport kmod-switch-rtl8366-smi kmod-switch-rtl8367b -endef -TARGET_DEVICES += tplink_archer-c2-v1 - -define Device/tplink_archer-c20-v1 - $(Device/Archer) - SUPPORTED_DEVICES += tplink,c20-v1 - TPLINK_FLASHLAYOUT := 8Mmtk - TPLINK_HWID := 0xc2000001 - TPLINK_HWREV := 0x44 - TPLINK_HWREVADD := 0x1 - IMAGES += factory.bin - DEVICE_MODEL := Archer C20 - DEVICE_VARIANT := v1 - DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport -endef -TARGET_DEVICES += tplink_archer-c20-v1 - -define Device/vonets_var11n-300 +define Device/elecom_wrh-300cr MTK_SOC := mt7620n - IMAGE_SIZE := $(ralink_default_fw_size_4M) - BLOCKSIZE := 4k - DEVICE_VENDOR := Vonets - DEVICE_MODEL := VAR11N-300 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGES += factory.bin + IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ + elecom-header + DEVICE_VENDOR := Elecom + DEVICE_MODEL := WRH-300CR + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += wrh-300cr endef -TARGET_DEVICES += vonets_var11n-300 +TARGET_DEVICES += elecom_wrh-300cr -define Device/ravpower_wd03 +define Device/glinet_gl-mt300a + MTK_SOC := mt7620a + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := GL.iNet + DEVICE_MODEL := GL-MT300A + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += gl-mt300a +endef +TARGET_DEVICES += glinet_gl-mt300a + +define Device/glinet_gl-mt300n + MTK_SOC := mt7620a + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := GL.iNet + DEVICE_MODEL := GL-MT300N + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += gl-mt300n +endef +TARGET_DEVICES += glinet_gl-mt300n + +define Device/glinet_gl-mt750 + MTK_SOC := mt7620a + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := GL.iNet + DEVICE_MODEL := GL-MT750 + DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += gl-mt750 +endef +TARGET_DEVICES += glinet_gl-mt750 + +define Device/head-weblink_hdrm200 + MTK_SOC := mt7620a + IMAGE_SIZE := 16064k + DEVICE_VENDOR := Head Weblink + DEVICE_MODEL := HDRM2000 + DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 \ + uqmi kmod-usb-serial kmod-usb-serial-option +endef +TARGET_DEVICES += head-weblink_hdrm200 + +define Device/hiwifi_hc5661 + MTK_SOC := mt7620a + IMAGE_SIZE := 15872k + DEVICE_VENDOR := HiWiFi + DEVICE_MODEL := HC5661 + DEVICE_PACKAGES := kmod-sdhci-mt7620 + SUPPORTED_DEVICES += hc5661 +endef +TARGET_DEVICES += hiwifi_hc5661 + +define Device/hiwifi_hc5761 + MTK_SOC := mt7620a + IMAGE_SIZE := 15872k + DEVICE_VENDOR := HiWiFi + DEVICE_MODEL := HC5761 + DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += hc5761 +endef +TARGET_DEVICES += hiwifi_hc5761 + +define Device/hiwifi_hc5861 + MTK_SOC := mt7620a + IMAGE_SIZE := 15872k + DEVICE_VENDOR := HiWiFi + DEVICE_MODEL := HC5861 + DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += hc5861 +endef +TARGET_DEVICES += hiwifi_hc5861 + +define Device/hnet_c108 + MTK_SOC := mt7620a + IMAGE_SIZE := 16777216 + DEVICE_VENDOR := HNET + DEVICE_MODEL := C108 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 + SUPPORTED_DEVICES += c108 +endef +TARGET_DEVICES += hnet_c108 + +define Device/iodata_wn-ac1167gr + MTK_SOC := mt7620a + DEVICE_VENDOR := I-O DATA + DEVICE_MODEL := WN-AC1167GR + IMAGE_SIZE := 6864k + IMAGES += factory.bin + IMAGE/factory.bin := \ + $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ + elx-header 01040016 8844A2D168B45A2D + DEVICE_PACKAGES := kmod-mt76x2 +endef +TARGET_DEVICES += iodata_wn-ac1167gr + +define Device/iodata_wn-ac733gr3 + MTK_SOC := mt7620a + DEVICE_VENDOR := I-O DATA + DEVICE_MODEL := WN-AC733GR3 + IMAGE_SIZE := 6992k + IMAGES += factory.bin + IMAGE/factory.bin := \ + $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ + elx-header 01040006 8844A2D168B45A2D + DEVICE_PACKAGES := kmod-mt76x0e kmod-switch-rtl8367b +endef +TARGET_DEVICES += iodata_wn-ac733gr3 + +define Device/kimax_u25awf-h1 + MTK_SOC := mt7620a + IMAGE_SIZE := 16064k + DEVICE_VENDOR := Kimax + DEVICE_MODEL := U25AWF + DEVICE_VARIANT := H1 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += u25awf-h1 +endef +TARGET_DEVICES += kimax_u25awf-h1 + +define Device/kimax_u35wf MTK_SOC := mt7620n - IMAGE_SIZE := $(ralink_default_fw_size_8M) - DEVICE_VENDOR := Ravpower - DEVICE_MODEL := WD03 + IMAGE_SIZE := 16064k + DEVICE_VENDOR := Kimax + DEVICE_MODEL := U35WF DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci endef -TARGET_DEVICES += ravpower_wd03 +TARGET_DEVICES += kimax_u35wf -define Device/buffalo_whr-1166d - MTK_SOC := mt7620a - IMAGE_SIZE := 15040k - DEVICE_VENDOR := Buffalo - DEVICE_MODEL := WHR-1166D - DEVICE_PACKAGES := kmod-mt76x2 - SUPPORTED_DEVICES += whr-1166d -endef -TARGET_DEVICES += buffalo_whr-1166d - -define Device/buffalo_whr-300hp2 - MTK_SOC := mt7620a - IMAGE_SIZE := 6848k - DEVICE_VENDOR := Buffalo - DEVICE_MODEL := WHR-300HP2 - SUPPORTED_DEVICES += whr-300hp2 -endef -TARGET_DEVICES += buffalo_whr-300hp2 - -define Device/buffalo_whr-600d - MTK_SOC := mt7620a - IMAGE_SIZE := 6848k - DEVICE_VENDOR := Buffalo - DEVICE_MODEL := WHR-600D - DEVICE_PACKAGES := kmod-rt2800-pci - SUPPORTED_DEVICES += whr-600d -endef -TARGET_DEVICES += buffalo_whr-600d - -define Device/buffalo_wmr-300 +define Device/kingston_mlw221 MTK_SOC := mt7620n - DEVICE_VENDOR := Buffalo - DEVICE_MODEL := WMR-300 - SUPPORTED_DEVICES += wmr-300 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := Kingston + DEVICE_MODEL := MLW221 + DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += mlw221 endef -TARGET_DEVICES += buffalo_wmr-300 +TARGET_DEVICES += kingston_mlw221 + +define Device/kingston_mlwg2 + MTK_SOC := mt7620n + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := Kingston + DEVICE_MODEL := MLWG2 + DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += mlwg2 +endef +TARGET_DEVICES += kingston_mlwg2 + +define Device/lava_lr-25g001 + $(Device/amit_jboot) + MTK_SOC := mt7620a + DEVICE_VENDOR := LAVA + DEVICE_MODEL := LR-25G001 + DLINK_ROM_ID := LVA6E3804001 + DLINK_FAMILY_MEMBER := 0x6E38 + DLINK_FIRMWARE_SIZE := 0xFE0000 + DEVICE_PACKAGES += kmod-mt76x0e +endef +TARGET_DEVICES += lava_lr-25g001 + +define Device/lenovo_newifi-y1 + MTK_SOC := mt7620a + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := Lenovo + DEVICE_MODEL := Y1 + DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += y1 +endef +TARGET_DEVICES += lenovo_newifi-y1 + +define Device/lenovo_newifi-y1s + MTK_SOC := mt7620a + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := Lenovo + DEVICE_MODEL := Y1S + DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += y1s +endef +TARGET_DEVICES += lenovo_newifi-y1s + +define Device/linksys_e1700 + MTK_SOC := mt7620a + IMAGES += factory.bin + IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ + umedia-header 0x013326 + DEVICE_VENDOR := Linksys + DEVICE_MODEL := E1700 + SUPPORTED_DEVICES += e1700 +endef +TARGET_DEVICES += linksys_e1700 + +define Device/microduino_microwrt + MTK_SOC := mt7620a + IMAGE_SIZE := 16128k + DEVICE_VENDOR := Microduino + DEVICE_MODEL := MicroWRT + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += microwrt +endef +TARGET_DEVICES += microduino_microwrt + +define Device/netgear_ex2700 + MTK_SOC := mt7620a + NETGEAR_HW_ID := 29764623+4+0+32+2x2+0 + NETGEAR_BOARD_ID := EX2700 + BLOCKSIZE := 4k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + IMAGES += factory.bin + KERNEL := $(KERNEL_DTB) | uImage lzma | pad-offset 64k 64 | append-uImage-fakehdr filesystem + IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ + netgear-dni + DEVICE_VENDOR := NETGEAR + DEVICE_MODEL := EX2700 + SUPPORTED_DEVICES += ex2700 +endef +TARGET_DEVICES += netgear_ex2700 + +define Device/netgear_ex3700 + MTK_SOC := mt7620a + NETGEAR_BOARD_ID := U12H319T00_NETGEAR + BLOCKSIZE := 4k + IMAGE_SIZE := 7744k + IMAGES += factory.chk + IMAGE/factory.chk := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | netgear-chk + DEVICE_PACKAGES := kmod-mt76x2 + DEVICE_VENDOR := NETGEAR + DEVICE_MODEL := EX3700/EX3800 + SUPPORTED_DEVICES += ex3700 +endef +TARGET_DEVICES += netgear_ex3700 define Device/netgear_wn3000rp-v3 MTK_SOC := mt7620a @@ -859,29 +607,6 @@ define Device/netgear_wn3000rp-v3 endef TARGET_DEVICES += netgear_wn3000rp-v3 -define Device/elecom_wrh-300cr - MTK_SOC := mt7620n - IMAGE_SIZE := $(ralink_default_fw_size_16M) - IMAGES += factory.bin - IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ - elecom-header - DEVICE_VENDOR := Elecom - DEVICE_MODEL := WRH-300CR - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += wrh-300cr -endef -TARGET_DEVICES += elecom_wrh-300cr - -define Device/wrtnode_wrtnode - MTK_SOC := mt7620n - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := WRTNode - DEVICE_MODEL := WRTNode - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += wrtnode -endef -TARGET_DEVICES += wrtnode_wrtnode - define Device/nexx_wt3020-4m MTK_SOC := mt7620n BLOCKSIZE := 4k @@ -909,25 +634,254 @@ define Device/nexx_wt3020-8m endef TARGET_DEVICES += nexx_wt3020-8m -define Device/lenovo_newifi-y1 +define Device/ohyeah_oy-0001 MTK_SOC := mt7620a IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := Lenovo - DEVICE_MODEL := Y1 - DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += y1 + DEVICE_VENDOR := Oh Yeah + DEVICE_MODEL := OY-0001 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += oy-0001 endef -TARGET_DEVICES += lenovo_newifi-y1 +TARGET_DEVICES += ohyeah_oy-0001 -define Device/lenovo_newifi-y1s +define Device/phicomm_k2g + MTK_SOC := mt7620a + IMAGE_SIZE := 7552k + DEVICE_VENDOR := Phicomm + DEVICE_MODEL := K2G + DEVICE_PACKAGES := kmod-mt76x2 +endef +TARGET_DEVICES += phicomm_k2g + +define Device/phicomm_psg1208 + MTK_SOC := mt7620a + DEVICE_VENDOR := Phicomm + DEVICE_MODEL := PSG1208 + DEVICE_PACKAGES := kmod-mt76x2 + SUPPORTED_DEVICES += psg1208 +endef +TARGET_DEVICES += phicomm_psg1208 + +define Device/phicomm_psg1218a + MTK_SOC := mt7620a + DEVICE_VENDOR := Phicomm + DEVICE_MODEL := PSG1218 + DEVICE_VARIANT:= Ax + DEVICE_PACKAGES := kmod-mt76x2 + SUPPORTED_DEVICES += psg1218 psg1218a +endef +TARGET_DEVICES += phicomm_psg1218a + +define Device/phicomm_psg1218b + MTK_SOC := mt7620a + DEVICE_VENDOR := Phicomm + DEVICE_MODEL := PSG1218 + DEVICE_VARIANT := Bx + DEVICE_PACKAGES := kmod-mt76x2 + SUPPORTED_DEVICES += psg1218 psg1218b +endef +TARGET_DEVICES += phicomm_psg1218b + +define Device/planex_cs-qr10 + MTK_SOC := mt7620a + DEVICE_VENDOR := Planex + DEVICE_MODEL := CS-QR10 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci \ + kmod-sound-core kmod-sound-mt7620 \ + kmod-i2c-ralink kmod-sdhci-mt7620 + SUPPORTED_DEVICES += cs-qr10 +endef +TARGET_DEVICES += planex_cs-qr10 + +define Device/planex_db-wrt01 + MTK_SOC := mt7620a + DEVICE_VENDOR := Planex + DEVICE_MODEL := DB-WRT01 + SUPPORTED_DEVICES += db-wrt01 +endef +TARGET_DEVICES += planex_db-wrt01 + +define Device/planex_mzk-750dhp + MTK_SOC := mt7620a + DEVICE_VENDOR := Planex + DEVICE_MODEL := MZK-750DHP + DEVICE_PACKAGES := kmod-mt76x0e + SUPPORTED_DEVICES += mzk-750dhp +endef +TARGET_DEVICES += planex_mzk-750dhp + +define Device/planex_mzk-ex300np + MTK_SOC := mt7620a + DEVICE_VENDOR := Planex + DEVICE_MODEL := MZK-EX300NP + SUPPORTED_DEVICES += mzk-ex300np +endef +TARGET_DEVICES += planex_mzk-ex300np + +define Device/planex_mzk-ex750np + MTK_SOC := mt7620a + DEVICE_VENDOR := Planex + DEVICE_MODEL := MZK-EX750NP + DEVICE_PACKAGES := kmod-mt76x2 + SUPPORTED_DEVICES += mzk-ex750np +endef +TARGET_DEVICES += planex_mzk-ex750np + +define Device/ralink_mt7620a-evb + MTK_SOC := mt7620a + DEVICE_VENDOR := MediaTek + DEVICE_MODEL := MT7620a EVB +endef +TARGET_DEVICES += ralink_mt7620a-evb + +define Device/ralink_mt7620a-mt7530-evb + MTK_SOC := mt7620a + DEVICE_VENDOR := MediaTek + DEVICE_MODEL := MT7620a + MT7530 EVB + SUPPORTED_DEVICES += mt7620a_mt7530 +endef +TARGET_DEVICES += ralink_mt7620a-mt7530-evb + +define Device/ralink_mt7620a-mt7610e-evb + MTK_SOC := mt7620a + DEVICE_VENDOR := MediaTek + DEVICE_MODEL := MT7620a + MT7610e EVB + DEVICE_PACKAGES := kmod-mt76x0e + SUPPORTED_DEVICES += mt7620a_mt7610e +endef +TARGET_DEVICES += ralink_mt7620a-mt7610e-evb + +define Device/ralink_mt7620a-v22sg-evb + MTK_SOC := mt7620a + DEVICE_VENDOR := MediaTek + DEVICE_MODEL := MT7620a V22SG + SUPPORTED_DEVICES += mt7620a_v22sg +endef +TARGET_DEVICES += ralink_mt7620a-v22sg-evb + +define Device/ravpower_wd03 + MTK_SOC := mt7620n + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_VENDOR := Ravpower + DEVICE_MODEL := WD03 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci +endef +TARGET_DEVICES += ravpower_wd03 + +define Device/sanlinking_d240 MTK_SOC := mt7620a IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := Lenovo - DEVICE_MODEL := Y1S - DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += y1s + DEVICE_VENDOR := Sanlinking Technologies + DEVICE_MODEL := D240 + DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 + SUPPORTED_DEVICES += d240 endef -TARGET_DEVICES += lenovo_newifi-y1s +TARGET_DEVICES += sanlinking_d240 + +define Device/sercomm_na930 + MTK_SOC := mt7620a + IMAGE_SIZE := 20m + DEVICE_VENDOR := Sercomm + DEVICE_MODEL := NA930 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += na930 +endef +TARGET_DEVICES += sercomm_na930 + +define Device/tplink_archer-c20i + $(Device/Archer) + TPLINK_FLASHLAYOUT := 8Mmtk + TPLINK_HWID := 0xc2000001 + TPLINK_HWREV := 58 + IMAGES += factory.bin + DEVICE_PACKAGES := kmod-mt76x0e + DEVICE_MODEL := Archer C20i + DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += c20i +endef +TARGET_DEVICES += tplink_archer-c20i + +define Device/tplink_archer-c20-v1 + $(Device/Archer) + SUPPORTED_DEVICES += tplink,c20-v1 + TPLINK_FLASHLAYOUT := 8Mmtk + TPLINK_HWID := 0xc2000001 + TPLINK_HWREV := 0x44 + TPLINK_HWREVADD := 0x1 + IMAGES += factory.bin + DEVICE_MODEL := Archer C20 + DEVICE_VARIANT := v1 + DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport +endef +TARGET_DEVICES += tplink_archer-c20-v1 + +define Device/tplink_archer-c2-v1 + $(Device/Archer) + SUPPORTED_DEVICES += tplink,c2-v1 + TPLINK_FLASHLAYOUT := 8Mmtk + TPLINK_HWID := 0xc7500001 + TPLINK_HWREV := 50 + IMAGES += factory.bin + DEVICE_MODEL := Archer C2 + DEVICE_VARIANT := v1 + DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport kmod-switch-rtl8366-smi kmod-switch-rtl8367b +endef +TARGET_DEVICES += tplink_archer-c2-v1 + +define Device/tplink_archer-c50-v1 + $(Device/Archer) + TPLINK_FLASHLAYOUT := 8Mmtk + TPLINK_HWID := 0xc7500001 + TPLINK_HWREV := 69 + IMAGES += factory-us.bin factory-eu.bin + IMAGE/factory-us.bin := tplink-v2-image -e -w 0 + IMAGE/factory-eu.bin := tplink-v2-image -e -w 2 + DEVICE_MODEL := Archer C50 + DEVICE_VARIANT := v1 + DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += c50 +endef +TARGET_DEVICES += tplink_archer-c50-v1 + +define Device/tplink_archer-mr200 + $(Device/Archer) + TPLINK_FLASHLAYOUT := 8MLmtk + TPLINK_HWID := 0xd7500001 + TPLINK_HWREV := 0x4a + DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-net kmod-usb-net-rndis kmod-usb-serial kmod-usb-serial-option adb-enablemodem + DEVICE_MODEL := Archer MR200 + SUPPORTED_DEVICES += mr200 +endef +TARGET_DEVICES += tplink_archer-mr200 + +define Device/vonets_var11n-300 + MTK_SOC := mt7620n + IMAGE_SIZE := $(ralink_default_fw_size_4M) + BLOCKSIZE := 4k + DEVICE_VENDOR := Vonets + DEVICE_MODEL := VAR11N-300 +endef +TARGET_DEVICES += vonets_var11n-300 + +define Device/wrtnode_wrtnode + MTK_SOC := mt7620n + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := WRTNode + DEVICE_MODEL := WRTNode + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += wrtnode +endef +TARGET_DEVICES += wrtnode_wrtnode + +define Device/xiaomi_miwifi-mini + MTK_SOC := mt7620a + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := Xiaomi + DEVICE_MODEL := MiWiFi Mini + DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += miwifi-mini +endef +TARGET_DEVICES += xiaomi_miwifi-mini define Device/youku_yk1 MTK_SOC := mt7620a @@ -939,6 +893,15 @@ define Device/youku_yk1 endef TARGET_DEVICES += youku_yk1 +define Device/yukai_bocco + MTK_SOC := mt7620a + DEVICE_VENDOR := YUKAI Engineering + DEVICE_MODEL := BOCCO + DEVICE_PACKAGES := kmod-sound-core kmod-sound-mt7620 kmod-i2c-ralink + SUPPORTED_DEVICES += bocco +endef +TARGET_DEVICES += yukai_bocco + define Device/zbtlink_we1026-5g-16m MTK_SOC := mt7620a IMAGE_SIZE := 16777216 @@ -1034,3 +997,40 @@ define Device/zte_q7 SUPPORTED_DEVICES += zte-q7 endef TARGET_DEVICES += zte_q7 + +define Device/zyxel_keenetic-omni + MTK_SOC := mt7620n + DEVICE_VENDOR := ZyXEL + DEVICE_MODEL := Keenetic Omni + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport + IMAGES += factory.bin + IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | pad-to 64k | check-size $$$$(IMAGE_SIZE) | \ + zyimage -d 4882 -v "ZyXEL Keenetic Omni" + SUPPORTED_DEVICES += kn_rc +endef +TARGET_DEVICES += zyxel_keenetic-omni + +define Device/zyxel_keenetic-omni-ii + MTK_SOC := mt7620n + DEVICE_VENDOR := ZyXEL + DEVICE_MODEL := Keenetic Omni II + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport + IMAGES += factory.bin + IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | pad-to 64k | check-size $$$$(IMAGE_SIZE) | \ + zyimage -d 2102034 -v "ZyXEL Keenetic Omni II" + SUPPORTED_DEVICES += kn_rf +endef +TARGET_DEVICES += zyxel_keenetic-omni-ii + +define Device/zyxel_keenetic-viva + MTK_SOC := mt7620a + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := ZyXEL + DEVICE_MODEL := Keenetic Viva + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport kmod-switch-rtl8366-smi kmod-switch-rtl8367b + IMAGES += factory.bin + IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to 64k | check-size $$$$(IMAGE_SIZE) | \ + zyimage -d 8997 -v "ZyXEL Keenetic Viva" + SUPPORTED_DEVICES += kng_rc +endef +TARGET_DEVICES += zyxel_keenetic-viva diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index d52377eeb11..1b3b132b369 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -47,19 +47,6 @@ define Build/iodata-factory fi endef -# The OEM webinterface expects an kernel with initramfs which has the uImage -# header field ih_name. -# We don't wan't to set the header name field for the kernel include in the -# sysupgrade image as well, as this image shouldn't be accepted by the OEM -# webinterface. It will soft-brick the board. -define Build/wr1201-factory-header - mkimage -A $(LINUX_KARCH) \ - -O linux -T kernel \ - -C lzma -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \ - -n 'WR1201_8_128' -d $@ $@.new - mv $@.new $@ -endef - define Build/ubnt-erx-factory-image if [ -e $(KDIR)/tmp/$(KERNEL_INITRAMFS_IMAGE) -a "$$(stat -c%s $@)" -lt "$(KERNEL_SIZE)" ]; then \ echo '21001:6' > $(1).compat; \ @@ -84,15 +71,61 @@ define Build/ubnt-erx-factory-image fi endef -define Device/wevo_11acnas +# The OEM webinterface expects an kernel with initramfs which has the uImage +# header field ih_name. +# We don't wan't to set the header name field for the kernel include in the +# sysupgrade image as well, as this image shouldn't be accepted by the OEM +# webinterface. It will soft-brick the board. +define Build/wr1201-factory-header + mkimage -A $(LINUX_KARCH) \ + -O linux -T kernel \ + -C lzma -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \ + -n 'WR1201_8_128' -d $@ $@.new + mv $@.new $@ +endef + +define Device/afoundry_ew1200 MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := WeVO - DEVICE_MODEL := 11AC NAS Router - DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic - SUPPORTED_DEVICES += 11acnas + DEVICE_VENDOR := AFOUNDRY + DEVICE_MODEL := EW1200 + DEVICE_PACKAGES := \ + kmod-ata-core kmod-ata-ahci kmod-mt76x2 kmod-mt7603 kmod-usb3 \ + kmod-usb-ledtrig-usbport wpad-basic + SUPPORTED_DEVICES += ew1200 endef -TARGET_DEVICES += wevo_11acnas +TARGET_DEVICES += afoundry_ew1200 + +define Device/asiarf_ap7621-001 + MTK_SOC := mt7621 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := AsiaRF + DEVICE_MODEL := AP7621-001 + DEVICE_PACKAGES := \ + kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 +endef +TARGET_DEVICES += asiarf_ap7621-001 + +define Device/buffalo_wsr-1166dhp + MTK_SOC := mt7621 + IMAGE/sysupgrade.bin := trx | pad-rootfs | append-metadata + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := Buffalo + DEVICE_MODEL := WSR-1166DHP + DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 wpad-basic + SUPPORTED_DEVICES += wsr-1166 +endef +TARGET_DEVICES += buffalo_wsr-1166dhp + +define Device/buffalo_wsr-600dhp + MTK_SOC := mt7621 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := Buffalo + DEVICE_MODEL := WSR-600DHP + DEVICE_PACKAGES := kmod-mt7603 kmod-rt2800-pci wpad-basic + SUPPORTED_DEVICES += wsr-600 +endef +TARGET_DEVICES += buffalo_wsr-600dhp define Device/dlink_dir-860l-b1 $(Device/seama) @@ -109,25 +142,27 @@ define Device/dlink_dir-860l-b1 endef TARGET_DEVICES += dlink_dir-860l-b1 -define Device/mediatek_ap-mt7621a-v60 - MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_8M) - DEVICE_VENDOR := Mediatek - DEVICE_MODEL := AP-MT7621A-V60 EVB - DEVICE_PACKAGES := kmod-usb3 kmod-sdhci-mt7620 kmod-sound-mt7620 -endef -TARGET_DEVICES += mediatek_ap-mt7621a-v60 - -define Device/xzwifi_creativebox-v1 +define Device/d-team_newifi-d2 MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_32M) - DEVICE_VENDOR := CreativeBox - DEVICE_MODEL := v1 + DEVICE_VENDOR := Newifi + DEVICE_MODEL := D2 + DEVICE_PACKAGES := \ + kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic +endef +TARGET_DEVICES += d-team_newifi-d2 + +define Device/d-team_pbr-m1 + MTK_SOC := mt7621 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := PandoraBox + DEVICE_MODEL := PBR-M1 DEVICE_PACKAGES := \ kmod-ata-core kmod-ata-ahci kmod-mt7603 kmod-mt76x2 kmod-sdhci-mt7620 \ - kmod-usb3 + kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic + SUPPORTED_DEVICES += pbr-m1 endef -TARGET_DEVICES += xzwifi_creativebox-v1 +TARGET_DEVICES += d-team_pbr-m1 define Device/elecom_wrc-1167ghbk2-s MTK_SOC := mt7621 @@ -140,17 +175,6 @@ define Device/elecom_wrc-1167ghbk2-s endef TARGET_DEVICES += elecom_wrc-1167ghbk2-s -define Device/elecom_wrc-2533gst - MTK_SOC := mt7621 - IMAGE_SIZE := 11264k - DEVICE_VENDOR := ELECOM - DEVICE_MODEL := WRC-2533GST - IMAGES += factory.bin - IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) |\ - elecom-gst-factory WRC-2533GST 0.00 -endef -TARGET_DEVICES += elecom_wrc-2533gst - define Device/elecom_wrc-1900gst MTK_SOC := mt7621 IMAGE_SIZE := 11264k @@ -162,17 +186,16 @@ define Device/elecom_wrc-1900gst endef TARGET_DEVICES += elecom_wrc-1900gst -define Device/afoundry_ew1200 +define Device/elecom_wrc-2533gst MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := AFOUNDRY - DEVICE_MODEL := EW1200 - DEVICE_PACKAGES := \ - kmod-ata-core kmod-ata-ahci kmod-mt76x2 kmod-mt7603 kmod-usb3 \ - kmod-usb-ledtrig-usbport wpad-basic - SUPPORTED_DEVICES += ew1200 + IMAGE_SIZE := 11264k + DEVICE_VENDOR := ELECOM + DEVICE_MODEL := WRC-2533GST + IMAGES += factory.bin + IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) |\ + elecom-gst-factory WRC-2533GST 0.00 endef -TARGET_DEVICES += afoundry_ew1200 +TARGET_DEVICES += elecom_wrc-2533gst define Device/firefly_firewrt MTK_SOC := mt7621 @@ -249,73 +272,6 @@ define Device/iodata_wn-gx300gr endef TARGET_DEVICES += iodata_wn-gx300gr -define Device/phicomm_k2p - MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := Phicomm - DEVICE_MODEL := K2P - SUPPORTED_DEVICES += k2p -endef -TARGET_DEVICES += phicomm_k2p - -define Device/totolink_a7000r - MTK_SOC := mt7621 - IMAGE_SIZE := 16064k - UIMAGE_NAME := C8340R1C-9999 - DEVICE_VENDOR := TOTOLINK - DEVICE_MODEL := A7000R - DEVICE_PACKAGES := kmod-mt7615e wpad-basic -endef -TARGET_DEVICES += totolink_a7000r - -define Device/xiaomi_mir3p - MTK_SOC := mt7621 - BLOCKSIZE := 128k - PAGESIZE := 2048 - KERNEL_SIZE:= 4096k - UBINIZE_OPTS := -E 5 - IMAGE_SIZE := $(ralink_default_fw_size_32M) - DEVICE_VENDOR := Xiaomi - DEVICE_MODEL := Mi Router 3 Pro - IMAGES += factory.bin - IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata - IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | check-size $$$$(IMAGE_SIZE) - DEVICE_PACKAGES := \ - kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic uboot-envtools -endef -TARGET_DEVICES += xiaomi_mir3p - -define Device/xiaomi_mir3g - MTK_SOC := mt7621 - BLOCKSIZE := 128k - PAGESIZE := 2048 - KERNEL_SIZE := 4096k - IMAGE_SIZE := 32768k - UBINIZE_OPTS := -E 5 - IMAGES += kernel1.bin rootfs0.bin - IMAGE/kernel1.bin := append-kernel - IMAGE/rootfs0.bin := append-ubi | check-size $$$$(IMAGE_SIZE) - IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata - DEVICE_VENDOR := Xiaomi - DEVICE_MODEL := Mi Router 3G - SUPPORTED_DEVICES += R3G - SUPPORTED_DEVICES += mir3g - DEVICE_PACKAGES := \ - kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic \ - uboot-envtools -endef -TARGET_DEVICES += xiaomi_mir3g - -define Device/mediatek_mt7621-eval-board - MTK_SOC := mt7621 - BLOCKSIZE := 64k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := MediaTek - DEVICE_MODEL := MT7621 EVB - SUPPORTED_DEVICES += mt7621 -endef -TARGET_DEVICES += mediatek_mt7621-eval-board - define Device/lenovo_newifi-d1 MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_32M) @@ -327,76 +283,33 @@ define Device/lenovo_newifi-d1 endef TARGET_DEVICES += lenovo_newifi-d1 -define Device/d-team_newifi-d2 +define Device/linksys_re6500 MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_32M) - DEVICE_VENDOR := Newifi - DEVICE_MODEL := D2 - DEVICE_PACKAGES := \ - kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic -endef -TARGET_DEVICES += d-team_newifi-d2 - -define Device/d-team_pbr-m1 - MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := PandoraBox - DEVICE_MODEL := PBR-M1 - DEVICE_PACKAGES := \ - kmod-ata-core kmod-ata-ahci kmod-mt7603 kmod-mt76x2 kmod-sdhci-mt7620 \ - kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic - SUPPORTED_DEVICES += pbr-m1 -endef -TARGET_DEVICES += d-team_pbr-m1 - -define Device/netgear_r6220 - MTK_SOC := mt7621 - BLOCKSIZE := 128k - PAGESIZE := 2048 - KERNEL_SIZE := 4096k - IMAGE_SIZE := 28672k - UBINIZE_OPTS := -E 5 - IMAGES += kernel.bin rootfs.bin - IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata - IMAGE/kernel.bin := append-kernel - IMAGE/rootfs.bin := append-ubi | check-size $$$$(IMAGE_SIZE) - DEVICE_VENDOR := NETGEAR - DEVICE_MODEL := R6220 - DEVICE_PACKAGES := \ - kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic - SUPPORTED_DEVICES += r6220 -endef -TARGET_DEVICES += netgear_r6220 - -define Device/netgear_ex6150 - MTK_SOC := mt7621 - DEVICE_VENDOR := NETGEAR - DEVICE_MODEL := EX6150 + DEVICE_VENDOR := Linksys + DEVICE_MODEL := RE6500 DEVICE_PACKAGES := kmod-mt76x2 wpad-basic - NETGEAR_BOARD_ID := U12H318T00_NETGEAR - IMAGE_SIZE := 14848k - IMAGES += factory.chk - IMAGE/factory.chk := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | netgear-chk + SUPPORTED_DEVICES += re6500 endef -TARGET_DEVICES += netgear_ex6150 +TARGET_DEVICES += linksys_re6500 -define Device/netgear_r6350 +define Device/mediatek_ap-mt7621a-v60 MTK_SOC := mt7621 - BLOCKSIZE := 128k - PAGESIZE := 2048 - KERNEL_SIZE := 4096k - IMAGE_SIZE := 40960k - UBINIZE_OPTS := -E 5 - IMAGES += kernel.bin rootfs.bin - IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata - IMAGE/kernel.bin := append-kernel - IMAGE/rootfs.bin := append-ubi | check-size $$$$(IMAGE_SIZE) - DEVICE_VENDOR := NETGEAR - DEVICE_MODEL := R6350 - DEVICE_PACKAGES := \ - kmod-mt7603 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_VENDOR := Mediatek + DEVICE_MODEL := AP-MT7621A-V60 EVB + DEVICE_PACKAGES := kmod-usb3 kmod-sdhci-mt7620 kmod-sound-mt7620 endef -TARGET_DEVICES += netgear_r6350 +TARGET_DEVICES += mediatek_ap-mt7621a-v60 + +define Device/mediatek_mt7621-eval-board + MTK_SOC := mt7621 + BLOCKSIZE := 64k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := MediaTek + DEVICE_MODEL := MT7621 EVB + SUPPORTED_DEVICES += mt7621 +endef +TARGET_DEVICES += mediatek_mt7621-eval-board define Device/MikroTik MTK_SOC := mt7621 @@ -419,17 +332,42 @@ define Device/mikrotik_rb750gr3 endef TARGET_DEVICES += mikrotik_rb750gr3 +define Device/mikrotik_rbm11g + $(Device/MikroTik) + DEVICE_MODEL := RouterBOARD M11G +endef +TARGET_DEVICES += mikrotik_rbm11g + define Device/mikrotik_rbm33g $(Device/MikroTik) DEVICE_MODEL := RouterBOARD M33G endef TARGET_DEVICES += mikrotik_rbm33g -define Device/mikrotik_rbm11g - $(Device/MikroTik) - DEVICE_MODEL := RouterBOARD M11G +define Device/mqmaker_witi-256m + MTK_SOC := mt7621 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := MQmaker + DEVICE_MODEL := WiTi + DEVICE_VARIANT := 256MB RAM + DEVICE_PACKAGES := \ + kmod-ata-core kmod-ata-ahci kmod-mt76x2 kmod-sdhci-mt7620 kmod-usb3 \ + kmod-usb-ledtrig-usbport wpad-basic + SUPPORTED_DEVICES += witi endef -TARGET_DEVICES += mikrotik_rbm11g +TARGET_DEVICES += mqmaker_witi-256m + +define Device/mqmaker_witi-512m + MTK_SOC := mt7621 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := MQmaker + DEVICE_MODEL := WiTi + DEVICE_VARIANT := 512MB RAM + DEVICE_PACKAGES := \ + kmod-ata-core kmod-ata-ahci kmod-mt76x2 kmod-sdhci-mt7620 kmod-usb3 \ + kmod-usb-ledtrig-usbport wpad-basic +endef +TARGET_DEVICES += mqmaker_witi-512m define Device/mtc_wr1201 MTK_SOC := mt7621 @@ -442,6 +380,160 @@ define Device/mtc_wr1201 endef TARGET_DEVICES += mtc_wr1201 +define Device/netgear_ex6150 + MTK_SOC := mt7621 + DEVICE_VENDOR := NETGEAR + DEVICE_MODEL := EX6150 + DEVICE_PACKAGES := kmod-mt76x2 wpad-basic + NETGEAR_BOARD_ID := U12H318T00_NETGEAR + IMAGE_SIZE := 14848k + IMAGES += factory.chk + IMAGE/factory.chk := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | netgear-chk +endef +TARGET_DEVICES += netgear_ex6150 + +define Device/netgear_r6220 + MTK_SOC := mt7621 + BLOCKSIZE := 128k + PAGESIZE := 2048 + KERNEL_SIZE := 4096k + IMAGE_SIZE := 28672k + UBINIZE_OPTS := -E 5 + IMAGES += kernel.bin rootfs.bin + IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata + IMAGE/kernel.bin := append-kernel + IMAGE/rootfs.bin := append-ubi | check-size $$$$(IMAGE_SIZE) + DEVICE_VENDOR := NETGEAR + DEVICE_MODEL := R6220 + DEVICE_PACKAGES := \ + kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic + SUPPORTED_DEVICES += r6220 +endef +TARGET_DEVICES += netgear_r6220 + +define Device/netgear_r6350 + MTK_SOC := mt7621 + BLOCKSIZE := 128k + PAGESIZE := 2048 + KERNEL_SIZE := 4096k + IMAGE_SIZE := 40960k + UBINIZE_OPTS := -E 5 + IMAGES += kernel.bin rootfs.bin + IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata + IMAGE/kernel.bin := append-kernel + IMAGE/rootfs.bin := append-ubi | check-size $$$$(IMAGE_SIZE) + DEVICE_VENDOR := NETGEAR + DEVICE_MODEL := R6350 + DEVICE_PACKAGES := \ + kmod-mt7603 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic +endef +TARGET_DEVICES += netgear_r6350 + +define Device/netgear_wndr3700-v5 + MTK_SOC := mt7621 + BLOCKSIZE := 64k + IMAGE_SIZE := 15232k + SERCOMM_HWID := AYB + SERCOMM_HWVER := A001 + SERCOMM_SWVER := 0x1054 + IMAGES += factory.img + IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs + IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE) + IMAGE/factory.img := pad-extra 320k | $$(IMAGE/default) | pad-to $$$$(BLOCKSIZE) | \ + sercom-footer | pad-to 128 | zip WNDR3700v5.bin | sercom-seal + DEVICE_VENDOR := NETGEAR + DEVICE_MODEL := WNDR3700 + DEVICE_VARIANT := v5 + DEVICE_PACKAGES := \ + kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic + SUPPORTED_DEVICES += wndr3700v5 +endef +TARGET_DEVICES += netgear_wndr3700-v5 + +define Device/netis_wf-2881 + MTK_SOC := mt7621 + BLOCKSIZE := 128k + PAGESIZE := 2048 + FILESYSTEMS := squashfs + IMAGE_SIZE := 129280k + KERNEL := $(KERNEL_DTB) | pad-offset $$(BLOCKSIZE) 64 | uImage lzma + UBINIZE_OPTS := -E 5 + IMAGE/sysupgrade.bin := append-kernel | append-ubi | append-metadata | check-size $$$$(IMAGE_SIZE) + DEVICE_VENDOR := NETIS + DEVICE_MODEL := WF-2881 + DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic + SUPPORTED_DEVICES += wf-2881 +endef +TARGET_DEVICES += netis_wf-2881 + +define Device/phicomm_k2p + MTK_SOC := mt7621 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := Phicomm + DEVICE_MODEL := K2P + SUPPORTED_DEVICES += k2p +endef +TARGET_DEVICES += phicomm_k2p + +define Device/planex_vr500 + MTK_SOC := mt7621 + IMAGE_SIZE := 66453504 + DEVICE_VENDOR := Planex + DEVICE_MODEL := VR500 + DEVICE_PACKAGES := kmod-usb3 + SUPPORTED_DEVICES += vr500 +endef +TARGET_DEVICES += planex_vr500 + +define Device/samknows_whitebox-v8 + MTK_SOC := mt7621 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := SamKnows + DEVICE_MODEL := Whitebox 8 + DEVICE_PACKAGES := \ + kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport \ + uboot-envtools wpad-basic + SUPPORTED_DEVICES += sk-wb8 +endef +TARGET_DEVICES += samknows_whitebox-v8 + +define Device/storylink_sap-g3200u3 + MTK_SOC := mt7621 + DEVICE_VENDOR := STORYLiNK + DEVICE_MODEL := SAP-G3200U3 + DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic + SUPPORTED_DEVICES += sap-g3200u3 +endef +TARGET_DEVICES += storylink_sap-g3200u3 + +define Device/telco-electronics_x1 + MTK_SOC := mt7621 + IMAGE_SIZE := 16064k + DEVICE_VENDOR := Telco Electronics + DEVICE_MODEL := X1 + DEVICE_PACKAGES := kmod-usb3 kmod-mt76 wpad-basic +endef +TARGET_DEVICES += telco-electronics_x1 + +define Device/thunder_timecloud + MTK_SOC := mt7621 + DEVICE_VENDOR := Thunder + DEVICE_MODEL := Timecloud + DEVICE_PACKAGES := kmod-usb3 + SUPPORTED_DEVICES += timecloud +endef +TARGET_DEVICES += thunder_timecloud + +define Device/totolink_a7000r + MTK_SOC := mt7621 + IMAGE_SIZE := 16064k + UIMAGE_NAME := C8340R1C-9999 + DEVICE_VENDOR := TOTOLINK + DEVICE_MODEL := A7000R + DEVICE_PACKAGES := kmod-mt7615e wpad-basic +endef +TARGET_DEVICES += totolink_a7000r + define Device/tplink_re350-v1 MTK_SOC := mt7621 DEVICE_VENDOR := TP-Link @@ -461,54 +553,6 @@ define Device/tplink_re350-v1 endef TARGET_DEVICES += tplink_re350-v1 -define Device/linksys_re6500 - MTK_SOC := mt7621 - DEVICE_VENDOR := Linksys - DEVICE_MODEL := RE6500 - DEVICE_PACKAGES := kmod-mt76x2 wpad-basic - SUPPORTED_DEVICES += re6500 -endef -TARGET_DEVICES += linksys_re6500 - -define Device/storylink_sap-g3200u3 - MTK_SOC := mt7621 - DEVICE_VENDOR := STORYLiNK - DEVICE_MODEL := SAP-G3200U3 - DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic - SUPPORTED_DEVICES += sap-g3200u3 -endef -TARGET_DEVICES += storylink_sap-g3200u3 - -define Device/samknows_whitebox-v8 - MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := SamKnows - DEVICE_MODEL := Whitebox 8 - DEVICE_PACKAGES := \ - kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport \ - uboot-envtools wpad-basic - SUPPORTED_DEVICES += sk-wb8 -endef -TARGET_DEVICES += samknows_whitebox-v8 - -define Device/telco-electronics_x1 - MTK_SOC := mt7621 - IMAGE_SIZE := 16064k - DEVICE_VENDOR := Telco Electronics - DEVICE_MODEL := X1 - DEVICE_PACKAGES := kmod-usb3 kmod-mt76 wpad-basic -endef -TARGET_DEVICES += telco-electronics_x1 - -define Device/thunder_timecloud - MTK_SOC := mt7621 - DEVICE_VENDOR := Thunder - DEVICE_MODEL := Timecloud - DEVICE_PACKAGES := kmod-usb3 - SUPPORTED_DEVICES += timecloud -endef -TARGET_DEVICES += thunder_timecloud - define Device/ubiquiti_edgerouterx MTK_SOC := mt7621 FILESYSTEMS := squashfs @@ -551,15 +595,15 @@ define Device/unielec_u7621-06-512m-64m endef TARGET_DEVICES += unielec_u7621-06-512m-64m -define Device/planex_vr500 +define Device/wevo_11acnas MTK_SOC := mt7621 - IMAGE_SIZE := 66453504 - DEVICE_VENDOR := Planex - DEVICE_MODEL := VR500 - DEVICE_PACKAGES := kmod-usb3 - SUPPORTED_DEVICES += vr500 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := WeVO + DEVICE_MODEL := 11AC NAS Router + DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic + SUPPORTED_DEVICES += 11acnas endef -TARGET_DEVICES += planex_vr500 +TARGET_DEVICES += wevo_11acnas define Device/wevo_w2914ns-v2 MTK_SOC := mt7621 @@ -573,67 +617,54 @@ define Device/wevo_w2914ns-v2 endef TARGET_DEVICES += wevo_w2914ns-v2 -define Device/netis_wf-2881 +define Device/xiaomi_mir3g MTK_SOC := mt7621 BLOCKSIZE := 128k PAGESIZE := 2048 - FILESYSTEMS := squashfs - IMAGE_SIZE := 129280k - KERNEL := $(KERNEL_DTB) | pad-offset $$(BLOCKSIZE) 64 | uImage lzma + KERNEL_SIZE := 4096k + IMAGE_SIZE := 32768k UBINIZE_OPTS := -E 5 - IMAGE/sysupgrade.bin := append-kernel | append-ubi | append-metadata | check-size $$$$(IMAGE_SIZE) - DEVICE_VENDOR := NETIS - DEVICE_MODEL := WF-2881 - DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic - SUPPORTED_DEVICES += wf-2881 -endef -TARGET_DEVICES += netis_wf-2881 - -define Device/mqmaker_witi-256m - MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := MQmaker - DEVICE_MODEL := WiTi - DEVICE_VARIANT := 256MB RAM + IMAGES += kernel1.bin rootfs0.bin + IMAGE/kernel1.bin := append-kernel + IMAGE/rootfs0.bin := append-ubi | check-size $$$$(IMAGE_SIZE) + IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata + DEVICE_VENDOR := Xiaomi + DEVICE_MODEL := Mi Router 3G + SUPPORTED_DEVICES += R3G + SUPPORTED_DEVICES += mir3g DEVICE_PACKAGES := \ - kmod-ata-core kmod-ata-ahci kmod-mt76x2 kmod-sdhci-mt7620 kmod-usb3 \ - kmod-usb-ledtrig-usbport wpad-basic - SUPPORTED_DEVICES += witi + kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic \ + uboot-envtools endef -TARGET_DEVICES += mqmaker_witi-256m +TARGET_DEVICES += xiaomi_mir3g -define Device/mqmaker_witi-512m +define Device/xiaomi_mir3p MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := MQmaker - DEVICE_MODEL := WiTi - DEVICE_VARIANT := 512MB RAM + BLOCKSIZE := 128k + PAGESIZE := 2048 + KERNEL_SIZE:= 4096k + UBINIZE_OPTS := -E 5 + IMAGE_SIZE := $(ralink_default_fw_size_32M) + DEVICE_VENDOR := Xiaomi + DEVICE_MODEL := Mi Router 3 Pro + IMAGES += factory.bin + IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata + IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | check-size $$$$(IMAGE_SIZE) DEVICE_PACKAGES := \ - kmod-ata-core kmod-ata-ahci kmod-mt76x2 kmod-sdhci-mt7620 kmod-usb3 \ - kmod-usb-ledtrig-usbport wpad-basic + kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic uboot-envtools endef -TARGET_DEVICES += mqmaker_witi-512m +TARGET_DEVICES += xiaomi_mir3p -define Device/netgear_wndr3700-v5 +define Device/xzwifi_creativebox-v1 MTK_SOC := mt7621 - BLOCKSIZE := 64k - IMAGE_SIZE := 15232k - SERCOMM_HWID := AYB - SERCOMM_HWVER := A001 - SERCOMM_SWVER := 0x1054 - IMAGES += factory.img - IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs - IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE) - IMAGE/factory.img := pad-extra 320k | $$(IMAGE/default) | pad-to $$$$(BLOCKSIZE) | \ - sercom-footer | pad-to 128 | zip WNDR3700v5.bin | sercom-seal - DEVICE_VENDOR := NETGEAR - DEVICE_MODEL := WNDR3700 - DEVICE_VARIANT := v5 + IMAGE_SIZE := $(ralink_default_fw_size_32M) + DEVICE_VENDOR := CreativeBox + DEVICE_MODEL := v1 DEVICE_PACKAGES := \ - kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic - SUPPORTED_DEVICES += wndr3700v5 + kmod-ata-core kmod-ata-ahci kmod-mt7603 kmod-mt76x2 kmod-sdhci-mt7620 \ + kmod-usb3 endef -TARGET_DEVICES += netgear_wndr3700-v5 +TARGET_DEVICES += xzwifi_creativebox-v1 define Device/youhua_wr1200js MTK_SOC := mt7621 @@ -655,27 +686,6 @@ define Device/youku_yk-l2 endef TARGET_DEVICES += youku_yk-l2 -define Device/buffalo_wsr-1166dhp - MTK_SOC := mt7621 - IMAGE/sysupgrade.bin := trx | pad-rootfs | append-metadata - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := Buffalo - DEVICE_MODEL := WSR-1166DHP - DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 wpad-basic - SUPPORTED_DEVICES += wsr-1166 -endef -TARGET_DEVICES += buffalo_wsr-1166dhp - -define Device/buffalo_wsr-600dhp - MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := Buffalo - DEVICE_MODEL := WSR-600DHP - DEVICE_PACKAGES := kmod-mt7603 kmod-rt2800-pci wpad-basic - SUPPORTED_DEVICES += wsr-600 -endef -TARGET_DEVICES += buffalo_wsr-600dhp - define Device/zbtlink_zbt-we1326 MTK_SOC := mt7621 IMAGE_SIZE := $(ralink_default_fw_size_16M) @@ -735,14 +745,3 @@ define Device/zbtlink_zbt-wg3526-32m SUPPORTED_DEVICES += ac1200pro zbt-wg3526-32M endef TARGET_DEVICES += zbtlink_zbt-wg3526-32m - -define Device/asiarf_ap7621-001 - MTK_SOC := mt7621 - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := AsiaRF - DEVICE_MODEL := AP7621-001 - DEVICE_PACKAGES := \ - kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 -endef -TARGET_DEVICES += asiarf_ap7621-001 - diff --git a/target/linux/ramips/image/mt76x8.mk b/target/linux/ramips/image/mt76x8.mk index f5fa21d8ff7..fae9fb03cf0 100644 --- a/target/linux/ramips/image/mt76x8.mk +++ b/target/linux/ramips/image/mt76x8.mk @@ -2,25 +2,6 @@ # MT76x8 Profiles # -define Device/tplink - MTK_SOC := mt7628an - DEVICE_VENDOR := TP-Link - TPLINK_FLASHLAYOUT := - TPLINK_HWID := - TPLINK_HWREV := - TPLINK_HWREVADD := - TPLINK_HVERSION := - KERNEL := $(KERNEL_DTB) - KERNEL_INITRAMFS := $(KERNEL_DTB) | tplink-v2-header -e - IMAGES += tftp-recovery.bin - IMAGE/factory.bin := tplink-v2-image -e - IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin) - IMAGE/sysupgrade.bin := tplink-v2-image -s -e | append-metadata | \ - check-size $$$$(IMAGE_SIZE) -endef -DEVICE_VARS += TPLINK_FLASHLAYOUT TPLINK_HWID TPLINK_HWREV TPLINK_HWREVADD TPLINK_HVERSION - - define Device/alfa-network_awusfree1 MTK_SOC := mt7628an IMAGE_SIZE := $(ralink_default_fw_size_8M) @@ -30,6 +11,25 @@ define Device/alfa-network_awusfree1 endef TARGET_DEVICES += alfa-network_awusfree1 +define Device/buffalo_wcr-1166ds + MTK_SOC := mt7628an + BUFFALO_TAG_PLATFORM := MTK + BUFFALO_TAG_VERSION := 9.99 + BUFFALO_TAG_MINOR := 9.99 + IMAGES += factory.bin + IMAGE/sysupgrade.bin := trx | pad-rootfs | append-metadata + IMAGE/factory.bin := \ + trx -M 0x746f435c | pad-rootfs | append-metadata | \ + buffalo-enc WCR-1166DS $$(BUFFALO_TAG_VERSION) -l | \ + buffalo-tag-dhp WCR-1166DS JP JP | buffalo-enc-tag -l | \ + buffalo-dhp-image + DEVICE_VENDOR := Buffalo + DEVICE_MODEL := WCR-1166DS + DEVICE_PACKAGES := kmod-mt76x2 + SUPPORTED_DEVICES += wcr-1166ds +endef +TARGET_DEVICES += buffalo_wcr-1166ds + define Device/cudy_wr1000 MTK_SOC := mt7628an IMAGE_SIZE := $(ralink_default_fw_size_8M) @@ -44,14 +44,15 @@ define Device/cudy_wr1000 endef TARGET_DEVICES += cudy_wr1000 -define Device/tama_w06 +define Device/d-team_pbr-d1 MTK_SOC := mt7628an - IMAGE_SIZE := 15040k - DEVICE_VENDOR := Tama - DEVICE_MODEL := W06 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := PandoraBox + DEVICE_MODEL := PBR-D1 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += pbr-d1 endef -TARGET_DEVICES += tama_w06 +TARGET_DEVICES += d-team_pbr-d1 define Device/duzun_dm06 MTK_SOC := mt7628an @@ -82,6 +83,14 @@ define Device/glinet_vixmini endef TARGET_DEVICES += glinet_vixmini +define Device/hilink_hlk-7628n + MTK_SOC := mt7628an + IMAGE_SIZE := $(ralink_default_fw_size_32M) + DEVICE_VENDOR := HILINK + DEVICE_MODEL := HLK-7628N +endef +TARGET_DEVICES += hilink_hlk-7628n + define Device/hiwifi_hc5661a MTK_SOC := mt7628an IMAGE_SIZE := $(ralink_default_fw_size_16M) @@ -91,14 +100,6 @@ define Device/hiwifi_hc5661a endef TARGET_DEVICES += hiwifi_hc5661a -define Device/hilink_hlk-7628n - MTK_SOC := mt7628an - IMAGE_SIZE := $(ralink_default_fw_size_32M) - DEVICE_VENDOR := HILINK - DEVICE_MODEL := HLK-7628N -endef -TARGET_DEVICES += hilink_hlk-7628n - define Device/hiwifi_hc5861b MTK_SOC := mt7628an IMAGE_SIZE := 15808k @@ -118,27 +119,6 @@ define Device/mediatek_linkit-smart-7688 endef TARGET_DEVICES += mediatek_linkit-smart-7688 -define Device/mercury_mac1200r-v2 - MTK_SOC := mt7628an - DEVICE_VENDOR := Mercury - DEVICE_MODEL := MAC1200R - DEVICE_VARIANT := v2.0 - SUPPORTED_DEVICES := mac1200rv2 - DEVICE_PACKAGES := kmod-mt76x2 - SUPPORTED_DEVICES += mac1200rv2 -endef -TARGET_DEVICES += mercury_mac1200r-v2 - -define Device/xiaomi_miwifi-nano - MTK_SOC := mt7628an - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := Xiaomi - DEVICE_MODEL := MiWiFi Nano - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport - SUPPORTED_DEVICES += miwifi-nano -endef -TARGET_DEVICES += xiaomi_miwifi-nano - define Device/mediatek_mt7628an-eval-board MTK_SOC := mt7628an BLOCKSIZE := 64k @@ -150,6 +130,17 @@ define Device/mediatek_mt7628an-eval-board endef TARGET_DEVICES += mediatek_mt7628an-eval-board +define Device/mercury_mac1200r-v2 + MTK_SOC := mt7628an + DEVICE_VENDOR := Mercury + DEVICE_MODEL := MAC1200R + DEVICE_VARIANT := v2.0 + SUPPORTED_DEVICES := mac1200rv2 + DEVICE_PACKAGES := kmod-mt76x2 + SUPPORTED_DEVICES += mac1200rv2 +endef +TARGET_DEVICES += mercury_mac1200r-v2 + define Device/netgear_r6120 MTK_SOC := mt7628an BLOCKSIZE := 64k @@ -188,16 +179,6 @@ define Device/onion_omega2p endef TARGET_DEVICES += onion_omega2p -define Device/d-team_pbr-d1 - MTK_SOC := mt7628an - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := PandoraBox - DEVICE_MODEL := PBR-D1 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci - SUPPORTED_DEVICES += pbr-d1 -endef -TARGET_DEVICES += d-team_pbr-d1 - define Device/rakwireless_rak633 MTK_SOC := mt7628an DEVICE_VENDOR := Rakwireless @@ -215,6 +196,15 @@ define Device/skylab_skw92a endef TARGET_DEVICES += skylab_skw92a +define Device/tama_w06 + MTK_SOC := mt7628an + IMAGE_SIZE := 15040k + DEVICE_VENDOR := Tama + DEVICE_MODEL := W06 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci +endef +TARGET_DEVICES += tama_w06 + define Device/totolink_lr1200 MTK_SOC := mt7628an IMAGE_SIZE := 7872k @@ -224,6 +214,98 @@ define Device/totolink_lr1200 endef TARGET_DEVICES += totolink_lr1200 +define Device/tplink + MTK_SOC := mt7628an + DEVICE_VENDOR := TP-Link + TPLINK_FLASHLAYOUT := + TPLINK_HWID := + TPLINK_HWREV := + TPLINK_HWREVADD := + TPLINK_HVERSION := + KERNEL := $(KERNEL_DTB) + KERNEL_INITRAMFS := $(KERNEL_DTB) | tplink-v2-header -e + IMAGES += tftp-recovery.bin + IMAGE/factory.bin := tplink-v2-image -e + IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin) + IMAGE/sysupgrade.bin := tplink-v2-image -s -e | append-metadata | \ + check-size $$$$(IMAGE_SIZE) +endef +DEVICE_VARS += TPLINK_FLASHLAYOUT TPLINK_HWID TPLINK_HWREV TPLINK_HWREVADD TPLINK_HVERSION + +define Device/tplink_archer-c20-v4 + $(Device/tplink) + IMAGE_SIZE := 7808k + DEVICE_MODEL := Archer C20 + DEVICE_VARIANT := v4 + TPLINK_FLASHLAYOUT := 8Mmtk + TPLINK_HWID := 0xc200004 + TPLINK_HWREV := 0x1 + TPLINK_HWREVADD := 0x4 + TPLINK_HVERSION := 3 + DEVICE_PACKAGES := kmod-mt76x0e + SUPPORTED_DEVICES += tplink,c20-v4 +endef +TARGET_DEVICES += tplink_archer-c20-v4 + +define Device/tplink_archer-c50-v3 + $(Device/tplink) + IMAGE_SIZE := 7808k + DEVICE_MODEL := Archer C50 + DEVICE_VARIANT := v3 + TPLINK_FLASHLAYOUT := 8Mmtk + TPLINK_HWID := 0x001D9BA4 + TPLINK_HWREV := 0x79 + TPLINK_HWREVADD := 0x1 + TPLINK_HVERSION := 3 + DEVICE_PACKAGES := kmod-mt76x2 + SUPPORTED_DEVICES += tplink,c50-v3 +endef +TARGET_DEVICES += tplink_archer-c50-v3 + +define Device/tplink_archer-c50-v4 + $(Device/tplink) + IMAGE_SIZE := 7616k + DEVICE_MODEL := Archer C50 + DEVICE_VARIANT := v4 + TPLINK_FLASHLAYOUT := 8MSUmtk + TPLINK_HWID := 0x001D589B + TPLINK_HWREV := 0x93 + TPLINK_HWREVADD := 0x2 + TPLINK_HVERSION := 3 + DEVICE_PACKAGES := kmod-mt76x2 + IMAGES := sysupgrade.bin + SUPPORTED_DEVICES += tplink,c50-v4 +endef +TARGET_DEVICES += tplink_archer-c50-v4 + +define Device/tplink_tl-mr3020-v3 + $(Device/tplink) + IMAGE_SIZE := 7808k + DEVICE_MODEL := TL-MR3020 + DEVICE_VARIANT := v3 + TPLINK_FLASHLAYOUT := 8Mmtk + TPLINK_HWID := 0x30200003 + TPLINK_HWREV := 0x3 + TPLINK_HWREVADD := 0x3 + TPLINK_HVERSION := 3 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport +endef +TARGET_DEVICES += tplink_tl-mr3020-v3 + +define Device/tplink_tl-mr3420-v5 + $(Device/tplink) + IMAGE_SIZE := 7808k + DEVICE_MODEL := TL-MR3420 + DEVICE_VARIANT := v5 + TPLINK_FLASHLAYOUT := 8Mmtk + TPLINK_HWID := 0x34200005 + TPLINK_HWREV := 0x5 + TPLINK_HWREVADD := 0x5 + TPLINK_HVERSION := 3 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport +endef +TARGET_DEVICES += tplink_tl-mr3420-v5 + define Device/tplink_tl-wa801nd-v5 $(Device/tplink) IMAGE_SIZE := 7808k @@ -310,80 +392,6 @@ define Device/tplink_tl-wr841n-v14 endef TARGET_DEVICES += tplink_tl-wr841n-v14 -define Device/tplink_archer-c20-v4 - $(Device/tplink) - IMAGE_SIZE := 7808k - DEVICE_MODEL := Archer C20 - DEVICE_VARIANT := v4 - TPLINK_FLASHLAYOUT := 8Mmtk - TPLINK_HWID := 0xc200004 - TPLINK_HWREV := 0x1 - TPLINK_HWREVADD := 0x4 - TPLINK_HVERSION := 3 - DEVICE_PACKAGES := kmod-mt76x0e - SUPPORTED_DEVICES += tplink,c20-v4 -endef -TARGET_DEVICES += tplink_archer-c20-v4 - -define Device/tplink_archer-c50-v3 - $(Device/tplink) - IMAGE_SIZE := 7808k - DEVICE_MODEL := Archer C50 - DEVICE_VARIANT := v3 - TPLINK_FLASHLAYOUT := 8Mmtk - TPLINK_HWID := 0x001D9BA4 - TPLINK_HWREV := 0x79 - TPLINK_HWREVADD := 0x1 - TPLINK_HVERSION := 3 - DEVICE_PACKAGES := kmod-mt76x2 - SUPPORTED_DEVICES += tplink,c50-v3 -endef -TARGET_DEVICES += tplink_archer-c50-v3 - -define Device/tplink_archer-c50-v4 - $(Device/tplink) - IMAGE_SIZE := 7616k - DEVICE_MODEL := Archer C50 - DEVICE_VARIANT := v4 - TPLINK_FLASHLAYOUT := 8MSUmtk - TPLINK_HWID := 0x001D589B - TPLINK_HWREV := 0x93 - TPLINK_HWREVADD := 0x2 - TPLINK_HVERSION := 3 - DEVICE_PACKAGES := kmod-mt76x2 - IMAGES := sysupgrade.bin - SUPPORTED_DEVICES += tplink,c50-v4 -endef -TARGET_DEVICES += tplink_archer-c50-v4 - -define Device/tplink_tl-mr3020-v3 - $(Device/tplink) - IMAGE_SIZE := 7808k - DEVICE_MODEL := TL-MR3020 - DEVICE_VARIANT := v3 - TPLINK_FLASHLAYOUT := 8Mmtk - TPLINK_HWID := 0x30200003 - TPLINK_HWREV := 0x3 - TPLINK_HWREVADD := 0x3 - TPLINK_HVERSION := 3 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport -endef -TARGET_DEVICES += tplink_tl-mr3020-v3 - -define Device/tplink_tl-mr3420-v5 - $(Device/tplink) - IMAGE_SIZE := 7808k - DEVICE_MODEL := TL-MR3420 - DEVICE_VARIANT := v5 - TPLINK_FLASHLAYOUT := 8Mmtk - TPLINK_HWID := 0x34200005 - TPLINK_HWREV := 0x5 - TPLINK_HWREVADD := 0x5 - TPLINK_HVERSION := 3 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport -endef -TARGET_DEVICES += tplink_tl-mr3420-v5 - define Device/tplink_tl-wr842n-v5 $(Device/tplink) IMAGE_SIZE := 7808k @@ -464,25 +472,6 @@ define Device/wavlink_wl-wn575a3 endef TARGET_DEVICES += wavlink_wl-wn575a3 -define Device/buffalo_wcr-1166ds - MTK_SOC := mt7628an - BUFFALO_TAG_PLATFORM := MTK - BUFFALO_TAG_VERSION := 9.99 - BUFFALO_TAG_MINOR := 9.99 - IMAGES += factory.bin - IMAGE/sysupgrade.bin := trx | pad-rootfs | append-metadata - IMAGE/factory.bin := \ - trx -M 0x746f435c | pad-rootfs | append-metadata | \ - buffalo-enc WCR-1166DS $$(BUFFALO_TAG_VERSION) -l | \ - buffalo-tag-dhp WCR-1166DS JP JP | buffalo-enc-tag -l | \ - buffalo-dhp-image - DEVICE_VENDOR := Buffalo - DEVICE_MODEL := WCR-1166DS - DEVICE_PACKAGES := kmod-mt76x2 - SUPPORTED_DEVICES += wcr-1166ds -endef -TARGET_DEVICES += buffalo_wcr-1166ds - define Device/widora_neo-16m MTK_SOC := mt7628an IMAGE_SIZE := $(ralink_default_fw_size_16M) @@ -542,6 +531,16 @@ define Device/xiaomi_mir4a-100m endef TARGET_DEVICES += xiaomi_mir4a-100m +define Device/xiaomi_miwifi-nano + MTK_SOC := mt7628an + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := Xiaomi + DEVICE_MODEL := MiWiFi Nano + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += miwifi-nano +endef +TARGET_DEVICES += xiaomi_miwifi-nano + define Device/zbtlink_zbt-we1226 MTK_SOC := mt7628an IMAGE_SIZE := $(ralink_default_fw_size_8M) diff --git a/target/linux/ramips/image/rt288x.mk b/target/linux/ramips/image/rt288x.mk index e8e51adc31d..8d7e9262862 100644 --- a/target/linux/ramips/image/rt288x.mk +++ b/target/linux/ramips/image/rt288x.mk @@ -34,23 +34,16 @@ define Device/airlink101_ar725w endef TARGET_DEVICES += airlink101_ar725w -define Device/dlink_dap-1522-a1 +define Device/asus_rt-n15 MTK_SOC := rt2880 BLOCKSIZE := 64k - IMAGE_SIZE := 3801088 - DEVICE_VENDOR := D-Link - DEVICE_MODEL := DAP-1522 - DEVICE_VARIANT := A1 + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := Asus + DEVICE_MODEL := RT-N15 DEVICE_PACKAGES := kmod-switch-rtl8366s - KERNEL := $(KERNEL_DTB) - IMAGES += factory.bin - IMAGE/factory.bin := \ - append-kernel | pad-offset $$$$(BLOCKSIZE) 96 | \ - append-rootfs | pad-rootfs -x 96 | \ - wrg-header wapnd01_dlink_dap1522 | \ - check-size $$$$(IMAGE_SIZE) + SUPPORTED_DEVICES += rt-n15 endef -TARGET_DEVICES += dlink_dap-1522-a1 +TARGET_DEVICES += asus_rt-n15 define Device/belkin_f5d8235-v1 MTK_SOC := rt2880 @@ -64,27 +57,6 @@ define Device/belkin_f5d8235-v1 endef TARGET_DEVICES += belkin_f5d8235-v1 -define Device/asus_rt-n15 - MTK_SOC := rt2880 - BLOCKSIZE := 64k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := Asus - DEVICE_MODEL := RT-N15 - DEVICE_PACKAGES := kmod-switch-rtl8366s - SUPPORTED_DEVICES += rt-n15 -endef -TARGET_DEVICES += asus_rt-n15 - -define Device/ralink_v11st-fe - MTK_SOC := rt2880 - BLOCKSIZE := 64k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := Ralink - DEVICE_MODEL := V11ST-FE - SUPPORTED_DEVICES += v11st-fe -endef -TARGET_DEVICES += ralink_v11st-fe - define Device/buffalo_wli-tx4-ag300n MTK_SOC := rt2880 BLOCKSIZE := 64k @@ -106,3 +78,31 @@ define Device/buffalo_wzr-agl300nh SUPPORTED_DEVICES += wzr-agl300nh endef TARGET_DEVICES += buffalo_wzr-agl300nh + +define Device/dlink_dap-1522-a1 + MTK_SOC := rt2880 + BLOCKSIZE := 64k + IMAGE_SIZE := 3801088 + DEVICE_VENDOR := D-Link + DEVICE_MODEL := DAP-1522 + DEVICE_VARIANT := A1 + DEVICE_PACKAGES := kmod-switch-rtl8366s + KERNEL := $(KERNEL_DTB) + IMAGES += factory.bin + IMAGE/factory.bin := \ + append-kernel | pad-offset $$$$(BLOCKSIZE) 96 | \ + append-rootfs | pad-rootfs -x 96 | \ + wrg-header wapnd01_dlink_dap1522 | \ + check-size $$$$(IMAGE_SIZE) +endef +TARGET_DEVICES += dlink_dap-1522-a1 + +define Device/ralink_v11st-fe + MTK_SOC := rt2880 + BLOCKSIZE := 64k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := Ralink + DEVICE_MODEL := V11ST-FE + SUPPORTED_DEVICES += v11st-fe +endef +TARGET_DEVICES += ralink_v11st-fe diff --git a/target/linux/ramips/image/rt305x.mk b/target/linux/ramips/image/rt305x.mk index e5b3adf9370..ee1e39ac5c8 100644 --- a/target/linux/ramips/image/rt305x.mk +++ b/target/linux/ramips/image/rt305x.mk @@ -21,66 +21,45 @@ define Build/hilink-header mv $@.new $@ endef - -define Device/tenda_3g150b +define Device/7links_px-4885-4m MTK_SOC := rt5350 - BLOCKSIZE := 4k IMAGE_SIZE := $(ralink_default_fw_size_4M) - UIMAGE_NAME:= Linux Kernel Image - DEVICE_VENDOR := Tenda - DEVICE_MODEL := 3G150B - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport - SUPPORTED_DEVICES += 3g150b + DEVICE_VENDOR := 7Links + DEVICE_MODEL := PX-4885 + DEVICE_VARIANT := 4M + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci \ + kmod-usb-ledtrig-usbport kmod-leds-gpio + SUPPORTED_DEVICES += px-4885-4M endef -TARGET_DEVICES += tenda_3g150b +TARGET_DEVICES += 7links_px-4885-4m -define Device/tenda_3g300m +define Device/7links_px-4885-8m + MTK_SOC := rt5350 + DEVICE_VENDOR := 7Links + DEVICE_MODEL := PX-4885 + DEVICE_VARIANT := 8M + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci \ + kmod-usb-ledtrig-usbport kmod-leds-gpio + SUPPORTED_DEVICES += px-4885-8M +endef +TARGET_DEVICES += 7links_px-4885-8m + +define Device/8devices_carambola + MTK_SOC := rt3050 + DEVICE_VENDOR := 8devices + DEVICE_MODEL := Carambola + DEVICE_PACKAGES := + SUPPORTED_DEVICES += carambola +endef +TARGET_DEVICES += 8devices_carambola + +define Device/accton_wr6202 MTK_SOC := rt3052 - IMAGE_SIZE := $(ralink_default_fw_size_4M) - UIMAGE_NAME := 3G150M_SPI Kernel Image - DEVICE_VENDOR := Tenda - DEVICE_MODEL := 3G300M - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport - SUPPORTED_DEVICES += 3g300m + DEVICE_VENDOR := Accton + DEVICE_MODEL := WR6202 + SUPPORTED_DEVICES += wr6202 endef -TARGET_DEVICES += tenda_3g300m - -define Device/edimax_3g-6200n - MTK_SOC := rt3050 - IMAGE_SIZE := 3648k - IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \ - edimax-header -s CSYS -m 3G62 -f 0x50000 -S 0x01100000 | pad-rootfs | \ - append-metadata | check-size $$$$(IMAGE_SIZE) - DEVICE_VENDOR := Edimax - DEVICE_MODEL := 3g-6200n - SUPPORTED_DEVICES += 3g-6200n -endef -TARGET_DEVICES += edimax_3g-6200n - -define Device/edimax_3g-6200nl - MTK_SOC := rt3050 - IMAGE_SIZE := 3648k - IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \ - edimax-header -s CSYS -m 3G62 -f 0x50000 -S 0x01100000 | pad-rootfs | \ - append-metadata | check-size $$$$(IMAGE_SIZE) - DEVICE_VENDOR := Edimax - DEVICE_MODEL := 3g-6200nl - SUPPORTED_DEVICES += 3g-6200nl -endef -TARGET_DEVICES += edimax_3g-6200nl - -define Device/unbranded_a5-v11 - MTK_SOC := rt5350 - IMAGE_SIZE := $(ralink_default_fw_size_4M) - IMAGES += factory.bin - IMAGE/factory.bin := \ - $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B A5-V11 -F 4M - DEVICE_VENDOR := - DEVICE_MODEL := A5-V11 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 - SUPPORTED_DEVICES += a5-v11 -endef -TARGET_DEVICES += unbranded_a5-v11 +TARGET_DEVICES += accton_wr6202 define Device/airlive_air3gii MTK_SOC := rt5350 @@ -92,6 +71,14 @@ define Device/airlive_air3gii endef TARGET_DEVICES += airlive_air3gii +define Device/alfa-network_w502u + MTK_SOC := rt3052 + DEVICE_VENDOR := ALFA + DEVICE_MODEL := Networks W502U + SUPPORTED_DEVICES += w502u +endef +TARGET_DEVICES += alfa-network_w502u + define Device/allnet_all0256n-4m MTK_SOC := rt3050 IMAGE_SIZE := $(ralink_default_fw_size_4M) @@ -135,16 +122,6 @@ define Device/allnet_all5003 endef TARGET_DEVICES += allnet_all5003 -define Device/alphanetworks_asl26555-8m - MTK_SOC := rt3050 - IMAGE_SIZE := 7744k - DEVICE_VENDOR := Alpha - DEVICE_MODEL := ASL26555 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport - SUPPORTED_DEVICES += asl26555 asl26555-8M -endef -TARGET_DEVICES += alphanetworks_asl26555-8m - define Device/alphanetworks_asl26555-16m MTK_SOC := rt3050 IMAGE_SIZE := 15872k @@ -156,6 +133,25 @@ define Device/alphanetworks_asl26555-16m endef TARGET_DEVICES += alphanetworks_asl26555-16m +define Device/alphanetworks_asl26555-8m + MTK_SOC := rt3050 + IMAGE_SIZE := 7744k + DEVICE_VENDOR := Alpha + DEVICE_MODEL := ASL26555 + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += asl26555 asl26555-8M +endef +TARGET_DEVICES += alphanetworks_asl26555-8m + +define Device/arcwireless_freestation5 + MTK_SOC := rt3050 + DEVICE_VENDOR := ARC Wireless + DEVICE_MODEL := FreeStation + DEVICE_PACKAGES := kmod-usb-dwc2 kmod-rt2500-usb kmod-rt2800-usb kmod-rt2x00-usb + SUPPORTED_DEVICES += freestation5 +endef +TARGET_DEVICES += arcwireless_freestation5 + define Device/argus_atp-52b MTK_SOC := rt3052 IMAGE_SIZE := 7808k @@ -165,6 +161,16 @@ define Device/argus_atp-52b endef TARGET_DEVICES += argus_atp-52b +define Device/asiarf_awapn2403 + MTK_SOC := rt3052 + BLOCKSIZE := 4k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := AsiaRF + DEVICE_MODEL := AWAPN2403 + SUPPORTED_DEVICES += awapn2403 +endef +TARGET_DEVICES += asiarf_awapn2403 + define Device/asiarf_awm002-evb-4m MTK_SOC := rt5350 IMAGE_SIZE := $(ralink_default_fw_size_4M) @@ -188,53 +194,107 @@ define Device/asiarf_awm002-evb-8m endef TARGET_DEVICES += asiarf_awm002-evb-8m -define Device/asiarf_awapn2403 - MTK_SOC := rt3052 +define Device/asus_rt-g32-b1 + MTK_SOC := rt3050 BLOCKSIZE := 4k IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := AsiaRF - DEVICE_MODEL := AWAPN2403 - SUPPORTED_DEVICES += awapn2403 + DEVICE_VENDOR := Asus + DEVICE_MODEL := RT-G32 + DEVICE_VARIANT := B1 + SUPPORTED_DEVICES += rt-g32-b1 endef -TARGET_DEVICES += asiarf_awapn2403 +TARGET_DEVICES += asus_rt-g32-b1 -define Device/nexaira_bc2 - MTK_SOC := rt3052 - DEVICE_VENDOR := NexAira - DEVICE_MODEL := BC2 - SUPPORTED_DEVICES += bc2 -endef -TARGET_DEVICES += nexaira_bc2 - -define Device/hauppauge_broadway - MTK_SOC := rt3052 - IMAGE_SIZE := 7744k - UIMAGE_NAME:= Broadway Kernel Image - DEVICE_VENDOR := Hauppauge - DEVICE_MODEL := Broadway - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport - SUPPORTED_DEVICES += broadway -endef -TARGET_DEVICES += hauppauge_broadway - -define Device/8devices_carambola - MTK_SOC := rt3050 - DEVICE_VENDOR := 8devices - DEVICE_MODEL := Carambola - DEVICE_PACKAGES := - SUPPORTED_DEVICES += carambola -endef -TARGET_DEVICES += 8devices_carambola - -define Device/huawei_d105 +define Device/asus_rt-n10-plus MTK_SOC := rt3050 BLOCKSIZE := 64k IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := Huawei - DEVICE_MODEL := D105 - SUPPORTED_DEVICES += d105 + DEVICE_VENDOR := Asus + DEVICE_MODEL := RT-N10+ + SUPPORTED_DEVICES += rt-n10-plus endef -TARGET_DEVICES += huawei_d105 +TARGET_DEVICES += asus_rt-n10-plus + +define Device/asus_rt-n13u + MTK_SOC := rt3052 + DEVICE_VENDOR := Asus + DEVICE_MODEL := RT-N13U + DEVICE_PACKAGES := kmod-leds-gpio kmod-rt2800-pci kmod-usb-dwc2 + SUPPORTED_DEVICES += rt-n13u +endef +TARGET_DEVICES += asus_rt-n13u + +define Device/asus_wl-330n + MTK_SOC := rt3050 + BLOCKSIZE := 4k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := Asus + DEVICE_MODEL := WL-330N + SUPPORTED_DEVICES += wl-330n +endef +TARGET_DEVICES += asus_wl-330n + +define Device/asus_wl-330n3g + MTK_SOC := rt3050 + BLOCKSIZE := 4k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := Asus + DEVICE_MODEL := WL-330N3G + DEVICE_PACKAGES := + SUPPORTED_DEVICES += wl-330n3g +endef +TARGET_DEVICES += asus_wl-330n3g + +define Device/aximcom_mr-102n + MTK_SOC := rt3052 + DEVICE_VENDOR := AXIMCom + DEVICE_MODEL := MR-102N + SUPPORTED_DEVICES += mr-102n +endef +TARGET_DEVICES += aximcom_mr-102n + +define Device/aztech_hw550-3g + MTK_SOC := rt3052 + DEVICE_VENDOR := Aztech + DEVICE_MODEL := HW550-3G + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += hw550-3g +endef +TARGET_DEVICES += aztech_hw550-3g + +define Device/belkin_f5d8235-v2 + MTK_SOC := rt3052 + IMAGE_SIZE := 7744k + DEVICE_VENDOR := Belkin + DEVICE_MODEL := F5D8235 + DEVICE_VARIANT := v2 + DEVICE_PACKAGES := kmod-switch-rtl8366rb + SUPPORTED_DEVICES += f5d8235-v2 +endef +TARGET_DEVICES += belkin_f5d8235-v2 + +define Device/belkin_f7c027 + MTK_SOC := rt5352 + IMAGE_SIZE := 7616k + DEVICE_VENDOR := Belkin + DEVICE_MODEL := F7C027 + DEVICE_PACKAGES := -kmod-usb-core -kmod-usb-dwc2 -kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += f7c027 +endef +TARGET_DEVICES += belkin_f7c027 + +define Device/buffalo_whr-g300n + MTK_SOC := rt3052 + BLOCKSIZE := 64k + IMAGE_SIZE := 3801088 + DEVICE_VENDOR := Buffalo + DEVICE_MODEL := WHR-G300N + IMAGES += tftp.bin + IMAGE/tftp.bin := $$(sysupgrade_bin) | \ + check-size $$$$(IMAGE_SIZE) | buffalo-tftp-header + SUPPORTED_DEVICES += whr-g300n +endef +TARGET_DEVICES += buffalo_whr-g300n define Device/dlink_dap-1350 MTK_SOC := rt3052 @@ -345,7 +405,6 @@ define Device/dlink_dir-615-d endef TARGET_DEVICES += dlink_dir-615-d - define Device/dlink_dir-615-h1 MTK_SOC := rt3352 BLOCKSIZE := 4k @@ -398,6 +457,39 @@ define Device/dlink_dwr-512-b endef TARGET_DEVICES += dlink_dwr-512-b +define Device/easyacc_wizard-8800 + MTK_SOC := rt5350 + UIMAGE_NAME:= Linux Kernel Image + DEVICE_VENDOR := EasyAcc + DEVICE_MODEL := WIZARD 8800 + SUPPORTED_DEVICES += wizard8800 +endef +TARGET_DEVICES += easyacc_wizard-8800 + +define Device/edimax_3g-6200n + MTK_SOC := rt3050 + IMAGE_SIZE := 3648k + IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \ + edimax-header -s CSYS -m 3G62 -f 0x50000 -S 0x01100000 | pad-rootfs | \ + append-metadata | check-size $$$$(IMAGE_SIZE) + DEVICE_VENDOR := Edimax + DEVICE_MODEL := 3g-6200n + SUPPORTED_DEVICES += 3g-6200n +endef +TARGET_DEVICES += edimax_3g-6200n + +define Device/edimax_3g-6200nl + MTK_SOC := rt3050 + IMAGE_SIZE := 3648k + IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \ + edimax-header -s CSYS -m 3G62 -f 0x50000 -S 0x01100000 | pad-rootfs | \ + append-metadata | check-size $$$$(IMAGE_SIZE) + DEVICE_VENDOR := Edimax + DEVICE_MODEL := 3g-6200nl + SUPPORTED_DEVICES += 3g-6200nl +endef +TARGET_DEVICES += edimax_3g-6200nl + define Device/engenius_esr-9753 MTK_SOC := rt3052 BLOCKSIZE := 64k @@ -408,27 +500,6 @@ define Device/engenius_esr-9753 endef TARGET_DEVICES += engenius_esr-9753 -define Device/belkin_f5d8235-v2 - MTK_SOC := rt3052 - IMAGE_SIZE := 7744k - DEVICE_VENDOR := Belkin - DEVICE_MODEL := F5D8235 - DEVICE_VARIANT := v2 - DEVICE_PACKAGES := kmod-switch-rtl8366rb - SUPPORTED_DEVICES += f5d8235-v2 -endef -TARGET_DEVICES += belkin_f5d8235-v2 - -define Device/belkin_f7c027 - MTK_SOC := rt5352 - IMAGE_SIZE := 7616k - DEVICE_VENDOR := Belkin - DEVICE_MODEL := F7C027 - DEVICE_PACKAGES := -kmod-usb-core -kmod-usb-dwc2 -kmod-usb-ledtrig-usbport - SUPPORTED_DEVICES += f7c027 -endef -TARGET_DEVICES += belkin_f7c027 - define Device/fon_fonera-20n MTK_SOC := rt3052 IMAGES += factory.bin @@ -441,23 +512,40 @@ define Device/fon_fonera-20n endef TARGET_DEVICES += fon_fonera-20n -define Device/arcwireless_freestation5 - MTK_SOC := rt3050 - DEVICE_VENDOR := ARC Wireless - DEVICE_MODEL := FreeStation - DEVICE_PACKAGES := kmod-usb-dwc2 kmod-rt2500-usb kmod-rt2800-usb kmod-rt2x00-usb - SUPPORTED_DEVICES += freestation5 +define Device/hame_mpr-a1 + MTK_SOC := rt5350 + BLOCKSIZE := 4k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + UIMAGE_NAME:= Linux Kernel Image + DEVICE_VENDOR := HAME + DEVICE_MODEL := MPR + DEVICE_VARIANT := A1 + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-netdev + SUPPORTED_DEVICES += mpr-a1 endef -TARGET_DEVICES += arcwireless_freestation5 +TARGET_DEVICES += hame_mpr-a1 -define Device/huawei_hg255d - MTK_SOC := rt3052 - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := HuaWei - DEVICE_MODEL := HG255D - SUPPORTED_DEVICES += hg255d +define Device/hame_mpr-a2 + MTK_SOC := rt5350 + UIMAGE_NAME:= Linux Kernel Image + DEVICE_VENDOR := HAME + DEVICE_MODEL := MPR + DEVICE_VARIANT := A2 + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-netdev + SUPPORTED_DEVICES += mpr-a2 endef -TARGET_DEVICES += huawei_hg255d +TARGET_DEVICES += hame_mpr-a2 + +define Device/hauppauge_broadway + MTK_SOC := rt3052 + IMAGE_SIZE := 7744k + UIMAGE_NAME:= Broadway Kernel Image + DEVICE_VENDOR := Hauppauge + DEVICE_MODEL := Broadway + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += broadway +endef +TARGET_DEVICES += hauppauge_broadway define Device/hilink_hlk-rm04 MTK_SOC := rt5350 @@ -479,22 +567,36 @@ define Device/hootoo_ht-tm02 endef TARGET_DEVICES += hootoo_ht-tm02 -define Device/aztech_hw550-3g - MTK_SOC := rt3052 - DEVICE_VENDOR := Aztech - DEVICE_MODEL := HW550-3G - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport - SUPPORTED_DEVICES += hw550-3g +define Device/huawei_d105 + MTK_SOC := rt3050 + BLOCKSIZE := 64k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := Huawei + DEVICE_MODEL := D105 + SUPPORTED_DEVICES += d105 endef -TARGET_DEVICES += aztech_hw550-3g +TARGET_DEVICES += huawei_d105 -define Device/poray_ip2202 +define Device/huawei_hg255d MTK_SOC := rt3052 - DEVICE_VENDOR := Poray - DEVICE_MODEL := IP2202 - SUPPORTED_DEVICES += ip2202 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := HuaWei + DEVICE_MODEL := HG255D + SUPPORTED_DEVICES += hg255d endef -TARGET_DEVICES += poray_ip2202 +TARGET_DEVICES += huawei_hg255d + +define Device/intenso_memory2move + MTK_SOC := rt5350 + UIMAGE_NAME:= Linux Kernel Image + DEVICE_VENDOR := Intenso + DEVICE_MODEL := Memory 2 Move + DEVICE_PACKAGES := kmod-ledtrig-netdev kmod-ledtrig-timer \ + kmod-usb-core kmod-usb2 kmod-usb-storage kmod-scsi-core \ + kmod-fs-ext4 kmod-fs-vfat block-mount + SUPPORTED_DEVICES += m2m +endef +TARGET_DEVICES += intenso_memory2move define Device/jcg_jhr-n805r MTK_SOC := rt3050 @@ -532,17 +634,179 @@ define Device/jcg_jhr-n926r endef TARGET_DEVICES += jcg_jhr-n926r -define Device/intenso_memory2move - MTK_SOC := rt5350 - UIMAGE_NAME:= Linux Kernel Image - DEVICE_VENDOR := Intenso - DEVICE_MODEL := Memory 2 Move - DEVICE_PACKAGES := kmod-ledtrig-netdev kmod-ledtrig-timer \ - kmod-usb-core kmod-usb2 kmod-usb-storage kmod-scsi-core \ - kmod-fs-ext4 kmod-fs-vfat block-mount - SUPPORTED_DEVICES += m2m +define Device/mofinetwork_mofi3500-3gn + MTK_SOC := rt3052 + DEVICE_VENDOR := MoFi Network + DEVICE_MODEL := MOFI3500-3GN + SUPPORTED_DEVICES += mofi3500-3gn endef -TARGET_DEVICES += intenso_memory2move +TARGET_DEVICES += mofinetwork_mofi3500-3gn + +define Device/netcore_nw718 + MTK_SOC := rt3050 + IMAGE_SIZE := 3712k + UIMAGE_NAME:= ARA1B4NCRNW718;1 + DEVICE_VENDOR := Netcore + DEVICE_MODEL := NW718 + SUPPORTED_DEVICES += nw718 +endef +TARGET_DEVICES += netcore_nw718 + +define Device/netgear_wnce2001 + MTK_SOC := rt3052 + IMAGE_SIZE := $(ralink_default_fw_size_4M) + IMAGES += factory.bin factory-NA.bin + IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ + dap-header -s RT3052-AP-WNCE2001-3 -r WW -v 1.0.0.99 + IMAGE/factory-NA.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ + dap-header -s RT3052-AP-WNCE2001-3 -r NA -v 1.0.0.99 + DEVICE_VENDOR := NETGEAR + DEVICE_MODEL := WNCE2001 + SUPPORTED_DEVICES += wnce2001 +endef +TARGET_DEVICES += netgear_wnce2001 + +define Device/nexaira_bc2 + MTK_SOC := rt3052 + DEVICE_VENDOR := NexAira + DEVICE_MODEL := BC2 + SUPPORTED_DEVICES += bc2 +endef +TARGET_DEVICES += nexaira_bc2 + +define Device/nexx_wt1520-4m + MTK_SOC := rt5350 + IMAGE_SIZE := $(ralink_default_fw_size_4M) + IMAGES += factory.bin + IMAGE/factory.bin := \ + $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B WT1520 -F 4M + DEVICE_VENDOR := Nexx + DEVICE_MODEL := WT1520 + DEVICE_VARIANT := 4M + SUPPORTED_DEVICES += wt1520-4M +endef +TARGET_DEVICES += nexx_wt1520-4m + +define Device/nexx_wt1520-8m + MTK_SOC := rt5350 + IMAGES += factory.bin + IMAGE/factory.bin := \ + $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B WT1520 -F 8M + DEVICE_VENDOR := Nexx + DEVICE_MODEL := WT1520 + DEVICE_VARIANT := 8M + SUPPORTED_DEVICES += wt1520-8M +endef +TARGET_DEVICES += nexx_wt1520-8m + +define Device/nixcore_x1-16m + MTK_SOC := rt5350 + IMAGE_SIZE := 16064k + DEVICE_VENDOR := Nixcore + DEVICE_MODEL := X1 + DEVICE_VARIANT := 16M + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink kmod-spi-dev + SUPPORTED_DEVICES += nixcore-x1 nixcore-x1-16M +endef +TARGET_DEVICES += nixcore_x1-16m + +define Device/nixcore_x1-8m + MTK_SOC := rt5350 + IMAGE_SIZE := 7872k + DEVICE_VENDOR := Nixcore + DEVICE_MODEL := X1 + DEVICE_VARIANT := 8M + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink kmod-spi-dev + SUPPORTED_DEVICES += nixcore-x1 nixcore-x1-8M +endef +TARGET_DEVICES += nixcore_x1-8m + +define Device/olimex_rt5350f-olinuxino + MTK_SOC := rt5350 + DEVICE_VENDOR := OLIMEX + DEVICE_MODEL := RT5350F-OLinuXino + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \ + kmod-i2c-core kmod-i2c-ralink \ + kmod-spi-dev + SUPPORTED_DEVICES += rt5350f-olinuxino +endef +TARGET_DEVICES += olimex_rt5350f-olinuxino + +define Device/olimex_rt5350f-olinuxino-evb + MTK_SOC := rt5350 + DEVICE_VENDOR := OLIMEX + DEVICE_MODEL := RT5350F-OLinuXino-EVB + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \ + kmod-i2c-core kmod-i2c-ralink \ + kmod-spi-dev + SUPPORTED_DEVICES += rt5350f-olinuxino-evb +endef +TARGET_DEVICES += olimex_rt5350f-olinuxino-evb + +define Device/omnima_miniembplug + MTK_SOC := rt5350 + DEVICE_VENDOR := Omnima + DEVICE_MODEL := MiniEMBPlug + SUPPORTED_DEVICES += miniembplug +endef +TARGET_DEVICES += omnima_miniembplug + +define Device/omnima_miniembwifi + MTK_SOC := rt3052 + DEVICE_VENDOR := Omnima + DEVICE_MODEL := MiniEMBWiFi + SUPPORTED_DEVICES += miniembwifi +endef +TARGET_DEVICES += omnima_miniembwifi + +define Device/petatel_psr-680w + MTK_SOC := rt3052 + BLOCKSIZE := 64k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := Petatel + DEVICE_MODEL := PSR-680W Wireless 3G Router + SUPPORTED_DEVICES += psr-680w +endef +TARGET_DEVICES += petatel_psr-680w + +define Device/planex_mzk-dp150n + MTK_SOC := rt5350 + BLOCKSIZE := 64k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := Planex + DEVICE_MODEL := MZK-DP150N + DEVICE_PACKAGES := kmod-spi-dev + SUPPORTED_DEVICES += mzk-dp150n +endef +TARGET_DEVICES += planex_mzk-dp150n + +define Device/planex_mzk-w300nh2 + MTK_SOC := rt3052 + IMAGE_SIZE := 3648k + IMAGES += factory.bin + IMAGE/factory.bin := $$(sysupgrade_bin) | \ + edimax-header -s CSYS -m RN52 -f 0x50000 -S 0xc0000 + DEVICE_VENDOR := Planex + DEVICE_MODEL := MZK-W300NH2 + SUPPORTED_DEVICES += mzk-w300nh2 +endef +TARGET_DEVICES += planex_mzk-w300nh2 + +define Device/planex_mzk-wdpr + MTK_SOC := rt3052 + DEVICE_VENDOR := Planex + DEVICE_MODEL := MZK-WDPR + SUPPORTED_DEVICES += mzk-wdpr +endef +TARGET_DEVICES += planex_mzk-wdpr + +define Device/poray_ip2202 + MTK_SOC := rt3052 + DEVICE_VENDOR := Poray + DEVICE_MODEL := IP2202 + SUPPORTED_DEVICES += ip2202 +endef +TARGET_DEVICES += poray_ip2202 define Device/poray_m3 MTK_SOC := rt5350 @@ -586,513 +850,6 @@ define Device/poray_m4-8m endef TARGET_DEVICES += poray_m4-8m -define Device/omnima_miniembplug - MTK_SOC := rt5350 - DEVICE_VENDOR := Omnima - DEVICE_MODEL := MiniEMBPlug - SUPPORTED_DEVICES += miniembplug -endef -TARGET_DEVICES += omnima_miniembplug - -define Device/omnima_miniembwifi - MTK_SOC := rt3052 - DEVICE_VENDOR := Omnima - DEVICE_MODEL := MiniEMBWiFi - SUPPORTED_DEVICES += miniembwifi -endef -TARGET_DEVICES += omnima_miniembwifi - -define Device/mofinetwork_mofi3500-3gn - MTK_SOC := rt3052 - DEVICE_VENDOR := MoFi Network - DEVICE_MODEL := MOFI3500-3GN - SUPPORTED_DEVICES += mofi3500-3gn -endef -TARGET_DEVICES += mofinetwork_mofi3500-3gn - -define Device/hame_mpr-a1 - MTK_SOC := rt5350 - BLOCKSIZE := 4k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - UIMAGE_NAME:= Linux Kernel Image - DEVICE_VENDOR := HAME - DEVICE_MODEL := MPR - DEVICE_VARIANT := A1 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-netdev - SUPPORTED_DEVICES += mpr-a1 -endef -TARGET_DEVICES += hame_mpr-a1 - -define Device/hame_mpr-a2 - MTK_SOC := rt5350 - UIMAGE_NAME:= Linux Kernel Image - DEVICE_VENDOR := HAME - DEVICE_MODEL := MPR - DEVICE_VARIANT := A2 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-netdev - SUPPORTED_DEVICES += mpr-a2 -endef -TARGET_DEVICES += hame_mpr-a2 - -define Device/aximcom_mr-102n - MTK_SOC := rt3052 - DEVICE_VENDOR := AXIMCom - DEVICE_MODEL := MR-102N - SUPPORTED_DEVICES += mr-102n -endef -TARGET_DEVICES += aximcom_mr-102n - -define Device/planex_mzk-dp150n - MTK_SOC := rt5350 - BLOCKSIZE := 64k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := Planex - DEVICE_MODEL := MZK-DP150N - DEVICE_PACKAGES := kmod-spi-dev - SUPPORTED_DEVICES += mzk-dp150n -endef -TARGET_DEVICES += planex_mzk-dp150n - -define Device/planex_mzk-w300nh2 - MTK_SOC := rt3052 - IMAGE_SIZE := 3648k - IMAGES += factory.bin - IMAGE/factory.bin := $$(sysupgrade_bin) | \ - edimax-header -s CSYS -m RN52 -f 0x50000 -S 0xc0000 - DEVICE_VENDOR := Planex - DEVICE_MODEL := MZK-W300NH2 - SUPPORTED_DEVICES += mzk-w300nh2 -endef -TARGET_DEVICES += planex_mzk-w300nh2 - -define Device/planex_mzk-wdpr - MTK_SOC := rt3052 - DEVICE_VENDOR := Planex - DEVICE_MODEL := MZK-WDPR - SUPPORTED_DEVICES += mzk-wdpr -endef -TARGET_DEVICES += planex_mzk-wdpr - -define Device/zyxel_nbg-419n - MTK_SOC := rt3052 - BLOCKSIZE := 64k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := ZyXEL - DEVICE_MODEL := NBG-419N - SUPPORTED_DEVICES += nbg-419n -endef -TARGET_DEVICES += zyxel_nbg-419n - -define Device/zyxel_nbg-419n-v2 - MTK_SOC := rt3352 - IMAGE_SIZE := $(ralink_default_fw_size_8M) - DEVICE_VENDOR := ZyXEL - DEVICE_MODEL := NBG-419N - DEVICE_VARIANT := v2 - SUPPORTED_DEVICES += nbg-419n2 -endef -TARGET_DEVICES += zyxel_nbg-419n-v2 - -define Device/wansview_ncs601w - MTK_SOC := rt5350 - DEVICE_VENDOR := Wansview - DEVICE_MODEL := NCS601W - DEVICE_PACKAGES := kmod-video-core kmod-video-uvc \ - kmod-usb-core kmod-usb-ohci - SUPPORTED_DEVICES += ncs601w -endef -TARGET_DEVICES += wansview_ncs601w - -define Device/nixcore_x1-8m - MTK_SOC := rt5350 - IMAGE_SIZE := 7872k - DEVICE_VENDOR := Nixcore - DEVICE_MODEL := X1 - DEVICE_VARIANT := 8M - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink kmod-spi-dev - SUPPORTED_DEVICES += nixcore-x1 nixcore-x1-8M -endef -TARGET_DEVICES += nixcore_x1-8m - -define Device/nixcore_x1-16m - MTK_SOC := rt5350 - IMAGE_SIZE := 16064k - DEVICE_VENDOR := Nixcore - DEVICE_MODEL := X1 - DEVICE_VARIANT := 16M - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink kmod-spi-dev - SUPPORTED_DEVICES += nixcore-x1 nixcore-x1-16M -endef -TARGET_DEVICES += nixcore_x1-16m - -define Device/netcore_nw718 - MTK_SOC := rt3050 - IMAGE_SIZE := 3712k - UIMAGE_NAME:= ARA1B4NCRNW718;1 - DEVICE_VENDOR := Netcore - DEVICE_MODEL := NW718 - SUPPORTED_DEVICES += nw718 -endef -TARGET_DEVICES += netcore_nw718 - -define Device/petatel_psr-680w - MTK_SOC := rt3052 - BLOCKSIZE := 64k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := Petatel - DEVICE_MODEL := PSR-680W Wireless 3G Router - SUPPORTED_DEVICES += psr-680w -endef -TARGET_DEVICES += petatel_psr-680w - -define Device/prolink_pwh2004 - MTK_SOC := rt3052 - DEVICE_VENDOR := Prolink - DEVICE_MODEL := PWH2004 - DEVICE_PACKAGES := - SUPPORTED_DEVICES += pwh2004 -endef -TARGET_DEVICES += prolink_pwh2004 - -define Device/7links_px-4885-4m - MTK_SOC := rt5350 - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := 7Links - DEVICE_MODEL := PX-4885 - DEVICE_VARIANT := 4M - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci \ - kmod-usb-ledtrig-usbport kmod-leds-gpio - SUPPORTED_DEVICES += px-4885-4M -endef -TARGET_DEVICES += 7links_px-4885-4m - -define Device/7links_px-4885-8m - MTK_SOC := rt5350 - DEVICE_VENDOR := 7Links - DEVICE_MODEL := PX-4885 - DEVICE_VARIANT := 8M - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci \ - kmod-usb-ledtrig-usbport kmod-leds-gpio - SUPPORTED_DEVICES += px-4885-8M -endef -TARGET_DEVICES += 7links_px-4885-8m - -define Device/olimex_rt5350f-olinuxino - MTK_SOC := rt5350 - DEVICE_VENDOR := OLIMEX - DEVICE_MODEL := RT5350F-OLinuXino - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \ - kmod-i2c-core kmod-i2c-ralink \ - kmod-spi-dev - SUPPORTED_DEVICES += rt5350f-olinuxino -endef -TARGET_DEVICES += olimex_rt5350f-olinuxino - -define Device/olimex_rt5350f-olinuxino-evb - MTK_SOC := rt5350 - DEVICE_VENDOR := OLIMEX - DEVICE_MODEL := RT5350F-OLinuXino-EVB - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \ - kmod-i2c-core kmod-i2c-ralink \ - kmod-spi-dev - SUPPORTED_DEVICES += rt5350f-olinuxino-evb -endef -TARGET_DEVICES += olimex_rt5350f-olinuxino-evb - -define Device/asus_rt-g32-b1 - MTK_SOC := rt3050 - BLOCKSIZE := 4k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := Asus - DEVICE_MODEL := RT-G32 - DEVICE_VARIANT := B1 - SUPPORTED_DEVICES += rt-g32-b1 -endef -TARGET_DEVICES += asus_rt-g32-b1 - -define Device/asus_rt-n10-plus - MTK_SOC := rt3050 - BLOCKSIZE := 64k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := Asus - DEVICE_MODEL := RT-N10+ - SUPPORTED_DEVICES += rt-n10-plus -endef -TARGET_DEVICES += asus_rt-n10-plus - -define Device/asus_rt-n13u - MTK_SOC := rt3052 - DEVICE_VENDOR := Asus - DEVICE_MODEL := RT-N13U - DEVICE_PACKAGES := kmod-leds-gpio kmod-rt2800-pci kmod-usb-dwc2 - SUPPORTED_DEVICES += rt-n13u -endef -TARGET_DEVICES += asus_rt-n13u - -define Device/teltonika_rut5xx - MTK_SOC := rt3050 - DEVICE_VENDOR := Teltonika - DEVICE_MODEL := RUT5XX - DEVICE_PACKAGES := om-watchdog - SUPPORTED_DEVICES += rut5xx -endef -TARGET_DEVICES += teltonika_rut5xx - -define Device/skyline_sl-r7205 - MTK_SOC := rt3052 - BLOCKSIZE := 64k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := Skyline - DEVICE_MODEL := SL-R7205 Wireless 3G Router - SUPPORTED_DEVICES += sl-r7205 -endef -TARGET_DEVICES += skyline_sl-r7205 - -define Device/trendnet_tew-638apb-v2 - MTK_SOC := rt3050 - BLOCKSIZE := 64k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - IMAGE/sysupgrade.bin := $$(sysupgrade_bin) | umedia-header 0x026382 | \ - append-metadata | check-size $$$$(IMAGE_SIZE) - DEVICE_VENDOR := TRENDnet - DEVICE_MODEL := TEW-638APB - DEVICE_VARIANT := v2 - SUPPORTED_DEVICES += tew-638apb-v2 -endef -TARGET_DEVICES += trendnet_tew-638apb-v2 - -define Device/trendnet_tew-714tru - MTK_SOC := rt5350 - DEVICE_VENDOR := TRENDnet - DEVICE_MODEL := TEW-714TRU - SUPPORTED_DEVICES += tew-714tru -endef -TARGET_DEVICES += trendnet_tew-714tru - -define Device/upvel_ur-326n4g - MTK_SOC := rt3052 - BLOCKSIZE := 64k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := UPVEL - DEVICE_MODEL := UR-326N4G - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport - SUPPORTED_DEVICES += ur-326n4g -endef -TARGET_DEVICES += upvel_ur-326n4g - -define Device/upvel_ur-336un - MTK_SOC := rt3052 - DEVICE_VENDOR := UPVEL - DEVICE_MODEL := UR-336UN - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport - SUPPORTED_DEVICES += ur-336un -endef -TARGET_DEVICES += upvel_ur-336un - -define Device/ralink_v22rw-2x2 - MTK_SOC := rt3052 - BLOCKSIZE := 64k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := Ralink - DEVICE_MODEL := AP-RT3052-V22RW-2X2 - SUPPORTED_DEVICES += v22rw-2x2 -endef -TARGET_DEVICES += ralink_v22rw-2x2 - -define Device/vocore_vocore-8m - MTK_SOC := rt5350 - IMAGE_SIZE := 7872k - DEVICE_VENDOR := VoCore - DEVICE_MODEL := VoCore - DEVICE_VARIANT := 8M - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \ - kmod-i2c-core kmod-i2c-ralink \ - kmod-spi-dev - SUPPORTED_DEVICES += vocore vocore-8M -endef -TARGET_DEVICES += vocore_vocore-8m - -define Device/vocore_vocore-16m - MTK_SOC := rt5350 - IMAGE_SIZE := 16064k - DEVICE_VENDOR := VoCore - DEVICE_MODEL := VoCore - DEVICE_VARIANT := 16M - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \ - kmod-i2c-core kmod-i2c-ralink \ - kmod-spi-dev - SUPPORTED_DEVICES += vocore vocore-16M -endef -TARGET_DEVICES += vocore_vocore-16m - -define Device/tenda_w150m - MTK_SOC := rt3050 - IMAGE_SIZE := $(ralink_default_fw_size_4M) - UIMAGE_NAME:= W150M Kernel Image - DEVICE_VENDOR := Tenda - DEVICE_MODEL := W150M - SUPPORTED_DEVICES += w150m -endef -TARGET_DEVICES += tenda_w150m - -define Device/tenda_w306r-v2 - MTK_SOC := rt3052 - IMAGE_SIZE := $(ralink_default_fw_size_4M) - UIMAGE_NAME:= linkn Kernel Image - DEVICE_VENDOR := Tenda - DEVICE_MODEL := W306R - DEVICE_VARIANT := V2.0 - SUPPORTED_DEVICES += w306r-v20 -endef -TARGET_DEVICES += tenda_w306r-v2 - -define Device/alfa-network_w502u - MTK_SOC := rt3052 - DEVICE_VENDOR := ALFA - DEVICE_MODEL := Networks W502U - SUPPORTED_DEVICES += w502u -endef -TARGET_DEVICES += alfa-network_w502u - -define Device/sparklan_wcr-150gn - MTK_SOC := rt3050 - BLOCKSIZE := 64k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := Sparklan - DEVICE_MODEL := WCR-150GN - SUPPORTED_DEVICES += wcr-150gn -endef -TARGET_DEVICES += sparklan_wcr-150gn - -define Device/buffalo_whr-g300n - MTK_SOC := rt3052 - BLOCKSIZE := 64k - IMAGE_SIZE := 3801088 - DEVICE_VENDOR := Buffalo - DEVICE_MODEL := WHR-G300N - IMAGES += tftp.bin - IMAGE/tftp.bin := $$(sysupgrade_bin) | \ - check-size $$$$(IMAGE_SIZE) | buffalo-tftp-header - SUPPORTED_DEVICES += whr-g300n -endef -TARGET_DEVICES += buffalo_whr-g300n - -define Device/easyacc_wizard-8800 - MTK_SOC := rt5350 - UIMAGE_NAME:= Linux Kernel Image - DEVICE_VENDOR := EasyAcc - DEVICE_MODEL := WIZARD 8800 - SUPPORTED_DEVICES += wizard8800 -endef -TARGET_DEVICES += easyacc_wizard-8800 - -define Device/wiznet_wizfi630a - MTK_SOC := rt5350 - IMAGE_SIZE := $(ralink_default_fw_size_16M) - DEVICE_VENDOR := WIZnet - DEVICE_MODEL := WizFi630A - SUPPORTED_DEVICES += wizfi630a -endef -TARGET_DEVICES += wiznet_wizfi630a - -define Device/asus_wl-330n - MTK_SOC := rt3050 - BLOCKSIZE := 4k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := Asus - DEVICE_MODEL := WL-330N - SUPPORTED_DEVICES += wl-330n -endef -TARGET_DEVICES += asus_wl-330n - -define Device/asus_wl-330n3g - MTK_SOC := rt3050 - BLOCKSIZE := 4k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := Asus - DEVICE_MODEL := WL-330N3G - DEVICE_PACKAGES := - SUPPORTED_DEVICES += wl-330n3g -endef -TARGET_DEVICES += asus_wl-330n3g - -define Device/sitecom_wl-351 - MTK_SOC := rt3052 - BLOCKSIZE := 64k - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := Sitecom - DEVICE_MODEL := WL-351 v1 - DEVICE_PACKAGES := kmod-switch-rtl8366rb kmod-swconfig swconfig - SUPPORTED_DEVICES += wl-351 -endef -TARGET_DEVICES += sitecom_wl-351 - -define Device/netgear_wnce2001 - MTK_SOC := rt3052 - IMAGE_SIZE := $(ralink_default_fw_size_4M) - IMAGES += factory.bin factory-NA.bin - IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ - dap-header -s RT3052-AP-WNCE2001-3 -r WW -v 1.0.0.99 - IMAGE/factory-NA.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ - dap-header -s RT3052-AP-WNCE2001-3 -r NA -v 1.0.0.99 - DEVICE_VENDOR := NETGEAR - DEVICE_MODEL := WNCE2001 - SUPPORTED_DEVICES += wnce2001 -endef -TARGET_DEVICES += netgear_wnce2001 - -define Device/unbranded_wr512-3gn-4m - MTK_SOC := rt3052 - IMAGE_SIZE := $(ralink_default_fw_size_4M) - DEVICE_VENDOR := Ralink - DEVICE_MODEL := WR512-3GN - DEVICE_VARIANT := 4M - SUPPORTED_DEVICES += wr512-3gn-4M -endef -TARGET_DEVICES += unbranded_wr512-3gn-4m - -define Device/unbranded_wr512-3gn-8m - MTK_SOC := rt3052 - DEVICE_VENDOR := Ralink - DEVICE_MODEL := WR512-3GN - DEVICE_VARIANT := 8M - SUPPORTED_DEVICES += wr512-3gn-8M -endef -TARGET_DEVICES += unbranded_wr512-3gn-8m - -define Device/accton_wr6202 - MTK_SOC := rt3052 - DEVICE_VENDOR := Accton - DEVICE_MODEL := WR6202 - SUPPORTED_DEVICES += wr6202 -endef -TARGET_DEVICES += accton_wr6202 - -define Device/nexx_wt1520-4m - MTK_SOC := rt5350 - IMAGE_SIZE := $(ralink_default_fw_size_4M) - IMAGES += factory.bin - IMAGE/factory.bin := \ - $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B WT1520 -F 4M - DEVICE_VENDOR := Nexx - DEVICE_MODEL := WT1520 - DEVICE_VARIANT := 4M - SUPPORTED_DEVICES += wt1520-4M -endef -TARGET_DEVICES += nexx_wt1520-4m - -define Device/nexx_wt1520-8m - MTK_SOC := rt5350 - IMAGES += factory.bin - IMAGE/factory.bin := \ - $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B WT1520 -F 8M - DEVICE_VENDOR := Nexx - DEVICE_MODEL := WT1520 - DEVICE_VARIANT := 8M - SUPPORTED_DEVICES += wt1520-8M -endef -TARGET_DEVICES += nexx_wt1520-8m - define Device/poray_x5 MTK_SOC := rt5350 IMAGES += factory.bin @@ -1117,6 +874,162 @@ define Device/poray_x8 endef TARGET_DEVICES += poray_x8 +define Device/prolink_pwh2004 + MTK_SOC := rt3052 + DEVICE_VENDOR := Prolink + DEVICE_MODEL := PWH2004 + DEVICE_PACKAGES := + SUPPORTED_DEVICES += pwh2004 +endef +TARGET_DEVICES += prolink_pwh2004 + +define Device/ralink_v22rw-2x2 + MTK_SOC := rt3052 + BLOCKSIZE := 64k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := Ralink + DEVICE_MODEL := AP-RT3052-V22RW-2X2 + SUPPORTED_DEVICES += v22rw-2x2 +endef +TARGET_DEVICES += ralink_v22rw-2x2 + +define Device/sitecom_wl-351 + MTK_SOC := rt3052 + BLOCKSIZE := 64k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := Sitecom + DEVICE_MODEL := WL-351 v1 + DEVICE_PACKAGES := kmod-switch-rtl8366rb kmod-swconfig swconfig + SUPPORTED_DEVICES += wl-351 +endef +TARGET_DEVICES += sitecom_wl-351 + +define Device/skyline_sl-r7205 + MTK_SOC := rt3052 + BLOCKSIZE := 64k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := Skyline + DEVICE_MODEL := SL-R7205 Wireless 3G Router + SUPPORTED_DEVICES += sl-r7205 +endef +TARGET_DEVICES += skyline_sl-r7205 + +define Device/sparklan_wcr-150gn + MTK_SOC := rt3050 + BLOCKSIZE := 64k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := Sparklan + DEVICE_MODEL := WCR-150GN + SUPPORTED_DEVICES += wcr-150gn +endef +TARGET_DEVICES += sparklan_wcr-150gn + +define Device/teltonika_rut5xx + MTK_SOC := rt3050 + DEVICE_VENDOR := Teltonika + DEVICE_MODEL := RUT5XX + DEVICE_PACKAGES := om-watchdog + SUPPORTED_DEVICES += rut5xx +endef +TARGET_DEVICES += teltonika_rut5xx + +define Device/tenda_3g150b + MTK_SOC := rt5350 + BLOCKSIZE := 4k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + UIMAGE_NAME:= Linux Kernel Image + DEVICE_VENDOR := Tenda + DEVICE_MODEL := 3G150B + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += 3g150b +endef +TARGET_DEVICES += tenda_3g150b + +define Device/tenda_3g300m + MTK_SOC := rt3052 + IMAGE_SIZE := $(ralink_default_fw_size_4M) + UIMAGE_NAME := 3G150M_SPI Kernel Image + DEVICE_VENDOR := Tenda + DEVICE_MODEL := 3G300M + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += 3g300m +endef +TARGET_DEVICES += tenda_3g300m + +define Device/tenda_w150m + MTK_SOC := rt3050 + IMAGE_SIZE := $(ralink_default_fw_size_4M) + UIMAGE_NAME:= W150M Kernel Image + DEVICE_VENDOR := Tenda + DEVICE_MODEL := W150M + SUPPORTED_DEVICES += w150m +endef +TARGET_DEVICES += tenda_w150m + +define Device/tenda_w306r-v2 + MTK_SOC := rt3052 + IMAGE_SIZE := $(ralink_default_fw_size_4M) + UIMAGE_NAME:= linkn Kernel Image + DEVICE_VENDOR := Tenda + DEVICE_MODEL := W306R + DEVICE_VARIANT := V2.0 + SUPPORTED_DEVICES += w306r-v20 +endef +TARGET_DEVICES += tenda_w306r-v2 + +define Device/trendnet_tew-638apb-v2 + MTK_SOC := rt3050 + BLOCKSIZE := 64k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + IMAGE/sysupgrade.bin := $$(sysupgrade_bin) | umedia-header 0x026382 | \ + append-metadata | check-size $$$$(IMAGE_SIZE) + DEVICE_VENDOR := TRENDnet + DEVICE_MODEL := TEW-638APB + DEVICE_VARIANT := v2 + SUPPORTED_DEVICES += tew-638apb-v2 +endef +TARGET_DEVICES += trendnet_tew-638apb-v2 + +define Device/trendnet_tew-714tru + MTK_SOC := rt5350 + DEVICE_VENDOR := TRENDnet + DEVICE_MODEL := TEW-714TRU + SUPPORTED_DEVICES += tew-714tru +endef +TARGET_DEVICES += trendnet_tew-714tru + +define Device/unbranded_a5-v11 + MTK_SOC := rt5350 + IMAGE_SIZE := $(ralink_default_fw_size_4M) + IMAGES += factory.bin + IMAGE/factory.bin := \ + $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B A5-V11 -F 4M + DEVICE_VENDOR := + DEVICE_MODEL := A5-V11 + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 + SUPPORTED_DEVICES += a5-v11 +endef +TARGET_DEVICES += unbranded_a5-v11 + +define Device/unbranded_wr512-3gn-4m + MTK_SOC := rt3052 + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := Ralink + DEVICE_MODEL := WR512-3GN + DEVICE_VARIANT := 4M + SUPPORTED_DEVICES += wr512-3gn-4M +endef +TARGET_DEVICES += unbranded_wr512-3gn-4m + +define Device/unbranded_wr512-3gn-8m + MTK_SOC := rt3052 + DEVICE_VENDOR := Ralink + DEVICE_MODEL := WR512-3GN + DEVICE_VARIANT := 8M + SUPPORTED_DEVICES += wr512-3gn-8M +endef +TARGET_DEVICES += unbranded_wr512-3gn-8m + define Device/unbranded_xdx-rn502j MTK_SOC := rt3052 BLOCKSIZE := 64k @@ -1127,6 +1040,79 @@ define Device/unbranded_xdx-rn502j endef TARGET_DEVICES += unbranded_xdx-rn502j +define Device/upvel_ur-326n4g + MTK_SOC := rt3052 + BLOCKSIZE := 64k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := UPVEL + DEVICE_MODEL := UR-326N4G + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += ur-326n4g +endef +TARGET_DEVICES += upvel_ur-326n4g + +define Device/upvel_ur-336un + MTK_SOC := rt3052 + DEVICE_VENDOR := UPVEL + DEVICE_MODEL := UR-336UN + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport + SUPPORTED_DEVICES += ur-336un +endef +TARGET_DEVICES += upvel_ur-336un + +define Device/vocore_vocore-16m + MTK_SOC := rt5350 + IMAGE_SIZE := 16064k + DEVICE_VENDOR := VoCore + DEVICE_MODEL := VoCore + DEVICE_VARIANT := 16M + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \ + kmod-i2c-core kmod-i2c-ralink \ + kmod-spi-dev + SUPPORTED_DEVICES += vocore vocore-16M +endef +TARGET_DEVICES += vocore_vocore-16m + +define Device/vocore_vocore-8m + MTK_SOC := rt5350 + IMAGE_SIZE := 7872k + DEVICE_VENDOR := VoCore + DEVICE_MODEL := VoCore + DEVICE_VARIANT := 8M + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \ + kmod-i2c-core kmod-i2c-ralink \ + kmod-spi-dev + SUPPORTED_DEVICES += vocore vocore-8M +endef +TARGET_DEVICES += vocore_vocore-8m + +define Device/wansview_ncs601w + MTK_SOC := rt5350 + DEVICE_VENDOR := Wansview + DEVICE_MODEL := NCS601W + DEVICE_PACKAGES := kmod-video-core kmod-video-uvc \ + kmod-usb-core kmod-usb-ohci + SUPPORTED_DEVICES += ncs601w +endef +TARGET_DEVICES += wansview_ncs601w + +define Device/wiznet_wizfi630a + MTK_SOC := rt5350 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_VENDOR := WIZnet + DEVICE_MODEL := WizFi630A + SUPPORTED_DEVICES += wizfi630a +endef +TARGET_DEVICES += wiznet_wizfi630a + +define Device/zorlik_zl5900v2 + MTK_SOC := rt5350 + DEVICE_VENDOR := Zorlik + DEVICE_MODEL := ZL5900V2 + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-netdev +endef +TARGET_DEVICES += zorlik_zl5900v2 + define Device/zyxel_keenetic MTK_SOC := rt3052 BLOCKSIZE := 64k @@ -1146,10 +1132,22 @@ define Device/zyxel_keenetic-start endef TARGET_DEVICES += zyxel_keenetic-start -define Device/zorlik_zl5900v2 - MTK_SOC := rt5350 - DEVICE_VENDOR := Zorlik - DEVICE_MODEL := ZL5900V2 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-netdev +define Device/zyxel_nbg-419n + MTK_SOC := rt3052 + BLOCKSIZE := 64k + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_VENDOR := ZyXEL + DEVICE_MODEL := NBG-419N + SUPPORTED_DEVICES += nbg-419n endef -TARGET_DEVICES += zorlik_zl5900v2 +TARGET_DEVICES += zyxel_nbg-419n + +define Device/zyxel_nbg-419n-v2 + MTK_SOC := rt3352 + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_VENDOR := ZyXEL + DEVICE_MODEL := NBG-419N + DEVICE_VARIANT := v2 + SUPPORTED_DEVICES += nbg-419n2 +endef +TARGET_DEVICES += zyxel_nbg-419n-v2 diff --git a/target/linux/ramips/image/rt3883.mk b/target/linux/ramips/image/rt3883.mk index 0adb39eab17..d96224e4250 100644 --- a/target/linux/ramips/image/rt3883.mk +++ b/target/linux/ramips/image/rt3883.mk @@ -5,47 +5,16 @@ define Build/mkrtn56uimg $(STAGING_DIR_HOST)/bin/mkrtn56uimg $(1) $@ endef -define Device/edimax_br-6475nd +define Device/asus_rt-n56u MTK_SOC := rt3883 BLOCKSIZE := 64k - IMAGE_SIZE := 7744k - IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \ - edimax-header -s CSYS -m RN54 -f 0x70000 -S 0x01100000 | pad-rootfs | \ - append-metadata | check-size $$$$(IMAGE_SIZE) - DEVICE_VENDOR := Edimax - DEVICE_MODEL := BR-6475nD - DEVICE_PACKAGES := swconfig - SUPPORTED_DEVICES += br-6475nd -endef -TARGET_DEVICES += edimax_br-6475nd - -define Device/samsung_cy-swr1100 - $(Device/seama) - MTK_SOC := rt3883 - BLOCKSIZE := 64k - KERNEL := $(KERNEL_DTB) - SEAMA_SIGNATURE := wrgnd10_samsung_ss815 - DEVICE_VENDOR := Samsung - DEVICE_MODEL := CY-SWR1100 + IMAGE/sysupgrade.bin += | mkrtn56uimg -s + DEVICE_VENDOR := Asus + DEVICE_MODEL := RT-N56U DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig - SUPPORTED_DEVICES += cy-swr1100 + SUPPORTED_DEVICES += rt-n56u endef -TARGET_DEVICES += samsung_cy-swr1100 - - -define Device/dlink_dir-645 - $(Device/seama) - MTK_SOC := rt3883 - BLOCKSIZE := 4k - KERNEL := $(KERNEL_DTB) - SEAMA_SIGNATURE := wrgn39_dlob.hans_dir645 - DEVICE_VENDOR := D-Link - DEVICE_MODEL := DIR-645 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig - SUPPORTED_DEVICES += dir-645 -endef -TARGET_DEVICES += dlink_dir-645 - +TARGET_DEVICES += asus_rt-n56u define Device/belkin_f9k1109v1 MTK_SOC := rt3883 @@ -61,6 +30,42 @@ define Device/belkin_f9k1109v1 endef TARGET_DEVICES += belkin_f9k1109v1 +define Device/dlink_dir-645 + $(Device/seama) + MTK_SOC := rt3883 + BLOCKSIZE := 4k + KERNEL := $(KERNEL_DTB) + SEAMA_SIGNATURE := wrgn39_dlob.hans_dir645 + DEVICE_VENDOR := D-Link + DEVICE_MODEL := DIR-645 + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig + SUPPORTED_DEVICES += dir-645 +endef +TARGET_DEVICES += dlink_dir-645 + +define Device/edimax_br-6475nd + MTK_SOC := rt3883 + BLOCKSIZE := 64k + IMAGE_SIZE := 7744k + IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \ + edimax-header -s CSYS -m RN54 -f 0x70000 -S 0x01100000 | pad-rootfs | \ + append-metadata | check-size $$$$(IMAGE_SIZE) + DEVICE_VENDOR := Edimax + DEVICE_MODEL := BR-6475nD + DEVICE_PACKAGES := swconfig + SUPPORTED_DEVICES += br-6475nd +endef +TARGET_DEVICES += edimax_br-6475nd + +define Device/loewe_wmdr-143n + MTK_SOC := rt3883 + BLOCKSIZE := 64k + DEVICE_VENDOR := Loewe + DEVICE_MODEL := WMDR-143N + SUPPORTED_DEVICES += wmdr-143n +endef +TARGET_DEVICES += loewe_wmdr-143n + define Device/omnima_hpm MTK_SOC := rt3883 BLOCKSIZE := 64k @@ -72,46 +77,18 @@ define Device/omnima_hpm endef TARGET_DEVICES += omnima_hpm - -define Device/asus_rt-n56u +define Device/samsung_cy-swr1100 + $(Device/seama) MTK_SOC := rt3883 BLOCKSIZE := 64k - IMAGE/sysupgrade.bin += | mkrtn56uimg -s - DEVICE_VENDOR := Asus - DEVICE_MODEL := RT-N56U + KERNEL := $(KERNEL_DTB) + SEAMA_SIGNATURE := wrgnd10_samsung_ss815 + DEVICE_VENDOR := Samsung + DEVICE_MODEL := CY-SWR1100 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig - SUPPORTED_DEVICES += rt-n56u + SUPPORTED_DEVICES += cy-swr1100 endef -TARGET_DEVICES += asus_rt-n56u - - -define Device/trendnet_tew-691gr - MTK_SOC := rt3883 - BLOCKSIZE := 64k - IMAGES += factory.bin - IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ - umedia-header 0x026910 - DEVICE_VENDOR := TRENDnet - DEVICE_MODEL := TEW-691GR - DEVICE_PACKAGES := swconfig - SUPPORTED_DEVICES += tew-691gr -endef -TARGET_DEVICES += trendnet_tew-691gr - - -define Device/trendnet_tew-692gr - MTK_SOC := rt3883 - BLOCKSIZE := 64k - IMAGES += factory.bin - IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ - umedia-header 0x026920 - DEVICE_VENDOR := TRENDnet - DEVICE_MODEL := TEW-692GR - DEVICE_PACKAGES := swconfig - SUPPORTED_DEVICES += tew-692gr -endef -TARGET_DEVICES += trendnet_tew-692gr - +TARGET_DEVICES += samsung_cy-swr1100 define Device/sitecom_wlr-6000 MTK_SOC := rt3883 @@ -127,12 +104,28 @@ define Device/sitecom_wlr-6000 endef TARGET_DEVICES += sitecom_wlr-6000 - -define Device/loewe_wmdr-143n +define Device/trendnet_tew-691gr MTK_SOC := rt3883 BLOCKSIZE := 64k - DEVICE_VENDOR := Loewe - DEVICE_MODEL := WMDR-143N - SUPPORTED_DEVICES += wmdr-143n + IMAGES += factory.bin + IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ + umedia-header 0x026910 + DEVICE_VENDOR := TRENDnet + DEVICE_MODEL := TEW-691GR + DEVICE_PACKAGES := swconfig + SUPPORTED_DEVICES += tew-691gr endef -TARGET_DEVICES += loewe_wmdr-143n +TARGET_DEVICES += trendnet_tew-691gr + +define Device/trendnet_tew-692gr + MTK_SOC := rt3883 + BLOCKSIZE := 64k + IMAGES += factory.bin + IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \ + umedia-header 0x026920 + DEVICE_VENDOR := TRENDnet + DEVICE_MODEL := TEW-692GR + DEVICE_PACKAGES := swconfig + SUPPORTED_DEVICES += tew-692gr +endef +TARGET_DEVICES += trendnet_tew-692gr