From 62e7342ddfba605722b1d6700eec3f0aaa9377e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Tue, 19 May 2020 08:55:06 +0200 Subject: bcm63xx: add NETGEAR DGND3700v2 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- target/linux/bcm63xx/base-files/etc/board.d/01_leds | 5 +++++ target/linux/bcm63xx/base-files/etc/board.d/02_network | 1 + target/linux/bcm63xx/base-files/lib/upgrade/platform.sh | 6 ++++-- 3 files changed, 10 insertions(+), 2 deletions(-) (limited to 'target/linux/bcm63xx/base-files') 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" ;; -- cgit v1.2.3