diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2017-03-31 13:37:31 +0200 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2017-07-23 00:26:51 +0200 |
commit | 3959110c5b8b7b9f757d547dc01bf226f2bd1e34 (patch) | |
tree | 1447acd1ffe02f85fe86226d6b14c1a51c0632f3 /target/linux/ar71xx/base-files | |
parent | f6907dcc7968a81ebbe75b630dde919468cc8025 (diff) | |
download | upstream-3959110c5b8b7b9f757d547dc01bf226f2bd1e34.tar.gz upstream-3959110c5b8b7b9f757d547dc01bf226f2bd1e34.tar.bz2 upstream-3959110c5b8b7b9f757d547dc01bf226f2bd1e34.zip |
ar71xx: add support for ALFA Network AP121F
ALFA Network AP121F is a pocket-size router dedicated for VPN/TOR users.
Device is based on Atheros AR9331 WiSoC and is running a custom version
(updated from OpenWrt CC to LEDE 17.01 release) of NetAidKit firmware.
Specification:
- 400/400/200 MHz (CPU/DDR/AHB)
- 64 MB of RAM (DDR1)
- 16 MB of FLASH (SPI NOR)
- 1x 10/100 Mbps Ethernet
- 1T1R 2.4 GHz
- 1x microSD (optional, on separate PCB)
- 3x LED, 1x button, 1x switch
- UART header on PCB
Flash instruction (under U-Boot web recovery mode):
1. Configure PC with static IP 192.168.1.2/24.
2. Connect PC with RJ45 port, 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>
Diffstat (limited to 'target/linux/ar71xx/base-files')
5 files changed, 12 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 0279dfca88..833522f27b 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -49,6 +49,10 @@ antrouter-r1) ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt" ucidef_set_led_default "btc" "BTC" "$board:green:btc" "0" ;; +ap121f) + ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0" + ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt" + ;; arduino-yun) ucidef_set_led_wlan "wlan" "WLAN" "arduino:blue:wlan" "phy0tpt" ucidef_set_led_usbdev "usb" "USB" "arduino:white:usb" "1-1.1" 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 c8c7827a87..169b250024 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -61,6 +61,7 @@ ar71xx_setup_interfaces() antminer-s1|\ antminer-s3|\ antrouter-r1|\ + ap121f|\ aw-nr580|\ bullet-m|\ c-55|\ diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 7b8aac8f8e..bc2fc2f774 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -29,6 +29,9 @@ get_status_led() { xd3200) status_led="$board:green:system" ;; + ap121f) + status_led="$board:green:vpn" + ;; ap132|\ db120|\ dr344|\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index b035535a42..bf365988ac 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -433,6 +433,9 @@ ar71xx_board_detect() { *AP121-MINI) name="ap121-mini" ;; + *"AP121F") + name="ap121f" + ;; *"AP132 reference board") name="ap132" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 580e09a46f..21ad2a617d 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -203,6 +203,7 @@ platform_check_image() { airgatewaypro|\ airgateway|\ airrouter|\ + ap121f|\ ap132|\ ap90q|\ bullet-m|\ |