diff options
author | Mathias Kresin <dev@kresin.me> | 2016-12-30 11:53:21 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-06-24 22:36:38 +0200 |
commit | e7cd6f5d66b827e31cfa7e7bc019ac1b86aac770 (patch) | |
tree | 2266d211229d5045d0ea8d4e998164641272a5b7 /target/linux/ar71xx/base-files/etc/board.d | |
parent | 0605b15be405ddaf9499e02f4b5a59ba406d2ccd (diff) | |
download | mtk-20170518-e7cd6f5d66b827e31cfa7e7bc019ac1b86aac770.zip mtk-20170518-e7cd6f5d66b827e31cfa7e7bc019ac1b86aac770.tar.gz mtk-20170518-e7cd6f5d66b827e31cfa7e7bc019ac1b86aac770.tar.bz2 |
ar71xx: add AVM FRITZ!WLAN Repeater 300E support
Specifications:
* SoC: AR7242 (Virian 400MHz)
* RAM: 64 MB DDR (W9751G6JB-25)
* Flash: 16MB SPI flash (S25FL129PIF)
* WiFi: AR9382 (2.4/5GHz) + 2x SE2595L
* LAN: 1x1000M (PEF7071V)
To install LEDE via EVA bootloader, a FTP connection need to be
established to 192.168.178.1 within the first seconds after power on:
ftp> quote USER adam2
ftp> quote PASS adam2
ftp> binary
ftp> debug
ftp> passive
ftp> quote MEDIA FLSH
ftp> put lede-ar71xx-generic-fritz300e-squashfs-sysupgrade.bin mtd1
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 10 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/02_network | 4 |
2 files changed, 14 insertions, 0 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 87f99ea..d80efef 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -242,6 +242,16 @@ ens202ext) f9k1115v2) ucidef_set_led_usbdev "usb2" "USB2" "belkin:green:usb2" "1-1" ;; +fritz300e) + ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0" + ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt" + ucidef_set_rssimon "wlan0" "200000" "1" + ucidef_set_led_rssi "rssilow" "RSSILOW" "$board:green:rssi0" "wlan0" "1" "100" + ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "$board:green:rssi1" "wlan0" "20" "100" + ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "$board:green:rssi2" "wlan0" "40" "100" + ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "$board:green:rssi3" "wlan0" "60" "100" + ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$board:green:rssi4" "wlan0" "80" "100" + ;; rb-750) ucidef_set_led_default "act" "act" "rb750:green:act" "1" ucidef_set_led_netdev "port1" "port1" "rb750:green:port1" "eth1" 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 80355d6..9ff6ddd 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -75,6 +75,7 @@ ar71xx_setup_interfaces() eap300v2|\ eap7660d|\ el-mini|\ + fritz300e|\ hiveap-121|\ loco-m-xw|\ mr12|\ @@ -518,6 +519,9 @@ ar71xx_setup_macs() lan_mac=$(mtd_get_mac_binary caldata 0) wan_mac=$(mtd_get_mac_binary caldata 6) ;; + fritz300e) + lan_mac=$(fritz_tffs -n maca -i $(find_mtd_part "tffs (1)")) + ;; tl-wr1043nd-v4) wan_mac=$(mtd_get_mac_binary config 0x1017c) ;; |