diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-05-19 08:55:06 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-05-19 10:41:42 +0200 |
commit | 62e7342ddfba605722b1d6700eec3f0aaa9377e5 (patch) | |
tree | faccab6d48c4f5cb887282944f02bfd6ea47cc70 /target/linux/bcm63xx/base-files | |
parent | 258cb7f1695d7c512069f48571c95c3de8053639 (diff) | |
download | upstream-62e7342ddfba605722b1d6700eec3f0aaa9377e5.tar.gz upstream-62e7342ddfba605722b1d6700eec3f0aaa9377e5.tar.bz2 upstream-62e7342ddfba605722b1d6700eec3f0aaa9377e5.zip |
bcm63xx: add NETGEAR DGND3700v2 support
BCM6362 with 64M RAM, 32M NAND and BCM53125 switch.
Switch is connected by MMAP, which is currently unsupported (no VLANs).
More info: https://openwrt.org/toh/netgear/dgnd3700v2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm63xx/base-files')
-rwxr-xr-x | target/linux/bcm63xx/base-files/etc/board.d/01_leds | 5 | ||||
-rwxr-xr-x | target/linux/bcm63xx/base-files/etc/board.d/02_network | 1 | ||||
-rw-r--r-- | target/linux/bcm63xx/base-files/lib/upgrade/platform.sh | 6 |
3 files changed, 10 insertions, 2 deletions
diff --git a/target/linux/bcm63xx/base-files/etc/board.d/01_leds b/target/linux/bcm63xx/base-files/etc/board.d/01_leds index 3f73d914f9..cdbfa6319b 100755 --- a/target/linux/bcm63xx/base-files/etc/board.d/01_leds +++ b/target/linux/bcm63xx/base-files/etc/board.d/01_leds @@ -63,6 +63,11 @@ netgear,dgnd3700-v1) ucidef_set_led_usbdev "usb1" "USB1" "DGND3700v1_3800B:green:usb-back" "1-1" ucidef_set_led_usbdev "usb2" "USB2" "DGND3700v1_3800B:green:usb-front" "1-2" ;; +netgear,dgnd3700-v2) + ucidef_set_led_netdev "lan" "LAN" "dgnd3700-v2:green:ethernet" "eth0" + ucidef_set_led_usbdev "usb1" "USB1" "dgnd3700-v2:green:usb1" "1-1" + ucidef_set_led_usbdev "usb2" "USB2" "dgnd3700-v2:green:usb2" "1-2" + ;; netgear,evg2000) ucidef_set_led_netdev "lan" "LAN" "EVG2000:green:lan" "eth0" ucidef_set_led_netdev "wan" "WAN" "EVG2000:green:wan" "eth1" diff --git a/target/linux/bcm63xx/base-files/etc/board.d/02_network b/target/linux/bcm63xx/base-files/etc/board.d/02_network index 7203b1c3fc..928aff0498 100755 --- a/target/linux/bcm63xx/base-files/etc/board.d/02_network +++ b/target/linux/bcm63xx/base-files/etc/board.d/02_network @@ -12,6 +12,7 @@ actiontec,r1000h|\ dynalink,rta770bw|\ dynalink,rta770w|\ netgear,cvg834g|\ +netgear,dgnd3700-v2|\ netgear,evg2000|\ t-com,speedport-w-303v|\ t-com,speedport-w-500v) diff --git a/target/linux/bcm63xx/base-files/lib/upgrade/platform.sh b/target/linux/bcm63xx/base-files/lib/upgrade/platform.sh index 0debff28bb..202f55535a 100644 --- a/target/linux/bcm63xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/bcm63xx/base-files/lib/upgrade/platform.sh @@ -5,7 +5,8 @@ platform_check_image() { [ "$#" -gt 1 ] && return 1 case "$(board_name)" in - comtrend,vr-3032u) + comtrend,vr-3032u|\ + netgear,dgnd3700-v2) # NAND sysupgrade return 0 ;; @@ -61,7 +62,8 @@ cfe_jffs2_upgrade_tar() { platform_do_upgrade() { case "$(board_name)" in - comtrend,vr-3032u) + comtrend,vr-3032u|\ + netgear,dgnd3700-v2) REQUIRE_IMAGE_METADATA=1 cfe_jffs2_upgrade_tar "$1" ;; |