aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-17 17:56:07 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-17 17:56:07 +0000
commit67e6461ad70d367fbd182911abe384a0b6f68a9a (patch)
tree867fac867359476865424cf2dd81e44d5069b502 /target/linux/ramips/base-files/lib
parent89606b61b1feaf9e9ba5b7344883a6bae30f8485 (diff)
downloadupstream-67e6461ad70d367fbd182911abe384a0b6f68a9a.tar.gz
upstream-67e6461ad70d367fbd182911abe384a0b6f68a9a.tar.bz2
upstream-67e6461ad70d367fbd182911abe384a0b6f68a9a.zip
ramips: add board alias for the ALL0239-3G
Generate image for the ALL0239-3G which can be flashed through the chipset-vendor SDK based firmware's web-interface and bootloader. The bootloader seems to ignore uImage checksum errors, but does complain about them once the 0xDEADC0DE was replaced by an actual JFFS2 page. I'm working on implementing fixtrx for uImage in the mtd package to solve this. Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 33206
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 7709b3b474..8c2b039547 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
@@ -34,6 +34,7 @@ preinit_set_mac_address() {
mac=$(ramips_get_mac_binary devdata 46)
ifconfig eth0 hw ether $mac 2>/dev/null
;;
+ all0239-3g |\
all0256n |\
all5002 |\
dir-615-h1 |\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index fb2a573bf3..b07f4e9466 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -50,6 +50,9 @@ ramips_board_name() {
*"Edimax 3g-6200n")
name="3g-6200n"
;;
+ *"Allnet ALL0239-3G")
+ name="all0239-3g"
+ ;;
*"Allnet ALL0256N")
name="all0256n"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 1b5d546439..d7380f0297 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -15,6 +15,7 @@ platform_check_image() {
case "$board" in
3g-6200n | \
+ all0239-3g | \
all0256n | \
all5002 | \
bc2 | \