aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-07-24 20:38:14 +0000
committerJohn Crispin <john@openwrt.org>2012-07-24 20:38:14 +0000
commit2d2479a033a03996b54b9db9ea9143297ae9bf96 (patch)
tree6c2025e590e68ad2302a06ccacc49dff4e52598c /target/linux/ramips/base-files/lib
parente219c3ac3aea7cb16a25babaef2214378ca33f4b (diff)
downloadupstream-2d2479a033a03996b54b9db9ea9143297ae9bf96.tar.gz
upstream-2d2479a033a03996b54b9db9ea9143297ae9bf96.tar.bz2
upstream-2d2479a033a03996b54b9db9ea9143297ae9bf96.zip
add ALL5002 userspace support
detect EEPROM, MAC addresses and support sysupgrade for the ALL5002 Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 32816
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 db6e5c82f8..126c475a4b 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
@@ -30,6 +30,7 @@ preinit_set_mac_address() {
ifconfig eth0 hw ether $mac 2>/dev/null
;;
all0256n |\
+ all5002 | \
fonera20n |\
hw550-3g |\
nbg-419n |\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 277d9da997..2667267ac1 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -53,6 +53,9 @@ ramips_board_name() {
*"Allnet ALL0256N")
name="all0256n"
;;
+ *"Allnet ALL5002")
+ name="all5002"
+ ;;
*"ARC FreeStation5")
name="freestation5"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index dba5e793b1..2791c8d742 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -16,6 +16,7 @@ platform_check_image() {
case "$board" in
3g-6200n | \
all0256n | \
+ all5002 | \
bc2 | \
dir-300-b1 | \
dir-600-b1 | \