diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-08-29 10:37:43 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-08-29 10:37:43 +0000 |
commit | 1617f226a906f82ce6516e3e5a1e0909d8aa8806 (patch) | |
tree | 3cc5963071f00cbcd2b187c2b32adef98c5c7317 /target/linux/ramips/base-files | |
parent | bb0785880acf5a681ab5df492b60636c0eddceab (diff) | |
download | upstream-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')
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 | \ |