From daee6b466146fc20505adb2ef9f4be831f96d972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Tue, 19 May 2020 10:21:46 +0200 Subject: bcm63xx: add Comtrend VG-8050 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BCM63169 with 128M RAM, 128M NAND and BCM53125 switch. Switch is connected by HSSPI to CS5. More info: https://openwrt.org/toh/comtrend/vg8050 Signed-off-by: Álvaro Fernández Rojas --- target/linux/bcm63xx/base-files/etc/board.d/02_network | 4 ++++ target/linux/bcm63xx/base-files/lib/upgrade/platform.sh | 2 ++ 2 files changed, 6 insertions(+) (limited to 'target/linux/bcm63xx/base-files') 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 928aff0498..d0c15a9f98 100755 --- a/target/linux/bcm63xx/base-files/etc/board.d/02_network +++ b/target/linux/bcm63xx/base-files/etc/board.d/02_network @@ -100,6 +100,10 @@ sagem,fast-2704n) ucidef_add_switch "switch0" \ "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "8t@eth0" ;; +comtrend,vg-8050) + ucidef_add_switch "switch0" \ + "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan" "8t@eth0" + ;; comtrend,vr-3032u) ucidef_add_switch "switch0" \ "0:lan:2" "1:lan:3" "2:lan:4" "3:lan:1" "8t@eth0" diff --git a/target/linux/bcm63xx/base-files/lib/upgrade/platform.sh b/target/linux/bcm63xx/base-files/lib/upgrade/platform.sh index 202f55535a..e92d025de7 100644 --- a/target/linux/bcm63xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/bcm63xx/base-files/lib/upgrade/platform.sh @@ -5,6 +5,7 @@ platform_check_image() { [ "$#" -gt 1 ] && return 1 case "$(board_name)" in + comtrend,vg-8050|\ comtrend,vr-3032u|\ netgear,dgnd3700-v2) # NAND sysupgrade @@ -62,6 +63,7 @@ cfe_jffs2_upgrade_tar() { platform_do_upgrade() { case "$(board_name)" in + comtrend,vg-8050|\ comtrend,vr-3032u|\ netgear,dgnd3700-v2) REQUIRE_IMAGE_METADATA=1 -- cgit v1.2.3