Add basic support for the GL-USB150 microuter 10/head
authorRISCi_ATOM <bob@bobcall.me>
Tue, 8 Aug 2017 00:22:37 +0000 (20:22 -0400)
committerRISCi_ATOM <bob@bobcall.me>
Tue, 8 Aug 2017 00:22:37 +0000 (20:22 -0400)
target/linux/ar71xx/base-files/etc/board.d/01_leds
target/linux/ar71xx/base-files/etc/board.d/02_network
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
target/linux/ar71xx/image/generic.mk

index 1c2f9d852336bd22bab1f3b09ba86351425338d5..99f0ec1ad7751c07c6d319833da4bab3bb0dec1b 100755 (executable)
@@ -276,6 +276,7 @@ dlan-pro-1200-ac)
        ucidef_set_led_gpio "plcr" "dLAN" "devolo:error:dlan" "16" "0"
        ;;
 gl-ar150|\
+gl-usb150|\
 gl-ar300|\
 gl-ar300m|\
 gl-mifi)
index b089d4b2ce279678b21b53e24cea8c082725d3d9..7911da228e2d886e8083c82f8fec026067f55968 100755 (executable)
@@ -124,6 +124,9 @@ ar71xx_setup_interfaces()
        alfa-ap96|\
        alfa-nx|\
        gl-ar150|\
+       gl-usb150)
+               ucidef_set_interface_lan "eth0"
+               ;;
        gl-ar300m|\
        gl-domino|\
        gl-inet|\
index a34e136d56584b47006517aeec12425d75d62ffd..be3c98a5e6096564e44d9cdaf9ae358316ddf436 100755 (executable)
@@ -620,6 +620,9 @@ ar71xx_board_detect() {
        *"GL AR150")
                name="gl-ar150"
                ;;
+       *"GL USB150")
+               name="gl-usb150"
+               ;;
        *"GL AR300")
                name="gl-ar300"
                ;;
@@ -1088,7 +1091,7 @@ ar71xx_board_detect() {
        *"TL-MR13U v1")
                name="tl-mr13u"
                ;;
-       *"Think Penguin Mini Router")
+       *"TPE-R1100 Think Penguin Mini Router")
                 name="tpe-r1100"
                 ;;
        *"Tube2H")
index 0d72807b9428aa60b0893d49204f5d1fdd52ade3..b2b88aba6d8c0d5777fec2f1c720eebf8a9d3778 100755 (executable)
@@ -237,6 +237,7 @@ platform_check_image() {
        ew-dorin-router|\
        ew-dorin|\
        gl-ar150|\
+       gl-usb150|\
        gl-ar300m|\
        gl-ar300|\
        gl-domino|\
index 84784ae96d35cbe6b974862d9f00b669bcb25a15..fbcefe4690eb8c8028982a094ad197c858fddab7 100644 (file)
@@ -117,14 +117,18 @@ define Device/gl-ar150
   MTDPARTS = spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,16000k(firmware),64k(art)ro
 endef
 
-TARGET_DEVICES += gl-ar150
+define Device/gl-usb150
+$(Device/gl-ar150)
+  DEVICE_TITLE := GL USB150
+  DEVICE_PACKAGES += kmod-usb-serial kmod-usb-serial-pl2303 kmod-usb-net
+endef
 
 define Device/tpe-r1100
   $(Device/gl-ar150)
-  DEVICE_TITLE := Think Penguin Mini Router
+  DEVICE_TITLE := TPE-R1100 Think Penguin Mini Router
 endef
 
-TARGET_DEVICES += tpe-r1100
+TARGET_DEVICES += gl-ar150 gl-usb150 tpe-r1100
 
 define Device/gl-ar300
   DEVICE_TITLE := GL AR300