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:
parent
3b24a99dd1
commit
a976d555c3
@ -50,6 +50,7 @@ case "$FIRMWARE" in
|
|||||||
|
|
||||||
3g-6200n | \
|
3g-6200n | \
|
||||||
all0256n | \
|
all0256n | \
|
||||||
|
all5002 | \
|
||||||
argus-atp52b | \
|
argus-atp52b | \
|
||||||
bc2 | \
|
bc2 | \
|
||||||
esr-9753 | \
|
esr-9753 | \
|
||||||
|
@ -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 | \
|
||||||
|
@ -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 |\
|
||||||
|
@ -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"
|
||||||
;;
|
;;
|
||||||
|
@ -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 | \
|
||||||
|
Loading…
Reference in New Issue
Block a user