From 78a0ae90234fbd04f4616f223b30d05dc54e5065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Wed, 20 May 2020 18:00:23 +0200 Subject: bcm63xx: WIP: add Huawei HG253s v2 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Fernández Rojas --- target/linux/bcm63xx/base-files/etc/board.d/01_leds | 3 +++ target/linux/bcm63xx/base-files/etc/board.d/02_network | 4 ++++ target/linux/bcm63xx/base-files/lib/upgrade/platform.sh | 2 ++ 3 files changed, 9 insertions(+) (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 3b041be721..bfddcb69c4 100755 --- a/target/linux/bcm63xx/base-files/etc/board.d/01_leds +++ b/target/linux/bcm63xx/base-files/etc/board.d/01_leds @@ -50,6 +50,9 @@ huawei,echolife-hg622) huawei,echolife-hg655b) ucidef_set_led_usbdev "usb" "USB" "HW65x:green:usb" "1-2" ;; +huawei,hg253s-v2) + ucidef_set_led_usbdev "usb" "USB" "hg253s-v2:green:usb" "1-1" + ;; inventel,livebox-1) ucidef_set_led_netdev "lan" "LAN" "Livebox1:red:traffic" "eth0" ucidef_set_led_netdev "wan" "WAN" "Livebox1:red:adsl" "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 14eb1091f5..a3788adac2 100755 --- a/target/linux/bcm63xx/base-files/etc/board.d/02_network +++ b/target/linux/bcm63xx/base-files/etc/board.d/02_network @@ -120,6 +120,10 @@ sfr,neufbox-4-sercomm-r0) ucidef_add_switch "switch0" \ "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth1" ;; +huawei,hg253s-v2) + ucidef_add_switch "switch0" \ + "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "8t@eth0" + ;; inteno,vg50) ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "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 093eba056e..7d416297dd 100644 --- a/target/linux/bcm63xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/bcm63xx/base-files/lib/upgrade/platform.sh @@ -7,6 +7,7 @@ platform_check_image() { case "$(board_name)" in comtrend,vg-8050|\ comtrend,vr-3032u|\ + huawei,hg253s-v2|\ netgear,dgnd3700-v2|\ sercomm,ad1018) # NAND sysupgrade @@ -66,6 +67,7 @@ platform_do_upgrade() { case "$(board_name)" in comtrend,vg-8050|\ comtrend,vr-3032u|\ + huawei,hg253s-v2|\ netgear,dgnd3700-v2|\ sercomm,ad1018) REQUIRE_IMAGE_METADATA=1 -- cgit v1.2.3