aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc/hotplug.d
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2018-08-14 15:01:05 +0900
committerMathias Kresin <dev@kresin.me>2018-08-16 21:20:57 +0200
commit9e6f22e30994a38b0af709956d66b8b05221afb2 (patch)
treeb6ae63c9ba4213adf5d32cde70f968b7585eecb1 /target/linux/ath79/base-files/etc/hotplug.d
parentc9e9a787343fb9190b5491188025bcfdebc94beb (diff)
downloadupstream-9e6f22e30994a38b0af709956d66b8b05221afb2.tar.gz
upstream-9e6f22e30994a38b0af709956d66b8b05221afb2.tar.bz2
upstream-9e6f22e30994a38b0af709956d66b8b05221afb2.zip
ath79: add support for Buffalo WHR-G301N
Buffalo WHR-G301N is a 2.4 GHz 11n router, based on Atheros AR7240. Ported from ar71xx target. Specification: - Atheros AR7240 - 32 MB of RAM - 4 MB of Flash - 2.4 GHz 2T2R wifi - 5x 10/100 Mbps Ethernet - 9x LEDs, 4x keys - LED: 8x gpio-leds, 1x ath9k-leds - key: 2x buttons, 1x slide switch - UART header on PCB - Vcc, GND, TX, RX from LEDs side - 115200n8 Flash instruction using factory image: 1. Connect the computer to the LAN port of WHR-G301N 2. Connect power cable to WHR-G301N and turn on it 3. Access to "http://192.168.11.1/" and open firmware update page ("ファーム更新") 4. Select the OpenWrt factory image and click execute ("実行") button 5. Wait ~150 seconds to complete flashing Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> [fix the SUPPORTED_DEVICES to be compatible with the ar71xx image] Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ath79/base-files/etc/hotplug.d')
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom9
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index f71139c55c..1be0d2afbc 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -111,6 +111,11 @@ case "$FIRMWARE" in
avm,fritz300e)
ath9k_eeprom_extract_reverse "urloader" 5441 1088
;;
+ buffalo,whr-g301n|\
+ tplink,tl-wr841-v5|\
+ tplink,tl-wr941-v4)
+ ath9k_eeprom_extract "art" 4096 3768
+ ;;
ocedo,raccoon|\
tplink,tl-wdr3600|\
tplink,tl-wdr4300|\
@@ -131,10 +136,6 @@ case "$FIRMWARE" in
ubnt,unifi)
ath9k_eeprom_extract "art" 4096 2048
;;
- tplink,tl-wr841-v5|\
- tplink,tl-wr941-v4)
- ath9k_eeprom_extract "art" 4096 3768
- ;;
*)
ath9k_eeprom_die "board $board is not supported yet"
;;