1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 04:26:16 +02:00

[ramips] add ALL5002 userspace support

detect EEPROM, MAC addresses and support sysupgrade for the ALL5002

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32816 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2012-07-24 20:38:14 +00:00
parent 3b24a99dd1
commit a976d555c3
5 changed files with 9 additions and 1 deletions

View File

@ -50,6 +50,7 @@ case "$FIRMWARE" in
3g-6200n | \ 3g-6200n | \
all0256n | \ all0256n | \
all5002 | \
argus-atp52b | \ argus-atp52b | \
bc2 | \ bc2 | \
esr-9753 | \ esr-9753 | \

View File

@ -17,6 +17,7 @@ ramips_setup_interfaces()
case $board in case $board in
all0256n | \ all0256n | \
all5002 | \
wl-330n) wl-330n)
ucidef_set_interface_lan "eth0.1" ucidef_set_interface_lan "eth0.1"
;; ;;
@ -87,7 +88,8 @@ ramips_setup_macs()
local wan_mac="" local wan_mac=""
case $board in case $board in
all0256n) all0256n | \
all5002)
lan_mac=$(ramips_get_mac_binary factory 40) lan_mac=$(ramips_get_mac_binary factory 40)
;; ;;
3g-6200n | \ 3g-6200n | \

View File

@ -30,6 +30,7 @@ preinit_set_mac_address() {
ifconfig eth0 hw ether $mac 2>/dev/null ifconfig eth0 hw ether $mac 2>/dev/null
;; ;;
all0256n |\ all0256n |\
all5002 | \
fonera20n |\ fonera20n |\
hw550-3g |\ hw550-3g |\
nbg-419n |\ nbg-419n |\

View File

@ -53,6 +53,9 @@ ramips_board_name() {
*"Allnet ALL0256N") *"Allnet ALL0256N")
name="all0256n" name="all0256n"
;; ;;
*"Allnet ALL5002")
name="all5002"
;;
*"ARC FreeStation5") *"ARC FreeStation5")
name="freestation5" name="freestation5"
;; ;;

View File

@ -16,6 +16,7 @@ platform_check_image() {
case "$board" in case "$board" in
3g-6200n | \ 3g-6200n | \
all0256n | \ all0256n | \
all5002 | \
bc2 | \ bc2 | \
dir-300-b1 | \ dir-300-b1 | \
dir-600-b1 | \ dir-600-b1 | \