2016-04-01 07:11:48 +00:00
|
|
|
#
|
|
|
|
# MT7620A Profiles
|
|
|
|
#
|
|
|
|
|
2018-01-20 08:27:03 +00:00
|
|
|
DEVICE_VARS += TPLINK_FLASHLAYOUT TPLINK_HWID TPLINK_HWREV TPLINK_HWREVADD TPLINK_HVERSION \
|
2018-04-19 17:36:55 +00:00
|
|
|
DLINK_ROM_ID DLINK_FAMILY_MEMBER DLINK_FIRMWARE_SIZE DLINK_IMAGE_OFFSET
|
2016-05-11 12:04:40 +00:00
|
|
|
|
|
|
|
define Build/elecom-header
|
|
|
|
cp $@ $(KDIR)/v_0.0.0.bin
|
2016-04-21 19:46:59 +00:00
|
|
|
( \
|
2016-12-25 15:40:05 +00:00
|
|
|
mkhash md5 $(KDIR)/v_0.0.0.bin && \
|
2016-04-21 19:46:59 +00:00
|
|
|
echo 458 \
|
2016-12-25 15:40:05 +00:00
|
|
|
) | mkhash md5 > $(KDIR)/v_0.0.0.md5
|
2017-11-03 01:45:45 +00:00
|
|
|
$(STAGING_DIR_HOST)/bin/tar -c \
|
|
|
|
$(if $(SOURCE_DATE_EPOCH),--mtime=@$(SOURCE_DATE_EPOCH)) \
|
|
|
|
-f $@ -C $(KDIR) v_0.0.0.bin v_0.0.0.md5
|
2016-04-21 19:46:59 +00:00
|
|
|
endef
|
|
|
|
|
2019-01-08 15:20:18 +00:00
|
|
|
define Build/elx-header
|
|
|
|
$(eval hw_id=$(word 1,$(1)))
|
|
|
|
$(eval xor_pattern=$(word 2,$(1)))
|
|
|
|
( \
|
|
|
|
echo -ne "\x00\x00\x00\x00\x00\x00\x00\x03" | \
|
|
|
|
dd bs=42 count=1 conv=sync; \
|
|
|
|
hw_id="$(hw_id)"; \
|
|
|
|
echo -ne "\x$${hw_id:0:2}\x$${hw_id:2:2}\x$${hw_id:4:2}\x$${hw_id:6:2}" | \
|
|
|
|
dd bs=20 count=1 conv=sync; \
|
|
|
|
echo -ne "$$(printf '%08x' $$(stat -c%s $@) | fold -s2 | xargs -I {} echo \\x{} | tr -d '\n')" | \
|
|
|
|
dd bs=8 count=1 conv=sync; \
|
|
|
|
echo -ne "$$($(STAGING_DIR_HOST)/bin/mkhash md5 $@ | fold -s2 | xargs -I {} echo \\x{} | tr -d '\n')" | \
|
|
|
|
dd bs=58 count=1 conv=sync; \
|
|
|
|
) > $(KDIR)/tmp/$(DEVICE_NAME).header
|
|
|
|
$(call Build/xor-image,-p $(xor_pattern) -x)
|
|
|
|
cat $(KDIR)/tmp/$(DEVICE_NAME).header $@ > $@.new
|
|
|
|
mv $@.new $@
|
|
|
|
endef
|
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/aigale_ai-br100
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2017-03-11 23:07:19 +00:00
|
|
|
IMAGE_SIZE := 7936k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Aigale
|
|
|
|
DEVICE_MODEL := Ai-BR100
|
2017-03-11 23:07:19 +00:00
|
|
|
DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += ai-br100
|
2017-03-11 23:07:19 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += aigale_ai-br100
|
2017-03-11 23:07:19 +00:00
|
|
|
|
2017-10-14 08:44:39 +00:00
|
|
|
define Device/alfa-network_ac1200rm
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2017-10-14 08:44:39 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := ALFA Network
|
|
|
|
DEVICE_MODEL := AC1200RM
|
2018-11-30 10:48:49 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci uboot-envtools
|
2017-10-14 08:44:39 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += alfa-network_ac1200rm
|
|
|
|
|
ramips: add support for ALFA Network Tube-E4G
ALFA Network Tube-E4G is an outdoor, dual-SIM LTE Cat. 4 CPE, based on
MediaTek MT7620A, equipped with Quectel EC25 miniPCIe modem.
Specification:
- MT7620A (580 MHz)
- 64/128/256 MB of RAM (DDR2)
- 16/32 MB of flash (SPI NOR)
- 1x 10/100 Mbps Ethernet, with passive PoE support (24 V)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses)
- 2x SIM slot (mini, micro) with detect and switch driven by GPIO
- 1x detachable antenna (modem main)
- 1x internal antenna (modem div)
- 1x GPS passive antenna (optional)
- 5x LED (all driven by GPIO)
- 1x button (reset)
- UART (4-pin, 2.54 mm pitch) header on PCB
Other:
Default SIM slot is selected at an early stage by U-Boot, based on
'default_sim' environment value: 1 or unset = SIM1 (mini), 2 = SIM2
(micro). U-Boot also resets the modem, using #PERST signal, before
starting kernel.
Flash instruction:
You can use the 'sysupgrade' image directly in vendor firmware which is
based on OpenWrt (make sure to not preserve settings - use 'sysupgrade
-n -F ...' command). Alternatively, use web recovery mode in U-Boot:
1. Power the device with reset button pressed, the LAN LED will start
blinking slowly and after ~3 seconds, when it starts blinking faster,
you can release the button.
2. Setup static IP 192.168.1.2/24 on your PC.
3. Go to 192.168.1.1 in browser and upload 'sysupgrade' image.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2019-03-10 00:28:28 +00:00
|
|
|
define Device/alfa-network_tube-e4g
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
ramips: add support for ALFA Network Tube-E4G
ALFA Network Tube-E4G is an outdoor, dual-SIM LTE Cat. 4 CPE, based on
MediaTek MT7620A, equipped with Quectel EC25 miniPCIe modem.
Specification:
- MT7620A (580 MHz)
- 64/128/256 MB of RAM (DDR2)
- 16/32 MB of flash (SPI NOR)
- 1x 10/100 Mbps Ethernet, with passive PoE support (24 V)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses)
- 2x SIM slot (mini, micro) with detect and switch driven by GPIO
- 1x detachable antenna (modem main)
- 1x internal antenna (modem div)
- 1x GPS passive antenna (optional)
- 5x LED (all driven by GPIO)
- 1x button (reset)
- UART (4-pin, 2.54 mm pitch) header on PCB
Other:
Default SIM slot is selected at an early stage by U-Boot, based on
'default_sim' environment value: 1 or unset = SIM1 (mini), 2 = SIM2
(micro). U-Boot also resets the modem, using #PERST signal, before
starting kernel.
Flash instruction:
You can use the 'sysupgrade' image directly in vendor firmware which is
based on OpenWrt (make sure to not preserve settings - use 'sysupgrade
-n -F ...' command). Alternatively, use web recovery mode in U-Boot:
1. Power the device with reset button pressed, the LAN LED will start
blinking slowly and after ~3 seconds, when it starts blinking faster,
you can release the button.
2. Setup static IP 192.168.1.2/24 on your PC.
3. Go to 192.168.1.1 in browser and upload 'sysupgrade' image.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2019-03-10 00:28:28 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := ALFA Network
|
|
|
|
DEVICE_MODEL := Tube-E4G
|
ramips: add support for ALFA Network Tube-E4G
ALFA Network Tube-E4G is an outdoor, dual-SIM LTE Cat. 4 CPE, based on
MediaTek MT7620A, equipped with Quectel EC25 miniPCIe modem.
Specification:
- MT7620A (580 MHz)
- 64/128/256 MB of RAM (DDR2)
- 16/32 MB of flash (SPI NOR)
- 1x 10/100 Mbps Ethernet, with passive PoE support (24 V)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses)
- 2x SIM slot (mini, micro) with detect and switch driven by GPIO
- 1x detachable antenna (modem main)
- 1x internal antenna (modem div)
- 1x GPS passive antenna (optional)
- 5x LED (all driven by GPIO)
- 1x button (reset)
- UART (4-pin, 2.54 mm pitch) header on PCB
Other:
Default SIM slot is selected at an early stage by U-Boot, based on
'default_sim' environment value: 1 or unset = SIM1 (mini), 2 = SIM2
(micro). U-Boot also resets the modem, using #PERST signal, before
starting kernel.
Flash instruction:
You can use the 'sysupgrade' image directly in vendor firmware which is
based on OpenWrt (make sure to not preserve settings - use 'sysupgrade
-n -F ...' command). Alternatively, use web recovery mode in U-Boot:
1. Power the device with reset button pressed, the LAN LED will start
blinking slowly and after ~3 seconds, when it starts blinking faster,
you can release the button.
2. Setup static IP 192.168.1.2/24 on your PC.
3. Go to 192.168.1.1 in browser and upload 'sysupgrade' image.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2019-03-10 00:28:28 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci uboot-envtools uqmi \
|
2019-06-07 16:40:32 +00:00
|
|
|
-iwinfo -kmod-rt2800-soc -wpad-basic
|
ramips: add support for ALFA Network Tube-E4G
ALFA Network Tube-E4G is an outdoor, dual-SIM LTE Cat. 4 CPE, based on
MediaTek MT7620A, equipped with Quectel EC25 miniPCIe modem.
Specification:
- MT7620A (580 MHz)
- 64/128/256 MB of RAM (DDR2)
- 16/32 MB of flash (SPI NOR)
- 1x 10/100 Mbps Ethernet, with passive PoE support (24 V)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses)
- 2x SIM slot (mini, micro) with detect and switch driven by GPIO
- 1x detachable antenna (modem main)
- 1x internal antenna (modem div)
- 1x GPS passive antenna (optional)
- 5x LED (all driven by GPIO)
- 1x button (reset)
- UART (4-pin, 2.54 mm pitch) header on PCB
Other:
Default SIM slot is selected at an early stage by U-Boot, based on
'default_sim' environment value: 1 or unset = SIM1 (mini), 2 = SIM2
(micro). U-Boot also resets the modem, using #PERST signal, before
starting kernel.
Flash instruction:
You can use the 'sysupgrade' image directly in vendor firmware which is
based on OpenWrt (make sure to not preserve settings - use 'sysupgrade
-n -F ...' command). Alternatively, use web recovery mode in U-Boot:
1. Power the device with reset button pressed, the LAN LED will start
blinking slowly and after ~3 seconds, when it starts blinking faster,
you can release the button.
2. Setup static IP 192.168.1.2/24 on your PC.
3. Go to 192.168.1.1 in browser and upload 'sysupgrade' image.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2019-03-10 00:28:28 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += alfa-network_tube-e4g
|
|
|
|
|
2018-04-19 17:36:55 +00:00
|
|
|
define Device/amit_jboot
|
|
|
|
DLINK_IMAGE_OFFSET := 0x10000
|
|
|
|
KERNEL := $(KERNEL_DTB)
|
|
|
|
IMAGES += factory.bin
|
|
|
|
IMAGE/sysupgrade.bin := mkdlinkfw | pad-rootfs | append-metadata
|
|
|
|
IMAGE/factory.bin := mkdlinkfw | pad-rootfs | mkdlinkfw-factory
|
|
|
|
DEVICE_PACKAGES := jboot-tools kmod-usb2 kmod-usb-ohci
|
|
|
|
endef
|
|
|
|
|
2017-06-23 21:20:53 +00:00
|
|
|
define Device/Archer
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := TP-Link
|
2017-10-03 10:46:09 +00:00
|
|
|
TPLINK_HWREVADD := 0
|
|
|
|
TPLINK_HVERSION := 3
|
2016-05-11 12:04:40 +00:00
|
|
|
KERNEL := $(KERNEL_DTB)
|
2017-10-03 10:46:09 +00:00
|
|
|
KERNEL_INITRAMFS := $(KERNEL_DTB) | tplink-v2-header -e
|
|
|
|
IMAGE/factory.bin := tplink-v2-image -e
|
|
|
|
IMAGE/sysupgrade.bin := tplink-v2-image -s -e | append-metadata
|
2017-06-23 21:20:53 +00:00
|
|
|
endef
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/asus_rp-n53
|
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Asus
|
|
|
|
DEVICE_MODEL := RP-N53
|
|
|
|
DEVICE_PACKAGES := kmod-rt2800-pci
|
|
|
|
SUPPORTED_DEVICES += rp-n53
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += asus_rp-n53
|
2016-04-01 07:11:48 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/asus_rt-ac51u
|
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Asus
|
|
|
|
DEVICE_MODEL := RT-AC51U
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
|
|
|
|
SUPPORTED_DEVICES += rt-ac51u
|
2016-06-12 21:46:35 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += asus_rt-ac51u
|
2016-06-12 21:46:35 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/asus_rt-n12p
|
|
|
|
MTK_SOC := mt7620n
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Asus
|
|
|
|
DEVICE_MODEL := RT-N11P/RT-N12+/RT-N12Eb1
|
|
|
|
SUPPORTED_DEVICES += rt-n12p
|
2016-09-24 19:41:43 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += asus_rt-n12p
|
|
|
|
|
|
|
|
define Device/asus_rt-n14u
|
|
|
|
MTK_SOC := mt7620n
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Asus
|
|
|
|
DEVICE_MODEL := RT-N14u
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
|
|
|
SUPPORTED_DEVICES += rt-n14u
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus_rt-n14u
|
2016-09-24 19:41:43 +00:00
|
|
|
|
2018-11-26 12:26:06 +00:00
|
|
|
define Device/bdcom_wap2100-sk
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2018-11-26 12:26:06 +00:00
|
|
|
IMAGE_SIZE := 15808k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := BDCOM
|
|
|
|
DEVICE_MODEL := WAP2100-SK (ZTE ZXECS EBG3130)
|
2018-11-28 20:53:02 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76x2 kmod-mt76x0e kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
|
ramips: Add support for ZTE ZXECS EBG3130 aka BDCOM WAP2100-SK
On the bottom sticker it's branded as ZTE ZXECS EBG3130 device, but in factory
OpenWrt image it's referenced as BDCOM WAP2100-SK device.
Specifications:
- SoC: MediaTek MT7620A
- RAM: 128 MB
- Flash: 16 MB
- Ethernet: 5 FE ports
- Wireless radio: 2T2R 2.4 GHz and 1T1R 5 GHz (MT7610EN, unsupported)
- UART: 1 x UART on PCB marked as J2 (R=RX, T=TX, G=GND) with 115200 8N1 config
- LEDs: Power, FE ports 1-5, WPS, USB, RF 2.4G, RF 5G
- Other: USB port, SD card slot and 2x external antennas (non-detachable)
Flashing instructions:
A) The U-Boot has HTTP based firmware upgrade
A1) Flashing notes
We've identified so far two different batches of units, unfortunately
each batch has different U-Boot bootloader flashed with different
default environment variables, thus each batch has different IP address
for accessing web based firmware updater.
* First batch has web based bootloader IP address 1.1.1.1
* Second batch has web based bootloader IP address 192.168.1.250
In case you can't connect to either of those IPs, you can try to get
the default IP address via two methods:
A1.1) Serial console, then the IP address is visible during the boot
...
HTTP server is starting at IP: 1.1.1.1
raspi_read: from:40004 len:6
HTTP server is ready!
...
A1.2) Over telnet/SSH using this command:
root@bdcom:/# grep ipaddr= /dev/mtd0
ipaddr=1.1.1.1
A2) Flashing with browser
* Change IP address of PC to 1.1.1.2 with 255.255.255.0 netmask
* Reboot the device and try to reach web based bootloader in the
browser with the following URL http://1.1.1.1
* Quickly select the firmware sysupgrade file and click on the
`Update firmware` button, this all has to be done within 10 seconds,
bootloader doesn't wait any longer
If done correctly, the web page should show UPDATE IN PROGRESS page
with progress indicator. Once the flashing completes (it takes roughly
around 1 minute), the device will reboot to the OpenWrt firmware
A3) Flashing with curl
sudo ip addr add 1.1.1.2/24 dev eth0
curl \
--verbose \
--retry 3 \
--retry-delay 1 \
--retry-max-time 30 \
--connect-timeout 30 \
--form "firmware=@openwrt-ramips-mt7620-BDCOM-WAP2100-SK-squashfs-sysupgrade.bin" \
http://1.1.1.1
Now power on the router.
B) The U-boot is based on Ralink SDK so we can flash the firmware using UART.
1. Configure PC with a static IP address and setup an TFTP server.
2. Put the firmware into the tftp directory.
3. Connect the UART line as described on the PCB (G=GND, R=RX, T=TX)
4. Power up the device and press 2, follow the instruction to set device and
tftp server IP address and input the firmware file name. U-boot will then load
the firmware and write it into the flash.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2018-11-13 12:10:40 +00:00
|
|
|
endef
|
2018-11-26 12:26:06 +00:00
|
|
|
TARGET_DEVICES += bdcom_wap2100-sk
|
ramips: Add support for ZTE ZXECS EBG3130 aka BDCOM WAP2100-SK
On the bottom sticker it's branded as ZTE ZXECS EBG3130 device, but in factory
OpenWrt image it's referenced as BDCOM WAP2100-SK device.
Specifications:
- SoC: MediaTek MT7620A
- RAM: 128 MB
- Flash: 16 MB
- Ethernet: 5 FE ports
- Wireless radio: 2T2R 2.4 GHz and 1T1R 5 GHz (MT7610EN, unsupported)
- UART: 1 x UART on PCB marked as J2 (R=RX, T=TX, G=GND) with 115200 8N1 config
- LEDs: Power, FE ports 1-5, WPS, USB, RF 2.4G, RF 5G
- Other: USB port, SD card slot and 2x external antennas (non-detachable)
Flashing instructions:
A) The U-Boot has HTTP based firmware upgrade
A1) Flashing notes
We've identified so far two different batches of units, unfortunately
each batch has different U-Boot bootloader flashed with different
default environment variables, thus each batch has different IP address
for accessing web based firmware updater.
* First batch has web based bootloader IP address 1.1.1.1
* Second batch has web based bootloader IP address 192.168.1.250
In case you can't connect to either of those IPs, you can try to get
the default IP address via two methods:
A1.1) Serial console, then the IP address is visible during the boot
...
HTTP server is starting at IP: 1.1.1.1
raspi_read: from:40004 len:6
HTTP server is ready!
...
A1.2) Over telnet/SSH using this command:
root@bdcom:/# grep ipaddr= /dev/mtd0
ipaddr=1.1.1.1
A2) Flashing with browser
* Change IP address of PC to 1.1.1.2 with 255.255.255.0 netmask
* Reboot the device and try to reach web based bootloader in the
browser with the following URL http://1.1.1.1
* Quickly select the firmware sysupgrade file and click on the
`Update firmware` button, this all has to be done within 10 seconds,
bootloader doesn't wait any longer
If done correctly, the web page should show UPDATE IN PROGRESS page
with progress indicator. Once the flashing completes (it takes roughly
around 1 minute), the device will reboot to the OpenWrt firmware
A3) Flashing with curl
sudo ip addr add 1.1.1.2/24 dev eth0
curl \
--verbose \
--retry 3 \
--retry-delay 1 \
--retry-max-time 30 \
--connect-timeout 30 \
--form "firmware=@openwrt-ramips-mt7620-BDCOM-WAP2100-SK-squashfs-sysupgrade.bin" \
http://1.1.1.1
Now power on the router.
B) The U-boot is based on Ralink SDK so we can flash the firmware using UART.
1. Configure PC with a static IP address and setup an TFTP server.
2. Put the firmware into the tftp directory.
3. Connect the UART line as described on the PCB (G=GND, R=RX, T=TX)
4. Power up the device and press 2, follow the instruction to set device and
tftp server IP address and input the firmware file name. U-boot will then load
the firmware and write it into the flash.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2018-11-13 12:10:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/buffalo_whr-1166d
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Buffalo
|
|
|
|
DEVICE_MODEL := WHR-1166D
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
SUPPORTED_DEVICES += whr-1166d
|
2018-02-22 16:58:23 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += buffalo_whr-1166d
|
2018-02-22 16:58:23 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/buffalo_whr-300hp2
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Buffalo
|
|
|
|
DEVICE_MODEL := WHR-300HP2
|
|
|
|
SUPPORTED_DEVICES += whr-300hp2
|
2017-09-06 09:14:16 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += buffalo_whr-300hp2
|
|
|
|
|
|
|
|
define Device/buffalo_whr-600d
|
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Buffalo
|
|
|
|
DEVICE_MODEL := WMR-300
|
|
|
|
SUPPORTED_DEVICES += wmr-300
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += buffalo_wmr-300
|
2017-09-06 09:14:16 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/comfast_cf-wr800n
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620n
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Comfast
|
|
|
|
DEVICE_MODEL := CF-WR800N
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += cf-wr800n
|
2017-03-11 23:07:19 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += comfast_cf-wr800n
|
2017-03-11 23:07:19 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/dlink_dch-m225
|
2018-12-29 18:25:00 +00:00
|
|
|
$(Device/seama)
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2017-03-11 23:07:19 +00:00
|
|
|
BLOCKSIZE := 4k
|
2018-12-29 18:25:00 +00:00
|
|
|
SEAMA_SIGNATURE := wapn22_dlink.2013gui_dap1320b
|
2017-03-11 23:07:19 +00:00
|
|
|
IMAGE_SIZE := 6848k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
|
DEVICE_MODEL := DCH-M225
|
2018-11-30 11:25:39 +00:00
|
|
|
DEVICE_PACKAGES := kmod-sound-core kmod-sound-mt7620 kmod-i2c-ralink
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += dch-m225
|
2017-03-11 23:07:19 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += dlink_dch-m225
|
2017-03-11 23:07:19 +00:00
|
|
|
|
2018-03-19 18:15:29 +00:00
|
|
|
define Device/dlink_dir-510l
|
|
|
|
$(Device/amit_jboot)
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 14208k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
|
DEVICE_MODEL := DIR-510L
|
2018-03-19 18:15:29 +00:00
|
|
|
DEVICE_PACKAGES += kmod-mt76x0e
|
|
|
|
DLINK_ROM_ID := DLK6E3805001
|
|
|
|
DLINK_FAMILY_MEMBER := 0x6E38
|
|
|
|
DLINK_FIRMWARE_SIZE := 0xDE0000
|
|
|
|
DLINK_IMAGE_OFFSET := 0x210000
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += dlink_dir-510l
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
|
|
|
|
2018-01-20 08:27:03 +00:00
|
|
|
define Device/dlink_dwr-116-a1
|
2018-04-19 17:36:55 +00:00
|
|
|
$(Device/amit_jboot)
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620n
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 8064k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
|
DEVICE_MODEL := DWR-116
|
|
|
|
DEVICE_VARIANT := A1/A2
|
2018-01-20 08:27:03 +00:00
|
|
|
DLINK_ROM_ID := DLK6E3803001
|
|
|
|
DLINK_FAMILY_MEMBER := 0x6E38
|
|
|
|
DLINK_FIRMWARE_SIZE := 0x7E0000
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += dlink_dwr-116-a1
|
|
|
|
|
2018-10-24 12:06:35 +00:00
|
|
|
define Device/dlink_dwr-118-a1
|
2018-04-19 17:36:55 +00:00
|
|
|
$(Device/amit_jboot)
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 16256k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
|
DEVICE_MODEL := DWR-118
|
|
|
|
DEVICE_VARIANT := A1
|
2018-04-19 17:36:55 +00:00
|
|
|
DEVICE_PACKAGES += kmod-mt76x0e
|
2018-10-24 12:06:35 +00:00
|
|
|
DLINK_ROM_ID := DLK6E3811001
|
|
|
|
DLINK_FAMILY_MEMBER := 0x6E38
|
|
|
|
DLINK_FIRMWARE_SIZE := 0xFE0000
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += dlink_dwr-118-a1
|
|
|
|
|
2018-04-19 17:34:22 +00:00
|
|
|
define Device/dlink_dwr-118-a2
|
2018-04-19 17:36:55 +00:00
|
|
|
$(Device/amit_jboot)
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 16256k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
|
DEVICE_MODEL := DWR-118
|
|
|
|
DEVICE_VARIANT := A2
|
2018-04-19 17:36:55 +00:00
|
|
|
DEVICE_PACKAGES += kmod-mt76x2
|
2018-04-19 17:34:22 +00:00
|
|
|
DLINK_ROM_ID := DLK6E3814001
|
|
|
|
DLINK_FAMILY_MEMBER := 0x6E38
|
|
|
|
DLINK_FIRMWARE_SIZE := 0xFE0000
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += dlink_dwr-118-a2
|
|
|
|
|
2018-03-10 09:34:38 +00:00
|
|
|
define Device/dlink_dwr-921-c1
|
2018-04-19 17:36:55 +00:00
|
|
|
$(Device/amit_jboot)
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620n
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 16256k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
|
DEVICE_MODEL := DWR-921
|
|
|
|
DEVICE_VARIANT := C1
|
2018-03-10 09:34:38 +00:00
|
|
|
DLINK_ROM_ID := DLK6E2414001
|
|
|
|
DLINK_FAMILY_MEMBER := 0x6E24
|
|
|
|
DLINK_FIRMWARE_SIZE := 0xFE0000
|
2018-04-19 17:36:55 +00:00
|
|
|
DEVICE_PACKAGES += kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
|
2018-03-10 09:34:38 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += dlink_dwr-921-c1
|
|
|
|
|
2018-03-22 20:47:17 +00:00
|
|
|
define Device/dlink_dwr-921-c3
|
|
|
|
$(Device/dlink_dwr-921-c1)
|
2019-07-03 21:22:25 +00:00
|
|
|
DEVICE_DTS := mt7620n_dlink_dwr-921-c1
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
|
DEVICE_MODEL := DWR-921
|
|
|
|
DEVICE_VARIANT := C3
|
2018-03-22 20:47:17 +00:00
|
|
|
DLINK_ROM_ID := DLK6E2414009
|
|
|
|
SUPPORTED_DEVICES := dlink,dwr-921-c1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += dlink_dwr-921-c3
|
|
|
|
|
ramips: add support for DLINK DWR-922-E2
Very similar to the DWR-921-C1, except has a telephony/RJ11 port (not
sure if supported, I didn't try), wireless router with QMI LTE embedded
modem is based on the MT7620N SoC.
Specification:
* MediaTek MT7620N (580 Mhz)
* 64 MB of RAM
* 16 MB of FLASH
* 802.11bgn radio
* 5x 10/100 Mbps Ethernet (1 WAN and 4 LAN)
* 2x external, detachable (LTE) antennas
* UART header on PCB (57600 8n1)
* 6x LED (GPIO-controlled)
* 1x bi-color Signal Strength LED (GPIO-controlled)
* 2x button
* JBOOT bootloader
The status led has been assigned to the dwr-922-e2:green:signalstrength
(lte signal strength) led. At the end of the boot it is switched off and
is available for lte operation. Works correctly also during sysupgrade
operation.
Installation:
Apply factory image via d-link http web-gui, or via recovery interface:
How to recover/revert to OEM firmware:
1.) Push and hold the reset button and turn on the power. Wait until all
LEDs start rapidly blinking (~10sec.)
2.) DHCP should give you an IP in the 192.168.123.0/24 subnet, or set
one manually
3.) Upload original factory image via JBOOT http interface at IP
192.168.123.254
4.) If http doesn't work, it can be done with curl command:
curl -F FN=@XXXXX.bin http://192.168.123.254/upg
where XXXXX.bin is name of firmware file.
5.) You can optionally telnet to 192.168.123.254 before or during the
upload and it will report the flashing status, memory address etc.
6.) Once web UI and/or telnet says "Success", power cycle the router, or
type "reboot" into the telnet session.
Signed-off-by: Simon Quigley <squigley@squigley.net>
[squashed commits, word wrap commit message, rename signal strenght led
name to match what is used for the DWR-921-C1 since they share the led
configuration, add label referenced in the aliases node]
Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-12-20 16:47:52 +00:00
|
|
|
define Device/dlink_dwr-922-e2
|
2018-04-19 17:36:55 +00:00
|
|
|
$(Device/amit_jboot)
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620n
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 16256k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
|
DEVICE_MODEL := DWR-922
|
|
|
|
DEVICE_VARIANT := E2
|
ramips: add support for DLINK DWR-922-E2
Very similar to the DWR-921-C1, except has a telephony/RJ11 port (not
sure if supported, I didn't try), wireless router with QMI LTE embedded
modem is based on the MT7620N SoC.
Specification:
* MediaTek MT7620N (580 Mhz)
* 64 MB of RAM
* 16 MB of FLASH
* 802.11bgn radio
* 5x 10/100 Mbps Ethernet (1 WAN and 4 LAN)
* 2x external, detachable (LTE) antennas
* UART header on PCB (57600 8n1)
* 6x LED (GPIO-controlled)
* 1x bi-color Signal Strength LED (GPIO-controlled)
* 2x button
* JBOOT bootloader
The status led has been assigned to the dwr-922-e2:green:signalstrength
(lte signal strength) led. At the end of the boot it is switched off and
is available for lte operation. Works correctly also during sysupgrade
operation.
Installation:
Apply factory image via d-link http web-gui, or via recovery interface:
How to recover/revert to OEM firmware:
1.) Push and hold the reset button and turn on the power. Wait until all
LEDs start rapidly blinking (~10sec.)
2.) DHCP should give you an IP in the 192.168.123.0/24 subnet, or set
one manually
3.) Upload original factory image via JBOOT http interface at IP
192.168.123.254
4.) If http doesn't work, it can be done with curl command:
curl -F FN=@XXXXX.bin http://192.168.123.254/upg
where XXXXX.bin is name of firmware file.
5.) You can optionally telnet to 192.168.123.254 before or during the
upload and it will report the flashing status, memory address etc.
6.) Once web UI and/or telnet says "Success", power cycle the router, or
type "reboot" into the telnet session.
Signed-off-by: Simon Quigley <squigley@squigley.net>
[squashed commits, word wrap commit message, rename signal strenght led
name to match what is used for the DWR-921-C1 since they share the led
configuration, add label referenced in the aliases node]
Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-12-20 16:47:52 +00:00
|
|
|
DLINK_ROM_ID := DLK6E2414005
|
|
|
|
DLINK_FAMILY_MEMBER := 0x6E24
|
|
|
|
DLINK_FIRMWARE_SIZE := 0xFE0000
|
2018-04-19 17:36:55 +00:00
|
|
|
DEVICE_PACKAGES += kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
|
ramips: add support for DLINK DWR-922-E2
Very similar to the DWR-921-C1, except has a telephony/RJ11 port (not
sure if supported, I didn't try), wireless router with QMI LTE embedded
modem is based on the MT7620N SoC.
Specification:
* MediaTek MT7620N (580 Mhz)
* 64 MB of RAM
* 16 MB of FLASH
* 802.11bgn radio
* 5x 10/100 Mbps Ethernet (1 WAN and 4 LAN)
* 2x external, detachable (LTE) antennas
* UART header on PCB (57600 8n1)
* 6x LED (GPIO-controlled)
* 1x bi-color Signal Strength LED (GPIO-controlled)
* 2x button
* JBOOT bootloader
The status led has been assigned to the dwr-922-e2:green:signalstrength
(lte signal strength) led. At the end of the boot it is switched off and
is available for lte operation. Works correctly also during sysupgrade
operation.
Installation:
Apply factory image via d-link http web-gui, or via recovery interface:
How to recover/revert to OEM firmware:
1.) Push and hold the reset button and turn on the power. Wait until all
LEDs start rapidly blinking (~10sec.)
2.) DHCP should give you an IP in the 192.168.123.0/24 subnet, or set
one manually
3.) Upload original factory image via JBOOT http interface at IP
192.168.123.254
4.) If http doesn't work, it can be done with curl command:
curl -F FN=@XXXXX.bin http://192.168.123.254/upg
where XXXXX.bin is name of firmware file.
5.) You can optionally telnet to 192.168.123.254 before or during the
upload and it will report the flashing status, memory address etc.
6.) Once web UI and/or telnet says "Success", power cycle the router, or
type "reboot" into the telnet session.
Signed-off-by: Simon Quigley <squigley@squigley.net>
[squashed commits, word wrap commit message, rename signal strenght led
name to match what is used for the DWR-921-C1 since they share the led
configuration, add label referenced in the aliases node]
Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-12-20 16:47:52 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += dlink_dwr-922-e2
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/dovado_tiny-ac
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Dovado
|
|
|
|
DEVICE_MODEL := Tiny AC
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci
|
|
|
|
SUPPORTED_DEVICES += tiny-ac
|
2017-03-11 23:07:19 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += dovado_tiny-ac
|
2017-03-11 23:07:19 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/edimax_br-6478ac-v2
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Edimax
|
|
|
|
DEVICE_MODEL := BR-6478AC
|
|
|
|
DEVICE_VARIANT := V2
|
|
|
|
BLOCKSIZE := 64k
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 7744k
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
|
|
|
|
edimax-header -s CSYS -m RN68 -f 0x70000 -S 0x01100000 | pad-rootfs | \
|
|
|
|
append-metadata | check-size $$$$(IMAGE_SIZE)
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += edimax_br-6478ac-v2
|
|
|
|
|
|
|
|
define Device/edimax_ew-7476rpc
|
|
|
|
MTK_SOC := mt7620a
|
|
|
|
DEVICE_VENDOR := Edimax
|
|
|
|
DEVICE_MODEL := EW-7476RPC
|
2016-09-03 07:56:35 +00:00
|
|
|
BLOCKSIZE := 4k
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGE_SIZE := 7744k
|
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
|
|
|
|
edimax-header -s CSYS -m RN79 -f 0x70000 -S 0x01100000 | pad-rootfs | \
|
|
|
|
append-metadata | check-size $$$$(IMAGE_SIZE)
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-phy-realtek
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += edimax_ew-7476rpc
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/edimax_ew-7478ac
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Edimax
|
|
|
|
DEVICE_MODEL := EW-7478AC
|
2017-03-03 14:36:51 +00:00
|
|
|
BLOCKSIZE := 4k
|
|
|
|
IMAGE_SIZE := 7744k
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
|
|
|
|
edimax-header -s CSYS -m RN70 -f 0x70000 -S 0x01100000 | pad-rootfs | \
|
|
|
|
append-metadata | check-size $$$$(IMAGE_SIZE)
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-phy-realtek
|
2017-03-03 14:36:51 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += edimax_ew-7478ac
|
|
|
|
|
|
|
|
define Device/edimax_ew-7478apc
|
|
|
|
MTK_SOC := mt7620a
|
|
|
|
DEVICE_VENDOR := Edimax
|
|
|
|
DEVICE_MODEL := EW-7478APC
|
|
|
|
BLOCKSIZE := 4k
|
|
|
|
IMAGE_SIZE := 7744k
|
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
|
|
|
|
edimax-header -s CSYS -m RN75 -f 0x70000 -S 0x01100000 | pad-rootfs | \
|
|
|
|
append-metadata | check-size $$$$(IMAGE_SIZE)
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += edimax_ew-7478apc
|
|
|
|
|
|
|
|
define Device/elecom_wrh-300cr
|
|
|
|
MTK_SOC := mt7620n
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 14272k
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2017-03-03 14:36:51 +00:00
|
|
|
|
2019-07-25 23:11:48 +00:00
|
|
|
define Device/fon_fon2601
|
|
|
|
MTK_SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 15936k
|
|
|
|
DEVICE_VENDOR := Fon
|
|
|
|
DEVICE_MODEL := FON2601
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
|
|
|
|
KERNEL_INITRAMFS := $$(KERNEL) | fonfxcimage
|
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs |\
|
|
|
|
fonfxcimage |\
|
|
|
|
pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += fon_fon2601
|
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/glinet_gl-mt300a
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 15872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := GL.iNet
|
|
|
|
DEVICE_MODEL := GL-MT300A
|
2018-11-30 11:25:39 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += gl-mt300a
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += glinet_gl-mt300a
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/glinet_gl-mt300n
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 15872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := GL.iNet
|
|
|
|
DEVICE_MODEL := GL-MT300N
|
2018-11-30 11:25:39 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += gl-mt300n
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += glinet_gl-mt300n
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/glinet_gl-mt750
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 15872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := GL.iNet
|
|
|
|
DEVICE_MODEL := GL-MT750
|
2018-11-30 10:48:49 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += gl-mt750
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += glinet_gl-mt750
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/hiwifi_hc5661
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2018-12-14 10:15:52 +00:00
|
|
|
IMAGE_SIZE := 15872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := HiWiFi
|
|
|
|
DEVICE_MODEL := HC5661
|
2018-12-14 10:15:52 +00:00
|
|
|
DEVICE_PACKAGES := kmod-sdhci-mt7620
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += hc5661
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += hiwifi_hc5661
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/hiwifi_hc5761
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2018-12-14 10:15:52 +00:00
|
|
|
IMAGE_SIZE := 15872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := HiWiFi
|
|
|
|
DEVICE_MODEL := HC5761
|
2018-11-30 10:48:49 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += hc5761
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += hiwifi_hc5761
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/hiwifi_hc5861
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2018-12-14 10:15:52 +00:00
|
|
|
IMAGE_SIZE := 15872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := HiWiFi
|
|
|
|
DEVICE_MODEL := HC5861
|
2018-12-14 10:15:52 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += hc5861
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += hiwifi_hc5861
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/hnet_c108
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := HNET
|
|
|
|
DEVICE_MODEL := C108
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620
|
|
|
|
SUPPORTED_DEVICES += c108
|
ramips: Add support for Head Weblink HDRM200
Head Weblink HDRM200 is a dual-sim router based on MT7620A. The detailed
specifications are:
- MT7620A (580MHz)
- 64MB RAM
- 16MB of flash (SPI NOR)
- 6x 10/100Mbps Ethernet (MT7620A built-in switch)
- 1x microSD slot
- 1x miniPCIe slot (only USB2.0 bus). Device is shipped with a SIMCOM
SIM7100E LTE modem.
- 2x SIM slots (standard size)
- 1x USB2.0 port
- 1x 2.4GHz wifi (rt2800)
- 1x 5GHz wifi (mt7612)
- 1x reset button
- 1x WPS button
- 3x GPIO-controllable LEDs
- 1x 10 pin terminal block (RS232, RS485, 4 x GPIO)
Tested:
- Ethernet switch
- Wifi
- USB slot
- SD card slot
- miniPCIe-slot
- sysupgrade
- reset button
Installation instructions:
Installing OpenWRT for the first time requires a bit of work, as the
board does not ship with OpenWRT. In addition, the bootloader
automatically reboots when installing an image over tftp. In order to
install OpenWRT on the HDRM200, you need to do the following:
* Copy the initramfs-image to your tftp-root (default filename is
test.bin) and configure networking accordingly (default server IP is
10.10.10.3, client 10.10.10.123). Start your tftp server.
* Open the board and connect to UART. The pins are exposed and clearly
marked.
* Boot the board and press 1.
* Either use the default filename and client/server IP-addresses, or
specify your own.
The image should now be loaded to memory and board boot. If the router
reboots while the image is loading, you need to try again. Once the
board has booted, copy the sysupgrade-image to the router and run
sysupgrade in order to install OpenWRT to the flash.
Notes:
- You control which SIM slot to use by writing 0/1 to
/sys/class/gpio/gpio0/value. In order for the change to take
effect, you can either use AT-commands (AT+CFUN) or power-cycle the
modem (write 0/1 to /sys/class/gpio/gpio21/value).
- RS485 is available on /dev/ttyS0.
- RS232 is available on /dev/ttyS1.
- The name of the ioX-gpios map to the labels on the casing.
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
[fixed whitespace issue and merge conflict in target.mk]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-05-15 18:50:45 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += hnet_c108
|
ramips: Add support for Head Weblink HDRM200
Head Weblink HDRM200 is a dual-sim router based on MT7620A. The detailed
specifications are:
- MT7620A (580MHz)
- 64MB RAM
- 16MB of flash (SPI NOR)
- 6x 10/100Mbps Ethernet (MT7620A built-in switch)
- 1x microSD slot
- 1x miniPCIe slot (only USB2.0 bus). Device is shipped with a SIMCOM
SIM7100E LTE modem.
- 2x SIM slots (standard size)
- 1x USB2.0 port
- 1x 2.4GHz wifi (rt2800)
- 1x 5GHz wifi (mt7612)
- 1x reset button
- 1x WPS button
- 3x GPIO-controllable LEDs
- 1x 10 pin terminal block (RS232, RS485, 4 x GPIO)
Tested:
- Ethernet switch
- Wifi
- USB slot
- SD card slot
- miniPCIe-slot
- sysupgrade
- reset button
Installation instructions:
Installing OpenWRT for the first time requires a bit of work, as the
board does not ship with OpenWRT. In addition, the bootloader
automatically reboots when installing an image over tftp. In order to
install OpenWRT on the HDRM200, you need to do the following:
* Copy the initramfs-image to your tftp-root (default filename is
test.bin) and configure networking accordingly (default server IP is
10.10.10.3, client 10.10.10.123). Start your tftp server.
* Open the board and connect to UART. The pins are exposed and clearly
marked.
* Boot the board and press 1.
* Either use the default filename and client/server IP-addresses, or
specify your own.
The image should now be loaded to memory and board boot. If the router
reboots while the image is loading, you need to try again. Once the
board has booted, copy the sysupgrade-image to the router and run
sysupgrade in order to install OpenWRT to the flash.
Notes:
- You control which SIM slot to use by writing 0/1 to
/sys/class/gpio/gpio0/value. In order for the change to take
effect, you can either use AT-commands (AT+CFUN) or power-cycle the
modem (write 0/1 to /sys/class/gpio/gpio21/value).
- RS485 is available on /dev/ttyS0.
- RS232 is available on /dev/ttyS1.
- The name of the ioX-gpios map to the labels on the casing.
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
[fixed whitespace issue and merge conflict in target.mk]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-05-15 18:50:45 +00:00
|
|
|
|
2019-01-08 15:20:18 +00:00
|
|
|
define Device/iodata_wn-ac1167gr
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := I-O DATA
|
|
|
|
DEVICE_MODEL := WN-AC1167GR
|
2019-01-08 15:20:18 +00:00
|
|
|
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
|
|
|
|
|
2019-03-14 14:46:43 +00:00
|
|
|
define Device/iodata_wn-ac733gr3
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := I-O DATA
|
|
|
|
DEVICE_MODEL := WN-AC733GR3
|
2019-03-14 14:46:43 +00:00
|
|
|
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
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/kimax_u25awf-h1
|
|
|
|
MTK_SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_VENDOR := Kimax
|
|
|
|
DEVICE_MODEL := U25AWF
|
|
|
|
DEVICE_VARIANT := H1
|
2019-08-20 20:14:02 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-storage kmod-scsi-core \
|
|
|
|
kmod-fs-ext4 kmod-fs-vfat block-mount
|
2019-07-07 14:27:51 +00:00
|
|
|
SUPPORTED_DEVICES += u25awf-h1
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += kimax_u25awf-h1
|
|
|
|
|
2018-07-04 01:29:36 +00:00
|
|
|
define Device/kimax_u35wf
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620n
|
2018-07-04 01:29:36 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Kimax
|
|
|
|
DEVICE_MODEL := U35WF
|
2019-08-20 20:14:02 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-storage kmod-scsi-core \
|
|
|
|
kmod-fs-ext4 kmod-fs-vfat block-mount
|
2018-07-04 01:29:36 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += kimax_u35wf
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/kingston_mlw221
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620n
|
2019-07-15 12:55:02 +00:00
|
|
|
IMAGE_SIZE := 15744k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Kingston
|
|
|
|
DEVICE_MODEL := MLW221
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
|
|
|
|
SUPPORTED_DEVICES += mlw221
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += kingston_mlw221
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/kingston_mlwg2
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620n
|
2019-07-15 12:55:02 +00:00
|
|
|
IMAGE_SIZE := 15744k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Kingston
|
|
|
|
DEVICE_MODEL := MLWG2
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
|
|
|
|
SUPPORTED_DEVICES += mlwg2
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += kingston_mlwg2
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2018-11-17 08:47:40 +00:00
|
|
|
define Device/lava_lr-25g001
|
2018-04-19 17:36:55 +00:00
|
|
|
$(Device/amit_jboot)
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 16256k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := LAVA
|
|
|
|
DEVICE_MODEL := LR-25G001
|
2018-11-17 08:47:40 +00:00
|
|
|
DLINK_ROM_ID := LVA6E3804001
|
|
|
|
DLINK_FAMILY_MEMBER := 0x6E38
|
|
|
|
DLINK_FIRMWARE_SIZE := 0xFE0000
|
2018-04-19 17:36:55 +00:00
|
|
|
DEVICE_PACKAGES += kmod-mt76x0e
|
2018-11-17 08:47:40 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += lava_lr-25g001
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/lenovo_newifi-y1
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Lenovo
|
|
|
|
DEVICE_MODEL := Y1
|
2018-12-08 11:25:00 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
|
2019-07-07 14:27:51 +00:00
|
|
|
SUPPORTED_DEVICES += y1
|
2017-03-11 23:07:19 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += lenovo_newifi-y1
|
2017-03-11 23:07:19 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/lenovo_newifi-y1s
|
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Lenovo
|
|
|
|
DEVICE_MODEL := Y1S
|
2018-12-08 11:25:00 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
|
2019-07-07 14:27:51 +00:00
|
|
|
SUPPORTED_DEVICES += y1s
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += lenovo_newifi-y1s
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/linksys_e1700
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGES += factory.bin
|
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
|
|
|
|
umedia-header 0x013326
|
|
|
|
DEVICE_VENDOR := Linksys
|
|
|
|
DEVICE_MODEL := E1700
|
|
|
|
SUPPORTED_DEVICES += e1700
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += linksys_e1700
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/microduino_microwrt
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGE_SIZE := 16128k
|
|
|
|
DEVICE_VENDOR := Microduino
|
|
|
|
DEVICE_MODEL := MicroWRT
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
|
|
|
SUPPORTED_DEVICES += microwrt
|
2017-03-11 23:07:19 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += microduino_microwrt
|
2017-03-11 23:07:19 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/netgear_ex2700
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-07 14:27:51 +00:00
|
|
|
NETGEAR_HW_ID := 29764623+4+0+32+2x2+0
|
|
|
|
NETGEAR_BOARD_ID := EX2700
|
|
|
|
BLOCKSIZE := 4k
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 3776k
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += netgear_ex2700
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/netgear_ex3700
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += netgear_ex3700
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/netgear_wn3000rp-v3
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
NETGEAR_HW_ID := 29764836+8+0+32+2x2+0
|
|
|
|
NETGEAR_BOARD_ID := WN3000RPv3
|
|
|
|
BLOCKSIZE := 4k
|
|
|
|
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 := WN3000RP
|
|
|
|
DEVICE_VARIANT := v3
|
|
|
|
SUPPORTED_DEVICES += wn3000rpv3
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += netgear_wn3000rp-v3
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/nexx_wt3020-4m
|
|
|
|
MTK_SOC := mt7620n
|
|
|
|
BLOCKSIZE := 4k
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 3776k
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGES += factory.bin
|
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
|
|
|
|
poray-header -B WT3020 -F 4M
|
|
|
|
DEVICE_VENDOR := Nexx
|
|
|
|
DEVICE_MODEL := WT3020
|
|
|
|
DEVICE_VARIANT := 4M
|
|
|
|
SUPPORTED_DEVICES += wt3020 wt3020-4M
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += nexx_wt3020-4m
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/nexx_wt3020-8m
|
|
|
|
MTK_SOC := mt7620n
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGES += factory.bin
|
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
|
|
|
|
poray-header -B WT3020 -F 8M
|
|
|
|
DEVICE_VENDOR := Nexx
|
|
|
|
DEVICE_MODEL := WT3020
|
|
|
|
DEVICE_VARIANT := 8M
|
2018-12-08 11:25:00 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
2019-07-07 14:27:51 +00:00
|
|
|
SUPPORTED_DEVICES += wt3020 wt3020-8M
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += nexx_wt3020-8m
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/ohyeah_oy-0001
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Oh Yeah
|
|
|
|
DEVICE_MODEL := OY-0001
|
2018-12-08 11:25:00 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += oy-0001
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += ohyeah_oy-0001
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/phicomm_psg1208
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Phicomm
|
|
|
|
DEVICE_MODEL := PSG1208
|
2018-11-30 10:48:49 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += psg1208
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += phicomm_psg1208
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/phicomm_psg1218a
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Phicomm
|
|
|
|
DEVICE_MODEL := PSG1218
|
|
|
|
DEVICE_VARIANT:= Ax
|
2017-04-20 22:53:03 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += psg1218 psg1218a
|
2016-09-30 11:41:12 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += phicomm_psg1218a
|
2016-09-30 11:41:12 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/phicomm_psg1218b
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Phicomm
|
|
|
|
DEVICE_MODEL := PSG1218
|
|
|
|
DEVICE_VARIANT := Bx
|
2017-04-20 22:53:03 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += psg1218 psg1218b
|
2017-04-20 22:53:03 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += phicomm_psg1218b
|
2017-04-20 22:53:03 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/planex_cs-qr10
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2018-06-20 16:56:38 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += planex_cs-qr10
|
2018-06-20 16:56:38 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/planex_db-wrt01
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Planex
|
|
|
|
DEVICE_MODEL := DB-WRT01
|
|
|
|
SUPPORTED_DEVICES += db-wrt01
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += planex_db-wrt01
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/planex_mzk-750dhp
|
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Planex
|
|
|
|
DEVICE_MODEL := MZK-750DHP
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
SUPPORTED_DEVICES += mzk-750dhp
|
2017-12-06 14:43:55 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += planex_mzk-750dhp
|
2017-12-06 14:43:55 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/planex_mzk-ex300np
|
|
|
|
MTK_SOC := mt7620a
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 7360k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Planex
|
|
|
|
DEVICE_MODEL := MZK-EX300NP
|
|
|
|
SUPPORTED_DEVICES += mzk-ex300np
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += planex_mzk-ex300np
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/planex_mzk-ex750np
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 7360k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Planex
|
|
|
|
DEVICE_MODEL := MZK-EX750NP
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
SUPPORTED_DEVICES += mzk-ex750np
|
2017-05-05 15:54:26 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += planex_mzk-ex750np
|
2017-05-05 15:54:26 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/ralink_mt7620a-evb
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := MediaTek
|
|
|
|
DEVICE_MODEL := MT7620a EVB
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += ralink_mt7620a-evb
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/ralink_mt7620a-mt7530-evb
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := MediaTek
|
|
|
|
DEVICE_MODEL := MT7620a + MT7530 EVB
|
|
|
|
SUPPORTED_DEVICES += mt7620a_mt7530
|
2018-07-16 14:19:19 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += ralink_mt7620a-mt7530-evb
|
2018-07-16 14:19:19 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/ralink_mt7620a-mt7610e-evb
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := MediaTek
|
|
|
|
DEVICE_MODEL := MT7620a + MT7610e EVB
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
SUPPORTED_DEVICES += mt7620a_mt7610e
|
2019-06-03 20:04:12 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += ralink_mt7620a-mt7610e-evb
|
|
|
|
|
|
|
|
define Device/ralink_mt7620a-v22sg-evb
|
|
|
|
MTK_SOC := mt7620a
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 130560k
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Ravpower
|
|
|
|
DEVICE_MODEL := WD03
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ravpower_wd03
|
2019-06-03 20:04:12 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/sanlinking_d240
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Sanlinking Technologies
|
|
|
|
DEVICE_MODEL := D240
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620
|
|
|
|
SUPPORTED_DEVICES += d240
|
2019-06-03 20:04:12 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += sanlinking_d240
|
2019-06-03 20:04:12 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/sercomm_na930
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-15 12:55:40 +00:00
|
|
|
IMAGE_SIZE := 20480k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Sercomm
|
|
|
|
DEVICE_MODEL := NA930
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
|
|
|
SUPPORTED_DEVICES += na930
|
2019-06-18 16:49:41 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += sercomm_na930
|
2019-06-18 16:49:41 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/tplink_archer-c20i
|
2018-05-17 09:57:00 +00:00
|
|
|
$(Device/Archer)
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
2018-05-17 09:57:00 +00:00
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
2019-07-07 14:27:51 +00:00
|
|
|
TPLINK_HWID := 0xc2000001
|
|
|
|
TPLINK_HWREV := 58
|
2018-05-17 09:57:00 +00:00
|
|
|
IMAGES += factory.bin
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
DEVICE_MODEL := Archer C20i
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci
|
|
|
|
SUPPORTED_DEVICES += c20i
|
2018-05-17 09:57:00 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += tplink_archer-c20i
|
2018-05-17 09:57:00 +00:00
|
|
|
|
2019-07-03 21:21:54 +00:00
|
|
|
define Device/tplink_archer-c20-v1
|
2018-01-13 07:16:20 +00:00
|
|
|
$(Device/Archer)
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
2019-07-03 21:21:54 +00:00
|
|
|
SUPPORTED_DEVICES += tplink,c20-v1
|
2018-01-13 07:16:20 +00:00
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0xc2000001
|
|
|
|
TPLINK_HWREV := 0x44
|
|
|
|
TPLINK_HWREVADD := 0x1
|
|
|
|
IMAGES += factory.bin
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_MODEL := Archer C20
|
|
|
|
DEVICE_VARIANT := v1
|
2018-12-08 10:48:47 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
|
2018-01-13 07:16:20 +00:00
|
|
|
endef
|
2019-07-03 21:21:54 +00:00
|
|
|
TARGET_DEVICES += tplink_archer-c20-v1
|
2018-01-13 07:16:20 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/tplink_archer-c2-v1
|
|
|
|
$(Device/Archer)
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += tplink_archer-c2-v1
|
2017-03-11 23:07:19 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/tplink_archer-c50-v1
|
|
|
|
$(Device/Archer)
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2017-03-11 23:07:19 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += tplink_archer-c50-v1
|
2017-03-11 23:07:19 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/tplink_archer-mr200
|
|
|
|
$(Device/Archer)
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2017-03-11 23:07:19 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += tplink_archer-mr200
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/vonets_var11n-300
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620n
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 3776k
|
2017-03-11 23:07:19 +00:00
|
|
|
BLOCKSIZE := 4k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Vonets
|
|
|
|
DEVICE_MODEL := VAR11N-300
|
2017-03-11 23:07:19 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += vonets_var11n-300
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/wrtnode_wrtnode
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620n
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-10 15:15:49 +00:00
|
|
|
DEVICE_VENDOR := WRTNode
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_MODEL := WRTNode
|
2018-12-08 11:25:00 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += wrtnode
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += wrtnode_wrtnode
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/xiaomi_miwifi-mini
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 15872k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Xiaomi
|
|
|
|
DEVICE_MODEL := MiWiFi Mini
|
2018-12-08 11:25:00 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
|
2019-07-07 14:27:51 +00:00
|
|
|
SUPPORTED_DEVICES += miwifi-mini
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += xiaomi_miwifi-mini
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/youku_yk1
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 32448k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := YOUKU
|
|
|
|
DEVICE_MODEL := YK1
|
2017-10-21 09:07:43 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += youku-yk1
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += youku_yk1
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/yukai_bocco
|
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/zbtlink_we1026-5g-16m
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Zbtlink
|
|
|
|
DEVICE_MODEL := ZBT-WE1026-5G
|
|
|
|
DEVICE_VARIANT := 16M
|
2018-11-30 10:48:49 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += we1026-5g-16m
|
ramips: Add support for ZBT WE1026-5G
The ZBT WE1026-5G
(http://www.zbtlink.com/products/router/WE1026-5G.html) is the follow-up
to the ZBT WE1026 and is based on MT7620. For the previous WE1026, the
ZBT WE826 image could be used. However, as the name implies, the -5G
comes equipped with a 5GHz wifi radio. As the WE826 only has a 2.4GHz
radio, the addition of 5GHz means that a separate image is needed for
the WE1026-5G. I suspect that this image will also work on the previous
WE1026, but I don't have a device to test with.
The WE1026-5G has following specifications:
* CPU: MT7620A
* 1x 10/100Mbps Ethernet.
* 16 MB Flash.
* 64 MB RAM.
* 1x USB 2.0 port.
* 1x mini-PCIe slots.
* 1x SIM slots.
* 1x 2.4Ghz WIFI.
* 1x 5GHz wifi (MT7612)
* 1x button.
* 3x controllable LEDs.
Works:
* Wifi.
* Switch.
* mini-PCIe slot. Only tested with a USB device (a modem).
* SIM slot.
* Sysupgrade.
* Button (reset).
Not working:
* The 5GHz WIFI LED is completely dead. I suspect the issue is the same
as on other devices with Mediatek 5Ghz wifi-cards/chips. The LED is
controlled by the driver, and mt76 (currently) does not support this.
Not tested:
* SD card reader.
Notes:
* The modem (labeled 3G/4G) and power LEDs are controlled by the
hardware.
* There is a 32MB version of this device available, but I do not have
access to it. I have therefor only added support for the 16MB version,
but added all the required infrastructure to make adding support for the
32MB version easy.
Installation:
The router comes pre-installed with OpenWRT, including a variant of
Luci. The initial firmware install can be done through this UI,
following normal procedure. I.e., access the UI and update the firmware
using the sysupgrade-image. Remember to select that you do not want to
keep existing settings.
Recovery:
If you brick the device, the WE1026-5G supports recovery using HTTP. Keep the
reset button pressed for ~5sec when booting to start the web server. Set the
address of the network interface on your machine to 192.168.1.2/24, and
point your browser to 192.168.1.1 to access the recovery UI. From the
recovery UI you can upload a firmware image.
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
2017-09-10 12:44:47 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += zbtlink_we1026-5g-16m
|
ramips: Add support for ZBT WE1026-5G
The ZBT WE1026-5G
(http://www.zbtlink.com/products/router/WE1026-5G.html) is the follow-up
to the ZBT WE1026 and is based on MT7620. For the previous WE1026, the
ZBT WE826 image could be used. However, as the name implies, the -5G
comes equipped with a 5GHz wifi radio. As the WE826 only has a 2.4GHz
radio, the addition of 5GHz means that a separate image is needed for
the WE1026-5G. I suspect that this image will also work on the previous
WE1026, but I don't have a device to test with.
The WE1026-5G has following specifications:
* CPU: MT7620A
* 1x 10/100Mbps Ethernet.
* 16 MB Flash.
* 64 MB RAM.
* 1x USB 2.0 port.
* 1x mini-PCIe slots.
* 1x SIM slots.
* 1x 2.4Ghz WIFI.
* 1x 5GHz wifi (MT7612)
* 1x button.
* 3x controllable LEDs.
Works:
* Wifi.
* Switch.
* mini-PCIe slot. Only tested with a USB device (a modem).
* SIM slot.
* Sysupgrade.
* Button (reset).
Not working:
* The 5GHz WIFI LED is completely dead. I suspect the issue is the same
as on other devices with Mediatek 5Ghz wifi-cards/chips. The LED is
controlled by the driver, and mt76 (currently) does not support this.
Not tested:
* SD card reader.
Notes:
* The modem (labeled 3G/4G) and power LEDs are controlled by the
hardware.
* There is a 32MB version of this device available, but I do not have
access to it. I have therefor only added support for the 16MB version,
but added all the required infrastructure to make adding support for the
32MB version easy.
Installation:
The router comes pre-installed with OpenWRT, including a variant of
Luci. The initial firmware install can be done through this UI,
following normal procedure. I.e., access the UI and update the firmware
using the sysupgrade-image. Remember to select that you do not want to
keep existing settings.
Recovery:
If you brick the device, the WE1026-5G supports recovery using HTTP. Keep the
reset button pressed for ~5sec when booting to start the web server. Set the
address of the network interface on your machine to 192.168.1.2/24, and
point your browser to 192.168.1.1 to access the recovery UI. From the
recovery UI you can upload a firmware image.
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
2017-09-10 12:44:47 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/zbtlink_zbt-ape522ii
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 15872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Zbtlink
|
|
|
|
DEVICE_MODEL := ZBT-APE522II
|
2018-11-30 10:48:49 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += zbt-ape522ii
|
2016-06-23 08:58:08 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += zbtlink_zbt-ape522ii
|
2016-06-23 08:58:08 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/zbtlink_zbt-cpe102
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620n
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 7552k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Zbtlink
|
|
|
|
DEVICE_MODEL := ZBT-CPE102
|
2016-09-25 19:09:31 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += zbt-cpe102
|
2016-09-25 19:09:31 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += zbtlink_zbt-cpe102
|
2016-09-25 19:09:31 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/zbtlink_zbt-wa05
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620n
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 7552k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Zbtlink
|
|
|
|
DEVICE_MODEL := ZBT-WA05
|
2018-12-08 11:25:00 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += zbt-wa05
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += zbtlink_zbt-wa05
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/zbtlink_zbt-we2026
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620n
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 7552k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Zbtlink
|
|
|
|
DEVICE_MODEL := ZBT-WE2026
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += zbt-we2026
|
2017-03-15 08:37:05 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += zbtlink_zbt-we2026
|
2017-03-15 08:37:05 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/zbtlink_zbt-we826-16m
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Zbtlink
|
|
|
|
DEVICE_MODEL := ZBT-WE826
|
|
|
|
DEVICE_VARIANT := 16M
|
2018-11-30 10:48:49 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += zbt-we826 zbt-we826-16M
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += zbtlink_zbt-we826-16m
|
2017-04-12 05:53:56 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/zbtlink_zbt-we826-32m
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 32448k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Zbtlink
|
|
|
|
DEVICE_MODEL := ZBT-WE826
|
|
|
|
DEVICE_VARIANT := 32M
|
2018-11-30 10:48:49 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += zbt-we826-32M
|
2017-04-12 05:53:56 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += zbtlink_zbt-we826-32m
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-05-16 13:38:00 +00:00
|
|
|
define Device/zbtlink_zbt-we826-e
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-05-16 13:38:00 +00:00
|
|
|
IMAGE_SIZE := 32448k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Zbtlink
|
|
|
|
DEVICE_MODEL := ZBT-WE826-E
|
2019-05-16 13:38:00 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 uqmi \
|
|
|
|
kmod-usb-serial kmod-usb-serial-option
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += zbtlink_zbt-we826-e
|
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/zbtlink_zbt-wr8305rt
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620n
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Zbtlink
|
|
|
|
DEVICE_MODEL := ZBT-WR8305RT
|
2018-12-08 11:25:00 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += zbt-wr8305rt
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += zbtlink_zbt-wr8305rt
|
2016-05-11 12:04:40 +00:00
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/zte_q7
|
2019-07-03 21:22:25 +00:00
|
|
|
MTK_SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := ZTE
|
|
|
|
DEVICE_MODEL := Q7
|
2018-12-08 11:25:00 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
2019-07-03 21:22:02 +00:00
|
|
|
SUPPORTED_DEVICES += zte-q7
|
2017-02-04 20:28:52 +00:00
|
|
|
endef
|
2019-07-03 21:22:02 +00:00
|
|
|
TARGET_DEVICES += zte_q7
|
2019-07-07 14:27:51 +00:00
|
|
|
|
|
|
|
define Device/zyxel_keenetic-omni
|
|
|
|
MTK_SOC := mt7620n
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|