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
This commit is contained in:
John Crispin 2012-07-24 20:38:14 +00:00
parent e219c3ac3a
commit 2d2479a033
5 changed files with 9 additions and 1 deletions

View file

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

View file

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

View file

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

View file

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

View file

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