diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-17 21:20:05 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-17 21:20:05 +0000 |
commit | 83a567357d3918a6fcae43c40dddca0ad8ed9bca (patch) | |
tree | 45bc9264b8add4cef68974bf9ad621e6635728a0 /target/linux/ramips/base-files | |
parent | 496f379a423e4695215c176d9eda654cb2051937 (diff) | |
download | master-187ad058-83a567357d3918a6fcae43c40dddca0ad8ed9bca.tar.gz master-187ad058-83a567357d3918a6fcae43c40dddca0ad8ed9bca.tar.bz2 master-187ad058-83a567357d3918a6fcae43c40dddca0ad8ed9bca.zip |
ramips: add preliminary support for DIR-860L B1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44016 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 8 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 70b369de6a..b440fb388a 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -146,6 +146,7 @@ ramips_setup_interfaces() awm003-evb | \ argus-atp52b | \ dir-645 | \ + dir-860l-b1 | \ f5d8235-v1 | \ f5d8235-v2 | \ hg255d | \ diff --git a/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header b/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header index a6c392c6ba..35167f1adc 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header +++ b/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header @@ -15,7 +15,8 @@ board=$(ramips_board_name) case "$board" in cy-swr1100 | \ -dir-645) +dir-645 | \ +dir-860l-b1) fix_seama_header kernel ;; esac diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 5918640985..720b13790d 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -133,6 +133,9 @@ ramips_board_detect() { *"DIR-810L") name="dir-810l" ;; + *"DIR-860L B1") + name="dir-860l-b1" + ;; *"DAP-1350") name="dap-1350" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 2c423443c7..7c172119f4 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -133,7 +133,8 @@ platform_check_image() { ;; cy-swr1100 |\ dir-610-a1 |\ - dir-645) + dir-645 |\ + dir-860l-b1) [ "$magic" != "5ea3a417" ] && { echo "Invalid image type." return 1 |