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 | 40b740b23234574115225bf8bde7bc679f8034e1 (patch) | |
tree | 18b31dc33af7cf8723faefd73e0672b2f0fb987d /target/linux/ramips/base-files | |
parent | 4d4536b090797c7d8918b8c24ca246aff1fcd942 (diff) | |
download | upstream-40b740b23234574115225bf8bde7bc679f8034e1.tar.gz upstream-40b740b23234574115225bf8bde7bc679f8034e1.tar.bz2 upstream-40b740b23234574115225bf8bde7bc679f8034e1.zip |
ramips: add preliminary support for DIR-860L B1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44016
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 |