diff options
author | David Bauer <mail@david-bauer.net> | 2018-05-26 18:19:53 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-06-18 23:23:30 +0200 |
commit | b4bf43c66767648f98494dd5f44e1301024b577c (patch) | |
tree | 9f581377ef06fd1864704a934e1041e481064079 /target/linux/ar71xx/base-files | |
parent | abb4ab076f37961a4dcaef4e87167b834f84e44e (diff) | |
download | upstream-b4bf43c66767648f98494dd5f44e1301024b577c.tar.gz upstream-b4bf43c66767648f98494dd5f44e1301024b577c.tar.bz2 upstream-b4bf43c66767648f98494dd5f44e1301024b577c.zip |
ar71xx: add support for Fritz!WLAN Repeater 450E
This commit adds support for the AVM Fritz!WLAN Repeater 450E
SOC: Qualcomm QCA9556 (Scorpion) 560MHz MIPS74Kc
RAM: 64MB Zentel A3R12E40CBF DDR2
FLASH: 16MiB Winbond W25Q128 SPI NOR
WLAN1: QCA9556 2.4 GHz 802.11b/g/n 3x3
INPUT: WPS button
LED: Power, WiFi, LAN, RSSI indicator
Serial: Header Next to Black metal shield
Pinout is 3.3V - RX - TX - GND (Square Pad is 3.3V)
The Serial setting is 115200-8-N-1.
Tested and working:
- Ethernet
- 2.4GHz WiFi (correct MAC)
- Installation via EVA bootloader
- OpenWRT sysupgrade
- Buttons
- Most LEDs
Not working:
- 2 RSSI LEDs
AVM used for RSSI{0,1} two of the Ethernet PHYs LEDs which they
control over MDIO. Our driver doesn't expose these LEDs as GPIOs.
While it is possible to implement this feature, it would require an
additional kernel patch for a minor functionality.
Installation via EVA:
In the first seconds after Power is connected, the bootloader will
listen for FTP connections on 192.168.178.1. Firmware can be uploaded
like following:
ftp> quote USER adam2
ftp> quote PASS adam2
ftp> binary
ftp> debug
ftp> passive
ftp> quote MEDIA FLSH
ftp> put openwrt-sysupgrade.bin mtd1
Note that this procedure might take up to two minutes.
You need to powercycle the Device afterwards to boot OpenWRT.
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ar71xx/base-files')
6 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index 8dc1a36416..2f9f1054a8 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -377,6 +377,10 @@ fritz4020) ucidef_set_led_netdev "wan" "WAN" "$board:green:wan" "eth0" ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt" ;; +fritz450e) + ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0" + ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt" + ;; gl-ar300m) ucidef_set_led_wlan "wlan" "WLAN" "$board:red:wlan" "phy0tpt" ;; diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 5044e7f92b..d9a0e969be 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -80,6 +80,7 @@ ar71xx_setup_interfaces() eap7660d|\ el-mini|\ fritz300e|\ + fritz450e|\ gl-usb150|\ hiveap-121|\ koala|\ diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index f1f4980532..29fd244ab5 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -68,6 +68,7 @@ get_status_led() { archer-c7-v4|\ fritz300e|\ fritz4020|\ + fritz450e|\ gl-usb150|\ mr12|\ mr16|\ diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index 6eb946468d..94bce7d335 100644 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -75,7 +75,8 @@ case "$FIRMWARE" in ath9k_eeprom_extract "art" 4096 2048 ath9k_patch_firmware_mac $(macaddr_add $(mtd_get_mac_binary art 0) +1) ;; - fritz4020) + fritz4020|\ + fritz450e) ath9k_eeprom_extract_reverse "urlader" 5441 1088 ;; mr18) diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index ce9225ec94..18b78f3ec6 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -715,6 +715,9 @@ ar71xx_board_detect() { *"FRITZ!WLAN Repeater 300E") name="fritz300e" ;; + *"FRITZ!WLAN Repeater 450E") + name="fritz450e" + ;; *"GL-AR150") name="gl-ar150" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 192c4a7608..effa2527e8 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -689,6 +689,7 @@ platform_check_image() { # these boards use metadata images fritz300e|\ fritz4020|\ + fritz450e|\ koala|\ rb-750-r2|\ rb-750p-pbr2|\ |