2016-04-01 07:11:48 +00:00
|
|
|
#
|
|
|
|
# MT7620A Profiles
|
|
|
|
#
|
|
|
|
|
2023-11-12 07:58:26 +00:00
|
|
|
include ./common-sercomm.mk
|
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
|
|
|
( \
|
2021-05-09 20:28:15 +00:00
|
|
|
$(MKHASH) md5 $(KDIR)/v_0.0.0.bin && \
|
2016-04-21 19:46:59 +00:00
|
|
|
echo 458 \
|
2021-05-09 20:28:15 +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
|
2021-05-16 21:48:04 +00:00
|
|
|
SUPPORTED_DEVICES += ac1200rm
|
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
|
2021-05-16 21:48:04 +00:00
|
|
|
SUPPORTED_DEVICES += r36m-e4g
|
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 \
|
2022-12-28 04:44:11 +00:00
|
|
|
-kmod-rt2800-soc -wpad-basic-mbedtls
|
2021-05-16 21:48:04 +00:00
|
|
|
SUPPORTED_DEVICES += tube-e4g
|
ramips: add support for ALFA Network Tube-E4G
ALFA Network Tube-E4G is an outdoor, dual-SIM LTE Cat. 4 CPE, based on
MediaTek MT7620A, equipped with Quectel EC25 miniPCIe modem.
Specification:
- MT7620A (580 MHz)
- 64/128/256 MB of RAM (DDR2)
- 16/32 MB of flash (SPI NOR)
- 1x 10/100 Mbps Ethernet, with passive PoE support (24 V)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses)
- 2x SIM slot (mini, micro) with detect and switch driven by GPIO
- 1x detachable antenna (modem main)
- 1x internal antenna (modem div)
- 1x GPS passive antenna (optional)
- 5x LED (all driven by GPIO)
- 1x button (reset)
- UART (4-pin, 2.54 mm pitch) header on PCB
Other:
Default SIM slot is selected at an early stage by U-Boot, based on
'default_sim' environment value: 1 or unset = SIM1 (mini), 2 = SIM2
(micro). U-Boot also resets the modem, using #PERST signal, before
starting kernel.
Flash instruction:
You can use the 'sysupgrade' image directly in vendor firmware which is
based on OpenWrt (make sure to not preserve settings - use 'sysupgrade
-n -F ...' command). Alternatively, use web recovery mode in U-Boot:
1. Power the device with reset button pressed, the LAN LED will start
blinking slowly and after ~3 seconds, when it starts blinking faster,
you can release the button.
2. Setup static IP 192.168.1.2/24 on your PC.
3. Go to 192.168.1.1 in browser and upload 'sysupgrade' image.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2019-03-10 00:28:28 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += alfa-network_tube-e4g
|
|
|
|
|
2018-04-19 17:36:55 +00:00
|
|
|
define Device/amit_jboot
|
|
|
|
DLINK_IMAGE_OFFSET := 0x10000
|
2021-06-10 15:17:23 +00:00
|
|
|
KERNEL := $(KERNEL_DTB) | uImage lzma -M 0x4f4b4c49
|
|
|
|
LOADER_FLASH_OFFS := 0x20000
|
|
|
|
LOADER_TYPE := bin
|
|
|
|
COMPILE := loader-$(1).bin
|
|
|
|
COMPILE/loader-$(1).bin := loader-okli-compile | pad-to 64k | lzma | \
|
|
|
|
pad-to 65480
|
2018-04-19 17:36:55 +00:00
|
|
|
IMAGES += factory.bin
|
2021-06-10 15:17:23 +00:00
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | mkdlinkfw-loader | \
|
|
|
|
pad-rootfs | append-metadata
|
|
|
|
IMAGE/factory.bin := append-kernel | append-rootfs | mkdlinkfw-loader | \
|
|
|
|
pad-rootfs | mkdlinkfw-factory
|
2018-04-19 17:36:55 +00:00
|
|
|
DEVICE_PACKAGES := jboot-tools kmod-usb2 kmod-usb-ohci
|
|
|
|
endef
|
|
|
|
|
2022-10-25 01:13:30 +00:00
|
|
|
define Device/ampedwireless_b1200ex
|
|
|
|
SOC := mt7620a
|
|
|
|
DEVICE_VENDOR := Amped Wireless
|
|
|
|
DEVICE_MODEL := B1200EX
|
|
|
|
IMAGE_SIZE := 7744k
|
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
|
|
|
|
edimax-header -s CSYS -m RN10 -f 0x70000 -S 0x01100000 | pad-rootfs | \
|
|
|
|
check-size | append-metadata
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-phy-realtek
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += ampedwireless_b1200ex
|
|
|
|
|
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
|
2022-11-15 18:20:30 +00:00
|
|
|
DEVICE_VENDOR := ASUS
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2022-11-15 18:20:30 +00:00
|
|
|
DEVICE_VENDOR := ASUS
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2022-11-15 18:20:30 +00:00
|
|
|
DEVICE_VENDOR := ASUS
|
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
|
|
|
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
|
2022-11-15 18:20:30 +00:00
|
|
|
DEVICE_VENDOR := ASUS
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_MODEL := RT-N11P/RT-N12+/RT-N12Eb1
|
|
|
|
SUPPORTED_DEVICES += rt-n12p
|
2023-05-20 06:37:45 +00:00
|
|
|
DEFAULT := n
|
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
|
2022-11-15 18:20:30 +00:00
|
|
|
DEVICE_VENDOR := ASUS
|
2019-07-07 14:27:51 +00:00
|
|
|
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 \
|
2024-07-09 16:16:36 +00:00
|
|
|
kmod-mmc-mtk 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
|
|
|
|
ramips: add support for BOLT BL100
BL100 is a router made by Bolt by a provider in Indonesia
The original firmware created using Mediatek SDK and kernel 2.6.36
- Chipset: MediaTek MT7620A ver 2, eco 6
- RAM: 64 MB
- Bootloader: U Boot
- Flash: Winbond W25Q128BV (16 MB)
- Ports: 2x 10/100 Ethernet, 1x RJ-11 VoIP
- Modem: Qualcomm LTE B40 (2300 Mhz) VID:05c6 PID:9026
- Wireless: Internal MT7620A (2.4 Ghz) & Mediatek MT76x2E (5.8 Ghz)
- Switch: MediaTek MT7620A built-in 5-port 10/100M switch
- Voltage: DC 12V 1A
- Antenna Port: 2x External Antenna, 2 LTE U.FL, 2 WiFi U.FL
- Serial Port: Yes, 3.3 V TTL, Baud 57600 8N1
- Buttons: Reset and WPS
- LED: 15 Total
- 4 blue lte, 2 red lte, 1 reset, 1 power.
- 1 wps, 1 voip, 1 wlan2, 1 wlan5, 1 lan, 1 wan, 1 wlan.
Installation via stock firmware
1. Unlock Telnet access by downloading the backup .tar.gz file
2. Change the Telnet configuration to LAN_Telnet=1
3. Import backup configuration
4. Restart the router
5. Login to telnet with username and password = admin : db40
6. Download sysupgrade binary and mtd_write to the kernel partition
`mtd_write write openwrt-bolt_bl100-squashfs-sysupgrade.bin Kernel`
Signed-off-by: Radito Wahyu <arditogits@gmail.com>
2024-03-30 02:28:57 +00:00
|
|
|
define Device/bolt_bl100
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 15872k
|
|
|
|
DEVICE_VENDOR := Bolt
|
|
|
|
DEVICE_MODEL := BL100
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
|
|
|
|
UIMAGE_MAGIC := 0x26112015
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += bolt_bl100
|
|
|
|
|
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
|
2023-05-20 06:37:45 +00:00
|
|
|
DEFAULT := n
|
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
|
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
|
2021-06-10 15:17:23 +00:00
|
|
|
LOADER_FLASH_OFFS := 0x220000
|
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
|
|
|
|
|
2023-05-31 14:50:23 +00:00
|
|
|
define Device/dlink_dir-806a-b1
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
|
DEVICE_MODEL := DIR-806A
|
|
|
|
DEVICE_VARIANT := B1
|
|
|
|
DEVICE_PACKAGES += kmod-mt76x0e
|
|
|
|
IMAGES += factory.bin
|
|
|
|
IMAGE/factory.bin := append-kernel | append-rootfs | pad-rootfs | check-size | \
|
|
|
|
sign-dlink-ru cef285a2e29e40b2baab31277d44298b
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += dlink_dir-806a-b1
|
|
|
|
|
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
|
2023-05-20 06:37:45 +00:00
|
|
|
DEFAULT := n
|
2018-01-20 08:27:03 +00:00
|
|
|
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
|
|
|
|
|
2022-02-17 23:23:45 +00:00
|
|
|
define Device/dlink_dwr-961-a1
|
|
|
|
$(Device/amit_jboot)
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 16256k
|
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
|
DEVICE_MODEL := DWR-961
|
|
|
|
DEVICE_VARIANT := A1
|
|
|
|
DLINK_ROM_ID := DLK6E3813001
|
|
|
|
DLINK_FAMILY_MEMBER := 0x6E38
|
|
|
|
DLINK_FIRMWARE_SIZE := 0xFE0000
|
|
|
|
DEVICE_PACKAGES += kmod-mt76x2 kmod-usb-net-qmi-wwan kmod-usb-serial-option \
|
|
|
|
uqmi
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += dlink_dwr-961-a1
|
|
|
|
|
2021-07-27 04:32:00 +00:00
|
|
|
define Device/domywifi_dm202
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_VENDOR := DomyWifi
|
|
|
|
DEVICE_MODEL := DM202
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-mmc-mtk kmod-usb2 kmod-usb-ohci
|
2021-07-27 04:32:00 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += domywifi_dm202
|
|
|
|
|
|
|
|
define Device/domywifi_dm203
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_VENDOR := DomyWifi
|
|
|
|
DEVICE_MODEL := DM203
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-mmc-mtk kmod-usb2 kmod-usb-ohci
|
2021-07-27 04:32:00 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += domywifi_dm203
|
|
|
|
|
|
|
|
define Device/domywifi_dw22d
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_VENDOR := DomyWifi
|
|
|
|
DEVICE_MODEL := DW22D
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-mmc-mtk kmod-usb2 kmod-usb-ohci
|
2021-07-27 04:32:00 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += domywifi_dw22d
|
|
|
|
|
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
|
|
|
|
2023-03-02 20:45:50 +00:00
|
|
|
define Device/edimax_br-6208ac-v2
|
|
|
|
SOC := mt7620a
|
|
|
|
DEVICE_VENDOR := Edimax
|
|
|
|
DEVICE_MODEL := BR-6208AC
|
|
|
|
DEVICE_VARIANT := V2
|
|
|
|
BLOCKSIZE := 64k
|
|
|
|
IMAGE_SIZE := 7744k
|
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
|
|
|
|
edimax-header -s CSYS -m RN71 -f 0x70000 -S 0x01100000 | pad-rootfs | \
|
|
|
|
check-size | append-metadata
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-mt76x0e kmod-phy-realtek \
|
|
|
|
kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
|
|
|
|
uboot-envtools
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += edimax_br-6208ac-v2
|
|
|
|
|
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
|
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 | \
|
2021-06-20 16:54:36 +00:00
|
|
|
check-size | append-metadata
|
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
|
|
|
|
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 | \
|
2021-06-20 16:54:36 +00:00
|
|
|
check-size | append-metadata
|
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
|
|
|
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 | \
|
2021-06-20 16:54:36 +00:00
|
|
|
check-size | append-metadata
|
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
|
|
|
|
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 | \
|
2021-06-20 16:54:36 +00:00
|
|
|
check-size | append-metadata
|
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 Senao Engenius EPG600
FCC ID: A8J-EPG600
Engenius EPG600 is an indoor wireless router with
1 Gb ethernet switch, dual-band wireless,
internal antenna plates, USB, and phone lines (not supported)
this board is a Senao device:
the hardware is equivalent to EnGenius ESR600 (except for phone lines)
the software is Senao SDK which is based on openwrt and uboot
which uses the legacy Senao header with Vendor / Product IDs
to verify the firmware upgrade image.
**Specification:**
- MT7620 SOC MIPS 24kec, 2.4 GHz WMAC, 2x2
- RT5592N WLAN PCI chip, 5 GHz, 2x2
- QCA8337N Gb SW RGMII GbE, SW P0 -- SOC P5, 5 LEDs
- 40 MHz clock
- 16 MB FLASH MX25L12845EMI-10G
- 64 MB RAM NT5TU32M16
- UART console J2, populated
- USB 2.0 port direct to SOC
- 6 GPIO LEDs power, 2G, 5G, wps2g, wps5g, line
- 3 buttons reset, wps, "reg" (registeration)
- 4 antennas internal omni-directional plates
NOT YET SUPPORTED: VoIP
- Si3050-FT + Si3019-FT Voice DAA, SPI control, PCM data
- Phone Ports "TEL", "LINE" RJ11, 4P2C (2 pins)
**MAC addresses:**
MAC address labeled as MAC ADDRESS
MACs present in both wifi cal data and uboot environment
eth0.1/phy1 ---- *:82 rf 0x4
phy0 ---- *:83 factory 0x4
eth0.2 MAC *:b8 "wanaddr"
**Installation:**
Method 1: Firmware upgrade page:
(if you cannot access the APs webpage)
factory reset with the reset button
connect ethernet to a computer
OEM webpage at 192.168.0.1
username and password 'admin'
Navigate to gear icon, "Device Management", "Tools"
select the factory.dlf image
Upload and verify checksum
Method 2: Serial to upload initramfs:
Follow directions for TFTP recovery
upload and boot initramfs and do a sysupgrade
**TFTP recovery:**
Requires UART serial console, reset button does nothing
rename initramfs-kernel.bin to 'uImageEPG600'
make available on TFTP server at 192.168.99.8
power board, interrupt boot with "4"
execute `tftpboot` and `bootm` (with the load address)
**Return to OEM:**
Images from OEM are provided, but not compatible
with openwrt sysupgrade. So it must be modified.
Alternatively, back up all mtd partitions before flashing
**Note on switch registers:**
The necessary registers needed for the QCA8337 switch
can be read from interrupted boot (tftpboot, bootm)
by using the following lines in the switch driver ar8327.c
in the function 'ar8327_hw_config_of'
where 'qca,ar8327-initvals' is parsed from DTS
before the new register values are written:
pr_info("0x04 %08x\n", ar8xxx_read(priv, AR8327_REG_PAD0_MODE));
pr_info("0x08 %08x\n", ar8xxx_read(priv, AR8327_REG_PAD5_MODE));
pr_info("0x0c %08x\n", ar8xxx_read(priv, AR8327_REG_PAD6_MODE));
pr_info("0x10 %08x\n", ar8xxx_read(priv, AR8327_REG_POWER_ON_STRAP));
Signed-off-by: Michael Pratt <mcpratt@pm.me>
2021-04-19 19:45:32 +00:00
|
|
|
define Device/engenius_epg600
|
|
|
|
$(Device/uimage-lzma-loader)
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 15616k
|
|
|
|
IMAGES += factory.dlf
|
|
|
|
IMAGE/factory.dlf := $$(sysupgrade_bin) | check-size | \
|
|
|
|
senao-header -r 0x101 -p 0x6a -t 2
|
|
|
|
DEVICE_VENDOR := EnGenius
|
|
|
|
DEVICE_MODEL := EPG600
|
|
|
|
DEVICE_PACKAGES += kmod-rt2800-pci kmod-usb-storage \
|
|
|
|
kmod-usb-ohci kmod-usb2 uboot-envtools
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += engenius_epg600
|
|
|
|
|
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
|
|
|
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 | \
|
2021-06-20 16:54:36 +00:00
|
|
|
pad-rootfs | check-size | append-metadata
|
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
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-mmc-mtk \
|
2021-02-25 10:54:43 +00:00
|
|
|
uqmi 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
|
2021-03-04 09:59:14 +00:00
|
|
|
IMAGE_SIZE := 15808k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := HiWiFi
|
|
|
|
DEVICE_MODEL := HC5661
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mmc-mtk
|
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
|
2021-03-04 09:59:14 +00:00
|
|
|
IMAGE_SIZE := 15808k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := HiWiFi
|
|
|
|
DEVICE_MODEL := HC5761
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-mmc-mtk \
|
2019-12-19 18:40:33 +00:00
|
|
|
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
|
2021-03-04 09:59:14 +00:00
|
|
|
IMAGE_SIZE := 15808k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := HiWiFi
|
|
|
|
DEVICE_MODEL := HC5861
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-mmc-mtk \
|
2023-09-26 12:12:45 +00:00
|
|
|
kmod-phy-realtek 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
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mmc-mtk
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
|
|
|
2021-12-24 19:48:22 +00:00
|
|
|
define Device/humax_e2
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 7744k
|
|
|
|
DEVICE_VENDOR := HUMAX
|
|
|
|
DEVICE_MODEL := E2
|
|
|
|
DEVICE_ALT0_VENDOR := HUMAX
|
|
|
|
DEVICE_ALT0_MODEL := QUANTUM E2
|
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
|
|
|
|
edimax-header -s CSYS -m RN75 -f 0x70000 -S 0x01100000 | pad-rootfs | \
|
|
|
|
check-size | append-metadata
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += humax_e2
|
|
|
|
|
ramips: fix partitions and boot for RAVPower RP-WD03
The RAVPower RP-WD03 is a battery powered router, with an Ethernet and
USB port. Due due a limitation in the vendor supplied U-Boot bootloader,
we cannot exceed a 1.5 MB kernel size, as is the case with recent builds
(i.e. post v19.07). This breaks both factory and sysupgrade images.
To address this, use the lzma loader (loader-okli) to work around this
limitation.
The improvements here also address the "misplaced" U-Boot environment
partition, which is located between the kernel and rootfs in the stock
image / implementation. This is addressed by making use of mtd-concat,
maximizing space available in the booted image.
This will make sysupgrade from earlier versions impossible.
Changes are based on the recently supported HooToo HT-TM05, as the
hardware is almost identical (except for RAM size) and is from the same
vendor (SunValley). While at it, also change the SPI frequency
accordingly.
Installation:
- Download the needed OpenWrt install files, place them in the root
of a clean TFTP server running on your computer. Rename the files as,
- openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-kernel.bin => kernel
- openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-rootfs.bin => rootfs
- Plug the router into your computer via Ethernet
- Set your computer to use 10.10.10.254 as its IP address
- With your router shut down, hold down the power button until the first
white LED lights up.
- Push and hold the reset button and release the power button. Continue
holding the reset button for 30 seconds or until it begins searching
for files on your TFTP server, whichever comes first.
- The router (10.10.10.128) will look for your computer at 10.10.10.254
and install the two files. Once it has finished installation, it will
automatically reboot and start up OpenWrt.
- Set your computer to use DHCP for its IP address
Notes:
- U-Boot environment can be modified, u-boot-env is preserved on initial
install or sysupgrade
- mtd-concat functionality is included, to leave a "hole" for u-boot-env,
combining the OEM kernel and rootfs partitions
Most of the changes in this commit are the work of Russell Morris (as
credited below), I only wrapped them up and added compat-version.
Thanks to @mpratt14 and @xabolcs for their help getting the lzma loader
to work!
Fixes: 5ef79af4f80f ("ramips: add support for Ravpower WD03")
Suggested-by: Russell Morris <rmorris@rkmorris.us>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-11 15:40:46 +00:00
|
|
|
define Device/sunvalley_filehub_common
|
ramips: add support for HooToo HT-TM05
The HooToo HT-TM05 is a battery powered router, with an Ethernet and USB port.
Vendor U-Boot limited to 1.5 MB kernel size, so use lzma loader (loader-okli).
Specifications:
SOC: MediaTek MT7620N
BATTERY: 10400mAh
WLAN: 802.11bgn
LAN: 1x 10/100 Mbps Ethernet
USB: 1x USB 2.0 (Type-A)
RAM: 64 MB
FLASH: GigaDevice GD25Q64, Serial 8 MB Flash, clocked at 50 MHz
Flash itself specified to 80 MHz, but speed limited by mt7620 SPI
fast-read enabled (m25p)
LED: Status LED (blue after boot, green with WiFi traffic
4 leds to indicate power level of the battery (unable to control)
INPUT: Power, reset button
MAC assignment based on vendor firmware:
2.4 GHz *:b4 (factory 0x04)
LAN/label *:b4 (factory 0x28)
WAN *:b5 (factory 0x2e)
Tested and working:
- Ethernet
- 2.4 GHz WiFi (Correct MAC-address)
- Installation from TFTP (recovery)
- OpenWRT sysupgrade (Preserving and non-preserving), through the usual
ways: command line and LuCI
- LEDs (except as noted above)
- Button (reset)
- I2C, which is needed for reading battery charge status and level
- U-Boot environment / variables (from U-Boot, and OpenWrt)
Installation:
- Download the needed OpenWrt install files, place them in the root
of a clean TFTP server running on your computer. Rename the files as,
- ramips-mt7620-hootoo_tm05-squashfs-kernel.bin => kernel
- ramips-mt7620-hootoo_tm05-squashfs-rootfs.bin => rootfs
- Plug the router into your computer via Ethernet
- Set your computer to use 10.10.10.254 as its IP address
- With your router shut down, hold down the power button until the first
white LED lights up.
- Push and hold the reset button and release the power button. Continue
holding the reset button for 30 seconds or until it begins searching
for files on your TFTP server, whichever comes first.
- The router (10.10.10.128) will look for your computer at 10.10.10.254
and install the two files. Once it has finished installation, it will
automatically reboot and start up OpenWrt.
- Set your computer to use DHCP for its IP address
Notes:
- U-Boot environment can be modified, u-boot-env is preserved on initial
install or sysupgrade
- mtd-concat functionality is included, to leave a "hole" for u-boot-env,
combining the OEM kernel and rootfs partitions
I would like to thank @mpratt14 and @xabolcs for their help getting the
lzma loader to work!
Signed-off-by: Russell Morris <rmorris@rkmorris.us>
[drop changes in image/Makefile, fix indent and PKG_RELEASE in
uboot-envtools, fix LOADER_FLASH_OFFS, minor commit message facelift,
add COMPILE to Device/Default]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-25 00:38:36 +00:00
|
|
|
SOC := mt7620n
|
|
|
|
IMAGE_SIZE := 6144k
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-i2c-ralink
|
|
|
|
LOADER_TYPE := bin
|
|
|
|
LOADER_FLASH_OFFS := 0x200000
|
|
|
|
COMPILE := loader-$(1).bin
|
|
|
|
COMPILE/loader-$(1).bin := loader-okli-compile | pad-to 64k | lzma | \
|
|
|
|
uImage lzma
|
|
|
|
KERNEL := $(KERNEL_DTB) | uImage lzma -M 0x4f4b4c49
|
|
|
|
KERNEL_INITRAMFS := $(KERNEL_DTB) | uImage lzma
|
|
|
|
IMAGES += kernel.bin rootfs.bin
|
|
|
|
IMAGE/kernel.bin := append-loader-okli $(1) | check-size 64k
|
|
|
|
IMAGE/rootfs.bin := $$(sysupgrade_bin) | check-size
|
2021-07-30 03:19:45 +00:00
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
|
|
|
|
check-size 7744k | append-metadata
|
ramips: add support for HooToo HT-TM05
The HooToo HT-TM05 is a battery powered router, with an Ethernet and USB port.
Vendor U-Boot limited to 1.5 MB kernel size, so use lzma loader (loader-okli).
Specifications:
SOC: MediaTek MT7620N
BATTERY: 10400mAh
WLAN: 802.11bgn
LAN: 1x 10/100 Mbps Ethernet
USB: 1x USB 2.0 (Type-A)
RAM: 64 MB
FLASH: GigaDevice GD25Q64, Serial 8 MB Flash, clocked at 50 MHz
Flash itself specified to 80 MHz, but speed limited by mt7620 SPI
fast-read enabled (m25p)
LED: Status LED (blue after boot, green with WiFi traffic
4 leds to indicate power level of the battery (unable to control)
INPUT: Power, reset button
MAC assignment based on vendor firmware:
2.4 GHz *:b4 (factory 0x04)
LAN/label *:b4 (factory 0x28)
WAN *:b5 (factory 0x2e)
Tested and working:
- Ethernet
- 2.4 GHz WiFi (Correct MAC-address)
- Installation from TFTP (recovery)
- OpenWRT sysupgrade (Preserving and non-preserving), through the usual
ways: command line and LuCI
- LEDs (except as noted above)
- Button (reset)
- I2C, which is needed for reading battery charge status and level
- U-Boot environment / variables (from U-Boot, and OpenWrt)
Installation:
- Download the needed OpenWrt install files, place them in the root
of a clean TFTP server running on your computer. Rename the files as,
- ramips-mt7620-hootoo_tm05-squashfs-kernel.bin => kernel
- ramips-mt7620-hootoo_tm05-squashfs-rootfs.bin => rootfs
- Plug the router into your computer via Ethernet
- Set your computer to use 10.10.10.254 as its IP address
- With your router shut down, hold down the power button until the first
white LED lights up.
- Push and hold the reset button and release the power button. Continue
holding the reset button for 30 seconds or until it begins searching
for files on your TFTP server, whichever comes first.
- The router (10.10.10.128) will look for your computer at 10.10.10.254
and install the two files. Once it has finished installation, it will
automatically reboot and start up OpenWrt.
- Set your computer to use DHCP for its IP address
Notes:
- U-Boot environment can be modified, u-boot-env is preserved on initial
install or sysupgrade
- mtd-concat functionality is included, to leave a "hole" for u-boot-env,
combining the OEM kernel and rootfs partitions
I would like to thank @mpratt14 and @xabolcs for their help getting the
lzma loader to work!
Signed-off-by: Russell Morris <rmorris@rkmorris.us>
[drop changes in image/Makefile, fix indent and PKG_RELEASE in
uboot-envtools, fix LOADER_FLASH_OFFS, minor commit message facelift,
add COMPILE to Device/Default]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-25 00:38:36 +00:00
|
|
|
endef
|
ramips: fix partitions and boot for RAVPower RP-WD03
The RAVPower RP-WD03 is a battery powered router, with an Ethernet and
USB port. Due due a limitation in the vendor supplied U-Boot bootloader,
we cannot exceed a 1.5 MB kernel size, as is the case with recent builds
(i.e. post v19.07). This breaks both factory and sysupgrade images.
To address this, use the lzma loader (loader-okli) to work around this
limitation.
The improvements here also address the "misplaced" U-Boot environment
partition, which is located between the kernel and rootfs in the stock
image / implementation. This is addressed by making use of mtd-concat,
maximizing space available in the booted image.
This will make sysupgrade from earlier versions impossible.
Changes are based on the recently supported HooToo HT-TM05, as the
hardware is almost identical (except for RAM size) and is from the same
vendor (SunValley). While at it, also change the SPI frequency
accordingly.
Installation:
- Download the needed OpenWrt install files, place them in the root
of a clean TFTP server running on your computer. Rename the files as,
- openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-kernel.bin => kernel
- openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-rootfs.bin => rootfs
- Plug the router into your computer via Ethernet
- Set your computer to use 10.10.10.254 as its IP address
- With your router shut down, hold down the power button until the first
white LED lights up.
- Push and hold the reset button and release the power button. Continue
holding the reset button for 30 seconds or until it begins searching
for files on your TFTP server, whichever comes first.
- The router (10.10.10.128) will look for your computer at 10.10.10.254
and install the two files. Once it has finished installation, it will
automatically reboot and start up OpenWrt.
- Set your computer to use DHCP for its IP address
Notes:
- U-Boot environment can be modified, u-boot-env is preserved on initial
install or sysupgrade
- mtd-concat functionality is included, to leave a "hole" for u-boot-env,
combining the OEM kernel and rootfs partitions
Most of the changes in this commit are the work of Russell Morris (as
credited below), I only wrapped them up and added compat-version.
Thanks to @mpratt14 and @xabolcs for their help getting the lzma loader
to work!
Fixes: 5ef79af4f80f ("ramips: add support for Ravpower WD03")
Suggested-by: Russell Morris <rmorris@rkmorris.us>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-11 15:40:46 +00:00
|
|
|
|
|
|
|
define Device/hootoo_ht-tm05
|
|
|
|
$(Device/sunvalley_filehub_common)
|
|
|
|
DEVICE_VENDOR := HooToo
|
|
|
|
DEVICE_MODEL := HT-TM05
|
|
|
|
endef
|
ramips: add support for HooToo HT-TM05
The HooToo HT-TM05 is a battery powered router, with an Ethernet and USB port.
Vendor U-Boot limited to 1.5 MB kernel size, so use lzma loader (loader-okli).
Specifications:
SOC: MediaTek MT7620N
BATTERY: 10400mAh
WLAN: 802.11bgn
LAN: 1x 10/100 Mbps Ethernet
USB: 1x USB 2.0 (Type-A)
RAM: 64 MB
FLASH: GigaDevice GD25Q64, Serial 8 MB Flash, clocked at 50 MHz
Flash itself specified to 80 MHz, but speed limited by mt7620 SPI
fast-read enabled (m25p)
LED: Status LED (blue after boot, green with WiFi traffic
4 leds to indicate power level of the battery (unable to control)
INPUT: Power, reset button
MAC assignment based on vendor firmware:
2.4 GHz *:b4 (factory 0x04)
LAN/label *:b4 (factory 0x28)
WAN *:b5 (factory 0x2e)
Tested and working:
- Ethernet
- 2.4 GHz WiFi (Correct MAC-address)
- Installation from TFTP (recovery)
- OpenWRT sysupgrade (Preserving and non-preserving), through the usual
ways: command line and LuCI
- LEDs (except as noted above)
- Button (reset)
- I2C, which is needed for reading battery charge status and level
- U-Boot environment / variables (from U-Boot, and OpenWrt)
Installation:
- Download the needed OpenWrt install files, place them in the root
of a clean TFTP server running on your computer. Rename the files as,
- ramips-mt7620-hootoo_tm05-squashfs-kernel.bin => kernel
- ramips-mt7620-hootoo_tm05-squashfs-rootfs.bin => rootfs
- Plug the router into your computer via Ethernet
- Set your computer to use 10.10.10.254 as its IP address
- With your router shut down, hold down the power button until the first
white LED lights up.
- Push and hold the reset button and release the power button. Continue
holding the reset button for 30 seconds or until it begins searching
for files on your TFTP server, whichever comes first.
- The router (10.10.10.128) will look for your computer at 10.10.10.254
and install the two files. Once it has finished installation, it will
automatically reboot and start up OpenWrt.
- Set your computer to use DHCP for its IP address
Notes:
- U-Boot environment can be modified, u-boot-env is preserved on initial
install or sysupgrade
- mtd-concat functionality is included, to leave a "hole" for u-boot-env,
combining the OEM kernel and rootfs partitions
I would like to thank @mpratt14 and @xabolcs for their help getting the
lzma loader to work!
Signed-off-by: Russell Morris <rmorris@rkmorris.us>
[drop changes in image/Makefile, fix indent and PKG_RELEASE in
uboot-envtools, fix LOADER_FLASH_OFFS, minor commit message facelift,
add COMPILE to Device/Default]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-25 00:38:36 +00:00
|
|
|
TARGET_DEVICES += hootoo_ht-tm05
|
|
|
|
|
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
|
|
|
|
ramips: add support for Netcore NW5212
This patch adds support for Netcore NW5212, provided by some carrier in
China.
Specifications:
--------------
* SoC: Mediatek MT7620A
* RAM: 128MB DDR2
* Flash: 16MB SPI NOR flash (Winbond W25Q128BV)
* WiFi 2.4GHz: builtin
* Ethernet: builtin
* LED: Power, WAN, LAN 1-4, WiFi
* Buttons: Reset (GPIO 13)
* UART: Serial console (57600 8n1)
* USB: 1 x USB2
Installation:
------------
The router comes with OpenWrt 14.07 built with MTK SDK. However, as the
modem is provided by carriers, so the web interface is highly minimized and
only contains a static page with no interaction options.
There are two possible ways to gain the access.
1) Open the shell and use a UART2USB convert to gain TTY access. Please
notice you have to remove resistance R54 at the back of the board
otherwise you won't be able to input anything.
2) Use built-in backdoor. Access http://192.168.1.1/cgi-bin/_/testxst to
start dropbear service at port 9122. Be warned the software is super
old and only diffie-hellman-group1-sha1, diffie-hellman-group14-sha1,
kexguess2@matt.ucc.asn.au is support, you may not be able to connect it
with an up-to-date ssh client.
After you can control the device, flash the firmware as usual. Here are
some hints for that.
Option 1 (via original firmware):
1) Setup HTTP server on your computer, for example:
python3 -m http.server
2) Connect to the route and flash:
cd /tmp
wget http://<your-computer-host>/<your-firmware-name>
mtd -r write <your-firmware-name> firmware
Option 2 (replacing u-boot via breed):
1) Download breed-mt7620-reset13.bin from https://breed.hackpascal.net/
2) Setup HTTP server on your computer, for example:
python3 -m http.server
You can skip this step if your breed is already accessible from HTTP,
since the original wget does not support HTTPS.
3) Connect to the route and flash breed:
cd /tmp
wget http://<your-computer-host>/breed-mt7620-reset13.bin
mtd write breed-mt7620-reset13.bin Bootloader
4) Reboot. Hold reset key or press any key in TTY to enter breed.
5) Access breed web interface (http://192.168.1.1/). Choose the flash
layout to be 0x50000 and flash new firmware.
MAC addresses:
-------------
There are three MACs stored in factory, as in MT7620A reference design:
source address usage
0x4 label WLAN
0x28 label MAC 1
0x2e label + 1 MAC 2
However, the OEM firmware only uses one single MAC (label) for all
interfaces, probably a misconfiguration.
Signed-off-by: David Yang <mmyangfl@gmail.com>
2021-06-06 14:42:49 +00:00
|
|
|
define Device/netcore_nw5212
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_VENDOR := Netcore
|
|
|
|
DEVICE_MODEL := NW5212
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netcore_nw5212
|
|
|
|
|
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
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
ramips: add support for Netgear PR2000
This patch adds support for Netgear PR2000, sold as "Travel Router and
Range Extender".
Specifications:
--------------
* SoC: Mediatek MT7620N
* RAM: 64MB DDR2
* Flash: 16MB SPI NOR flash (Macronix MX25L12805D)
* WiFi 2.4GHz: builtin
* Ethernet: builtin
* LED: Power, Internet, WiFi, USB
* Buttons: Reset (GPIO 1/2)
* UART: Serial console (57600 8n1)
* USB: 1 x USB2
SPECIAL NOTES:
-------------
Problem: WiFi is super weak, but SSID beacons seems to be right.
Solve: Change 36h in factory partition (namely 0xf60036) to be 0x0.
Explain: Clearly Netgear have different ideas on how EEPROM is used. Bit 2
of 36h indicates the presence of External LNA for 11g (2.4 GHz) band,
which seems to be incorrectly set by Netgear (originally 0x04). Lifting it
solves the problem of weak RX signal.
Installation:
------------
There are two possible ways to install the firmware. Flashing via web
interface of original firmware is not tested due to a broken firmware.
1) Open the shell and use a UART2USB convert to gain TTY access (TP7: RXD,
TP9: TXD, TP10: GND). Please notice you have to remove resistance R54
next to TP7 otherwise you won't be able to input anything.
2) Use well-known Netgear debug switch. Access
http://192.168.168.1/setup.cgi?todo=debug to start telnet service
(username: root, password: <none>).
Please back up firmware if you want to go back to the original.
After you can control the device, flash the firmware as usual. Here are
some hints for that.
Option 1 (via nmrpflash):
1) Download nmrpflash from https://github.com/jclehner/nmrpflash
2) Use *-factory.img and flash:
nmrpflash -L
nmrpflash -i net* -f <your-firmware-name>
3) Turn off then turn on the device, wait it finishing flash.
Option 2 (replacing u-boot via breed):
1) Download breed-mt7620-reset1.bin from https://breed.hackpascal.net/
2) Setup HTTP server on your computer, for example:
python3 -m http.server
You can skip this step if your breed is already accessible from HTTP,
since the original wget does not support HTTPS.
3) Connect to the route and flash breed:
cd /tmp
wget http://<your-computer-host>/breed-mt7620-reset1.bin
dd if=breed-mt7620-reset1.bin of=/dev/mtdblock0 bs=64k
4) Reboot. Hold reset key or press any key in TTY to enter breed.
5) Access breed web interface (http://192.168.1.1/). Choose memory layout
to be 0x40000 and flash new firmware.
Remark:
------
As a "Range Extender", it has a switch to switch between Wired mode (GPIO
21 low) and Wireless mode (GPIO 20 low), which is not implemented in this
patch. However, the router will be turned off when it switches to the
middle, which makes this switch much less useful.
MAC addresses:
-------------
The OEM firmware uses one single MAC for all interfaces, located at
0xf700b0.
Signed-off-by: David Yang <mmyangfl@gmail.com>
2021-06-08 16:53:27 +00:00
|
|
|
define Device/netgear_pr2000
|
|
|
|
$(Device/netgear_sercomm_nor)
|
|
|
|
SOC := mt7620n
|
|
|
|
IMAGE_SIZE := 15488k
|
|
|
|
DEVICE_MODEL := PR2000
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
|
|
|
SERCOMM_HWNAME := PR2000
|
|
|
|
SERCOMM_HWID := AQ7
|
|
|
|
SERCOMM_HWVER := A001
|
|
|
|
SERCOMM_SWVER := 0x0000
|
|
|
|
SERCOMM_PAD := 640k
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear_pr2000
|
|
|
|
|
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
|
|
|
|
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
|
2023-05-20 06:37:45 +00:00
|
|
|
DEFAULT := n
|
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
|
|
|
|
ramips: add support for Netgear WN3100RPv2
This patch adds support for the Netgear WN3100RPv2
http://www.netgear.com/support/product/wn3100rpv2.aspx
Specifications:
- SoC: MediaTek MT7620A (580MHz, ramips)
- RAM: 32MB DDR
- Storage: 8MB NOR SPI flash
- Wireless: builtin MT7620A, 2x2:2 with u.FL connectors
- Ethernet: 1x100M
- Stock firmware based on OpenWRT Kamikaze
Like the EX2700, the bootloader expects a secondary image signature,
see https://forum.openwrt.org/viewtopic.php?pid=312577#p312577
This device seems to be same hardware as a WN3000RPv3
Flash instructions:
- Use the Netgear WebUI to upgrade to OpenWRT using the factory image
(see note below),
- Use the sysupgrade image for upgrading versions from OpenWRT,
- TFTP recovery procedure can be used to flash the factory image
(preferred method).
Note:
- The WebUI may not reboot automatically, wait at least 5 minutes before
powercycling the device
Flashing using TFTP:
- Set you IP address to 192.168.1.10/24 (no gateway)
- Connect your machine to the Ethernet port
- Power off the device and wait for 10 seconds,
- Hold the reset button and power on the device (do not release reset),
- Hold the reset button until the green light is flashing (Approx. 15s)
- launch tftp, set mode to binary and connect to 192.168.1.1
- put the factory firmware image
- All leds will switch off (like a power off), this is normal
- Wait for the device to reboot in the new OpenWRT image (max 5 mins)
- The first boot will take longer than usual.
- After boot, the Device IP on the ethernet port is 192.168.1.1
Signed-off-by: Rodolphe de Saint Léger <rdesaintleger@gmail.com>
[drop unneeded includes in dts, wrap commit message]
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2022-03-16 09:19:30 +00:00
|
|
|
define Device/netgear_wn3100rp-v2
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
NETGEAR_HW_ID := 29764883+8+0+32+2x2+0
|
|
|
|
NETGEAR_BOARD_ID := WN3100RPv2
|
|
|
|
IMAGES += factory.bin
|
|
|
|
KERNEL := $(KERNEL_DTB) | uImage lzma | pad-offset 64k 64 | \
|
|
|
|
append-uImage-fakehdr filesystem
|
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | netgear-dni
|
|
|
|
DEVICE_VENDOR := NETGEAR
|
|
|
|
DEVICE_MODEL := WN3100RP
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += netgear_wn3100rp-v2
|
|
|
|
|
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-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
|
|
|
|
ramips: add new flash layout support to Phicomm K2
Descriptions:
Phicomm K2 (PSG1218) got a new "permanent_config" partition after
update firmware to v22.5. This partition located in front of the
firmware partition, same as The Phicomm K2P and K2G. Due to this
change the new bootloader can't load previous firmware any more.
This commit is aimed at add support for Phicomm K2 which official
firmware version is 22.5.x or newer. For which runs old firmware
version, just update OpenWrt that has a prefix of "k2-v22.4".
For uniform naming, this commit also changed the model name
PSG1218 to a more recognizable name K2, refer to Phicomm K2G,
K2P K2T.
OpenWrt selection table:
official firmware version OpenWrt
v22.4.x.x or older phicomm_k2-v22.4
v22.5.x.x or newer phicomm_k2-v22.5
Installation:
Same as Phicomm K2G, K2P, PSG1208.
a. TFTP + U-Boot
b. Open telnet by some web page vulnerability (Search Baidu by key
words "K2 telnet"), and then we can upload firmware image to
/tmp and write it to firmware partition with mtd instruction.
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
[rebase, add/harmonize version in model variables, fix version typo
in commit message, wrap commit message properly]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-07-27 04:45:05 +00:00
|
|
|
define Device/phicomm_k2-v22.4
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DEVICE_VENDOR := Phicomm
|
|
|
|
DEVICE_MODEL := K2
|
|
|
|
DEVICE_VARIANT:= v22.4 or older
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
SUPPORTED_DEVICES += psg1218 psg1218a phicomm,psg1218a
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += phicomm_k2-v22.4
|
|
|
|
|
|
|
|
define Device/phicomm_k2-v22.5
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 7552k
|
|
|
|
DEVICE_VENDOR := Phicomm
|
|
|
|
DEVICE_MODEL := K2
|
|
|
|
DEVICE_VARIANT:= v22.5 or newer
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += phicomm_k2-v22.5
|
|
|
|
|
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_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 \
|
2024-07-09 16:16:36 +00:00
|
|
|
kmod-sound-mt7620 kmod-i2c-ralink kmod-mmc-mtk
|
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
|
|
|
|
|
2020-09-11 15:09:44 +00:00
|
|
|
define Device/ravpower_rp-wd03
|
ramips: fix partitions and boot for RAVPower RP-WD03
The RAVPower RP-WD03 is a battery powered router, with an Ethernet and
USB port. Due due a limitation in the vendor supplied U-Boot bootloader,
we cannot exceed a 1.5 MB kernel size, as is the case with recent builds
(i.e. post v19.07). This breaks both factory and sysupgrade images.
To address this, use the lzma loader (loader-okli) to work around this
limitation.
The improvements here also address the "misplaced" U-Boot environment
partition, which is located between the kernel and rootfs in the stock
image / implementation. This is addressed by making use of mtd-concat,
maximizing space available in the booted image.
This will make sysupgrade from earlier versions impossible.
Changes are based on the recently supported HooToo HT-TM05, as the
hardware is almost identical (except for RAM size) and is from the same
vendor (SunValley). While at it, also change the SPI frequency
accordingly.
Installation:
- Download the needed OpenWrt install files, place them in the root
of a clean TFTP server running on your computer. Rename the files as,
- openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-kernel.bin => kernel
- openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-rootfs.bin => rootfs
- Plug the router into your computer via Ethernet
- Set your computer to use 10.10.10.254 as its IP address
- With your router shut down, hold down the power button until the first
white LED lights up.
- Push and hold the reset button and release the power button. Continue
holding the reset button for 30 seconds or until it begins searching
for files on your TFTP server, whichever comes first.
- The router (10.10.10.128) will look for your computer at 10.10.10.254
and install the two files. Once it has finished installation, it will
automatically reboot and start up OpenWrt.
- Set your computer to use DHCP for its IP address
Notes:
- U-Boot environment can be modified, u-boot-env is preserved on initial
install or sysupgrade
- mtd-concat functionality is included, to leave a "hole" for u-boot-env,
combining the OEM kernel and rootfs partitions
Most of the changes in this commit are the work of Russell Morris (as
credited below), I only wrapped them up and added compat-version.
Thanks to @mpratt14 and @xabolcs for their help getting the lzma loader
to work!
Fixes: 5ef79af4f80f ("ramips: add support for Ravpower WD03")
Suggested-by: Russell Morris <rmorris@rkmorris.us>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-11 15:40:46 +00:00
|
|
|
$(Device/sunvalley_filehub_common)
|
2020-09-11 15:09:44 +00:00
|
|
|
DEVICE_VENDOR := RAVPower
|
|
|
|
DEVICE_MODEL := RP-WD03
|
|
|
|
SUPPORTED_DEVICES += ravpower,wd03
|
ramips: fix partitions and boot for RAVPower RP-WD03
The RAVPower RP-WD03 is a battery powered router, with an Ethernet and
USB port. Due due a limitation in the vendor supplied U-Boot bootloader,
we cannot exceed a 1.5 MB kernel size, as is the case with recent builds
(i.e. post v19.07). This breaks both factory and sysupgrade images.
To address this, use the lzma loader (loader-okli) to work around this
limitation.
The improvements here also address the "misplaced" U-Boot environment
partition, which is located between the kernel and rootfs in the stock
image / implementation. This is addressed by making use of mtd-concat,
maximizing space available in the booted image.
This will make sysupgrade from earlier versions impossible.
Changes are based on the recently supported HooToo HT-TM05, as the
hardware is almost identical (except for RAM size) and is from the same
vendor (SunValley). While at it, also change the SPI frequency
accordingly.
Installation:
- Download the needed OpenWrt install files, place them in the root
of a clean TFTP server running on your computer. Rename the files as,
- openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-kernel.bin => kernel
- openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-rootfs.bin => rootfs
- Plug the router into your computer via Ethernet
- Set your computer to use 10.10.10.254 as its IP address
- With your router shut down, hold down the power button until the first
white LED lights up.
- Push and hold the reset button and release the power button. Continue
holding the reset button for 30 seconds or until it begins searching
for files on your TFTP server, whichever comes first.
- The router (10.10.10.128) will look for your computer at 10.10.10.254
and install the two files. Once it has finished installation, it will
automatically reboot and start up OpenWrt.
- Set your computer to use DHCP for its IP address
Notes:
- U-Boot environment can be modified, u-boot-env is preserved on initial
install or sysupgrade
- mtd-concat functionality is included, to leave a "hole" for u-boot-env,
combining the OEM kernel and rootfs partitions
Most of the changes in this commit are the work of Russell Morris (as
credited below), I only wrapped them up and added compat-version.
Thanks to @mpratt14 and @xabolcs for their help getting the lzma loader
to work!
Fixes: 5ef79af4f80f ("ramips: add support for Ravpower WD03")
Suggested-by: Russell Morris <rmorris@rkmorris.us>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-11 15:40:46 +00:00
|
|
|
DEVICE_COMPAT_VERSION := 2.0
|
|
|
|
DEVICE_COMPAT_MESSAGE := Partition design has changed compared to older versions (up to 19.07) due to kernel size restrictions. \
|
|
|
|
Upgrade via sysupgrade mechanism is not possible, so new installation via TFTP is required.
|
2019-07-07 14:27:51 +00:00
|
|
|
endef
|
2020-09-11 15:09:44 +00:00
|
|
|
TARGET_DEVICES += ravpower_rp-wd03
|
2019-06-03 20:04:12 +00:00
|
|
|
|
2023-11-12 07:58:26 +00:00
|
|
|
define Device/rostelecom_rt-fl-1
|
|
|
|
$(Device/sercomm_cpj)
|
|
|
|
DEVICE_MODEL := RT-FL-1
|
|
|
|
DEVICE_ALT0_MODEL := RT-FL-1
|
|
|
|
ARTIFACT/initramfs-factory.img := \
|
|
|
|
append-image-stage initramfs-kernel.bin | check-size | \
|
|
|
|
sercomm-factory-cpj | gzip | sercomm-payload | \
|
|
|
|
sercomm-pid-setbit 0x11 | sercomm-crypto
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += rostelecom_rt-fl-1
|
|
|
|
|
|
|
|
define Device/rostelecom_s1010
|
|
|
|
$(Device/sercomm_cpj)
|
|
|
|
DEVICE_MODEL := S1010
|
|
|
|
DEVICE_ALT0_MODEL := S1010.RT
|
|
|
|
ARTIFACT/initramfs-factory.img := \
|
|
|
|
append-image-stage initramfs-kernel.bin | check-size | \
|
|
|
|
sercomm-factory-cpj | gzip | sercomm-payload | sercomm-crypto
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += rostelecom_s1010
|
|
|
|
|
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
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-mmc-mtk
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
|
|
|
ramips: add support for Sitecom WLR-4100 v1 002
Sitecom WLR-4100 v1 002 (marked as X4 N300) is a wireless router
Specification:
SoC: MT7620A
RAM: 64 MB DDR2
Flash: MX25L6405D SPI NOR 8 MB
WIFI: 2.4 GHz integrated
Ethernet: 5x 10/100/1000 Mbps QCA8337
USB: 1x 2.0
LEDS: 2x GPIO controlled, 5x switch
Buttons: 1x GPIO controlled
UART: row of 4 unpopulated holes near USB port, starting count from
white triangle on PCB:
VCC 3.3V
GND
TX
RX
baud: 115200, parity: none, flow control: none
Installation
Connect to one of LAN (yellow) ethernet ports,
Open router configuration interface,
Go to Toolbox > Firmware,
Browse for OpenWrt factory image with dlf extension and hit Apply,
Wait few minutes, after the Power LED will stop blinking, the router is
ready for configuration.
Known issues
Some USB 2.0 devices work at full speed mode 1.1 only
MAC addresses
factory partition only contains one (binary) MAC address in 0x4.
u-boot-env contains four (ascii) MAC addresses, of which two appear
to be valid.
factory 0x4 **:**:**:**:b9:84 binary
u-boot-env ethaddr **:**:**:**:b9:84 ascii
u-boot-env wanaddr **:**:**:**:b9:85 ascii
u-boot-env wlanaddr 00:AA:BB:CC:DD:12 ascii
u-boot-env iNICaddr 00:AA:BB:CC:DD:22 ascii
The factory firmware only assigns ethaddr. Thus, we take the
binary value which we can use directly in DTS.
Additional information
OEM firmware shell password is: SitecomSenao
useful for creating backup of original firmware.
There is also another revision of this device (v1 001), based on RT3352 SoC
Signed-off-by: Andrea Poletti <polex73@yahoo.it>
[remove config DT label, convert to nvmem, remove MAC address
setup from u-boot-env, add MAC address info to commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-07-23 16:15:00 +00:00
|
|
|
define Device/sitecom_wlr-4100-v1-002
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 7744k
|
|
|
|
IMAGES += factory.dlf
|
|
|
|
IMAGE/factory.dlf := $$(sysupgrade_bin) | check-size | \
|
|
|
|
senao-header -r 0x0222 -p 0x104A -t 2
|
|
|
|
DEVICE_VENDOR := Sitecom
|
|
|
|
DEVICE_MODEL := WLR-4100
|
|
|
|
DEVICE_VARIANT := v1 002
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci uboot-envtools
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += sitecom_wlr-4100-v1-002
|
|
|
|
|
2022-10-24 15:50:33 +00:00
|
|
|
define Device/snr_cpe-w4n-mt
|
|
|
|
$(Device/uimage-lzma-loader)
|
|
|
|
SOC := mt7620n
|
|
|
|
IMAGE_SIZE := 7360k
|
|
|
|
DEVICE_VENDOR := SNR
|
|
|
|
DEVICE_MODEL := CPE-W4N
|
|
|
|
DEVICE_VARIANT := MT
|
|
|
|
UIMAGE_NAME := SNR-CPE-W4N-MT
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += snr_cpe-w4n-mt
|
|
|
|
|
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
|
2021-02-18 23:53:26 +00:00
|
|
|
IMAGES := sysupgrade.bin
|
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
|
2021-02-13 09:39:42 +00:00
|
|
|
IMAGES := sysupgrade.bin
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_MODEL := Archer C2
|
|
|
|
DEVICE_VARIANT := v1
|
2019-12-19 18:40:33 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci \
|
2024-06-19 12:49:44 +00:00
|
|
|
kmod-usb-ledtrig-usbport 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
|
|
|
|
2024-02-23 19:53:37 +00:00
|
|
|
define Device/tplink_archer-c5-v4
|
|
|
|
$(Device/tplink-v2)
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0x04da857c
|
|
|
|
TPLINK_HWREV := 0x0c000600
|
|
|
|
TPLINK_HWREVADD := 0x04000000
|
|
|
|
IMAGES += tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
|
|
|
DEVICE_MODEL := Archer C5
|
|
|
|
DEVICE_VARIANT := v4
|
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
|
2024-02-24 20:59:40 +00:00
|
|
|
kmod-mt76x2 kmod-switch-rtl8367b
|
2024-02-23 19:53:37 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_archer-c5-v4
|
|
|
|
|
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
|
2020-08-05 10:03:13 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-net-rndis \
|
2021-02-25 10:54:43 +00:00
|
|
|
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
|
|
|
|
2024-04-12 14:44:23 +00:00
|
|
|
define Device/tplink_ec220-g5-v2
|
|
|
|
$(Device/tplink-v2)
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
TPLINK_FLASHLAYOUT := 8Mmtk
|
|
|
|
TPLINK_HWID := 0x02015a15
|
|
|
|
TPLINK_HWREV := 0x55000600
|
|
|
|
TPLINK_HWREVADD := 0x03000000
|
|
|
|
IMAGES += tftp-recovery.bin
|
|
|
|
IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
|
|
|
|
DEVICE_MODEL := EC220-G5
|
|
|
|
DEVICE_VARIANT := v2
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-switch-rtl8367b
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_ec220-g5-v2
|
|
|
|
|
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
|
2024-09-24 10:50:01 +00:00
|
|
|
$(Device/tplink-v1-okli)
|
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
|
2024-09-24 10:50:01 +00:00
|
|
|
$(Device/tplink-v1-okli)
|
2020-03-02 21:24:19 +00:00
|
|
|
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
|
|
|
|
|
2024-11-23 10:23:57 +00:00
|
|
|
define Device/trendnet_tha103ac
|
|
|
|
SOC := mt7620a
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x0e rssileds
|
|
|
|
DEVICE_VENDOR := TRENDnet
|
|
|
|
DEVICE_MODEL := THA-103AC
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
SUPPORTED_DEVICES += mt7620a_mt7610e
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += trendnet_tha103ac
|
|
|
|
|
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
|
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
|
|
|
|
2020-08-13 22:26:13 +00:00
|
|
|
define Device/wavlink_wl-wn530hg4
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DEVICE_VENDOR := Wavlink
|
|
|
|
DEVICE_MODEL := WL-WN530HG4
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += wavlink_wl-wn530hg4
|
|
|
|
|
2024-04-08 19:36:57 +00:00
|
|
|
define Device/wavlink_wl-wn531g3
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 7808k
|
|
|
|
DEVICE_VENDOR := Wavlink
|
|
|
|
DEVICE_MODEL := WL-WN531G3
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-phy-realtek kmod-usb2 kmod-usb-ohci
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += wavlink_wl-wn531g3
|
|
|
|
|
2024-07-04 18:10:25 +00:00
|
|
|
|
|
|
|
define Device/wavlink_wl-wn531g3-a2
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
DEVICE_VENDOR := Wavlink
|
|
|
|
DEVICE_MODEL := WL-WN531G3-A2
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-phy-realtek kmod-usb2 kmod-usb-ohci
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += wavlink_wl-wn531g3-a2
|
|
|
|
|
ramips: add support for Wavlink WL-WN535K1
The Wavlink WL-WN535K1 is a "mesh" router with 2 gigabit ethernet ports
and one fast ethernet port. Mine is branded as Talius TAL-WMESH1.
It can be found in kits of 2 or 3 (WL-WN535K2 or WL-WN535K3).
The motherboard is labelled as WS-WN535G3-B-V1.2 so this image could
potentially work for WL-WN535G3R and WS-WN535G3R with little to none
effort, but it's untested.
Hardware
--------
SoC: Mediatek MT7620A
RAM: 64MB
FLASH: 8MB NOR (GigaDevice GD25Q64CS)
ETH:
- 2x 10/100/1000 Mbps Ethernet (RTL8211F)
- 1x 10/100 Mbps Ethernet (integrated in SOC)
WIFI:
- 2.4GHz: 1x (integrated in SOC) (2x2:2)
- 5GHz: 1x MT7612E (2x2:2)
- 4 internal antennas
BTN:
- 1x Reset button
- 1x Touchlink button (set to WPS)
- 1x ON/OFF switch
LEDS:
- 1x Red led (system status)
- 1x Blue led (system status)
- 3x Green leds (ethernet port status/act)
UART:
- 57600-8-N-1
Everything works correctly.
Currently there is no firmware update available. Because of this, in
order to restore the OEM firmware, you must firstly dump the OEM
firmware from your router before you flash the OpenWrt image.
Backup the OEM Firmware
-----------------------
The following steps are to be intended for users having little to none
experience in linux. Obviously there are many ways to backup the OEM
firmware, but probably this is the easiest way for this router.
Procedure tested on WN535K1_V1510_200916 firmware version.
1) Go to http://192.168.10.1/webcmd.shtml
2) Type the following line in the "Command" input box and then press enter:
mkdir /etc_ro/lighttpd/www/dev; dd if=/dev/mtd0ro of=/etc_ro/lighttpd/www/dev/mtd0ro
3) After few seconds in the textarea should appear this output:
16384+0 records in
16384+0 records out
If your output doesn't match mine, stop reading and ask for
help in the forum.
4) Open in another tab http://192.168.10.1/dev/mtd0ro to download the
content of the whole NOR. If the file size is 0 byte, stop reading
and ask for help in the forum.
5) Come back to the http://192.168.10.1/webcmd.shtml webpage and type:
rm /etc_ro/lighttpd/www/dev/mtd0ro;for i in 1 2 3 4 5; do dd if=/dev/mtd${i}ro of=/etc_ro/lighttpd/www/dev/mtd${i}ro; done
6) After few seconds, in the textarea should appear this output:
384+0 records in
384+0 records out
128+0 records in
128+0 records out
128+0 records in
128+0 records out
14720+0 records in
14720+0 records out
1024+0 records in
1024+0 records out
If your output doesn't match mine, stop reading and ask for
help in the forum.
7) Open the following links to download the partitions of the OEM FW:
http://192.168.10.1/dev/mtd1ro
http://192.168.10.1/dev/mtd2ro
http://192.168.10.1/dev/mtd3ro
http://192.168.10.1/dev/mtd4ro
http://192.168.10.1/dev/mtd5ro
If one (or more) of these files are 0 byte, stop reading and ask
for help in the forum.
8) Store these downloaded files in a safe place.
9) Reboot your router to remove any temporary file in ram.
Installation
------------
Flash the initramfs image in the OEM firmware interface
(http://192.168.10.1/update_mesh.shtml).
When Openwrt boots, flash the sysupgrade image otherwise you won't be
able to keep configuration between reboots.
Restore OEM Firmware
--------------------
Flash the "mtd4ro" file you previously backed-up directly from LUCI.
Warning: Remember to not keep settings!
Warning2: Remember to force the flash.
Notes
-----
1) Router mac addresses:
LAN XX:XX:XX:XX:XX:E2 (factory @ 0x28)
WAN XX:XX:XX:XX:XX:E3 (factory @ 0x2e)
WIFI 2G XX:XX:XX:XX:XX:E4 (factory @ 0x04)
WIFI 5G XX:XX:XX:XX:XX:E5 (factory @ 0x8004)
LABEL XX:XX:XX:XX:XX:E5
2) The OEM firmware upgrade page accepts only files containing the
string "WN535K1" in the filename.
3) Additional notes 1,2,3 in the WS-WN583A6 commit are still valid
(https://github.com/openwrt/openwrt/commit/92780d80ab6f5f03fac2407c06eb267dd83914a1)
Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
[remove trailing whitespace]
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2021-12-04 03:15:30 +00:00
|
|
|
define Device/wavlink_wl-wn535k1
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 7360k
|
|
|
|
DEVICE_VENDOR := Wavlink
|
|
|
|
DEVICE_MODEL := WL-WN535K1
|
|
|
|
DEVICE_ALT0_VENDOR := Talius
|
|
|
|
DEVICE_ALT0_MODEL := TAL-WMESH1
|
|
|
|
KERNEL_INITRAMFS_SUFFIX := -WN535K1$$(KERNEL_SUFFIX)
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-phy-realtek
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += wavlink_wl-wn535k1
|
|
|
|
|
ramips: add support for the Wavlink WL-WN579X3
About the device
----------------
SoC: MediaTek MT7620a @ 580MHz
RAM: 64M
FLASH: 8MB
WiFi: SoC-integrated: MediaTek MT7620a bgn
WiFi: MediaTek MT7612EN nac
GbE: 2x (RTL8211F)
BTN: - WPS
- Reset
- Router/Repeater/AP (3-way slide-switch)
LED: - WPS (blue)
- 3-segment Wifi signal representation (blue)
- WiFi (blue)
- WAN (blue)
- LAN (blue)
- Power (blue)
UART: UART is present as Pads with through-holes on the PCB. They are
located next to the reset button and are labelled Vcc/TX/RX/GND as
appropriate. Use 3.3V, 57600-8N1.
Installation
------------
Using the webcmd interface
--------------------------
Warning: Do not update to the latest Wavlink firmware (version
20201201) as this removes the webcmd console and you will need to
use the serial port instead.
You will need to have built uboot/sqauashfs image for this device,
and you will need to provide an HTTP service where the image can
be downloaded from that is accessible by the device.
You cannot use the device manufacturers firmware upgrade interface
as it rejects the OpenWrt image.
1. Log into the device's admin portal. This is necessary to
authenticate you as a user in order to be able to access the
webcmd interface.
2. Navigate to http://<device-ip>/webcmd.shtml - you can access
the console directly through this page, or you may wish to
launch the installed `telnetd` and use telnet instead.
* Using telnet is recommended since it provides a more
convenient shell interface that the web form.
* Launch telnetd from the form with the command `telnetd`.
* Check the port that telnetd is running on using
`netstat -antp|grep telnetd`, it is likely to be 2323.
* Connect to the target using `telnet`. The username should
be `admin2860`, and the password is your admin password.
3. On the target use `curl` to download the image.
e.g. `curl -L -O http://<some-other-lan-ip>/openwrt-ramips-mt7620-\
wavlink_wl-wn579x3-squashfs-sysupgrade.bin`.
Check the hash using `md5sum`.
4. Use the mtd_write command to flash the image.
* The flash partition should be mtd4, but check
/sys/class/mtd/mtd4/name first. The partition should be
called 'Kernel'.
* To flash use the following command:
`mtd_write -r -e /dev/mtd<n> write <image-file> /dev/mtd<n>`
Where mtd<n> is the Kernel partition, and <image-file> is
the OpenWrt image previously downloaded.
* The command above will erase, flash and then reboot the
device. Once it reboots it will be running OpenWrt.
Connect via ssh to the device at 192.168.1.1 on the LAN port.
The WAN port will be configured via DHCP.
Using the serial port
---------------------
The device uses uboot like many other MT7260a based boards. To
use this interface, you will need to connect to the serial
interface, and provide a TFTP server. At boot follow the
bootloader menu and select option 2 to erase/flash the image.
Provide the address and filename details for the tftp server.
The bootloader will do the rest.
Once the image is flashed, the board will boot into OpenWrt. The
console is available over the serial port.
Signed-off-by: Ben Gainey <ba.gainey@googlemail.com>
2021-01-31 11:15:38 +00:00
|
|
|
define Device/wavlink_wl-wn579x3
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 7744k
|
|
|
|
DEVICE_VENDOR := Wavlink
|
|
|
|
DEVICE_MODEL := WL-WN579X3
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-phy-realtek
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += wavlink_wl-wn579x3
|
|
|
|
|
2021-12-18 13:19:06 +00:00
|
|
|
define Device/wevo_air-duo
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 15040k
|
|
|
|
UIMAGE_NAME := AIR DUO(0.0.0)
|
|
|
|
KERNEL_INITRAMFS_SUFFIX := .upload
|
|
|
|
DEVICE_VENDOR := WeVO
|
|
|
|
DEVICE_MODEL := AIR DUO
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-usb-storage-uas
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += wevo_air-duo
|
|
|
|
|
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
|
|
|
|
2022-11-05 11:52:08 +00:00
|
|
|
define Device/youku_x2
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_VENDOR := Youku
|
|
|
|
DEVICE_MODEL := X2
|
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci \
|
2024-07-09 16:16:36 +00:00
|
|
|
kmod-mmc-mtk kmod-usb-ledtrig-usbport
|
2022-11-05 11:52:08 +00:00
|
|
|
UIMAGE_MAGIC := 0x12291000
|
|
|
|
UIMAGE_NAME := 400000000000000000001000
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += youku_x2
|
|
|
|
|
2021-05-16 13:21:09 +00:00
|
|
|
define Device/youku_yk-l1
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := mt7620a
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 32448k
|
2021-05-16 13:21:09 +00:00
|
|
|
DEVICE_VENDOR := Youku
|
|
|
|
DEVICE_MODEL := YK-L1
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mmc-mtk \
|
2019-12-19 18:40:33 +00:00
|
|
|
kmod-usb-ledtrig-usbport
|
2021-05-16 13:21:09 +00:00
|
|
|
SUPPORTED_DEVICES += youku-yk1 youku,yk1
|
2022-11-05 11:52:08 +00:00
|
|
|
UIMAGE_MAGIC := 0x12291000
|
|
|
|
UIMAGE_NAME := 400000000000000000000000
|
2016-05-11 12:04:40 +00:00
|
|
|
endef
|
2021-05-16 13:21:09 +00:00
|
|
|
TARGET_DEVICES += youku_yk-l1
|
|
|
|
|
|
|
|
define Device/youku_yk-l1c
|
|
|
|
SOC := mt7620a
|
|
|
|
IMAGE_SIZE := 16064k
|
|
|
|
DEVICE_VENDOR := Youku
|
|
|
|
DEVICE_MODEL := YK-L1c
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mmc-mtk \
|
2021-05-16 13:21:09 +00:00
|
|
|
kmod-usb-ledtrig-usbport
|
2022-11-05 11:52:08 +00:00
|
|
|
UIMAGE_MAGIC := 0x12291000
|
|
|
|
UIMAGE_NAME := 400000000000000000000000
|
2021-05-16 13:21:09 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += youku_yk-l1c
|
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
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-mmc-mtk
|
2019-09-26 12:44:23 +00:00
|
|
|
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
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mmc-mtk
|
2019-11-02 14:18:55 +00:00
|
|
|
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
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-mmc-mtk
|
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
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-mmc-mtk
|
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
|
2024-07-09 16:16:36 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mmc-mtk uqmi \
|
2021-02-25 10:54:43 +00:00
|
|
|
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
|
2023-05-20 06:37:45 +00:00
|
|
|
DEFAULT := n
|
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
|
|
|
|
ramips: add support for Keenetic Lite III rev. A
General specification:
SoC Type: MediaTek MT7620N (580MHz)
ROM: 8 MB SPI-NOR (W25Q64FV)
RAM: 64 MB DDR (EM6AB160TSD-5G)
Switch: MediaTek MT7530
Ethernet: 5 ports - 5×100MbE (WAN, LAN1-4)
Wireless: 2.4 GHz (MediaTek RT5390): b/g/n
Buttons: 3 button (POWER, RESET, WPS)
Slide switch: 4 position (BASE, ADAPTER, BOOSTER, ACCESS POINT)
Bootloader: U-Boot 1.1.3
Power: 9 VDC, 0.6 A
MAC in stock:
|- + |
| LAN | RF-EEPROM + 0x04 |
| WLAN | RF-EEPROM + 0x04 |
| WAN | RF-EEPROM + 0x28 |
OEM easy installation
1. Use a PC to browse to http://my.keenetic.net.
2. Go to the System section and open the Files tab.
3. Under the Files tab, there will be a list of system
files. Click on the Firmware file.
4. When a modal window appears, click on the Choose File
button and upload the firmware image.
5. Wait for the router to flash and reboot.
OEM installation using the TFTP method
1. Download the latest firmware image and rename it to
klite3_recovery.bin.
2. Set up a Tftp server on a PC (e.g. Tftpd32) and place the
firmware image to the root directory of the server.
3. Power off the router and use a twisted pair cable to connect
the PC to any of the router's LAN ports.
4. Configure the network adapter of the PC to use IP address
192.168.1.2 and subnet mask 255.255.255.0.
5. Power up the router while holding the reset button pressed.
6. Wait approximately for 5 seconds and then release the
reset button.
7. The router should download the firmware via TFTP and
complete flashing in a few minutes.
After flashing is complete, use the PC to browse to
http://192.168.1.1 or ssh to proceed with the configuration.
Signed-off-by: Alexey Bartenev <41exey@proton.me>
2023-03-10 15:35:30 +00:00
|
|
|
define Device/zyxel_keenetic-lite-iii-a
|
|
|
|
SOC := mt7620n
|
|
|
|
IMAGE_SIZE := 7872k
|
2024-06-07 12:42:32 +00:00
|
|
|
DEVICE_VENDOR := Zyxel
|
ramips: add support for Keenetic Lite III rev. A
General specification:
SoC Type: MediaTek MT7620N (580MHz)
ROM: 8 MB SPI-NOR (W25Q64FV)
RAM: 64 MB DDR (EM6AB160TSD-5G)
Switch: MediaTek MT7530
Ethernet: 5 ports - 5×100MbE (WAN, LAN1-4)
Wireless: 2.4 GHz (MediaTek RT5390): b/g/n
Buttons: 3 button (POWER, RESET, WPS)
Slide switch: 4 position (BASE, ADAPTER, BOOSTER, ACCESS POINT)
Bootloader: U-Boot 1.1.3
Power: 9 VDC, 0.6 A
MAC in stock:
|- + |
| LAN | RF-EEPROM + 0x04 |
| WLAN | RF-EEPROM + 0x04 |
| WAN | RF-EEPROM + 0x28 |
OEM easy installation
1. Use a PC to browse to http://my.keenetic.net.
2. Go to the System section and open the Files tab.
3. Under the Files tab, there will be a list of system
files. Click on the Firmware file.
4. When a modal window appears, click on the Choose File
button and upload the firmware image.
5. Wait for the router to flash and reboot.
OEM installation using the TFTP method
1. Download the latest firmware image and rename it to
klite3_recovery.bin.
2. Set up a Tftp server on a PC (e.g. Tftpd32) and place the
firmware image to the root directory of the server.
3. Power off the router and use a twisted pair cable to connect
the PC to any of the router's LAN ports.
4. Configure the network adapter of the PC to use IP address
192.168.1.2 and subnet mask 255.255.255.0.
5. Power up the router while holding the reset button pressed.
6. Wait approximately for 5 seconds and then release the
reset button.
7. The router should download the firmware via TFTP and
complete flashing in a few minutes.
After flashing is complete, use the PC to browse to
http://192.168.1.1 or ssh to proceed with the configuration.
Signed-off-by: Alexey Bartenev <41exey@proton.me>
2023-03-10 15:35:30 +00:00
|
|
|
DEVICE_MODEL := Keenetic Lite III
|
|
|
|
DEVICE_VARIANT := A
|
|
|
|
IMAGES += factory.bin
|
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to 64k | check-size | \
|
|
|
|
zyimage -d 2102018 -v "ZyXEL Keenetic Lite III"
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += zyxel_keenetic-lite-iii-a
|
|
|
|
|
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
|
2024-06-07 12:42:32 +00:00
|
|
|
DEVICE_VENDOR := Zyxel
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2024-06-07 12:42:32 +00:00
|
|
|
DEVICE_VENDOR := Zyxel
|
2019-07-07 14:27:51 +00:00
|
|
|
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
|
2024-06-07 12:42:32 +00:00
|
|
|
DEVICE_VENDOR := Zyxel
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_MODEL := Keenetic Viva
|
2019-12-19 18:40:33 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
|
2024-06-19 12:49:44 +00:00
|
|
|
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
|