2018-05-06 08:20:11 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2019-09-22 09:57:13 +00:00
|
|
|
[ -e /lib/firmware/$FIRMWARE ] && exit 0
|
2018-05-06 08:20:11 +00:00
|
|
|
|
2019-09-22 09:57:13 +00:00
|
|
|
. /lib/functions/caldata.sh
|
|
|
|
. /lib/functions/k2t.sh
|
2018-05-06 08:20:11 +00:00
|
|
|
|
|
|
|
board=$(board_name)
|
|
|
|
|
|
|
|
case "$FIRMWARE" in
|
|
|
|
"ath10k/cal-pci-0000:00:00.0.bin")
|
|
|
|
case $board in
|
2019-03-31 04:26:22 +00:00
|
|
|
comfast,cf-wr650ac-v1|\
|
|
|
|
comfast,cf-wr650ac-v2|\
|
|
|
|
yuncore,a770)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2019-03-31 04:26:22 +00:00
|
|
|
;;
|
2018-12-27 01:32:39 +00:00
|
|
|
devolo,dvl1200e|\
|
2019-01-01 18:17:23 +00:00
|
|
|
devolo,dvl1200i|\
|
2019-01-01 18:17:22 +00:00
|
|
|
devolo,dvl1750c|\
|
2019-01-20 16:46:42 +00:00
|
|
|
devolo,dvl1750e|\
|
2019-06-11 15:27:51 +00:00
|
|
|
devolo,dvl1750i|\
|
|
|
|
devolo,dvl1750x)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2019-08-09 15:45:12 +00:00
|
|
|
ath10kcal_patch_mac_crc $(macaddr_add $(mtd_get_mac_binary art 0x0) -1)
|
2018-12-27 01:32:38 +00:00
|
|
|
;;
|
2018-12-29 09:22:32 +00:00
|
|
|
dlink,dir-859-a1)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2018-12-29 09:22:32 +00:00
|
|
|
ath10kcal_patch_mac $(mtd_get_mac_ascii devdata "wlan5mac")
|
|
|
|
;;
|
2018-12-29 15:55:35 +00:00
|
|
|
elecom,wrc-1750ghbk2-i)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2018-12-29 15:55:35 +00:00
|
|
|
;;
|
2019-03-26 21:35:05 +00:00
|
|
|
engenius,ecb1750)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2019-03-26 21:35:05 +00:00
|
|
|
ath10kcal_patch_mac $(mtd_get_mac_ascii u-boot-env athaddr)
|
|
|
|
;;
|
ath79: add suport for EnGenius EPG5000
EnGenius EPG5000 (v1.0.0, marketed as IoT Gateway) is a dual band
wireless router.
Specification
SoC: Qualcomm Atheros QCA9558
RAM: 256 MB DDR2
Flash: 16 MB SPI NOR
WIFI: 2.4 GHz 3T3R integrated
5 GHz 3T3R QCA9880 Mini PCIe card
Ethernet: 5x 10/100/1000 Mbps QCA8337N
USB: 1x 2.0
LEDS: 4x GPIO controlled
Buttons: 2x GPIO controlled
UART: 4 pin header, starting count from white triangle on PCB
1. VCC 3.3V, 2. GND, 3. TX, 4. RX
baud: 115200, parity: none, flow control: none
Installation
1. Connect to one of LAN (yellow) ethernet ports,
2. Open router configuration interface,
3. Go to Tools > Firmware,
4. Select OpenWrt factory image with dlf extension and hit Apply,
5. Wait few minutes, after the Power LED will stop blinking, the router
is ready for configuration.
Alternative installation
1. Prepare TFTP server with OpenWrt sysupgrade image,
2. Connect to one of LAN (yellow) ethernet ports,
3. Connect to UART port (leaving out VCC pin!),
4. Power on router,
5. When asked to enter a number 1 or 3 hit 2, this will select flashing
image from TFTP server option,
6. You'll be prompted to enter TFTP server ip (default is 192.168.99.8),
then router ip (default is 192.168.99.9) and for last, image name
downloaded from TFTP server (default is uImageESR1200_1750),
7. After providing all information U-Boot will start flashing the image,
You can observe progress on console, it'll take few minutes and when
the Power LED will stop blinking, router is ready for configuration.
Additional information
If connected to UART, when prompted for number on boot, one can enter
number 4 to open bootloader (U-Boot) command line.
OEM firmware shell password is: aigo3d0a0tdagr
useful for creating backup of original firmware.
When doing upgrade from OpenWrt ar71xx image, it is recomended to not keep
the old configuration.
Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
2019-03-04 14:18:53 +00:00
|
|
|
engenius,epg5000|\
|
|
|
|
iodata,wn-ac1167dgr|\
|
|
|
|
iodata,wn-ac1600dgr2)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
ath79: add suport for EnGenius EPG5000
EnGenius EPG5000 (v1.0.0, marketed as IoT Gateway) is a dual band
wireless router.
Specification
SoC: Qualcomm Atheros QCA9558
RAM: 256 MB DDR2
Flash: 16 MB SPI NOR
WIFI: 2.4 GHz 3T3R integrated
5 GHz 3T3R QCA9880 Mini PCIe card
Ethernet: 5x 10/100/1000 Mbps QCA8337N
USB: 1x 2.0
LEDS: 4x GPIO controlled
Buttons: 2x GPIO controlled
UART: 4 pin header, starting count from white triangle on PCB
1. VCC 3.3V, 2. GND, 3. TX, 4. RX
baud: 115200, parity: none, flow control: none
Installation
1. Connect to one of LAN (yellow) ethernet ports,
2. Open router configuration interface,
3. Go to Tools > Firmware,
4. Select OpenWrt factory image with dlf extension and hit Apply,
5. Wait few minutes, after the Power LED will stop blinking, the router
is ready for configuration.
Alternative installation
1. Prepare TFTP server with OpenWrt sysupgrade image,
2. Connect to one of LAN (yellow) ethernet ports,
3. Connect to UART port (leaving out VCC pin!),
4. Power on router,
5. When asked to enter a number 1 or 3 hit 2, this will select flashing
image from TFTP server option,
6. You'll be prompted to enter TFTP server ip (default is 192.168.99.8),
then router ip (default is 192.168.99.9) and for last, image name
downloaded from TFTP server (default is uImageESR1200_1750),
7. After providing all information U-Boot will start flashing the image,
You can observe progress on console, it'll take few minutes and when
the Power LED will stop blinking, router is ready for configuration.
Additional information
If connected to UART, when prompted for number on boot, one can enter
number 4 to open bootloader (U-Boot) command line.
OEM firmware shell password is: aigo3d0a0tdagr
useful for creating backup of original firmware.
When doing upgrade from OpenWrt ar71xx image, it is recomended to not keep
the old configuration.
Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
2019-03-04 14:18:53 +00:00
|
|
|
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_ascii u-boot-env ethaddr) +1)
|
|
|
|
;;
|
2019-06-05 13:31:32 +00:00
|
|
|
engenius,ews511ap)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2018-11-05 02:03:05 +00:00
|
|
|
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +1)
|
|
|
|
;;
|
2019-08-23 09:05:57 +00:00
|
|
|
glinet,gl-ar750|\
|
2019-06-05 13:31:32 +00:00
|
|
|
glinet,gl-ar750s)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2019-08-09 15:45:12 +00:00
|
|
|
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x0) +1)
|
2019-06-05 13:31:32 +00:00
|
|
|
;;
|
|
|
|
glinet,gl-x750)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2019-08-09 15:45:12 +00:00
|
|
|
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary art 0x0) +2)
|
2019-06-05 13:31:32 +00:00
|
|
|
;;
|
2018-12-08 06:18:17 +00:00
|
|
|
nec,wg800hp)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2019-08-09 15:45:12 +00:00
|
|
|
ath10kcal_patch_mac_crc $(mtd_get_mac_text board_data 0x880)
|
2018-12-08 06:18:17 +00:00
|
|
|
;;
|
2019-03-21 15:43:27 +00:00
|
|
|
ocedo,koala|\
|
|
|
|
ocedo,ursus)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2019-08-09 15:45:12 +00:00
|
|
|
ath10kcal_patch_mac $(mtd_get_mac_binary art 0xc)
|
2018-08-08 20:13:44 +00:00
|
|
|
;;
|
2018-08-02 07:14:10 +00:00
|
|
|
openmesh,om5p-ac-v2)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2018-05-06 08:20:11 +00:00
|
|
|
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
|
|
|
|
;;
|
2019-07-15 11:43:31 +00:00
|
|
|
qihoo,c301)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "radiocfg" 0x5000 0x844
|
2019-07-15 11:43:31 +00:00
|
|
|
ath10kcal_patch_mac_crc $(mtd_get_mac_ascii devdata wlan5mac)
|
|
|
|
;;
|
2019-06-05 13:31:32 +00:00
|
|
|
tplink,archer-a7-v5|\
|
2019-06-05 13:59:30 +00:00
|
|
|
tplink,archer-c2-v3|\
|
2019-06-05 13:31:32 +00:00
|
|
|
tplink,archer-c7-v4|\
|
2019-06-11 11:28:02 +00:00
|
|
|
tplink,archer-c7-v5|\
|
|
|
|
tplink,archer-c25-v1)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2019-08-09 15:45:12 +00:00
|
|
|
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary info 0x8) -1)
|
2019-06-05 13:31:32 +00:00
|
|
|
;;
|
2019-02-25 18:27:28 +00:00
|
|
|
tplink,archer-c5-v1|\
|
2018-08-02 07:14:10 +00:00
|
|
|
tplink,archer-c7-v2)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2019-06-05 13:31:32 +00:00
|
|
|
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary u-boot 0x1fc00) -1)
|
2018-12-24 02:36:59 +00:00
|
|
|
;;
|
2019-07-09 11:05:46 +00:00
|
|
|
tplink,archer-d50-v1)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2019-06-05 13:31:32 +00:00
|
|
|
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary romfile 0xf100) +2)
|
2019-07-09 11:05:46 +00:00
|
|
|
;;
|
2019-03-11 17:50:42 +00:00
|
|
|
tplink,re350k-v1)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2019-06-05 13:31:32 +00:00
|
|
|
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary config 0x10008) +2)
|
|
|
|
;;
|
2019-07-16 18:47:49 +00:00
|
|
|
tplink,re355-v1|\
|
|
|
|
tplink,re450-v1)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2019-07-16 18:47:49 +00:00
|
|
|
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -2)
|
|
|
|
;;
|
2019-06-05 13:31:32 +00:00
|
|
|
tplink,re450-v2)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x844
|
2019-08-09 15:45:12 +00:00
|
|
|
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary info 0x8) +1)
|
2019-03-11 17:50:42 +00:00
|
|
|
;;
|
2018-08-02 07:14:10 +00:00
|
|
|
ubnt,unifiac-lite|\
|
|
|
|
ubnt,unifiac-mesh|\
|
|
|
|
ubnt,unifiac-mesh-pro|\
|
2018-09-19 12:17:35 +00:00
|
|
|
ubnt,lap-120|\
|
2019-01-08 14:27:57 +00:00
|
|
|
ubnt,nanobeam-ac|\
|
2018-09-04 00:08:01 +00:00
|
|
|
ubnt,nanostation-ac|\
|
2018-01-23 10:36:41 +00:00
|
|
|
ubnt,nanostation-ac-loco|\
|
2018-08-02 07:14:10 +00:00
|
|
|
ubnt,unifiac-pro)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "EEPROM" 0x5000 0x844
|
2018-06-05 12:38:02 +00:00
|
|
|
;;
|
2018-05-06 08:20:11 +00:00
|
|
|
esac
|
|
|
|
;;
|
2018-06-13 13:14:49 +00:00
|
|
|
"ath10k/pre-cal-pci-0000:00:00.0.bin")
|
|
|
|
case $board in
|
ath79: add support for COMFAST CF-E313AC
This patch adds support for the COMFAST CF-E313AC, an outdoor wireless
CPE with two Ethernet ports and a 802.11ac radio.
Specifications:
- QCA9531 SoC
- 650/400/216 MHz (CPU/DDR/AHB)
- 1x 10/100 Mbps WAN Ethernet, 48V PoE-in
- 1x 10/100 Mbps LAN Ethernet, pass-through 48V PoE-out
- 1x manual pass-through PoE switch
- 64 MB RAM (DDR2)
- 16 MB FLASH
- QCA9886 2T2R 5 GHz 802.11ac, 23 dBm
- 12 dBi built-in antenna
- POWER/LAN/WAN/WLAN green LEDs
- 4x RSSI LEDs (2x red, 2x green)
- UART (115200 8N1)
Flashing instructions:
The original firmware is based on OpenWrt so a sysupgrade image can be
installed via the stock web GUI. Settings from the original firmware
will be saved and restored on the new one, so a factory reset will be
needed. To do so, once the new firmware is flashed, enter into failsafe
mode by pressing the reset button several times during the boot
process, while the WAN LED flashes, until it starts flashing faster.
Once in failsafe mode, perform a factory reset as usual.
Alternatively, the U-boot bootloader contains a recovery HTTP server
to upload the firmware. Push the reset button while powering the
device on and keep it pressed for >10 seconds. The device's LEDs will
blink several times and the recovery page will be at
http://192.168.1.1; use it to upload the sysupgrade image.
Note:
Four MAC addresses are stored in the "art" partition (read-only):
- 0x0000: 40:A5:EF:AA:AA:A0
- 0x0006: 40:A5:EF:AA:AA:A2
- 0x1002: 40:A5:EF:AA:AA:A1
- 0x5006: 40:A5:EF:AA.AA:A3 (inside the 5 GHz calibration data)
The stock firmware assigns MAC addresses to physical and virtual
interfaces in a very particular way:
- eth0 corresponds to the physical Ethernet port labeled as WAN
- eth1 corresponds to the physical Ethernet port labeled as LAN
- eth0 belongs to the bridge interface br-wan
- eth1 belongs to the bridge interface br-lan
- eth0 is assigned the MAC from 0x0 (*:A0)
- eth1 is assigned the MAC from 0x1002 (*:A1)
- br-wan is forced to use the MAC from 0x1002 (*:A1)
- br-lan is forced to use the MAC from 0x0 (*:A0)
- radio0 uses the calibration data from 0x5000 (which contains
a valid MAC address, *:A3). However, it is overwritten by the
one at 0x6 (*:A2)
This commit preserves the LAN/WAN roles of the physical Ethernet
ports (as labeled on the router) and the MAC addresses they expose
by default (i.e., *:A0 on LAN, *:A1 on WAN), but swaps the position
of the eth0/eth1 compared to the stock firmware:
- eth0 corresponds to the physical Ethernet port labeled as LAN
- eth1 corresponds to the physical Ethernet port labeled as WAN
- eth0 belongs to the bridge interface br-lan
- eth1 is the interface at @wan
- eth0 is assigned the MAC from 0x0 (*:A0)
- eth1 is assigned the MAC from 0x1002 (*:A1)
- br-lan inherits the MAC from eth0 (*:A0)
- @wan inherits the MAC from eth1 (*:A1)
- radio0's MAC is overwritten to the one at 0x6
This way, eth0/eth1's positions differ from the stock firmware, but
the weird MAC ressignations in br-lan/br-wan are avoided while the
external behaviour of the router is maintained. Additionally, WAN
port is connected to the PHY gmac, allowing to monitor the link
status (e.g., to restart DHCP negotiation when plugging a cable).
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
2019-03-18 12:20:47 +00:00
|
|
|
comfast,cf-e313ac)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x2f20
|
ath79: add support for COMFAST CF-E313AC
This patch adds support for the COMFAST CF-E313AC, an outdoor wireless
CPE with two Ethernet ports and a 802.11ac radio.
Specifications:
- QCA9531 SoC
- 650/400/216 MHz (CPU/DDR/AHB)
- 1x 10/100 Mbps WAN Ethernet, 48V PoE-in
- 1x 10/100 Mbps LAN Ethernet, pass-through 48V PoE-out
- 1x manual pass-through PoE switch
- 64 MB RAM (DDR2)
- 16 MB FLASH
- QCA9886 2T2R 5 GHz 802.11ac, 23 dBm
- 12 dBi built-in antenna
- POWER/LAN/WAN/WLAN green LEDs
- 4x RSSI LEDs (2x red, 2x green)
- UART (115200 8N1)
Flashing instructions:
The original firmware is based on OpenWrt so a sysupgrade image can be
installed via the stock web GUI. Settings from the original firmware
will be saved and restored on the new one, so a factory reset will be
needed. To do so, once the new firmware is flashed, enter into failsafe
mode by pressing the reset button several times during the boot
process, while the WAN LED flashes, until it starts flashing faster.
Once in failsafe mode, perform a factory reset as usual.
Alternatively, the U-boot bootloader contains a recovery HTTP server
to upload the firmware. Push the reset button while powering the
device on and keep it pressed for >10 seconds. The device's LEDs will
blink several times and the recovery page will be at
http://192.168.1.1; use it to upload the sysupgrade image.
Note:
Four MAC addresses are stored in the "art" partition (read-only):
- 0x0000: 40:A5:EF:AA:AA:A0
- 0x0006: 40:A5:EF:AA:AA:A2
- 0x1002: 40:A5:EF:AA:AA:A1
- 0x5006: 40:A5:EF:AA.AA:A3 (inside the 5 GHz calibration data)
The stock firmware assigns MAC addresses to physical and virtual
interfaces in a very particular way:
- eth0 corresponds to the physical Ethernet port labeled as WAN
- eth1 corresponds to the physical Ethernet port labeled as LAN
- eth0 belongs to the bridge interface br-wan
- eth1 belongs to the bridge interface br-lan
- eth0 is assigned the MAC from 0x0 (*:A0)
- eth1 is assigned the MAC from 0x1002 (*:A1)
- br-wan is forced to use the MAC from 0x1002 (*:A1)
- br-lan is forced to use the MAC from 0x0 (*:A0)
- radio0 uses the calibration data from 0x5000 (which contains
a valid MAC address, *:A3). However, it is overwritten by the
one at 0x6 (*:A2)
This commit preserves the LAN/WAN roles of the physical Ethernet
ports (as labeled on the router) and the MAC addresses they expose
by default (i.e., *:A0 on LAN, *:A1 on WAN), but swaps the position
of the eth0/eth1 compared to the stock firmware:
- eth0 corresponds to the physical Ethernet port labeled as LAN
- eth1 corresponds to the physical Ethernet port labeled as WAN
- eth0 belongs to the bridge interface br-lan
- eth1 is the interface at @wan
- eth0 is assigned the MAC from 0x0 (*:A0)
- eth1 is assigned the MAC from 0x1002 (*:A1)
- br-lan inherits the MAC from eth0 (*:A0)
- @wan inherits the MAC from eth1 (*:A1)
- radio0's MAC is overwritten to the one at 0x6
This way, eth0/eth1's positions differ from the stock firmware, but
the weird MAC ressignations in br-lan/br-wan are avoided while the
external behaviour of the router is maintained. Additionally, WAN
port is connected to the PHY gmac, allowing to monitor the link
status (e.g., to restart DHCP negotiation when plugging a cable).
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
2019-03-18 12:20:47 +00:00
|
|
|
ath10kcal_patch_mac_crc $(mtd_get_mac_binary art 0x6)
|
|
|
|
ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
|
|
|
|
/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
|
|
|
|
rm /lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin
|
|
|
|
;;
|
2019-07-25 14:44:11 +00:00
|
|
|
dlink,dir-842-c1|\
|
2019-07-20 07:37:12 +00:00
|
|
|
dlink,dir-842-c2|\
|
2019-08-09 12:19:51 +00:00
|
|
|
dlink,dir-842-c3|\
|
2019-03-16 04:27:32 +00:00
|
|
|
nec,wg1200cr)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x2f20
|
2019-03-16 04:27:32 +00:00
|
|
|
ath10kcal_patch_mac_crc $(mtd_get_mac_ascii devdata wlan5mac)
|
|
|
|
ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
|
|
|
|
/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
|
|
|
|
;;
|
ath79: add support for Netgear EX6400 and EX7300
This is sold as a dual-band 802.11ac range extender. It has a sliding
switch for Extender mode or Access Point mode, a WPS button, a recessed
Reset button, a hard-power button, and a multitude of LED's, some
multiplexed via an NXP 74AHC164D chip. The internal serial header pinout is
Vcc, Tx, Rx, GND, with GND closest to the corner of the board. You may
connect at 115200 bps, 8 data bits, no parity, 1 stop bit.
Specification:
- System-On-Chip: QCA9558
- CPU/Speed: 720 MHz
- Flash-Chip: Winbond 25Q128FVSG
- Flash size: 16 MiB
- RAM: 128 MiB
- Wireless No1: QCA9558 on-chip 2.4GHz 802.11bgn, 3x3
- Wireless No2: QCA99x0 chip 5GHz 802.11an+ac, 4x4
- PHY: Atheros AR8035-A
Installation:
If you can get to the stock firmware's firmware upgrade option, just feed
it the factory.img and boot as usual. As an alternative, TFTP the
factory.img to the bootloader.
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
[whitespace fix in DTS and reorder of make variables]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2018-09-14 04:08:51 +00:00
|
|
|
netgear,ex6400|\
|
|
|
|
netgear,ex7300)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "caldata" 0x5000 0x2f20
|
2019-08-09 15:45:12 +00:00
|
|
|
ath10kcal_patch_mac $(mtd_get_mac_binary caldata 0xc)
|
ath79: add support for Netgear EX6400 and EX7300
This is sold as a dual-band 802.11ac range extender. It has a sliding
switch for Extender mode or Access Point mode, a WPS button, a recessed
Reset button, a hard-power button, and a multitude of LED's, some
multiplexed via an NXP 74AHC164D chip. The internal serial header pinout is
Vcc, Tx, Rx, GND, with GND closest to the corner of the board. You may
connect at 115200 bps, 8 data bits, no parity, 1 stop bit.
Specification:
- System-On-Chip: QCA9558
- CPU/Speed: 720 MHz
- Flash-Chip: Winbond 25Q128FVSG
- Flash size: 16 MiB
- RAM: 128 MiB
- Wireless No1: QCA9558 on-chip 2.4GHz 802.11bgn, 3x3
- Wireless No2: QCA99x0 chip 5GHz 802.11an+ac, 4x4
- PHY: Atheros AR8035-A
Installation:
If you can get to the stock firmware's firmware upgrade option, just feed
it the factory.img and boot as usual. As an alternative, TFTP the
factory.img to the bootloader.
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
[whitespace fix in DTS and reorder of make variables]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2018-09-14 04:08:51 +00:00
|
|
|
;;
|
2018-06-13 13:14:49 +00:00
|
|
|
phicomm,k2t)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x2f20
|
2018-06-13 13:14:49 +00:00
|
|
|
ath10kcal_patch_mac_crc $(k2t_get_mac "5g_mac")
|
|
|
|
ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
|
|
|
|
/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
|
|
|
|
;;
|
ath79: add support for Archer C58/C59 v1
This commit adds support for the Archer C58 v1 and C59 v1, previously
supported in the ar71xx target.
CPU: Qualcomm QCA9561
RAM: 64M (C58) / 128M (C59)
FLASH: 8M (C58) / 16M (C59)
WiFi: QCA9561 bgn 3x3:3
QCA9888 nac 2x2:2
LED: Power, WiFi 2.4, WiFi 5, WAN green, WAN amber, LAN, WPS
Only C59: USB
BTN: WPS, WiFi, Reset
Installation
------------
Via Web-UI:
Update factory image via Web-UI.
Via TFTP:
Rename factory image to "tp_recovery.bin" and place it in the root-dir
of your tftp server. Configure to listen on 192.168.0.66. Power up the
router while holding down the reset-button. The router will flash itself
and reboot.
Note: For TFTP, you might need a switch between router and computer, as
link establishment might take to long.
Signed-off-by: David Bauer <mail@david-bauer.net>
2018-10-31 19:19:49 +00:00
|
|
|
tplink,archer-c58-v1|\
|
2018-12-28 08:24:01 +00:00
|
|
|
tplink,archer-c59-v1|\
|
2019-09-16 16:45:02 +00:00
|
|
|
tplink,archer-c59-v2|\
|
2019-05-05 16:36:43 +00:00
|
|
|
tplink,archer-c60-v1|\
|
2019-05-05 16:46:09 +00:00
|
|
|
tplink,archer-c60-v2|\
|
2018-12-28 08:24:01 +00:00
|
|
|
tplink,archer-c6-v2)
|
2019-09-22 09:57:13 +00:00
|
|
|
caldata_extract "art" 0x5000 0x2f20
|
2019-08-09 15:45:12 +00:00
|
|
|
ath10kcal_patch_mac_crc $(macaddr_add $(mtd_get_mac_binary mac 0x8) -1)
|
ath79: add support for Archer C58/C59 v1
This commit adds support for the Archer C58 v1 and C59 v1, previously
supported in the ar71xx target.
CPU: Qualcomm QCA9561
RAM: 64M (C58) / 128M (C59)
FLASH: 8M (C58) / 16M (C59)
WiFi: QCA9561 bgn 3x3:3
QCA9888 nac 2x2:2
LED: Power, WiFi 2.4, WiFi 5, WAN green, WAN amber, LAN, WPS
Only C59: USB
BTN: WPS, WiFi, Reset
Installation
------------
Via Web-UI:
Update factory image via Web-UI.
Via TFTP:
Rename factory image to "tp_recovery.bin" and place it in the root-dir
of your tftp server. Configure to listen on 192.168.0.66. Power up the
router while holding down the reset-button. The router will flash itself
and reboot.
Note: For TFTP, you might need a switch between router and computer, as
link establishment might take to long.
Signed-off-by: David Bauer <mail@david-bauer.net>
2018-10-31 19:19:49 +00:00
|
|
|
ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
|
|
|
|
/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
|
|
|
|
;;
|
2018-06-13 13:14:49 +00:00
|
|
|
esac
|
|
|
|
;;
|
2018-05-06 08:20:11 +00:00
|
|
|
*)
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|