diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-05-20 18:00:23 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-05-21 19:11:24 +0200 |
commit | 78a0ae90234fbd04f4616f223b30d05dc54e5065 (patch) | |
tree | eb5c63e980ef66bcd165edeb1199767ba5c11241 /target/linux/bcm63xx/base-files | |
parent | 5998c8f059dbd64c5391e4caec2c07d434ffe146 (diff) | |
download | upstream-78a0ae90234fbd04f4616f223b30d05dc54e5065.tar.gz upstream-78a0ae90234fbd04f4616f223b30d05dc54e5065.tar.bz2 upstream-78a0ae90234fbd04f4616f223b30d05dc54e5065.zip |
bcm63xx: WIP: add Huawei HG253s v2 support
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 | 3 | ||||
-rwxr-xr-x | target/linux/bcm63xx/base-files/etc/board.d/02_network | 4 | ||||
-rw-r--r-- | target/linux/bcm63xx/base-files/lib/upgrade/platform.sh | 2 |
3 files changed, 9 insertions, 0 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 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 |