2
0
forked from Ivasoft/openwrt

ramips: add support for Planex VR500.

SOC:	MT7621A
RAM:	256MiB
NOR:	MX25L51245G

Non Wireless Router.

Issue: soft reboot problem. SPI Flash do not exit 4byte address mode.

Signed-off-by: Yuhei Okawa <tochiro.srchack@gmail.com>
This commit is contained in:
YuheiOKAWA
2016-10-10 10:24:42 +09:00
committed by John Crispin
parent 8a2a20e71e
commit 4050cfebda
7 changed files with 112 additions and 1 deletions

View File

@@ -146,7 +146,8 @@ mzk-ex300np)
;;
dir-810l|\
mzk-750dhp|\
mzk-dp150n)
mzk-dp150n|\
vr500)
ucidef_set_led_default "power" "power" "$board:green:power" "1"
;;
dir-860l-b1)

View File

@@ -85,6 +85,7 @@ ramips_setup_interfaces()
psg1218|\
sap-g3200u3|\
sk-wb8|\
vr500|\
wf-2881|\
whr-300hp2|\
whr-600d|\
@@ -354,6 +355,10 @@ ramips_setup_macs()
lan_mac=$(mtd_get_mac_ascii u-boot-env LAN_MAC_ADDR)
wan_mac=$(mtd_get_mac_ascii u-boot-env WAN_MAC_ADDR)
;;
vr500)
lan_mac=$(mtd_get_mac_binary factory 57344)
wan_mac=$(mtd_get_mac_binary factory 57350)
;;
w306r-v20)
lan_mac=$(cat /sys/class/net/eth0/address)
wan_mac=$(macaddr_add "$lan_mac" 5)

View File

@@ -29,6 +29,7 @@ get_status_led() {
nbg-419n|\
nbg-419n2|\
pwh2004|\
vr500|\
wnce2001|\
wndr3700v5|\
x5|\