aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-29 10:37:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-29 10:37:43 +0000
commit1617f226a906f82ce6516e3e5a1e0909d8aa8806 (patch)
tree3cc5963071f00cbcd2b187c2b32adef98c5c7317 /target/linux/ramips/base-files/lib
parentbb0785880acf5a681ab5df492b60636c0eddceab (diff)
downloadupstream-1617f226a906f82ce6516e3e5a1e0909d8aa8806.tar.gz
upstream-1617f226a906f82ce6516e3e5a1e0909d8aa8806.tar.bz2
upstream-1617f226a906f82ce6516e3e5a1e0909d8aa8806.zip
ramips: Add support for 8devices Carambola dev board.
Add support for 8devices Carambola dev board. The Carambola is a small RT3050-based development board with two ethernet ports, on-board chip antenna, usb and plenty of accessible gpio ports, sold by 8devices. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> SVN-Revision: 33303
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
3 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
index 8c2b039547..591c549d14 100644
--- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
+++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
@@ -37,6 +37,7 @@ preinit_set_mac_address() {
all0239-3g |\
all0256n |\
all5002 |\
+ carambola |\
dir-615-h1 |\
fonera20n |\
hw550-3g |\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index b07f4e9466..90c28b7ab6 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -47,6 +47,9 @@ ramips_board_name() {
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in
+ *"8devices Carambola")
+ name="carambola"
+ ;;
*"Edimax 3g-6200n")
name="3g-6200n"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index d7380f0297..5ebf42a85d 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -19,6 +19,7 @@ platform_check_image() {
all0256n | \
all5002 | \
bc2 | \
+ carambola | \
dir-300-b1 | \
dir-600-b1 | \
dir-600-b2 | \