aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2017-08-19 18:26:46 +0200
committerPiotr Dymacz <pepe2k@gmail.com>2017-09-10 22:14:43 +0200
commit90d8c0f0a2f4c902348a2f514ba33f2c9c34e005 (patch)
treededb9528766064223e22304e306719a17d9eafc0 /target/linux/ar71xx/base-files
parentbd24d53ea2ac1c174838cbf21f511db8718175b7 (diff)
downloadupstream-90d8c0f0a2f4c902348a2f514ba33f2c9c34e005.tar.gz
upstream-90d8c0f0a2f4c902348a2f514ba33f2c9c34e005.tar.bz2
upstream-90d8c0f0a2f4c902348a2f514ba33f2c9c34e005.zip
ar71xx: add support for GL.iNet GL-USB150
GL.iNet GL-USB150 is an USB dongle WiFi router, based on Atheros AR9331. Specification: - 400/400/200 MHz (CPU/DDR/AHB) - 64 MB of RAM (DDR2) - 16 MB of FLASH (SPI NOR) - Realtek RTL8152B USB to Ethernet bridge (connected with AR9331 PHY4) - 1T1R 2.4 GHz - 2x LED, 1x button - UART header on PCB Flash instruction: Vendor firmware is based on OpenWrt CC. GUI or sysupgrade can be used to flash LEDE firmware. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds1
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
5 files changed, 7 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 4132e919e4..f367885488 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -53,6 +53,7 @@ ap121f)
ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt"
;;
ap531b0|\
+gl-usb150|\
sc1750|\
sc450)
ucidef_set_led_wlan "wlan" "WLAN" "$board:green: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 ba54d89b8f..5fa8c2f4c8 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()
eap7660d|\
el-mini|\
fritz300e|\
+ gl-usb150|\
hiveap-121|\
loco-m-xw|\
mr12|\
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 7753a7156d..6794d89115 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -59,6 +59,7 @@ get_status_led() {
archer-c59-v1|\
archer-c60-v1|\
fritz300e|\
+ gl-usb150|\
mr12|\
mr16|\
nbg6616|\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 7fd5fb4522..2eab6108f1 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -672,6 +672,9 @@ ar71xx_board_detect() {
*"GL-MIFI")
name="gl-mifi"
;;
+ *"GL-USB150")
+ name="gl-usb150"
+ ;;
*"HiveAP-121")
name="hiveap-121"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 05b5634aa5..fcf329478c 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -250,6 +250,7 @@ platform_check_image() {
gl-ar300|\
gl-domino|\
gl-mifi|\
+ gl-usb150|\
hiwifi-hc6361|\
hornet-ub-x2|\
jwap230|\