2009-08-19 19:26:53 +00:00
|
|
|
#!/bin/sh
|
2013-02-18 09:56:27 +00:00
|
|
|
# Copyright (C) 2009-2013 OpenWrt.org
|
2009-08-19 19:26:53 +00:00
|
|
|
|
2017-05-12 20:36:07 +00:00
|
|
|
. /lib/functions.sh
|
2013-02-18 09:56:27 +00:00
|
|
|
. /lib/functions/leds.sh
|
2009-08-19 19:26:53 +00:00
|
|
|
|
|
|
|
get_status_led() {
|
2017-05-12 20:36:07 +00:00
|
|
|
local board=$(board_name)
|
2016-09-28 00:02:40 +00:00
|
|
|
|
|
|
|
case $board in
|
2016-09-23 07:36:43 +00:00
|
|
|
a40)
|
|
|
|
status_led="a40:green:status"
|
|
|
|
;;
|
2016-08-09 14:06:45 +00:00
|
|
|
a60)
|
|
|
|
status_led="a60:green:status"
|
|
|
|
;;
|
2012-01-01 19:30:25 +00:00
|
|
|
alfa-nx)
|
|
|
|
status_led="alfa:green:led_8"
|
|
|
|
;;
|
2012-08-22 12:33:22 +00:00
|
|
|
all0305)
|
|
|
|
status_led="eap7660d:green:ds4"
|
|
|
|
;;
|
2016-09-28 00:14:33 +00:00
|
|
|
antminer-s1|\
|
|
|
|
antminer-s3|\
|
|
|
|
antminer-r1|\
|
ar71xx: add support for WHQX E1700AC/E600G/E600GAC v2
WHQX E1700AC v2 is based on Qualcomm QCA9563 + QCA9880 + QCA8334.
Specification:
- 750/400/250 MHz (CPU/DDR/AHB)
- 128 MB of RAM (DDR2)
- 8/16 MB of FLASH (SPI NOR)
- 3T3R 2.4 GHz (QCA9563) with external FEM (SKY85309-11)
- 3T3R 5 GHz (QCA9880) with external FEM (SKY85728-11)
- 2x 10/100/1000 Mbps Ethernet (one port with PoE support)
- 1x miniPCIe slot (USB 2.0 bus only)
- 1x microSIM slot
- 1x USB 2.0
- 5x LED (4 driven by GPIO)
- 1x button (reset)
- 1x 2-pos switch
- 1x DC jack for main power input (9-48 V)
- UART (J5) and LEDs (J13) headers on PCB
WHQX E600G is based on Qualcomm QCA9531.
Specification:
- 650/391/216 MHz (CPU/DDR/AHB)
- 64/128 MB of RAM (DDR2)
- 8/16 MB of FLASH (SPI NOR)
- 2T2R 2.4 GHz (QCA9531) with external PA (LXK-6601)
- 2x 10/100 Mbps Ethernet (one port with PoE support)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses)
- 1x microSIM slot
- 5x LED (4 driven by GPIO)
- 1x button (reset)
- 1x DC jack for main power input (9-48 V)
- UART (J100), SIM (J34), JTAG (J5) and LEDs (J7) headers on PCB
WHQX E600GAC is based on Qualcomm QCA9531 + QCA9887.
Specification:
- 650/391/216 MHz (CPU/DDR/AHB)
- 64/128 MB of RAM (DDR2)
- 8/16 MB of FLASH (SPI NOR)
- 2T2R 2.4 GHz (QCA9531)
- 1T1R 5 GHz (QCA9887) with external FEM (SKY85703-11)
- 2x 10/100 Mbps Ethernet
- 6x LED (1x RGB, 5 driven by GPIO)
- 1x button (reset)
- 1x DC jack for main power input (9-12 V)
- UART (J100), USB (J102), JTAG (J5) and LEDs (J7) header on PCB
Important notice:
First version of these boards are using different mtd layout, with ART
data at the end. You should not use v2 images on v1 board because it
will result in lost of ART data!
Flash instruction (using U-Boot CLI and tftp server):
1. Configure PC with static IP 192.168.1.10 and tftp server.
2. Rename "sysupgrade" filename to "firmware.bin" and place it in tftp
server directory.
3. Connect PC with one of RJ45 ports, power up the board and press
"enter" key to access U-Boot CLI.
4. Use the following command to update the device to OpenWrt: "run lfw".
Flash instruction (using U-Boot web-based recovery):
1. Configure PC with static IP 192.168.1.xxx(2-254)/24.
2. Connect PC with one of RJ45 ports, press the reset button, power up
the board and keep button pressed for around 6-7 seconds, until LEDs
start flashing.
3. Open your browser and enter 192.168.1.1, select "sysupgrade" image
and click the upgrade button.
Signed-off-by: Peng Zhang <sd20@qxwlan.com>
[reworked: image generation code, mach-* files, commit description,
fixed minor code style issues, rebased on master]
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2018-01-05 09:38:05 +00:00
|
|
|
e1700ac-v2|\
|
|
|
|
e600gac-v2|\
|
2017-10-24 08:58:39 +00:00
|
|
|
eap120|\
|
2016-09-28 00:14:33 +00:00
|
|
|
minibox-v1|\
|
ar71xx: add support for YunCore SR3200 and XD3200
YunCore SR3200 is a dual-band AC1200 router, based on Qualcomm/Atheros
QCA9563+QCA9882+QCA8337N.
YunCore XD3200 (FCC ID: 2ADUG-XD3200) is a dual-band AC1200 ceiling mount
AP with PoE support, based on Qualcomm/Atheros QCA9563+QCA9882+QCA8334.
Common specification:
- 775/650/258 MHz (CPU/DDR/AHB)
- 128 MB or RAM (DDR2)
- 16 MB of FLASH (SPI NOR)
- 2T2R 2.4 GHz, with ext. PA (SKY65174-21), up to 30 dBm
- 2T2R 5 GHz, with ext. PA (SKY85405-11) and LNA (SKY85601-11), up to 30 dBm
SR3200 specification:
- 5x 10/100/1000 Mbps Ethernet
- 6x ext. RP-SMA antennas (actually, only 4 are connected with radio chips)
- 3x LED (+ 5x LED in RJ45 sockets), 1x button
- UART header on PCB
XD3200 specification:
- 2x 10/100/1000 Mbps Ethernet, with 802.3at PoE support (WAN port)
- 4x internal antennas
- 3 sets of LEDs on external PCB (+ 2x LED near RJ45 sockets), 1x button
- UART and JTAG (custom 6-pin, 2 mm pitch) headers on PCB
LED for 5 GHz WLAN is currently not supported on both devices as it is
connected directly to the QCA9882 radio chip.
Flash instruction under vendor firmware, using telnet/SSH:
1. If your firmware does not have root password, go to point 5
2. Connect PC with 192.168.1.x address to LAN or WAN port
3. Power up device, enter failsafe mode with button (no LED indicator!)
4. Change root password and reboot (mount_root, passwd ..., reboot -f)
5. Upload lede-ar71xx-...-sysupgrade.bin to /tmp using SCP
6. Connect PC with 192.168.188.x address to LAN port, SSH to 192.168.188.253
7. Invoke:
- cd /tmp
- fw_setenv bootcmd "bootm 0x9fe80000 || bootm 0x9f050000"
- mtd -e firmware -r write lede-ar71xx-...-sysupgrade.bin firmware
Flash instruction under U-Boot, using UART:
1. tftp 0x80060000 lede-ar71xx-...-sysupgrade.bin
2. erase 0x9f050000 +$filesize
3. cp.b $fileaddr 0x9f050000 $filesize
4. setenv bootcmd "bootm 0x9fe80000 || bootm 0x9f050000"
5. saveenv && reset
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2016-12-02 21:42:41 +00:00
|
|
|
som9331|\
|
|
|
|
sr3200|\
|
2017-02-13 17:29:34 +00:00
|
|
|
tl-wr802n-v2|\
|
ar71xx: add support for YunCore SR3200 and XD3200
YunCore SR3200 is a dual-band AC1200 router, based on Qualcomm/Atheros
QCA9563+QCA9882+QCA8337N.
YunCore XD3200 (FCC ID: 2ADUG-XD3200) is a dual-band AC1200 ceiling mount
AP with PoE support, based on Qualcomm/Atheros QCA9563+QCA9882+QCA8334.
Common specification:
- 775/650/258 MHz (CPU/DDR/AHB)
- 128 MB or RAM (DDR2)
- 16 MB of FLASH (SPI NOR)
- 2T2R 2.4 GHz, with ext. PA (SKY65174-21), up to 30 dBm
- 2T2R 5 GHz, with ext. PA (SKY85405-11) and LNA (SKY85601-11), up to 30 dBm
SR3200 specification:
- 5x 10/100/1000 Mbps Ethernet
- 6x ext. RP-SMA antennas (actually, only 4 are connected with radio chips)
- 3x LED (+ 5x LED in RJ45 sockets), 1x button
- UART header on PCB
XD3200 specification:
- 2x 10/100/1000 Mbps Ethernet, with 802.3at PoE support (WAN port)
- 4x internal antennas
- 3 sets of LEDs on external PCB (+ 2x LED near RJ45 sockets), 1x button
- UART and JTAG (custom 6-pin, 2 mm pitch) headers on PCB
LED for 5 GHz WLAN is currently not supported on both devices as it is
connected directly to the QCA9882 radio chip.
Flash instruction under vendor firmware, using telnet/SSH:
1. If your firmware does not have root password, go to point 5
2. Connect PC with 192.168.1.x address to LAN or WAN port
3. Power up device, enter failsafe mode with button (no LED indicator!)
4. Change root password and reboot (mount_root, passwd ..., reboot -f)
5. Upload lede-ar71xx-...-sysupgrade.bin to /tmp using SCP
6. Connect PC with 192.168.188.x address to LAN port, SSH to 192.168.188.253
7. Invoke:
- cd /tmp
- fw_setenv bootcmd "bootm 0x9fe80000 || bootm 0x9f050000"
- mtd -e firmware -r write lede-ar71xx-...-sysupgrade.bin firmware
Flash instruction under U-Boot, using UART:
1. tftp 0x80060000 lede-ar71xx-...-sysupgrade.bin
2. erase 0x9f050000 +$filesize
3. cp.b $fileaddr 0x9f050000 $filesize
4. setenv bootcmd "bootm 0x9fe80000 || bootm 0x9f050000"
5. saveenv && reset
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2016-12-02 21:42:41 +00:00
|
|
|
xd3200)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:green:system"
|
2016-01-01 21:21:13 +00:00
|
|
|
;;
|
2017-03-31 11:37:31 +00:00
|
|
|
ap121f)
|
|
|
|
status_led="$board:green:vpn"
|
|
|
|
;;
|
2016-09-28 00:14:33 +00:00
|
|
|
ap132|\
|
2017-03-02 17:23:50 +00:00
|
|
|
ap531b0|\
|
ar71xx: add support for P&W R602N and CPE505N
P&W (full name: Shenzhen Progress&Win Technologies) R602N (could be also
labeled as R602F, R602, etc.) is a simple N300 router with 5-port
10/100 Mbps switch, non-detachable antennas and USB.
CPE505 is an outdoor CPE with PoE support and detachable antennas.
Both devices are based on Qualcomm/Atheros QCA9531 v2.
Common specification:
- 650/597/216 MHz (CPU/DDR/AHB)
- 64 MB of RAM (DDR2)
- 16 MB of FLASH
- UART (J2) header on PCB
R602N specification:
- 5x 10/100 Mbps Ethernet
- 1x USB 2.0
- 2T2R 2.4 GHz with external LNA and PA (SE2576L), up to 28 dBm
- 2x external, non-detachable antennas
- 7x LED, 1x button
CPE505N specification:
- 2x 10/100 Mbps Ethernet (both ports support passive PoE 12-24 V)
- 2T2R 2.4 GHz with external LNA and PA (SKY65174-21), up to 30 dBm
- 2x external, detachable antennas (RP-SMA connectors)
- 1x RGB LED, 2x LEDs (in RJ45 sockets), 1x button
Flash instructions:
It seems that there are many different versions of the firmware which
these devices are shipped with. The generic/standard one is based on
some modified OpenWrt and LEDE firmware can be flashed directly from
vendor's webgui or with sysupgrade (root password is "admin123").
Before flashing, make sure (use "fw_printenv") that the kernel load
address in your device is set to "0x9f050000" (bootcmd variable is
"bootm 0x9f050000"). If your device uses different load address, you
should first change it, under vendor's firmware, with command:
fw_setenv bootcmd "bootm 0x9f050000 || bootm OLD_ADDRESS"
Where OLD_ADDRESS is previous kernel load address (in CPE505 version
I got access to, it was "0x9fe80000"). This will allow you to use
both the vendor's and LEDE firmware.
If version of your device contains empty U-Boot environment (you will
get information about this after issuing "fw_printenv"), you should
use U-Boot, serial line access and TFTP to perform firmware upgrade:
1. tftp 0x80060000 lede-ar71xx-generic-...-squashfs-sysupgrade.bin
2. erase 0x9f050000 +$filesize
3. cp.b $fileaddr 0x9f050000 $filesize
4. setenv bootcmd "bootm 0x9f050000 || bootm OLD_ADDRESS"
5. saveenv && reset
These devices contain also web recovery mode inside U-Boot. It can be
started with pressing the reset button for around 3 seconds just after
the device powerup. Web recovery panel is available on "192.168.10.9"
and to be able to use it, IP on your PC must be set to "192.168.10.10".
Make sure to change kernel load address before using recovery mode or
the U-Boot will not be able to load LEDE firmware.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2017-03-15 23:54:08 +00:00
|
|
|
cpe505n|\
|
2016-09-28 00:14:33 +00:00
|
|
|
db120|\
|
2017-10-23 11:30:20 +00:00
|
|
|
dr342|\
|
2016-09-28 00:14:33 +00:00
|
|
|
dr344|\
|
ar71xx: add support for Teltonika RUT900
Teltonika RUT900 is an industrial 3G router based on Atheros AR9344.
There are available 3 other models in RUT9xx series: RUT905, RUT950 and
RUT955, which differ in availability of additional I/O ports, built-in
GSM modem type, GPS antenna and other features. FCC ID of the RUT950
model (LTE module built-in): 2AET4-RUT950.
This patch adds support for the RUT900 model only but can be easily
extended to cover whole series. Also, as there are several different
3/4G modules (Huawei, Quectel, Telit) used in whole series, packages
required for WWAN support are not included by default. It is up to the
user to install required software for built-in modem.
Specification:
- 550/400/200 MHz (CPU/DDR/AHB)
- 128 MB of RAM (DDR2)
- 16 MB of FLASH (SPI NOR)
- 4x 10/100 Mbps Ethernet, with passive PoE support on LAN1
- 2T2R 2,4 GHz (AR9344), with ext. PA (MGA-22103) and LNA
- built-in 3G module (example: Telit HE910-D)
- 2x miniSIM slot
- 2x RP-SMA/F (Wi-Fi), 2x SMA/F (3G)
- PCA9539 16-bit GPIO I2C expander
- 12x LED (4 are driven by AR9344, 7 by PCA9539)
- 1x button (reset)
- DC jack for main power input (9-30 V)
- UART available on PCB edge connector
Serial console pinout:
- RX: pin1 (square) on top side of the main PCB (AR9344 is on top)
- TX: pin1 (square) on bottom side
Flash instruction:
Vendor firmware is based on OpenWrt CC release. Use the "factory" image
directly in GUI (make sure to uncheck "keep settings") or in U-Boot web
based recovery. To avoid any problems, make sure to first update vendor
firmware to latest version - "factory" image was successfully tested on
device running "RUT9XX_R_00.03.960" firmware and U-Boot "3.0.1".
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2017-10-15 11:24:02 +00:00
|
|
|
rut900|\
|
2016-09-28 00:14:33 +00:00
|
|
|
tew-632brp|\
|
2017-03-08 20:10:05 +00:00
|
|
|
tl-wr942n-v1|\
|
2016-09-28 00:14:33 +00:00
|
|
|
wpj344|\
|
|
|
|
zbt-we1526)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:green:status"
|
2013-01-29 19:12:32 +00:00
|
|
|
;;
|
2012-12-26 09:50:36 +00:00
|
|
|
ap136-010|\
|
|
|
|
ap136-020)
|
2012-07-05 08:26:50 +00:00
|
|
|
status_led="ap136:green:status"
|
|
|
|
;;
|
2015-07-24 09:09:42 +00:00
|
|
|
ap147-010)
|
|
|
|
status_led="ap147:green:status"
|
|
|
|
;;
|
2012-12-29 16:02:27 +00:00
|
|
|
ap135-020)
|
|
|
|
status_led="ap135:green:status"
|
|
|
|
;;
|
2017-04-22 16:21:47 +00:00
|
|
|
archer-c25-v1|\
|
2017-06-16 13:26:30 +00:00
|
|
|
archer-c58-v1|\
|
2016-12-27 21:41:41 +00:00
|
|
|
archer-c59-v1|\
|
|
|
|
archer-c60-v1|\
|
2017-07-25 11:32:47 +00:00
|
|
|
archer-c7-v4|\
|
2016-12-30 10:53:21 +00:00
|
|
|
fritz300e|\
|
2017-08-19 16:26:46 +00:00
|
|
|
gl-usb150|\
|
2016-09-28 00:14:33 +00:00
|
|
|
mr12|\
|
|
|
|
mr16|\
|
2016-10-30 16:57:27 +00:00
|
|
|
nbg6616|\
|
2017-01-15 22:01:05 +00:00
|
|
|
sc1750|\
|
2017-01-15 22:01:04 +00:00
|
|
|
sc450|\
|
ar71xx: add support for TP-Link TL-WR902AC v1
TP-Link TL-WR902AC v1 is a pocket-size, dual-band (AC750), successor of
TL-MR3020 (both devices use very similar enclosure, in same size). New
device is based on Qualcomm QCA9531 v2 + QCA9887. FCC ID: TE7WR902AC.
Specification:
- 650/391/216 MHz (CPU/DDR/AHB)
- 1x 10/100 Mbps Ethernet
- 1x USB 2.0 (GPIO-controlled power)
- 64 MB of RAM (DDR2)
- 8 MB of FLASH
- 2T2R 2.4 GHz (QCA9531)
- 1T1R 5 GHz (QCA9887)
- 5x LED (GPIO-controlled), 2x button, 1x 3-pos switch
- UART pads on PCB (TP1 -> TX, TP2 -> RX, TP3 -> GND, TP4 -> 3V3, jumper
resitors are missing on TX/RX lines)
- 1x micro USB (for power only)
Flash instructions:
Use "factory" image under vendor GUI.
Recovery instructions:
This device contains tftp recovery mode inside U-Boot. You can use it to
flash LEDE (use "factory" image) or vendor firmware.
1. Configure PC with static IP 192.168.0.66/24 and tftp server.
2. Rename "lede-ar71xx-generic-tl-wr902ac-v1-squashfs-factory.bin"
to "wr902acv1_un_tp_recovery.bin" and place it in tftp server dir.
3. Connect PC with LAN port, press the reset button, power up the router
and keep button pressed until WPS LED lights up.
4. Router will download file from server, write it to flash and reboot.
Root access over serial line in vendor firmware: root/sohoadmin.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2017-07-02 16:32:38 +00:00
|
|
|
tl-wpa8630|\
|
|
|
|
tl-wr902ac-v1)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:green:power"
|
2009-08-19 19:26:53 +00:00
|
|
|
;;
|
2018-02-10 22:39:50 +00:00
|
|
|
archer-c5|\
|
|
|
|
archer-c7|\
|
|
|
|
tl-mr10u|\
|
|
|
|
tl-mr12u|\
|
|
|
|
tl-mr13u|\
|
|
|
|
tl-wdr4300|\
|
|
|
|
tl-wdr4900-v2|\
|
|
|
|
tl-wr703n|\
|
|
|
|
tl-wr710n|\
|
|
|
|
tl-wr720n-v3|\
|
|
|
|
tl-wr802n-v1|\
|
|
|
|
tl-wr810n|\
|
|
|
|
tl-wr810n-v2|\
|
|
|
|
tl-wr940n-v4|\
|
|
|
|
tl-wr941nd-v6)
|
|
|
|
status_led="tp-link:blue:system"
|
|
|
|
;;
|
2016-10-06 00:19:17 +00:00
|
|
|
ap90q|\
|
2016-10-08 01:36:35 +00:00
|
|
|
cpe830|\
|
2016-10-07 23:17:04 +00:00
|
|
|
cpe870|\
|
2017-10-24 08:58:39 +00:00
|
|
|
gl-ar300m|\
|
2017-02-15 11:38:07 +00:00
|
|
|
gl-inet|\
|
2017-10-24 08:58:39 +00:00
|
|
|
gl-mifi)
|
2016-10-06 00:19:17 +00:00
|
|
|
status_led="$board:green:lan"
|
|
|
|
;;
|
ar71xx: add support for ALFA Network N5Q
ALFA Network N5Q is a successor of previous model, the N5 (outdoor
CPE/AP, based on Atheros AR7240 + AR9280). New version is based on
Atheros AR9344.
Specification:
- 550/400/200 MHz (CPU/DDR/AHB)
- 64 MB of RAM (DDR2)
- 16 MB of FLASH (SPI NOR)
- 2x 10/100 Mbps Ethernet, with passive PoE support (24 V)
- 2T2R 5 GHz (AR9344), with ext. PA (RFPA5542) and LNA, up to 27 dBm
- 8x LED (7 are driven by GPIO)
- 1x button (reset)
- external h/w watchdog (EM6324QYSP5B, disabled and not used)
- header for optional 802.3at/af PoE module
- DC jack for main power input (optional, not installed by default)
- UART header on PCB
Flash instruction:
You can use sysupgrade image directly in vendor firmare which is based
on OpenWrt/LEDE. Alternatively, you can use web recovery mode in U-Boot:
1. Configure PC with static IP 192.168.1.2/24.
2. Connect PC with one of RJ45 ports, press the reset button, power up
device, wait for first blink of all LEDs (indicates network setup),
then keep button for 3 following blinks and release it.
3. Open 192.168.1.1 address in your browser and upload sysupgrade image.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2018-01-05 10:35:45 +00:00
|
|
|
ap91-5g|\
|
|
|
|
n5q)
|
2017-12-18 13:51:28 +00:00
|
|
|
status_led="$board:green:signal4"
|
|
|
|
;;
|
2010-09-27 08:59:53 +00:00
|
|
|
ap96)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:green:led2"
|
2010-09-27 08:59:53 +00:00
|
|
|
;;
|
2009-08-19 19:26:53 +00:00
|
|
|
aw-nr580)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:green:ready"
|
2009-08-19 19:26:53 +00:00
|
|
|
;;
|
2016-11-08 13:45:00 +00:00
|
|
|
bhr-4grv2|\
|
|
|
|
wzr-hp-ag300h|\
|
|
|
|
wzr-hp-g300nh2)
|
|
|
|
status_led="buffalo:red:diag"
|
|
|
|
;;
|
2015-08-17 06:16:54 +00:00
|
|
|
bsb)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:red:sys"
|
|
|
|
;;
|
|
|
|
bullet-m|\
|
2017-10-24 08:58:39 +00:00
|
|
|
loco-m-xw|\
|
2016-09-28 00:02:40 +00:00
|
|
|
nano-m|\
|
|
|
|
nanostation-m|\
|
|
|
|
nanostation-m-xw|\
|
2017-10-24 08:58:39 +00:00
|
|
|
rocket-m|\
|
|
|
|
rocket-m-xw)
|
2009-10-01 19:41:13 +00:00
|
|
|
status_led="ubnt:green:link4"
|
|
|
|
;;
|
2013-10-30 06:50:58 +00:00
|
|
|
bxu2000n-2-a1)
|
|
|
|
status_led="bhu:green:status"
|
|
|
|
;;
|
2015-12-19 11:27:59 +00:00
|
|
|
cap324)
|
|
|
|
status_led="pcs:green:power"
|
|
|
|
;;
|
2016-10-05 12:53:11 +00:00
|
|
|
c-55|\
|
|
|
|
c-60)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:green:pwr"
|
2015-12-23 14:43:35 +00:00
|
|
|
;;
|
2012-10-27 08:55:39 +00:00
|
|
|
cap4200ag)
|
|
|
|
status_led="senao:green:pwr"
|
|
|
|
;;
|
ar71xx: add support for COMFAST CF-E320N v2 and CF-E520N/CF-E530N
As we already have support for CF-E316N v2 and many devices from
this vendor look similar, the support was included in existing
mach-*.c file, with few cleanups and fixes.
All 3 devices are based on Qualcomm/Atheros QCA9531 v2.
COMFAST CF-E320N v2 is a ceiling mount AP with PoE support.
Short specification:
- 650/393/216 MHz (CPU/DDR/AHB)
- 2x 10/100 Mbps Ethernet, both with PoE support
- 64 MB of RAM (DDR2)
- 16 MB of FLASH
- 2T2R 2.4 GHz, up to 22 dBm
- 2x internal antennas
- 1x RGB LED, 1x button
- UART (J1), GPIO (J9) and USB (J2) headers on PCB
- external watchdog (Pericon Technology PT7A7514)
COMFAST CF-E520N/CF-E530N are in-wall APs with USB and PoE support.
They seem to have different only the front panel.
Short specification:
- 650/393/216 MHz (CPU/DDR/AHB)
- 2x 10/100 Mbps Ethernet, WAN with PoE support
- 1x USB 2.0 (in CF-E520N covered by panel, available on PCB)
- 32 MB of RAM (DDR2)
- 8 MB of FLASH
- 2T2R 2.4 GHz, up to 22 dBm
- 2x internal antennas
- 1x LED, 1x button
- UART (J1) headers on PCB
Flash instruction:
Original firmware is based on OpenWrt.
Use sysupgrade image directly in vendor GUI.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2016-10-05 00:24:58 +00:00
|
|
|
cf-e316n-v2|\
|
|
|
|
cf-e520n|\
|
|
|
|
cf-e530n)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:blue:wan"
|
2015-09-11 16:31:35 +00:00
|
|
|
;;
|
ar71xx: add support for COMFAST CF-E320N v2 and CF-E520N/CF-E530N
As we already have support for CF-E316N v2 and many devices from
this vendor look similar, the support was included in existing
mach-*.c file, with few cleanups and fixes.
All 3 devices are based on Qualcomm/Atheros QCA9531 v2.
COMFAST CF-E320N v2 is a ceiling mount AP with PoE support.
Short specification:
- 650/393/216 MHz (CPU/DDR/AHB)
- 2x 10/100 Mbps Ethernet, both with PoE support
- 64 MB of RAM (DDR2)
- 16 MB of FLASH
- 2T2R 2.4 GHz, up to 22 dBm
- 2x internal antennas
- 1x RGB LED, 1x button
- UART (J1), GPIO (J9) and USB (J2) headers on PCB
- external watchdog (Pericon Technology PT7A7514)
COMFAST CF-E520N/CF-E530N are in-wall APs with USB and PoE support.
They seem to have different only the front panel.
Short specification:
- 650/393/216 MHz (CPU/DDR/AHB)
- 2x 10/100 Mbps Ethernet, WAN with PoE support
- 1x USB 2.0 (in CF-E520N covered by panel, available on PCB)
- 32 MB of RAM (DDR2)
- 8 MB of FLASH
- 2T2R 2.4 GHz, up to 22 dBm
- 2x internal antennas
- 1x LED, 1x button
- UART (J1) headers on PCB
Flash instruction:
Original firmware is based on OpenWrt.
Use sysupgrade image directly in vendor GUI.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2016-10-05 00:24:58 +00:00
|
|
|
cf-e320n-v2)
|
|
|
|
status_led="$board:blue:wlan"
|
|
|
|
;;
|
2018-02-18 21:49:10 +00:00
|
|
|
cf-e375ac|\
|
ar71xx: add support for COMFAST CF-E380AC v1 and v2
COMFAST CF-E380AC v1/v2 is a ceiling mount AP with PoE
support, based on Qualcomm/Atheros QCA9558+QCA9880+AR8035.
There are two versions of this model, with different RAM
and U-Boot mtd partition sizes:
- v1: 128 MB of RAM, 128 KB U-Boot image size
- v2: 256 MB of RAM, 256 KB U-Boot image size
Version number is available only inside vendor GUI,
hardware and markings are the same.
Short specification:
- 720/600/200 MHz (CPU/DDR/AHB)
- 1x 10/100/1000 Mbps Ethernet, with PoE support
- 128 or 256 MB of RAM (DDR2)
- 16 MB of FLASH
- 3T3R 2.4 GHz, with external PA (SE2576L), up to 28 dBm
- 3T3R 5 GHz, with external PA (SE5003L1), up to 30 dBm
- 6x internal antennas
- 1x RGB LED, 1x button
- UART (T11), LEDs/GPIO (J7) and USB (T12) headers on PCB
- external watchdog (Pericon Technology PT7A7514)
Flash instruction:
Original firmware is based on OpenWrt.
Use sysupgrade image directly in vendor GUI.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2016-11-14 16:38:23 +00:00
|
|
|
cf-e380ac-v1|\
|
2018-01-23 20:37:16 +00:00
|
|
|
cf-e380ac-v2|\
|
|
|
|
cf-e385ac)
|
ar71xx: add support for COMFAST CF-E380AC v1 and v2
COMFAST CF-E380AC v1/v2 is a ceiling mount AP with PoE
support, based on Qualcomm/Atheros QCA9558+QCA9880+AR8035.
There are two versions of this model, with different RAM
and U-Boot mtd partition sizes:
- v1: 128 MB of RAM, 128 KB U-Boot image size
- v2: 256 MB of RAM, 256 KB U-Boot image size
Version number is available only inside vendor GUI,
hardware and markings are the same.
Short specification:
- 720/600/200 MHz (CPU/DDR/AHB)
- 1x 10/100/1000 Mbps Ethernet, with PoE support
- 128 or 256 MB of RAM (DDR2)
- 16 MB of FLASH
- 3T3R 2.4 GHz, with external PA (SE2576L), up to 28 dBm
- 3T3R 5 GHz, with external PA (SE5003L1), up to 30 dBm
- 6x internal antennas
- 1x RGB LED, 1x button
- UART (T11), LEDs/GPIO (J7) and USB (T12) headers on PCB
- external watchdog (Pericon Technology PT7A7514)
Flash instruction:
Original firmware is based on OpenWrt.
Use sysupgrade image directly in vendor GUI.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2016-11-14 16:38:23 +00:00
|
|
|
status_led="$board:blue:wlan2g"
|
|
|
|
;;
|
2014-11-26 08:59:32 +00:00
|
|
|
cpe510)
|
|
|
|
status_led="tp-link:green:link4"
|
|
|
|
;;
|
2017-10-24 08:58:39 +00:00
|
|
|
cr3000|\
|
2015-12-19 11:28:18 +00:00
|
|
|
cr5000)
|
|
|
|
status_led="pcs:amber:power"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
dgl-5500-a1|\
|
2014-11-19 09:20:47 +00:00
|
|
|
dhp-1565-a1|\
|
2016-09-28 00:02:40 +00:00
|
|
|
dir-505-a1|\
|
|
|
|
dir-600-a1|\
|
|
|
|
dir-615-e1|\
|
|
|
|
dir-615-i1|\
|
2012-01-31 18:37:15 +00:00
|
|
|
dir-615-e4)
|
|
|
|
status_led="d-link:green:power"
|
2010-01-11 08:02:10 +00:00
|
|
|
;;
|
2009-12-18 12:57:01 +00:00
|
|
|
dir-615-c1)
|
2012-01-31 18:37:15 +00:00
|
|
|
status_led="d-link:green:status"
|
2012-01-31 18:37:09 +00:00
|
|
|
;;
|
2013-09-21 16:08:44 +00:00
|
|
|
dir-825-b1)
|
2012-01-31 18:37:15 +00:00
|
|
|
status_led="d-link:orange:power"
|
2009-12-03 15:07:34 +00:00
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
dir-825-c1|\
|
2013-09-21 16:08:44 +00:00
|
|
|
dir-835-a1)
|
|
|
|
status_led="d-link:amber:power"
|
2013-01-29 22:50:54 +00:00
|
|
|
;;
|
2016-10-11 18:32:26 +00:00
|
|
|
dir-869-a1)
|
|
|
|
status_led="d-link:white:status"
|
|
|
|
;;
|
2015-11-21 21:24:18 +00:00
|
|
|
dlan-hotspot)
|
|
|
|
status_led="devolo:green:wifi"
|
|
|
|
;;
|
2015-07-14 07:32:33 +00:00
|
|
|
dlan-pro-500-wp)
|
|
|
|
status_led="devolo:green:wlan-2g"
|
|
|
|
;;
|
2015-07-14 07:37:03 +00:00
|
|
|
dlan-pro-1200-ac)
|
|
|
|
status_led="devolo:status:wlan"
|
2015-12-11 15:04:47 +00:00
|
|
|
;;
|
2016-06-16 16:08:03 +00:00
|
|
|
dr531)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:green:sig4"
|
2016-06-16 16:08:03 +00:00
|
|
|
;;
|
2016-09-28 00:14:33 +00:00
|
|
|
dragino2|\
|
|
|
|
oolite)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:red:system"
|
2014-10-14 10:33:07 +00:00
|
|
|
;;
|
ar71xx: add support for ALFA Network R36A
ALFA Network R36A is a successor of the previous model, the R36 (Ralink
RT3050F based). New version is based on Qualcomm/Atheros QCA9531 v2.
Specification:
- 650/400/200 MHz (CPU/DDR/AHB)
- 64 MB of RAM (DDR2)
- 16 MB of FLASH (SPI NOR)
- 2x 10/100 Mbps Ethernet, with passive PoE support (24 V)
- 2T2R (QCA9531) 2.4 GHz, 2x u.fl connectors on PCB
- 1x USB 2.0 (power controlled by GPIO)
- 6x LED (5 of them are driven by GPIO)
- 2x button (reset, wifi/wps)
- external h/w watchdog (EM6324QYSP5B, disabled and not used)
- DC jack for main power input (12 V)
- UART header on PCB
Flash instruction:
You can use sysupgrade image directly in vendor firmware which is based
on LEDE/OpenWrt. Alternatively, you can use web recovery mode in U-Boot:
1. Configure PC with static IP 192.168.1.2/24.
2. Connect PC with one of RJ45 ports, press the reset button, power up
device, wait for first blink of all LEDs (indicates network setup),
then keep button for 3 following blinks and release it.
3. Open 192.168.1.1 address in your browser and upload sysupgrade image.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2017-12-28 10:07:54 +00:00
|
|
|
dw33d|\
|
|
|
|
r36a)
|
2016-10-18 08:18:50 +00:00
|
|
|
status_led="$board:blue:status"
|
|
|
|
;;
|
ar71xx: add support for WHQX E1700AC/E600G/E600GAC v2
WHQX E1700AC v2 is based on Qualcomm QCA9563 + QCA9880 + QCA8334.
Specification:
- 750/400/250 MHz (CPU/DDR/AHB)
- 128 MB of RAM (DDR2)
- 8/16 MB of FLASH (SPI NOR)
- 3T3R 2.4 GHz (QCA9563) with external FEM (SKY85309-11)
- 3T3R 5 GHz (QCA9880) with external FEM (SKY85728-11)
- 2x 10/100/1000 Mbps Ethernet (one port with PoE support)
- 1x miniPCIe slot (USB 2.0 bus only)
- 1x microSIM slot
- 1x USB 2.0
- 5x LED (4 driven by GPIO)
- 1x button (reset)
- 1x 2-pos switch
- 1x DC jack for main power input (9-48 V)
- UART (J5) and LEDs (J13) headers on PCB
WHQX E600G is based on Qualcomm QCA9531.
Specification:
- 650/391/216 MHz (CPU/DDR/AHB)
- 64/128 MB of RAM (DDR2)
- 8/16 MB of FLASH (SPI NOR)
- 2T2R 2.4 GHz (QCA9531) with external PA (LXK-6601)
- 2x 10/100 Mbps Ethernet (one port with PoE support)
- 1x miniPCIe slot (with PCIe and USB 2.0 buses)
- 1x microSIM slot
- 5x LED (4 driven by GPIO)
- 1x button (reset)
- 1x DC jack for main power input (9-48 V)
- UART (J100), SIM (J34), JTAG (J5) and LEDs (J7) headers on PCB
WHQX E600GAC is based on Qualcomm QCA9531 + QCA9887.
Specification:
- 650/391/216 MHz (CPU/DDR/AHB)
- 64/128 MB of RAM (DDR2)
- 8/16 MB of FLASH (SPI NOR)
- 2T2R 2.4 GHz (QCA9531)
- 1T1R 5 GHz (QCA9887) with external FEM (SKY85703-11)
- 2x 10/100 Mbps Ethernet
- 6x LED (1x RGB, 5 driven by GPIO)
- 1x button (reset)
- 1x DC jack for main power input (9-12 V)
- UART (J100), USB (J102), JTAG (J5) and LEDs (J7) header on PCB
Important notice:
First version of these boards are using different mtd layout, with ART
data at the end. You should not use v2 images on v1 board because it
will result in lost of ART data!
Flash instruction (using U-Boot CLI and tftp server):
1. Configure PC with static IP 192.168.1.10 and tftp server.
2. Rename "sysupgrade" filename to "firmware.bin" and place it in tftp
server directory.
3. Connect PC with one of RJ45 ports, power up the board and press
"enter" key to access U-Boot CLI.
4. Use the following command to update the device to OpenWrt: "run lfw".
Flash instruction (using U-Boot web-based recovery):
1. Configure PC with static IP 192.168.1.xxx(2-254)/24.
2. Connect PC with one of RJ45 ports, press the reset button, power up
the board and keep button pressed for around 6-7 seconds, until LEDs
start flashing.
3. Open your browser and enter 192.168.1.1, select "sysupgrade" image
and click the upgrade button.
Signed-off-by: Peng Zhang <sd20@qxwlan.com>
[reworked: image generation code, mach-* files, commit description,
fixed minor code style issues, rebased on master]
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2018-01-05 09:38:05 +00:00
|
|
|
e600g-v2)
|
|
|
|
status_led="$board:blue:system"
|
|
|
|
;;
|
2014-07-14 21:30:28 +00:00
|
|
|
eap300v2)
|
|
|
|
status_led="engenius:blue:power"
|
|
|
|
;;
|
2017-10-24 08:58:39 +00:00
|
|
|
ens202ext|\
|
|
|
|
esr900)
|
2017-04-14 17:08:17 +00:00
|
|
|
status_led="engenius:amber:power"
|
|
|
|
;;
|
2010-08-14 21:07:31 +00:00
|
|
|
eap7660d)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:green:ds4"
|
2010-08-14 21:07:31 +00:00
|
|
|
;;
|
2017-10-24 08:58:39 +00:00
|
|
|
el-m150|\
|
|
|
|
el-mini)
|
2014-11-14 16:58:29 +00:00
|
|
|
status_led="easylink:green:system"
|
2014-06-26 11:49:47 +00:00
|
|
|
;;
|
2018-01-15 15:45:16 +00:00
|
|
|
ew-balin)
|
|
|
|
status_led="balin:green:status"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
ew-dorin|\
|
|
|
|
ew-dorin-router)
|
2015-05-10 07:47:04 +00:00
|
|
|
status_led="dorin:green:status"
|
|
|
|
;;
|
2014-12-17 08:27:38 +00:00
|
|
|
f9k1115v2)
|
|
|
|
status_led="belkin:blue:status"
|
|
|
|
;;
|
2016-09-28 00:14:33 +00:00
|
|
|
epg5000|\
|
2014-07-13 19:43:58 +00:00
|
|
|
esr1750)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:amber:power"
|
2014-07-13 19:43:58 +00:00
|
|
|
;;
|
2017-10-17 21:30:01 +00:00
|
|
|
gl-ar750|\
|
2017-04-27 03:09:27 +00:00
|
|
|
hiveap-121|\
|
|
|
|
nbg6716)
|
|
|
|
status_led="$board:white:power"
|
|
|
|
;;
|
2014-06-02 14:56:35 +00:00
|
|
|
hiwifi-hc6361)
|
|
|
|
status_led="hiwifi:blue:system"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
hornet-ub|\
|
2015-04-09 10:32:08 +00:00
|
|
|
hornet-ub-x2)
|
2011-12-14 20:54:10 +00:00
|
|
|
status_led="alfa:blue:wps"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
ja76pf|\
|
2012-03-16 18:00:34 +00:00
|
|
|
ja76pf2)
|
2012-03-16 18:00:26 +00:00
|
|
|
status_led="jjplus:green:led1"
|
2010-12-10 17:57:51 +00:00
|
|
|
;;
|
2016-07-08 13:03:00 +00:00
|
|
|
jwap230)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:green:led1"
|
2016-07-08 13:03:00 +00:00
|
|
|
;;
|
2009-08-19 19:26:53 +00:00
|
|
|
ls-sr71)
|
|
|
|
status_led="ubnt:green:d22"
|
|
|
|
;;
|
2015-02-09 12:16:51 +00:00
|
|
|
mc-mac1200r)
|
|
|
|
status_led="mercury:green:system"
|
|
|
|
;;
|
2016-09-28 00:14:33 +00:00
|
|
|
mr18|\
|
|
|
|
z1)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:green:tricolor0"
|
2015-12-12 06:42:29 +00:00
|
|
|
;;
|
2012-11-18 09:32:35 +00:00
|
|
|
mr600)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:orange:power"
|
2012-11-18 09:32:35 +00:00
|
|
|
;;
|
2013-02-01 15:50:45 +00:00
|
|
|
mr600v2)
|
|
|
|
status_led="mr600:blue:power"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
mr1750|\
|
2016-05-20 15:53:14 +00:00
|
|
|
mr1750v2)
|
2015-09-14 20:11:01 +00:00
|
|
|
status_led="mr1750:blue:power"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
mr900|\
|
2014-11-14 16:55:04 +00:00
|
|
|
mr900v2)
|
2014-11-14 16:54:15 +00:00
|
|
|
status_led="mr900:blue:power"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
mynet-n600|\
|
2017-10-24 08:58:39 +00:00
|
|
|
mynet-n750|\
|
2013-11-07 22:31:53 +00:00
|
|
|
mynet-rext)
|
|
|
|
status_led="wd:blue:power"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
mzk-w04nu|\
|
2009-08-19 19:26:53 +00:00
|
|
|
mzk-w300nh)
|
2011-11-01 11:20:47 +00:00
|
|
|
status_led="planex:green:status"
|
2009-08-19 19:26:53 +00:00
|
|
|
;;
|
2010-12-10 15:17:03 +00:00
|
|
|
nbg460n_550n_550nh)
|
|
|
|
status_led="nbg460n:green:power"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
om2p|\
|
|
|
|
om2p-hs|\
|
|
|
|
om2p-hsv2|\
|
|
|
|
om2p-hsv3|\
|
2016-06-02 09:25:00 +00:00
|
|
|
om2p-hsv4|\
|
2017-10-24 08:58:39 +00:00
|
|
|
om2p-lc|\
|
|
|
|
om2pv2|\
|
|
|
|
om2pv4)
|
2011-10-27 07:54:51 +00:00
|
|
|
status_led="om2p:blue:power"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
om5p|\
|
2015-03-17 09:43:31 +00:00
|
|
|
om5p-an)
|
2014-07-20 17:30:44 +00:00
|
|
|
status_led="om5p:blue:power"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
om5p-ac|\
|
2016-04-09 10:26:18 +00:00
|
|
|
om5p-acv2)
|
2016-04-09 10:25:51 +00:00
|
|
|
status_led="om5pac:blue:power"
|
|
|
|
;;
|
2016-04-26 11:44:36 +00:00
|
|
|
omy-g1)
|
|
|
|
status_led="omy:green:wlan"
|
|
|
|
;;
|
2016-03-16 09:26:58 +00:00
|
|
|
omy-x1)
|
|
|
|
status_led="omy:green:power"
|
|
|
|
;;
|
2015-07-24 09:09:49 +00:00
|
|
|
onion-omega)
|
|
|
|
status_led="onion:amber:system"
|
|
|
|
;;
|
2009-08-19 19:26:53 +00:00
|
|
|
pb44)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:amber:jump1"
|
2009-08-19 19:26:53 +00:00
|
|
|
;;
|
ar71xx: add support for P&W R602N and CPE505N
P&W (full name: Shenzhen Progress&Win Technologies) R602N (could be also
labeled as R602F, R602, etc.) is a simple N300 router with 5-port
10/100 Mbps switch, non-detachable antennas and USB.
CPE505 is an outdoor CPE with PoE support and detachable antennas.
Both devices are based on Qualcomm/Atheros QCA9531 v2.
Common specification:
- 650/597/216 MHz (CPU/DDR/AHB)
- 64 MB of RAM (DDR2)
- 16 MB of FLASH
- UART (J2) header on PCB
R602N specification:
- 5x 10/100 Mbps Ethernet
- 1x USB 2.0
- 2T2R 2.4 GHz with external LNA and PA (SE2576L), up to 28 dBm
- 2x external, non-detachable antennas
- 7x LED, 1x button
CPE505N specification:
- 2x 10/100 Mbps Ethernet (both ports support passive PoE 12-24 V)
- 2T2R 2.4 GHz with external LNA and PA (SKY65174-21), up to 30 dBm
- 2x external, detachable antennas (RP-SMA connectors)
- 1x RGB LED, 2x LEDs (in RJ45 sockets), 1x button
Flash instructions:
It seems that there are many different versions of the firmware which
these devices are shipped with. The generic/standard one is based on
some modified OpenWrt and LEDE firmware can be flashed directly from
vendor's webgui or with sysupgrade (root password is "admin123").
Before flashing, make sure (use "fw_printenv") that the kernel load
address in your device is set to "0x9f050000" (bootcmd variable is
"bootm 0x9f050000"). If your device uses different load address, you
should first change it, under vendor's firmware, with command:
fw_setenv bootcmd "bootm 0x9f050000 || bootm OLD_ADDRESS"
Where OLD_ADDRESS is previous kernel load address (in CPE505 version
I got access to, it was "0x9fe80000"). This will allow you to use
both the vendor's and LEDE firmware.
If version of your device contains empty U-Boot environment (you will
get information about this after issuing "fw_printenv"), you should
use U-Boot, serial line access and TFTP to perform firmware upgrade:
1. tftp 0x80060000 lede-ar71xx-generic-...-squashfs-sysupgrade.bin
2. erase 0x9f050000 +$filesize
3. cp.b $fileaddr 0x9f050000 $filesize
4. setenv bootcmd "bootm 0x9f050000 || bootm OLD_ADDRESS"
5. saveenv && reset
These devices contain also web recovery mode inside U-Boot. It can be
started with pressing the reset button for around 3 seconds just after
the device powerup. Web recovery panel is available on "192.168.10.9"
and to be able to use it, IP on your PC must be set to "192.168.10.10".
Make sure to change kernel load address before using recovery mode or
the U-Boot will not be able to load LEDE firmware.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2017-03-15 23:54:08 +00:00
|
|
|
r602n)
|
|
|
|
status_led="$board:green:wan"
|
|
|
|
;;
|
2017-03-28 01:55:48 +00:00
|
|
|
rb-2011il|\
|
2014-01-20 10:23:03 +00:00
|
|
|
rb-2011l|\
|
|
|
|
rb-2011uas|\
|
|
|
|
rb-2011uas-2hnd)
|
|
|
|
status_led="rb:green:usr"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
rb-411|\
|
|
|
|
rb-411u|\
|
|
|
|
rb-433|\
|
|
|
|
rb-433u|\
|
|
|
|
rb-450|\
|
|
|
|
rb-450g|\
|
|
|
|
rb-493)
|
2010-03-05 20:29:24 +00:00
|
|
|
status_led="rb4xx:yellow:user"
|
|
|
|
;;
|
2014-01-20 10:23:02 +00:00
|
|
|
rb-750)
|
|
|
|
status_led="rb750:green:act"
|
|
|
|
;;
|
2017-02-09 22:07:23 +00:00
|
|
|
rb-750-r2|\
|
2017-10-05 12:26:23 +00:00
|
|
|
rb-750p-pbr2|\
|
2017-02-09 21:50:08 +00:00
|
|
|
rb-750up-r2|\
|
2018-01-18 12:50:32 +00:00
|
|
|
rb-911-2hn|\
|
|
|
|
rb-911-5hn|\
|
2014-02-23 08:11:54 +00:00
|
|
|
rb-911g-2hpnd|\
|
2015-04-07 20:04:14 +00:00
|
|
|
rb-911g-5hpacd|\
|
2014-02-23 08:11:54 +00:00
|
|
|
rb-911g-5hpnd|\
|
2017-02-07 14:23:30 +00:00
|
|
|
rb-941-2nd|\
|
2017-02-07 18:10:04 +00:00
|
|
|
rb-951ui-2nd|\
|
2017-03-08 09:07:00 +00:00
|
|
|
rb-952ui-5ac2nd|\
|
2017-03-17 04:00:33 +00:00
|
|
|
rb-962uigs-5hact2hnt|\
|
2017-03-06 22:06:13 +00:00
|
|
|
rb-lhg-5nd|\
|
2017-11-14 11:15:03 +00:00
|
|
|
rb-map-2nd|\
|
2017-02-07 11:06:33 +00:00
|
|
|
rb-mapl-2nd)
|
2014-02-23 08:11:54 +00:00
|
|
|
status_led="rb:green:user"
|
|
|
|
;;
|
2017-02-07 14:23:30 +00:00
|
|
|
rb-951ui-2hnd)
|
2014-06-18 10:08:08 +00:00
|
|
|
status_led="rb:green:act"
|
|
|
|
;;
|
2017-07-14 08:59:16 +00:00
|
|
|
rb-912uag-2hpnd|\
|
|
|
|
rb-912uag-5hpnd|\
|
2014-07-01 13:38:30 +00:00
|
|
|
rb-sxt2n|\
|
|
|
|
rb-sxt5n)
|
|
|
|
status_led="rb:green:power"
|
|
|
|
;;
|
2018-02-06 21:08:28 +00:00
|
|
|
re355|\
|
2017-01-15 22:01:03 +00:00
|
|
|
re450|\
|
|
|
|
sc300m)
|
2016-01-07 00:40:48 +00:00
|
|
|
status_led="$board:blue:power"
|
|
|
|
;;
|
2018-02-10 22:39:50 +00:00
|
|
|
rocket-m-ti)
|
|
|
|
status_led="ubnt:green:link6"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
routerstation|\
|
|
|
|
routerstation-pro)
|
2009-08-19 19:26:53 +00:00
|
|
|
status_led="ubnt:green:rf"
|
|
|
|
;;
|
2012-01-06 07:20:59 +00:00
|
|
|
rw2458n)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:green:d3"
|
2012-01-06 07:20:59 +00:00
|
|
|
;;
|
2014-08-11 11:44:51 +00:00
|
|
|
smart-300)
|
|
|
|
status_led="nc-link:green:system"
|
|
|
|
;;
|
2014-09-15 10:19:38 +00:00
|
|
|
qihoo-c301)
|
|
|
|
status_led="qihoo:green:status"
|
|
|
|
;;
|
2016-03-10 19:07:26 +00:00
|
|
|
tellstick-znet-lite)
|
|
|
|
status_led="tellstick:white:system"
|
|
|
|
;;
|
2012-02-08 16:26:25 +00:00
|
|
|
tew-673gru)
|
|
|
|
status_led="trendnet:blue:wps"
|
|
|
|
;;
|
2013-09-23 09:49:02 +00:00
|
|
|
tew-712br|\
|
2015-12-17 09:30:05 +00:00
|
|
|
tew-732br|\
|
|
|
|
tew-823dru)
|
2012-08-22 20:12:24 +00:00
|
|
|
status_led="trendnet:green:power"
|
|
|
|
;;
|
2017-10-24 08:58:39 +00:00
|
|
|
tl-mr3020|\
|
|
|
|
tl-wr2543n)
|
2012-01-25 07:44:45 +00:00
|
|
|
status_led="tp-link:green:wps"
|
|
|
|
;;
|
2013-11-11 08:04:47 +00:00
|
|
|
tl-wa750re)
|
|
|
|
status_led="tp-link:orange:re"
|
|
|
|
;;
|
2017-02-10 12:44:06 +00:00
|
|
|
tl-wa850re|\
|
|
|
|
tl-wa850re-v2)
|
2013-11-11 08:04:47 +00:00
|
|
|
status_led="tp-link:blue:re"
|
|
|
|
;;
|
2017-06-09 15:11:39 +00:00
|
|
|
tl-wa855re-v1|\
|
2014-07-13 10:03:41 +00:00
|
|
|
tl-wa860re)
|
|
|
|
status_led="tp-link:green:power"
|
|
|
|
;;
|
2017-05-25 19:51:37 +00:00
|
|
|
tl-mr6400)
|
|
|
|
status_led="tp-link:white:power"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
tl-mr3220|\
|
|
|
|
tl-mr3220-v2|\
|
|
|
|
tl-mr3420|\
|
|
|
|
tl-mr3420-v2|\
|
|
|
|
tl-wa701nd-v2|\
|
|
|
|
tl-wa801nd-v2|\
|
2017-10-24 08:58:39 +00:00
|
|
|
tl-wa801nd-v3|\
|
|
|
|
tl-wa830re-v2|\
|
2016-09-28 00:02:40 +00:00
|
|
|
tl-wa901nd|\
|
|
|
|
tl-wa901nd-v2|\
|
|
|
|
tl-wa901nd-v3|\
|
|
|
|
tl-wa901nd-v4|\
|
2017-10-22 20:39:30 +00:00
|
|
|
tl-wa901nd-v5|\
|
2016-09-28 00:02:40 +00:00
|
|
|
tl-wdr3320-v2|\
|
|
|
|
tl-wdr3500|\
|
|
|
|
tl-wr1041n-v2|\
|
2017-09-25 09:38:49 +00:00
|
|
|
tl-wr1043n-v5|\
|
2016-09-28 00:02:40 +00:00
|
|
|
tl-wr1043nd|\
|
|
|
|
tl-wr1043nd-v2|\
|
2016-12-16 11:50:34 +00:00
|
|
|
tl-wr1043nd-v4|\
|
2017-05-11 18:26:21 +00:00
|
|
|
tl-wr740n-v6|\
|
2016-09-28 00:02:40 +00:00
|
|
|
tl-wr741nd|\
|
|
|
|
tl-wr741nd-v4|\
|
2017-03-16 00:43:43 +00:00
|
|
|
tl-wr840n-v2|\
|
|
|
|
tl-wr840n-v3|\
|
2016-09-28 00:02:40 +00:00
|
|
|
tl-wr841n-v1|\
|
|
|
|
tl-wr841n-v7|\
|
|
|
|
tl-wr841n-v8|\
|
|
|
|
tl-wr841n-v11|\
|
|
|
|
tl-wr842n-v2|\
|
|
|
|
tl-wr842n-v3|\
|
|
|
|
tl-wr941nd|\
|
2015-02-04 06:10:20 +00:00
|
|
|
tl-wr941nd-v5)
|
2011-11-01 11:20:44 +00:00
|
|
|
status_led="tp-link:green:system"
|
2009-12-08 12:46:30 +00:00
|
|
|
;;
|
2014-04-07 08:00:02 +00:00
|
|
|
tl-wr841n-v9)
|
|
|
|
status_led="tp-link:green:qss"
|
|
|
|
;;
|
2015-08-17 06:24:04 +00:00
|
|
|
tl-wdr6500-v2)
|
|
|
|
status_led="tp-link:white:system"
|
|
|
|
;;
|
2014-07-14 16:03:35 +00:00
|
|
|
tube2h)
|
|
|
|
status_led="alfa:green:signal4"
|
|
|
|
;;
|
2010-12-20 17:28:34 +00:00
|
|
|
unifi)
|
|
|
|
status_led="ubnt:green:dome"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
uap-pro|\
|
|
|
|
unifiac-lite|\
|
2016-05-11 07:40:00 +00:00
|
|
|
unifiac-pro)
|
2012-12-17 12:28:11 +00:00
|
|
|
status_led="ubnt:white:dome"
|
|
|
|
;;
|
2015-01-22 09:35:46 +00:00
|
|
|
unifi-outdoor-plus)
|
|
|
|
status_led="ubnt:white:front"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
airgateway|\
|
2015-09-16 08:31:40 +00:00
|
|
|
airgatewaypro)
|
2014-07-20 17:30:17 +00:00
|
|
|
status_led="ubnt:white:status"
|
|
|
|
;;
|
2017-06-27 21:26:03 +00:00
|
|
|
wi2a-ac200i)
|
|
|
|
status_led="nokia:green:ctrl"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
whr-g301n|\
|
|
|
|
whr-hp-g300n|\
|
|
|
|
whr-hp-gn|\
|
2011-11-01 11:20:46 +00:00
|
|
|
wzr-hp-g300nh)
|
|
|
|
status_led="buffalo:green:router"
|
2011-10-24 21:49:26 +00:00
|
|
|
;;
|
2012-08-01 12:24:52 +00:00
|
|
|
wlae-ag300n)
|
|
|
|
status_led="buffalo:green:status"
|
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
r6100|\
|
|
|
|
wndap360|\
|
|
|
|
wndr3700|\
|
|
|
|
wndr3700v4|\
|
|
|
|
wndr4300|\
|
|
|
|
wnr2000|\
|
|
|
|
wnr2000-v3|\
|
|
|
|
wnr2200|\
|
|
|
|
wnr612-v2|\
|
|
|
|
wnr1000-v2|\
|
2016-01-19 10:16:04 +00:00
|
|
|
wpn824n)
|
2013-09-21 15:55:54 +00:00
|
|
|
status_led="netgear:green:power"
|
2013-07-28 10:23:37 +00:00
|
|
|
;;
|
2009-08-19 19:26:53 +00:00
|
|
|
wp543)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:green:diag"
|
2009-08-19 19:26:53 +00:00
|
|
|
;;
|
2016-09-28 00:14:33 +00:00
|
|
|
wpj342|\
|
|
|
|
wpj531|\
|
2015-03-06 14:41:57 +00:00
|
|
|
wpj558)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:green:sig3"
|
2015-03-06 14:41:57 +00:00
|
|
|
;;
|
2017-02-26 11:25:57 +00:00
|
|
|
wpj563)
|
|
|
|
status_led="$board:green:sig1"
|
|
|
|
;;
|
2017-10-24 08:58:39 +00:00
|
|
|
wrt160nl|\
|
|
|
|
wrt400n)
|
2016-09-28 00:02:40 +00:00
|
|
|
status_led="$board:blue:wps"
|
2009-08-19 19:26:53 +00:00
|
|
|
;;
|
2016-09-28 00:02:40 +00:00
|
|
|
zcn-1523h-2|\
|
|
|
|
zcn-1523h-5)
|
2010-09-03 18:14:37 +00:00
|
|
|
status_led="zcn-1523h:amber:init"
|
|
|
|
;;
|
2013-10-30 06:50:55 +00:00
|
|
|
wlr8100)
|
|
|
|
status_led="sitecom:amber:status"
|
|
|
|
;;
|
2013-02-18 09:56:27 +00:00
|
|
|
esac
|
2009-08-19 19:26:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
set_state() {
|
|
|
|
get_status_led
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
preinit)
|
2013-02-18 09:56:27 +00:00
|
|
|
status_led_blink_preinit
|
2009-08-19 19:26:53 +00:00
|
|
|
;;
|
|
|
|
failsafe)
|
2013-02-18 09:56:27 +00:00
|
|
|
status_led_blink_failsafe
|
2009-08-19 19:26:53 +00:00
|
|
|
;;
|
2014-12-15 10:37:00 +00:00
|
|
|
preinit_regular)
|
|
|
|
status_led_blink_preinit_regular
|
|
|
|
;;
|
2009-08-19 19:26:53 +00:00
|
|
|
done)
|
2011-07-01 19:15:45 +00:00
|
|
|
status_led_on
|
2017-05-12 20:36:07 +00:00
|
|
|
case $(board_name) in
|
2017-10-17 21:30:01 +00:00
|
|
|
gl-ar300m|\
|
|
|
|
gl-ar750)
|
2016-07-15 10:00:04 +00:00
|
|
|
fw_printenv lc >/dev/null 2>&1 && fw_setenv "bootcount" 0
|
|
|
|
;;
|
2014-10-14 12:21:36 +00:00
|
|
|
qihoo-c301)
|
|
|
|
local n=$(fw_printenv activeregion | cut -d = -f 2)
|
|
|
|
fw_setenv "image${n}trynum" 0
|
|
|
|
;;
|
2017-06-27 21:26:03 +00:00
|
|
|
wi2a-ac200i)
|
|
|
|
fw_setenv PKRstCnt 0
|
|
|
|
;;
|
2014-10-14 12:21:36 +00:00
|
|
|
esac
|
2009-08-19 19:26:53 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
}
|