summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-24 11:48:47 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-24 11:48:47 +0000
commit64435afc83db0412d180ee6c9a0d177b3d45568f (patch)
tree212426717d8605f4f9ec9a8d1ff09824712549c9 /target/linux/ramips/base-files/etc
parentad3e5bb07833a31add352653c4f418854e30023c (diff)
ramips: add user-space support for ALL0256N
This adds uci-defaults and sysupgrade support for the ALL0256N. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29883 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network8
3 files changed, 12 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 259c5d75fd..9a714ddc69 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
@@ -46,6 +46,7 @@ case "$FIRMWARE" in
rt2x00_eeprom_extract "u-boot" 262144 272
;;
+ all0256n | \
argus-atp52b | \
bc2 | \
esr-9753 | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds
index 02d522a6d8..bcd17f9d04 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/leds
@@ -33,6 +33,9 @@ EOF
board=$(ramips_board_name)
case $board in
+ all0256n)
+ set_wifi_led "rt2800pci-phy0::radio"
+ ;;
bc2)
set_usb_led "bc2:blue:usb"
;;
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index 89a3e359ad..cc5600bcfd 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -16,6 +16,10 @@ ramips_setup_interfaces()
ucidef_set_interface_loopback
case $board in
+ all0256n)
+ ucidef_set_interface_lan "eth0.1"
+ ;;
+
argus-atp52b | \
b2c | \
nw718 | \
@@ -65,6 +69,10 @@ ramips_setup_macs()
local wan_mac=""
case $board in
+ all0256n)
+ lan_mac=$(ramips_get_mac_binary factory 40)
+ ;;
+
argus-atp52b | \
b2c | \
f5d8235-v1 | \