ramips: Add JCG routers to base-files
authorJohn Crispin <john@openwrt.org>
Fri, 4 Mar 2016 08:33:09 +0000 (08:33 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 4 Mar 2016 08:33:09 +0000 (08:33 +0000)
This patch adds support for JHR-N805R, JHR-N825R and JHR-N926R to
various scripts in the base-files directory.

Signed-off-by: Reinhard Max <reinhard@m4x.de>
Reviewed-by: Torsten Duwe <duwe@lst.de>
SVN-Revision: 48905

target/linux/ramips/base-files/etc/board.d/02_network
target/linux/ramips/base-files/etc/diag.sh
target/linux/ramips/base-files/lib/ramips.sh
target/linux/ramips/base-files/lib/upgrade/platform.sh

index 0a680d097554878c20e0fcef4d884f61b3295727..231281107833de054ddac8e6fe1cbb9b8abc9d02 100755 (executable)
@@ -114,6 +114,9 @@ ramips_setup_interfaces()
        f5d8235-v1|\
        f5d8235-v2|\
        hg255d|\
+       jhr-n805r|\
+       jhr-n825r|\
+       jhr-n926r|\
        rt-n14u|\
        ubnt-erx|\
        ur-326n4g|\
index c7c7815b25417f5af0ca66f4fbb1ca546d5c77e9..daa7fb1afd08e992d73150311dc0f65a399126b1 100644 (file)
@@ -36,6 +36,7 @@ get_status_led() {
        dcs-930l-b1|\
        ex2700|\
        hlk-rm04|\
+       jhr-n825r|\
        mpr-a1|\
        mpr-a2)
                status_led="$board:red:power"
@@ -109,6 +110,8 @@ get_status_led() {
                status_led="$board:orange:status"
                ;;
        hc5*61|\
+       jhr-n805r|\
+       jhr-n926r|\
        mlw221|\
        mlwg2)
                status_led="$board:blue:system"
index c4eb357818a3afcae8a9542c8f07383ea8da9e57..5f293be2d1ce0eb7ecce6acc385a0e0d8f2e4b6b 100755 (executable)
@@ -202,6 +202,15 @@ ramips_board_detect() {
        *"IP2202")
                name="ip2202"
                ;;
+       *"JHR-N805R")
+               name="jhr-n805r"
+               ;;
+       *"JHR-N825R")
+               name="jhr-n825r"
+               ;;
+       *"JHR-N926R")
+               name="jhr-n926r"
+               ;;
        *"M3")
                name="m3"
                ;;
index df1ededd008b49f41564b576a66f1a47ea5cabfe..7812f04048554dfcc360db4b94b9f9e5c7ee8036 100755 (executable)
@@ -63,6 +63,9 @@ platform_check_image() {
        ht-tm02|\
        hw550-3g|\
        ip2202|\
+       jhr-n805r|\
+       jhr-n825r|\
+       jhr-n926r|\
        linkits7688|\
        linkits7688d|\
        m2m|\