diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-08-29 10:37:43 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-08-29 10:37:43 +0000 |
commit | 0464c077a45816efde6382621cbe13a5bbee3474 (patch) | |
tree | 4f4285db3e1d8ec2e34bb74e768a7c2c3b727d87 /target/linux/ramips/base-files | |
parent | 4cf75bc115fb5fd204611f581dd126a9d74c374e (diff) |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33303 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
5 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index 5dadd71018..bb7f66284e 100644 --- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -58,6 +58,7 @@ case "$FIRMWARE" in all5002 | \ argus-atp52b | \ bc2 | \ + carambola | \ dir-615-h1 | \ dir-620-a1 | \ esr-9753 | \ diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index 6542d021ee..d20b60af06 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -178,6 +178,7 @@ ramips_setup_macs() ;; all0239-3g | \ + carambola | \ w502u) lan_mac=$(ramips_get_mac_binary factory 40) wan_mac=$(ramips_get_mac_binary factory 46) 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 | \ |