From: Evgeniy Didin Date: Thu, 15 Feb 2018 17:26:04 +0000 (+0300) Subject: archs38: add HSDK board to network configure scripts X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4cedd1ddb33405c1db45ee84f8e66c7786801aff;p=openwrt%2Fstaging%2Fthess.git archs38: add HSDK board to network configure scripts In the initial patch which adds HSDK board there were no update of network configuration scripts. Without it by default static IP is set for br-lan and there is no access to internet. This patch fixes the issue. Signed-off-by: Evgeniy Didin CC: Alexey Brodkin CC: Hauke Mehrtens CC: John Crispin --- diff --git a/target/linux/archs38/base-files/etc/board.d/02_network b/target/linux/archs38/base-files/etc/board.d/02_network index d8bdd50677..60a2602316 100755 --- a/target/linux/archs38/base-files/etc/board.d/02_network +++ b/target/linux/archs38/base-files/etc/board.d/02_network @@ -8,7 +8,7 @@ board_config_update case "$(board_name)" in -"arc-sdp"*) +"arc-sdp"*|"arc-hsdk"*) ucidef_set_interface_lan "eth0" "dhcp" ;; esac diff --git a/target/linux/archs38/base-files/lib/arc.sh b/target/linux/archs38/base-files/lib/arc.sh index 9ca1a2c09a..50aaaa2d27 100644 --- a/target/linux/archs38/base-files/lib/arc.sh +++ b/target/linux/archs38/base-files/lib/arc.sh @@ -21,6 +21,9 @@ arc_board_detect() { "snps,axs103""snps,arc-sdp") board="arc-sdp"; ;; + "snps,hsdk") + board="arc-hsdk"; + ;; "snps,nsim_hs") board="arc-nsim"; ;;