Author: nbd
Date: 2015-12-19 12:28:18 +0100 (Sat, 19 Dec 2015)
New Revision: 47946

Modified:
   trunk/package/boot/uboot-envtools/files/ar71xx
   trunk/target/linux/ar71xx/base-files/etc/board.d/01_leds
   trunk/target/linux/ar71xx/base-files/etc/board.d/02_network
   trunk/target/linux/ar71xx/base-files/etc/diag.sh
   trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh
   trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
Log:
ar71xx: PowerCloud CR5000 openwrt configuration

OpenWrt configuration part of support for the PowerCloud Systems
CR5000.  The CR5000 is a dual-band 802.11n wireless router with
8MB flash, 64MB RAM, (unused on stock firmware) USB 2.0 port and
five port gigabit ethernet switch.  The CR5000 was sold as
hardware for the Skydog cloud-managed router service.

    Signed-off-by: Daniel Dickinson <[email protected]>

Modified: trunk/package/boot/uboot-envtools/files/ar71xx
===================================================================
--- trunk/package/boot/uboot-envtools/files/ar71xx      2015-12-19 11:28:12 UTC 
(rev 47945)
+++ trunk/package/boot/uboot-envtools/files/ar71xx      2015-12-19 11:28:18 UTC 
(rev 47946)
@@ -19,6 +19,7 @@
 cap4200ag | \
 carambola2 | \
 cr3000 | \
+cr5000 | \
 eap300v2 | \
 hornet-ub | \
 hornet-ub-x2 | \

Modified: trunk/target/linux/ar71xx/base-files/etc/board.d/01_leds
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/board.d/01_leds    2015-12-19 
11:28:12 UTC (rev 47945)
+++ trunk/target/linux/ar71xx/base-files/etc/board.d/01_leds    2015-12-19 
11:28:18 UTC (rev 47946)
@@ -135,6 +135,11 @@
        ucidef_set_led_wlan "wlan" "WLAN" "pcs:blue:wlan" "phy0tpt"
        ;;
 
+cr5000)
+       ucidef_set_led_wlan "wlan" "WLAN" "pcs:blue:wlan" "phy0tpt"
+       ucidef_set_led_usbdev "usb" "USB" "pcs:white:wps" "1-1"
+       ;;
+
 db120)
        ucidef_set_led_usbdev "usb" "USB" "db120:green:usb" "1-1"
        ;;

Modified: trunk/target/linux/ar71xx/base-files/etc/board.d/02_network
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/board.d/02_network 2015-12-19 
11:28:12 UTC (rev 47945)
+++ trunk/target/linux/ar71xx/base-files/etc/board.d/02_network 2015-12-19 
11:28:18 UTC (rev 47946)
@@ -34,6 +34,11 @@
                "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan"
        ;;
 
+cr5000)
+       ucidef_add_switch "switch0" \
+               "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
+       ;;
+
 ap136-010 |\
 ap147-010)
        ucidef_set_interfaces_lan_wan "eth0" "eth1"

Modified: trunk/target/linux/ar71xx/base-files/etc/diag.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/etc/diag.sh    2015-12-19 11:28:12 UTC 
(rev 47945)
+++ trunk/target/linux/ar71xx/base-files/etc/diag.sh    2015-12-19 11:28:18 UTC 
(rev 47946)
@@ -70,6 +70,9 @@
        cr3000)
                status_led="pcs:amber:power"
                ;;
+       cr5000)
+               status_led="pcs:amber:power"
+               ;;
        db120)
                status_led="db120:green:status"
                ;;

Modified: trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  2015-12-19 11:28:12 UTC 
(rev 47945)
+++ trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh  2015-12-19 11:28:18 UTC 
(rev 47946)
@@ -427,6 +427,9 @@
        *CR3000)
                name="cr3000"
                ;;
+       *CR5000)
+               name="cr5000"
+               ;;
        *"DB120 reference board")
                name="db120"
                ;;

Modified: trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh        
2015-12-19 11:28:12 UTC (rev 47945)
+++ trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh        
2015-12-19 11:28:18 UTC (rev 47946)
@@ -169,7 +169,8 @@
        all0258n | \
        cap324 | \
        cap4200ag | \
-       cr3000)
+       cr3000 |\
+       cr5000)
                platform_check_image_allnet "$1" && return 0
                return 1
                ;;
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to