From 83a567357d3918a6fcae43c40dddca0ad8ed9bca Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 17 Jan 2015 21:20:05 +0000 Subject: ramips: add preliminary support for DIR-860L B1 Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44016 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/base-files/etc/board.d/02_network | 1 + target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header | 3 ++- target/linux/ramips/base-files/lib/ramips.sh | 3 +++ target/linux/ramips/base-files/lib/upgrade/platform.sh | 3 ++- 4 files changed, 8 insertions(+), 2 deletions(-) (limited to 'target/linux/ramips/base-files') 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 -- cgit v1.2.3