2016-04-01 07:11:48 +00:00
|
|
|
#
|
|
|
|
# MT7620A Profiles
|
|
|
|
#
|
|
|
|
|
2020-01-29 17:21:53 +00:00
|
|
|
include ./common-tp-link.mk
|
|
|
|
|
|
|
|
DEVICE_VARS += 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)) \
|
2019-11-06 21:15:21 +00:00
|
|
|
--owner=0 --group=0 -f $@ -C $(KDIR) v_0.0.0.bin v_0.0.0.md5
|
2016-04-21 19:46:59 +00:00
|
|
|
endef
|
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/aigale_ai-br100
|
2019-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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 R36M-E4G
ALFA Network R36M-E4G is a dual-SIM, N300 Wi-Fi, compact size platform
based on MediaTek MT7620A WiSoC. This product is designed for operation
with 4G modem (can be bought in bundle with Quectel EC25, EG25 or EP06)
but supports also Wi-Fi modules (miniPCIe slot has USB and PCIe buses).
Specification:
- MT7620A (580 MHz)
- 64/128/256 MB of RAM (DDR2)
- 16/32+ MB of FLASH (SPI NOR)
- 2x 10/100 Mbps Ethernet, with passive PoE support (24 V)
- 2T2R 2.4 GHz (MT7620A), with ext. LNA (RFFM4227)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses and optional 5 V)
- 2x SIM slot (mini, micro) with detect and switch driven by GPIO
- 2x u.fl antenna connectors (for Wi-Fi)
- 8x LED (7 driven by GPIO)
- 2x button (reset, wifi)
- 2x UART (4-pin/2.54 mm pitch, 10-pin/1.27 mm pitch) headers on PCB
- 1x I2C (4-pin, 1.27 mm pitch) header on PCB
- 1x LED (8-pin, 1.27 mm pitch) header on PCB
- 1x DC jack with lock (12 V)
Other:
- there is a dedicated, 4-pin connector for optional RTC module (Holtek
HT138x) with 'enable' input, not available at the time of preparing
support for this board
- miniPCIe slot supports additional 5 V supply on pins 47 and 49 but a
jumper resistor (R174) is not installed by default
- U-Boot selects default SIM slot, based on value of 'default_sim' env
variable: '1' or unset -> SIM1 (mini), '2' -> SIM2 (micro). This will
work only if both slots are occupied, otherwise U-Boot will always
select slot with SIM card inside (user can override it later, in
user-space)
- U-Boot resets the modem, using PERSTn signal, before starting kernel
- this board supports 'dual image' feature (controlled by 'dual_image'
U-Boot environment variable)
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 modem 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-10-29 23:10:40 +00:00
|
|
|
define Device/alfa-network_r36m-e4g
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
ramips: add support for ALFA Network R36M-E4G
ALFA Network R36M-E4G is a dual-SIM, N300 Wi-Fi, compact size platform
based on MediaTek MT7620A WiSoC. This product is designed for operation
with 4G modem (can be bought in bundle with Quectel EC25, EG25 or EP06)
but supports also Wi-Fi modules (miniPCIe slot has USB and PCIe buses).
Specification:
- MT7620A (580 MHz)
- 64/128/256 MB of RAM (DDR2)
- 16/32+ MB of FLASH (SPI NOR)
- 2x 10/100 Mbps Ethernet, with passive PoE support (24 V)
- 2T2R 2.4 GHz (MT7620A), with ext. LNA (RFFM4227)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses and optional 5 V)
- 2x SIM slot (mini, micro) with detect and switch driven by GPIO
- 2x u.fl antenna connectors (for Wi-Fi)
- 8x LED (7 driven by GPIO)
- 2x button (reset, wifi)
- 2x UART (4-pin/2.54 mm pitch, 10-pin/1.27 mm pitch) headers on PCB
- 1x I2C (4-pin, 1.27 mm pitch) header on PCB
- 1x LED (8-pin, 1.27 mm pitch) header on PCB
- 1x DC jack with lock (12 V)
Other:
- there is a dedicated, 4-pin connector for optional RTC module (Holtek
HT138x) with 'enable' input, not available at the time of preparing
support for this board
- miniPCIe slot supports additional 5 V supply on pins 47 and 49 but a
jumper resistor (R174) is not installed by default
- U-Boot selects default SIM slot, based on value of 'default_sim' env
variable: '1' or unset -> SIM1 (mini), '2' -> SIM2 (micro). This will
work only if both slots are occupied, otherwise U-Boot will always
select slot with SIM card inside (user can override it later, in
user-space)
- U-Boot resets the modem, using PERSTn signal, before starting kernel
- this board supports 'dual image' feature (controlled by 'dual_image'
U-Boot environment variable)
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 modem 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-10-29 23:10:40 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_VENDOR := ALFA Network
|
|
|
|
DEVICE_MODEL := R36M-E4G
|
2019-12-19 18:40:33 +00:00
|
|
|
DEVICE_PACKAGES := kmod-i2c-ralink kmod-usb2 kmod-usb-ohci uboot-envtools \
|
|
|
|
uqmi
|
ramips: add support for ALFA Network R36M-E4G
ALFA Network R36M-E4G is a dual-SIM, N300 Wi-Fi, compact size platform
based on MediaTek MT7620A WiSoC. This product is designed for operation
with 4G modem (can be bought in bundle with Quectel EC25, EG25 or EP06)
but supports also Wi-Fi modules (miniPCIe slot has USB and PCIe buses).
Specification:
- MT7620A (580 MHz)
- 64/128/256 MB of RAM (DDR2)
- 16/32+ MB of FLASH (SPI NOR)
- 2x 10/100 Mbps Ethernet, with passive PoE support (24 V)
- 2T2R 2.4 GHz (MT7620A), with ext. LNA (RFFM4227)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses and optional 5 V)
- 2x SIM slot (mini, micro) with detect and switch driven by GPIO
- 2x u.fl antenna connectors (for Wi-Fi)
- 8x LED (7 driven by GPIO)
- 2x button (reset, wifi)
- 2x UART (4-pin/2.54 mm pitch, 10-pin/1.27 mm pitch) headers on PCB
- 1x I2C (4-pin, 1.27 mm pitch) header on PCB
- 1x LED (8-pin, 1.27 mm pitch) header on PCB
- 1x DC jack with lock (12 V)
Other:
- there is a dedicated, 4-pin connector for optional RTC module (Holtek
HT138x) with 'enable' input, not available at the time of preparing
support for this board
- miniPCIe slot supports additional 5 V supply on pins 47 and 49 but a
jumper resistor (R174) is not installed by default
- U-Boot selects default SIM slot, based on value of 'default_sim' env
variable: '1' or unset -> SIM1 (mini), '2' -> SIM2 (micro). This will
work only if both slots are occupied, otherwise U-Boot will always
select slot with SIM card inside (user can override it later, in
user-space)
- U-Boot resets the modem, using PERSTn signal, before starting kernel
- this board supports 'dual image' feature (controlled by 'dual_image'
U-Boot environment variable)
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 modem 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-10-29 23:10:40 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += alfa-network_r36m-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
|
|
|
define Device/alfa-network_tube-e4g
|
2019-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-19 18:40:33 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci uboot-envtools uqmi -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
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/asus_rp-n53
|
2019-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-19 18:40:33 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci \
|
|
|
|
kmod-usb-ledtrig-usbport
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
|
|
|
ramips: add support for ASUS RT-AC54U
Specification:
- CPU: MTK MT7620A
- RAM: 64MB
- ROM: 16MB SPI Flash Macronix MX25L12835E
- WiFi1: MediaTek MT7620A
- WiFi2: MediaTek MT7612E
- Button: reset, wps
- LED: 9 LEDs:Power, WiFi 2.4G,WiFi 5G, USB, LAN1, LAN2, LAN3, LAN4, WAN
- Ethernet: 5 ports, 4 LAN + 1 WAN
- Other: 1x UART 1x USB2.0
Installation:
Update using ASUS Firmware Restoration Tool:
1. Download the ASUS Firmware Restoration Tool but don't open it yet
2. Unplug your computer from the router
3. Put the router into Rescue Mode by: turning the power off, using a pin
to press and hold the reset button, then turning the router back on while
keeping the reset button pressed for ~5 secs until the power LED starts
flashing slowly (which indicates the router has entered Rescue Mode)
4. Important (if you don't do this next step the Asus Firmware
Restoration Tool will wrongly assume that the router is not in Rescue Mode
and will refuse to flash it): go to the Windows Control Panel and
temporarily disable ALL other network adapters except the one you will use
to connect your computer to the router
5. For the single adapter you left enabled, temporarily give it the
static IP 192.168.1.10 and the subnet mask 255.255.255.0
6. Connect a LAN cable between your computer (make sure to use the
Ethernet port of the adapter you've just set up) and port 1 of the router
(not the router's WAN port)
7. Rename sysupgrade.bin to factory.trx
8. Open the Asus Firmware Restoration Tool, locate factory.trx and click
upload (if Windows shows a compatibility prompt, confirm that the tool worked fine)
9. Flashing and reboot is finished when the power LED stops blinking and
stays on
MAC assignment based on vendor firmware:
2g 0x4 label
5g 0x8004 label +4
lan 0x22 label +4
wan 0x28 label
Signed-off-by: Zhijun You <hujy652@gmail.com>
[rebased due to DTSI patch, minor commit message adjustments, fix
label MAC address (lan->wan), do spi frequency increase separately]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-05-14 11:37:40 +00:00
|
|
|
define Device/asus_rt-ac54u
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_VENDOR := Asus
|
|
|
|
DEVICE_MODEL := RT-AC54U
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci \
|
|
|
|
kmod-usb-ledtrig-usbport
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += asus_rt-ac54u
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/asus_rt-n12p
|
2019-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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)
|
2019-12-19 18:40:33 +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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
2019-07-07 14:27:51 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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
|
|
|
|
|
2018-04-19 07:20:58 +00:00
|
|
|
define Device/dlink_dwr-960
|
|
|
|
$(Device/amit_jboot)
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 16256k
|
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
|
DEVICE_MODEL := DWR-960
|
|
|
|
DLINK_ROM_ID := DLK6E2429001
|
|
|
|
DLINK_FAMILY_MEMBER := 0x6E24
|
|
|
|
DLINK_FIRMWARE_SIZE := 0xFE0000
|
|
|
|
DEVICE_PACKAGES += kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi \
|
|
|
|
kmod-mt76x0e
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += dlink_dwr-960
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/dovado_tiny-ac
|
2019-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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 | \
|
2020-03-10 13:58:27 +00:00
|
|
|
append-metadata | check-size
|
2019-12-19 18:40:33 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci \
|
|
|
|
kmod-usb-ledtrig-usbport
|
2019-07-07 14:27:51 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += edimax_br-6478ac-v2
|
|
|
|
|
|
|
|
define Device/edimax_ew-7476rpc
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
2019-07-07 14:27:51 +00:00
|
|
|
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 | \
|
2019-12-19 18:40:33 +00:00
|
|
|
edimax-header -s CSYS -m RN79 -f 0x70000 -S 0x01100000 | pad-rootfs | \
|
2020-03-10 13:58:27 +00:00
|
|
|
append-metadata | check-size
|
2019-07-07 14:27:51 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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 | \
|
2019-12-19 18:40:33 +00:00
|
|
|
edimax-header -s CSYS -m RN70 -f 0x70000 -S 0x01100000 | pad-rootfs | \
|
2020-03-10 13:58:27 +00:00
|
|
|
append-metadata | check-size
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Edimax
|
|
|
|
DEVICE_MODEL := EW-7478APC
|
|
|
|
BLOCKSIZE := 4k
|
|
|
|
IMAGE_SIZE := 7744k
|
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
|
2019-12-19 18:40:33 +00:00
|
|
|
edimax-header -s CSYS -m RN75 -f 0x70000 -S 0x01100000 | pad-rootfs | \
|
2020-03-10 13:58:27 +00:00
|
|
|
append-metadata | check-size
|
2019-12-19 18:40:33 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci \
|
|
|
|
kmod-usb-ledtrig-usbport
|
2019-07-07 14:27:51 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += edimax_ew-7478apc
|
|
|
|
|
|
|
|
define Device/elecom_wrh-300cr
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620n
|
2019-07-15 12:55:19 +00:00
|
|
|
IMAGE_SIZE := 14272k
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGES += factory.bin
|
2020-05-08 16:21:06 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | elecom-header
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
|
|
|
ramips: add support for EnGenius ESR600
The EnGenius ESR600 is a dual band wireless router with a 4-port gigabit
Ethernet switch, a gigabit Ethernet WAN port and a USB port.
Specification:
- Bootloader: U-Boot
- SoC: MediaTek MT7620A (600 MHz)
- Flash: 16MB, Macronix MX25L12845E
- RAM: 64MB, Nanya NT5TU32M16DG-AC
- Serial: 115200 baud, no header, 3.3V
J2: Vcc (arrow), Gnd, Tx, Rx
- USB: USB 2, 5V
- Ethernet: 5 x 1 Gb/s 4 LAN 1 WAN, Atheros AR8327
- WiFi0: 5 GHz 802.11 b/g/n Ralink RT5592N
300 Mb/s, 2T2R
- WiFi1: 2.4 GHz 802.11 b/g/n integrated
300 Mb/s, 2T2R
- Antennas: 2 per radio, internal
- LEDs: 1 programmable power (amber)
2 programable radio (blue)
1 programable WPS-5G (blue)
1 non-programable WAN activity (blue)
1 unconfigured WPS-2.4G (amber)
- Buttons: GPIO: Reset, WPS
Installation:
Use the OEM web interface to install the ...-factory.dlf image.
Use the OpenWRT ...-sysupgrade.bin image for future upgrades.
The J2 serial port can be accessed either by soldering in a header,
standard 0.1" spacing, or by using pogo-pins against the back side.
As configured by the OEM, the U-Boot boot delay is short, however quickly
typing "1" leads to the U-Boot "System load Linux to SDRAM via TFTP"
prompt. The TFTP client is configured by default with
client: 192.168.99.9
server: 192.168.99.8
filename: uImageESR600
It will load an OpenWRT initramfs kernel with this method.
Known issues:
1) Only the ports externally labeled WAN, LAN3 and LAN4 are operational.
LAN1 and LAN2 do not appear to power up. This issue is also present
in the Lava LR25G001.
2) The amber WPS-2.4G LED, in the same lightguide as the blue WPS-5G LED,
is not configured in the Device Tree specification.
3) The blue WAN activity LED is not configured in the Device Tree
specification as this causes the AR8327 switch to fail to initialize.
Signed-off-by: Nick Briggs <nicholas.h.briggs@gmail.com>
[merge conflict in 02_network]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-07-20 03:01:29 +00:00
|
|
|
define Device/engenius_esr600
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
ramips: add support for EnGenius ESR600
The EnGenius ESR600 is a dual band wireless router with a 4-port gigabit
Ethernet switch, a gigabit Ethernet WAN port and a USB port.
Specification:
- Bootloader: U-Boot
- SoC: MediaTek MT7620A (600 MHz)
- Flash: 16MB, Macronix MX25L12845E
- RAM: 64MB, Nanya NT5TU32M16DG-AC
- Serial: 115200 baud, no header, 3.3V
J2: Vcc (arrow), Gnd, Tx, Rx
- USB: USB 2, 5V
- Ethernet: 5 x 1 Gb/s 4 LAN 1 WAN, Atheros AR8327
- WiFi0: 5 GHz 802.11 b/g/n Ralink RT5592N
300 Mb/s, 2T2R
- WiFi1: 2.4 GHz 802.11 b/g/n integrated
300 Mb/s, 2T2R
- Antennas: 2 per radio, internal
- LEDs: 1 programmable power (amber)
2 programable radio (blue)
1 programable WPS-5G (blue)
1 non-programable WAN activity (blue)
1 unconfigured WPS-2.4G (amber)
- Buttons: GPIO: Reset, WPS
Installation:
Use the OEM web interface to install the ...-factory.dlf image.
Use the OpenWRT ...-sysupgrade.bin image for future upgrades.
The J2 serial port can be accessed either by soldering in a header,
standard 0.1" spacing, or by using pogo-pins against the back side.
As configured by the OEM, the U-Boot boot delay is short, however quickly
typing "1" leads to the U-Boot "System load Linux to SDRAM via TFTP"
prompt. The TFTP client is configured by default with
client: 192.168.99.9
server: 192.168.99.8
filename: uImageESR600
It will load an OpenWRT initramfs kernel with this method.
Known issues:
1) Only the ports externally labeled WAN, LAN3 and LAN4 are operational.
LAN1 and LAN2 do not appear to power up. This issue is also present
in the Lava LR25G001.
2) The amber WPS-2.4G LED, in the same lightguide as the blue WPS-5G LED,
is not configured in the Device Tree specification.
3) The blue WAN activity LED is not configured in the Device Tree
specification as this causes the AR8327 switch to fail to initialize.
Signed-off-by: Nick Briggs <nicholas.h.briggs@gmail.com>
[merge conflict in 02_network]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-07-20 03:01:29 +00:00
|
|
|
BLOCKSIZE := 64k
|
|
|
|
IMAGE_SIZE := 15616k
|
|
|
|
IMAGES += factory.dlf
|
2020-03-10 13:58:27 +00:00
|
|
|
IMAGE/factory.dlf := $$(sysupgrade_bin) | check-size | \
|
2019-12-19 18:40:33 +00:00
|
|
|
senao-header -r 0x101 -p 0x57 -t 2
|
ramips: add support for EnGenius ESR600
The EnGenius ESR600 is a dual band wireless router with a 4-port gigabit
Ethernet switch, a gigabit Ethernet WAN port and a USB port.
Specification:
- Bootloader: U-Boot
- SoC: MediaTek MT7620A (600 MHz)
- Flash: 16MB, Macronix MX25L12845E
- RAM: 64MB, Nanya NT5TU32M16DG-AC
- Serial: 115200 baud, no header, 3.3V
J2: Vcc (arrow), Gnd, Tx, Rx
- USB: USB 2, 5V
- Ethernet: 5 x 1 Gb/s 4 LAN 1 WAN, Atheros AR8327
- WiFi0: 5 GHz 802.11 b/g/n Ralink RT5592N
300 Mb/s, 2T2R
- WiFi1: 2.4 GHz 802.11 b/g/n integrated
300 Mb/s, 2T2R
- Antennas: 2 per radio, internal
- LEDs: 1 programmable power (amber)
2 programable radio (blue)
1 programable WPS-5G (blue)
1 non-programable WAN activity (blue)
1 unconfigured WPS-2.4G (amber)
- Buttons: GPIO: Reset, WPS
Installation:
Use the OEM web interface to install the ...-factory.dlf image.
Use the OpenWRT ...-sysupgrade.bin image for future upgrades.
The J2 serial port can be accessed either by soldering in a header,
standard 0.1" spacing, or by using pogo-pins against the back side.
As configured by the OEM, the U-Boot boot delay is short, however quickly
typing "1" leads to the U-Boot "System load Linux to SDRAM via TFTP"
prompt. The TFTP client is configured by default with
client: 192.168.99.9
server: 192.168.99.8
filename: uImageESR600
It will load an OpenWRT initramfs kernel with this method.
Known issues:
1) Only the ports externally labeled WAN, LAN3 and LAN4 are operational.
LAN1 and LAN2 do not appear to power up. This issue is also present
in the Lava LR25G001.
2) The amber WPS-2.4G LED, in the same lightguide as the blue WPS-5G LED,
is not configured in the Device Tree specification.
3) The blue WAN activity LED is not configured in the Device Tree
specification as this causes the AR8327 switch to fail to initialize.
Signed-off-by: Nick Briggs <nicholas.h.briggs@gmail.com>
[merge conflict in 02_network]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-07-20 03:01:29 +00:00
|
|
|
DEVICE_VENDOR := EnGenius
|
|
|
|
DEVICE_MODEL := ESR600
|
2019-12-19 18:40:33 +00:00
|
|
|
DEVICE_PACKAGES += kmod-rt2800-pci kmod-usb-storage kmod-usb-ohci \
|
|
|
|
kmod-usb-ehci
|
ramips: add support for EnGenius ESR600
The EnGenius ESR600 is a dual band wireless router with a 4-port gigabit
Ethernet switch, a gigabit Ethernet WAN port and a USB port.
Specification:
- Bootloader: U-Boot
- SoC: MediaTek MT7620A (600 MHz)
- Flash: 16MB, Macronix MX25L12845E
- RAM: 64MB, Nanya NT5TU32M16DG-AC
- Serial: 115200 baud, no header, 3.3V
J2: Vcc (arrow), Gnd, Tx, Rx
- USB: USB 2, 5V
- Ethernet: 5 x 1 Gb/s 4 LAN 1 WAN, Atheros AR8327
- WiFi0: 5 GHz 802.11 b/g/n Ralink RT5592N
300 Mb/s, 2T2R
- WiFi1: 2.4 GHz 802.11 b/g/n integrated
300 Mb/s, 2T2R
- Antennas: 2 per radio, internal
- LEDs: 1 programmable power (amber)
2 programable radio (blue)
1 programable WPS-5G (blue)
1 non-programable WAN activity (blue)
1 unconfigured WPS-2.4G (amber)
- Buttons: GPIO: Reset, WPS
Installation:
Use the OEM web interface to install the ...-factory.dlf image.
Use the OpenWRT ...-sysupgrade.bin image for future upgrades.
The J2 serial port can be accessed either by soldering in a header,
standard 0.1" spacing, or by using pogo-pins against the back side.
As configured by the OEM, the U-Boot boot delay is short, however quickly
typing "1" leads to the U-Boot "System load Linux to SDRAM via TFTP"
prompt. The TFTP client is configured by default with
client: 192.168.99.9
server: 192.168.99.8
filename: uImageESR600
It will load an OpenWRT initramfs kernel with this method.
Known issues:
1) Only the ports externally labeled WAN, LAN3 and LAN4 are operational.
LAN1 and LAN2 do not appear to power up. This issue is also present
in the Lava LR25G001.
2) The amber WPS-2.4G LED, in the same lightguide as the blue WPS-5G LED,
is not configured in the Device Tree specification.
3) The blue WAN activity LED is not configured in the Device Tree
specification as this causes the AR8327 switch to fail to initialize.
Signed-off-by: Nick Briggs <nicholas.h.briggs@gmail.com>
[merge conflict in 02_network]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-07-20 03:01:29 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += engenius_esr600
|
|
|
|
|
2019-07-25 23:11:48 +00:00
|
|
|
define Device/fon_fon2601
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
2019-07-25 23:11:48 +00:00
|
|
|
IMAGE_SIZE := 15936k
|
|
|
|
DEVICE_VENDOR := Fon
|
|
|
|
DEVICE_MODEL := FON2601
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
|
2020-07-10 12:16:23 +00:00
|
|
|
KERNEL_INITRAMFS := $$(KERNEL) | uimage-padhdr
|
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | uimage-padhdr | \
|
2020-03-10 13:58:27 +00:00
|
|
|
pad-rootfs | append-metadata | check-size
|
2019-07-25 23:11:48 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += fon_fon2601
|
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/glinet_gl-mt300a
|
2019-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_VENDOR := Head Weblink
|
|
|
|
DEVICE_MODEL := HDRM2000
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 \
|
2019-12-19 18:40:33 +00:00
|
|
|
uqmi kmod-usb-serial kmod-usb-serial-option
|
2019-07-07 14:27:51 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += head-weblink_hdrm200
|
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/hiwifi_hc5661
|
2019-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-19 18:40:33 +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-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-19 18:40:33 +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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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
|
2020-03-10 13:58:27 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
|
2019-12-19 18:40:33 +00:00
|
|
|
elx-header 01040016 8844A2D168B45A2D
|
2019-01-08 15:20:18 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += iodata_wn-ac1167gr
|
|
|
|
|
2019-03-14 14:46:43 +00:00
|
|
|
define Device/iodata_wn-ac733gr3
|
2019-12-20 00:15:57 +00:00
|
|
|
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
|
2020-03-10 13:58:27 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
|
2019-12-19 18:40:33 +00:00
|
|
|
elx-header 01040006 8844A2D168B45A2D
|
2019-03-14 14:46:43 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-switch-rtl8367b
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += iodata_wn-ac733gr3
|
|
|
|
|
2019-09-26 15:21:25 +00:00
|
|
|
define Device/iptime_a1004ns
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 16192k
|
|
|
|
UIMAGE_NAME := a1004ns
|
|
|
|
DEVICE_VENDOR := ipTIME
|
|
|
|
DEVICE_MODEL := A1004ns
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci \
|
|
|
|
kmod-usb-ledtrig-usbport
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += iptime_a1004ns
|
|
|
|
|
2019-09-26 15:16:33 +00:00
|
|
|
define Device/iptime_a104ns
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
2019-09-26 15:16:33 +00:00
|
|
|
IMAGE_SIZE := 8000k
|
|
|
|
UIMAGE_NAME := a104ns
|
|
|
|
DEVICE_VENDOR := ipTIME
|
|
|
|
DEVICE_MODEL := A104ns
|
2019-12-19 18:40:33 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci \
|
|
|
|
kmod-usb-ledtrig-usbport
|
2019-09-26 15:16:33 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += iptime_a104ns
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/kimax_u25awf-h1
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
2019-07-07 14:27:51 +00:00
|
|
|
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 \
|
2019-12-19 18:40:33 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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 \
|
2019-12-19 18:40:33 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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
|
|
|
|
|
2020-04-17 20:31:11 +00:00
|
|
|
define Device/lb-link_bl-w1200
|
|
|
|
SOC := mt7620a
|
|
|
|
DEVICE_VENDOR := LB-Link
|
|
|
|
DEVICE_MODEL := BL-W1200
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76x2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += lb-link_bl-w1200
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/lenovo_newifi-y1
|
2019-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGES += factory.bin
|
2020-05-08 16:21:06 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | umedia-header 0x013326
|
2019-07-07 14:27:51 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-19 18:40:33 +00:00
|
|
|
KERNEL := $(KERNEL_DTB) | uImage lzma | pad-offset 64k 64 | \
|
|
|
|
append-uImage-fakehdr filesystem
|
2020-05-08 16:21:06 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | netgear-dni
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := NETGEAR
|
|
|
|
DEVICE_MODEL := EX2700
|
|
|
|
SUPPORTED_DEVICES += ex2700
|
2020-03-02 07:30:31 +00:00
|
|
|
DEFAULT := n
|
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-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
2019-07-07 14:27:51 +00:00
|
|
|
NETGEAR_BOARD_ID := U12H319T00_NETGEAR
|
|
|
|
BLOCKSIZE := 4k
|
|
|
|
IMAGE_SIZE := 7744k
|
|
|
|
IMAGES += factory.chk
|
2020-05-08 16:21:06 +00:00
|
|
|
IMAGE/factory.chk := $$(sysupgrade_bin) | check-size | netgear-chk
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
|
|
|
2020-06-09 10:31:57 +00:00
|
|
|
define Device/netgear_ex6120
|
|
|
|
SOC := mt7620a
|
|
|
|
NETGEAR_BOARD_ID := U12H319T30_NETGEAR
|
|
|
|
BLOCKSIZE := 4k
|
|
|
|
IMAGE_SIZE := 7744k
|
|
|
|
IMAGES += factory.chk
|
|
|
|
IMAGE/factory.chk := $$(sysupgrade_bin) | check-size | netgear-chk
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
DEVICE_VENDOR := NETGEAR
|
|
|
|
DEVICE_MODEL := EX6120
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear_ex6120
|
|
|
|
|
2019-07-29 18:23:28 +00:00
|
|
|
define Device/netgear_ex6130
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
2019-07-29 18:23:28 +00:00
|
|
|
NETGEAR_BOARD_ID := U12H319T50_NETGEAR
|
|
|
|
BLOCKSIZE := 4k
|
|
|
|
IMAGE_SIZE := 7744k
|
|
|
|
IMAGES += factory.chk
|
2020-05-08 16:21:06 +00:00
|
|
|
IMAGE/factory.chk := $$(sysupgrade_bin) | check-size | netgear-chk
|
2019-07-29 18:23:28 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
DEVICE_VENDOR := NETGEAR
|
|
|
|
DEVICE_MODEL := EX6130
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear_ex6130
|
|
|
|
|
ramips: add support for Netgear JWNR2010 v5
Specification:
- CPU: MediaTek MT7620N (580 MHz)
- Flash size: 4 MB NOR SPI
- RAM size: 32 MB DDR1
- Bootloader: U-Boot
- Wireless: MT7620N 2x2 MIMO 802.11b/g/n (2.4 GHz)
- Switch: MT7620 built-in 10/100 switch with vlan support
- Ports: 4x LAN, 1x WAN
- Others: 7x LED, Reset button, UART header on PCB (57600 8N1)
Flash instructions:
1. Use ethernet cable to connect router with PC/Laptop, any router
LAN port will work.
2. To flash openwrt we are using nmrpflash[1].
3. Flash commands:
First we need to identify the correct Ethernet id.
nmrpflash -L
nmrpflash -i net* -f openwrt-ramips-mt7620-netgear_jwnr2010-v5-squashfs-factory.img
This will show something like "Advertising NMRP server on net*..." (net*, *=1,2,3... etc.)
4. Now remove the power cable from router back side and immediately connect it again.
You will see flash notification in CMD window, once it says reboot the device just
plug off the router and plug in again.
Revert to stock:
1. Download the stock firmware from official netgear support[2].
2. Follow the same nmrpflash procedure like above, this time just use the stock firmware.
nmrpflash -i net* -f N300-V1.1.0.54_1.0.1.img
MAC addresses on stock firmware:
LAN = *:28 (label)
WAN = *:29
WLAN = *:28
On flash, the only valid MAC address is found in factory 0x4.
Special Note:
This openwrt firmware will also support other netgear N300 routers like below as they
share same stock firmware[3].
JNR1010v2 / WNR614 / WNR618 / JWNR2000v5 / WNR2020 / WNR1000v4 / WNR2020v2 / WNR2050
[1] https://github.com/jclehner/nmrpflash
[2] https://www.netgear.com/support/product/JWNR2010v5.aspx
[3] http://kb.netgear.com/000059663
Signed-off-by: Shibajee Roy <ador250@protonmail.com>
[create DTSI, use netgear_sercomm_nor, disable by default, add MAC
addresses to commit message, add label MAC address]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-02 15:19:52 +00:00
|
|
|
define Device/netgear_jwnr2010-v5
|
|
|
|
$(Device/netgear_sercomm_nor)
|
|
|
|
SOC := mt7620n
|
|
|
|
BLOCKSIZE := 4k
|
|
|
|
IMAGE_SIZE := 3840k
|
|
|
|
DEVICE_MODEL := JWNR2010
|
|
|
|
DEVICE_VARIANT := v5
|
|
|
|
SERCOMM_HWNAME := N300
|
|
|
|
SERCOMM_HWID := ASW
|
|
|
|
SERCOMM_HWVER := A001
|
|
|
|
SERCOMM_SWVER := 0x0040
|
|
|
|
SERCOMM_PAD := 128k
|
|
|
|
DEFAULT := n
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear_jwnr2010-v5
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/netgear_wn3000rp-v3
|
2019-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-19 18:40:33 +00:00
|
|
|
KERNEL := $(KERNEL_DTB) | uImage lzma | pad-offset 64k 64 | \
|
|
|
|
append-uImage-fakehdr filesystem
|
2020-05-08 16:21:06 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | netgear-dni
|
2019-07-07 14:27:51 +00:00
|
|
|
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-11-11 16:23:07 +00:00
|
|
|
define Device/netis_wf2770
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
UIMAGE_NAME := WF2770_0.0.00
|
|
|
|
DEVICE_VENDOR := NETIS
|
|
|
|
DEVICE_MODEL := WF2770
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
KERNEL_INITRAMFS := $(KERNEL_DTB) | netis-tail WF2770 | uImage lzma
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netis_wf2770
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/nexx_wt3020-4m
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620n
|
2019-07-07 14:27:51 +00:00
|
|
|
BLOCKSIZE := 4k
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 3776k
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGES += factory.bin
|
2020-03-10 13:58:27 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
|
2019-07-07 14:27:51 +00:00
|
|
|
poray-header -B WT3020 -F 4M
|
|
|
|
DEVICE_VENDOR := Nexx
|
|
|
|
DEVICE_MODEL := WT3020
|
|
|
|
DEVICE_VARIANT := 4M
|
|
|
|
SUPPORTED_DEVICES += wt3020 wt3020-4M
|
2020-04-09 10:40:01 +00:00
|
|
|
DEFAULT := n
|
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
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620n
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGES += factory.bin
|
2020-03-10 13:58:27 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
|
2019-07-07 14:27:51 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
2019-07-07 14:27:51 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-19 18:40:33 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sound-core \
|
|
|
|
kmod-sound-mt7620 kmod-i2c-ralink kmod-sdhci-mt7620
|
2019-07-07 14:27:51 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
|
|
|
SOC := mt7620a
|
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
|
|
|
|
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
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
|
|
|
SOC := mt7620a
|
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
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_MODEL := Archer C20
|
|
|
|
DEVICE_VARIANT := v1
|
2019-12-19 18:40:33 +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
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
|
|
|
SOC := mt7620a
|
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
|
|
|
|
DEVICE_MODEL := Archer C2
|
|
|
|
DEVICE_VARIANT := v1
|
2019-12-19 18:40:33 +00:00
|
|
|
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
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
|
|
|
SOC := mt7620a
|
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
|
2020-01-29 17:21:53 +00:00
|
|
|
IMAGES := sysupgrade.bin factory-us.bin factory-eu.bin
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v2)
|
|
|
|
SOC := mt7620a
|
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
|
2020-01-29 17:21:53 +00:00
|
|
|
IMAGES := sysupgrade.bin
|
2019-12-19 18:40:33 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-net kmod-usb-net-rndis \
|
|
|
|
kmod-usb-serial kmod-usb-serial-option adb-enablemodem
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
|
|
|
ramips: add support for TP-Link RE200 v1
TP-Link RE200 v1 is a wireless range extender with Ethernet and 2.4G and 5G
WiFi with internal antennas. It's based on MediaTek MT7620A+MT7610EN.
Specifications
--------------
- MediaTek MT7620A (580 Mhz)
- 64 MB of RAM
- 8 MB of FLASH
- 2T2R 2.4 GHz and 1T1R 5 GHz
- 1x 10/100 Mbps Ethernet
- UART header on PCB (57600 8n1)
- 8x LED (GPIO-controlled; only 6 supported), 2x button
There are 2.4G and 5G LEDs in red and green which are controlled
separately. The 5G LED is currently not supported, since the GPIOs couldn't
be determined.
Installation
------------
Web Interface
-------------
It is possible to upgrade to OpenWrt via the web interface. However, the
OEM firmware upgrade file is required and a tool to fix the MD5 sum of
the header. This procedure overwrites U-Boot and there is not failsafe /
recovery mode present! To prepare an image, you need to take the header
and U-Boot (i.e. 0x200 + 0x20000 bytes) from an OEM firmware file and
attach the factory image to it. Then fix the header MD5Sum1.
Serial console
--------------
Opening the case is quite hard, since it is welded together. Rename the
OpenWrt factory image to "test.bin", then plug in the device and quickly
press "2" to enter flash mode (no line feed). Follow the prompts until
OpenWrt is installed.
Unfortunately, this devices does not offer a recovery mode or a tftp
installation method. If the web interface upgrade fails, you have to open
your device and attach serial console. Since the web upgrade overwrites
the boot loader, you might also brick your device.
Additional notes
----------------
MAC address assignment is based on stock-firmware. For me, the device
assigns the MAC on the label to Ethernet and the 2.4G WiFi, while the 5G
WiFi has a separate MAC with +2.
*:88 Ethernet/2.4G label, uboot 0x1fc00, userconfig 0x0158
*:89 unused userconfig 0x0160
*:8A 5G not present in flash
This seems to be the first ramips device with a TP-Link v1 header. The
original firmware has the string "EU" embedded, there might be some region-
checking going on during the firmware upgrade process. The original
firmware also contains U-Boot and thus overwrites the boot loader during
upgrade.
In order to flash back to stock, the first header and U-Boot need to be
stripped from the original firmware.
Signed-off-by: Andreas Böhler <dev@aboehler.at>
2019-12-19 09:29:14 +00:00
|
|
|
define Device/tplink_re200-v1
|
2020-01-29 17:21:53 +00:00
|
|
|
$(Device/tplink-v1)
|
ramips: add support for TP-Link RE200 v1
TP-Link RE200 v1 is a wireless range extender with Ethernet and 2.4G and 5G
WiFi with internal antennas. It's based on MediaTek MT7620A+MT7610EN.
Specifications
--------------
- MediaTek MT7620A (580 Mhz)
- 64 MB of RAM
- 8 MB of FLASH
- 2T2R 2.4 GHz and 1T1R 5 GHz
- 1x 10/100 Mbps Ethernet
- UART header on PCB (57600 8n1)
- 8x LED (GPIO-controlled; only 6 supported), 2x button
There are 2.4G and 5G LEDs in red and green which are controlled
separately. The 5G LED is currently not supported, since the GPIOs couldn't
be determined.
Installation
------------
Web Interface
-------------
It is possible to upgrade to OpenWrt via the web interface. However, the
OEM firmware upgrade file is required and a tool to fix the MD5 sum of
the header. This procedure overwrites U-Boot and there is not failsafe /
recovery mode present! To prepare an image, you need to take the header
and U-Boot (i.e. 0x200 + 0x20000 bytes) from an OEM firmware file and
attach the factory image to it. Then fix the header MD5Sum1.
Serial console
--------------
Opening the case is quite hard, since it is welded together. Rename the
OpenWrt factory image to "test.bin", then plug in the device and quickly
press "2" to enter flash mode (no line feed). Follow the prompts until
OpenWrt is installed.
Unfortunately, this devices does not offer a recovery mode or a tftp
installation method. If the web interface upgrade fails, you have to open
your device and attach serial console. Since the web upgrade overwrites
the boot loader, you might also brick your device.
Additional notes
----------------
MAC address assignment is based on stock-firmware. For me, the device
assigns the MAC on the label to Ethernet and the 2.4G WiFi, while the 5G
WiFi has a separate MAC with +2.
*:88 Ethernet/2.4G label, uboot 0x1fc00, userconfig 0x0158
*:89 unused userconfig 0x0160
*:8A 5G not present in flash
This seems to be the first ramips device with a TP-Link v1 header. The
original firmware has the string "EU" embedded, there might be some region-
checking going on during the firmware upgrade process. The original
firmware also contains U-Boot and thus overwrites the boot loader during
upgrade.
In order to flash back to stock, the first header and U-Boot need to be
stripped from the original firmware.
Signed-off-by: Andreas Böhler <dev@aboehler.at>
2019-12-19 09:29:14 +00:00
|
|
|
SOC := mt7620a
|
|
|
|
DEVICE_MODEL := RE200
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
IMAGE_SIZE := 7936k
|
|
|
|
TPLINK_HWID := 0x02000001
|
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_re200-v1
|
|
|
|
|
2020-03-02 21:24:19 +00:00
|
|
|
define Device/tplink_re210-v1
|
|
|
|
$(Device/tplink-v1)
|
|
|
|
SOC := mt7620a
|
|
|
|
DEVICE_MODEL := RE210
|
|
|
|
DEVICE_VARIANT := v1
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
IMAGE_SIZE := 7936k
|
|
|
|
TPLINK_HWID := 0x02100001
|
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_re210-v1
|
|
|
|
|
2020-05-26 01:24:40 +00:00
|
|
|
define Device/trendnet_tew-810dr
|
|
|
|
SOC := mt7620a
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
DEVICE_VENDOR := TRENDnet
|
|
|
|
DEVICE_MODEL := TEW-810DR
|
|
|
|
IMAGE_SIZE := 6720k
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += trendnet_tew-810dr
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/vonets_var11n-300
|
2019-12-20 00:15:57 +00:00
|
|
|
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
|
2020-04-09 10:40:01 +00:00
|
|
|
DEFAULT := n
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-19 18:40:33 +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
|
2019-12-20 00:15:57 +00:00
|
|
|
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_zbt-ape522ii
|
2019-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-09-26 12:44:23 +00:00
|
|
|
define Device/zbtlink_zbt-we1026-5g-16m
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
2019-09-26 12:44:23 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_VENDOR := Zbtlink
|
|
|
|
DEVICE_MODEL := ZBT-WE1026-5G
|
|
|
|
DEVICE_VARIANT := 16M
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620
|
|
|
|
SUPPORTED_DEVICES += we1026-5g-16m zbtlink,we1026-5g-16m
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += zbtlink_zbt-we1026-5g-16m
|
|
|
|
|
2019-11-02 14:18:55 +00:00
|
|
|
define Device/zbtlink_zbt-we1026-h-32m
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
2019-11-02 14:18:55 +00:00
|
|
|
IMAGE_SIZE := 32448k
|
|
|
|
DEVICE_VENDOR := Zbtlink
|
|
|
|
DEVICE_MODEL := ZBT-WE1026-H
|
|
|
|
DEVICE_VARIANT := 32M
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 \
|
|
|
|
kmod-ledtrig-netdev
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += zbtlink_zbt-we1026-h-32m
|
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/zbtlink_zbt-we2026
|
2019-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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 \
|
2019-12-19 18:40:33 +00:00
|
|
|
kmod-usb-serial kmod-usb-serial-option
|
2019-05-16 13:38:00 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += zbtlink_zbt-we826-e
|
|
|
|
|
2019-07-03 21:22:02 +00:00
|
|
|
define Device/zbtlink_zbt-wr8305rt
|
2019-12-20 00:15:57 +00:00
|
|
|
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-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-20 00:15:57 +00:00
|
|
|
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
|
2020-05-08 16:21:06 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to 64k | check-size | \
|
|
|
|
zyimage -d 4882 -v "ZyXEL Keenetic Omni"
|
2019-07-07 14:27:51 +00:00
|
|
|
SUPPORTED_DEVICES += kn_rc
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += zyxel_keenetic-omni
|
|
|
|
|
|
|
|
define Device/zyxel_keenetic-omni-ii
|
2019-12-20 00:15:57 +00:00
|
|
|
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
|
2020-05-08 16:21:06 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to 64k | check-size | \
|
2019-07-07 14:27:51 +00:00
|
|
|
zyimage -d 2102034 -v "ZyXEL Keenetic Omni II"
|
|
|
|
SUPPORTED_DEVICES += kn_rf
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += zyxel_keenetic-omni-ii
|
|
|
|
|
|
|
|
define Device/zyxel_keenetic-viva
|
2019-12-20 00:15:57 +00:00
|
|
|
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
|
2019-12-19 18:40:33 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
|
|
|
|
kmod-switch-rtl8366-smi kmod-switch-rtl8367b
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGES += factory.bin
|
2020-05-08 16:21:06 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to 64k | check-size | \
|
|
|
|
zyimage -d 8997 -v "ZyXEL Keenetic Viva"
|
2019-07-07 14:27:51 +00:00
|
|
|
SUPPORTED_DEVICES += kng_rc
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += zyxel_keenetic-viva
|