mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar71xx: add initial support for the TL-WR741ND v4 board
The ethernet port LEDs are not working yet. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28706 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
config interface loopback
|
||||
option ifname lo
|
||||
option proto static
|
||||
option ipaddr 127.0.0.1
|
||||
option netmask 255.0.0.0
|
||||
|
||||
config interface lan
|
||||
option ifname eth0
|
||||
option type bridge
|
||||
option proto static
|
||||
option ipaddr 192.168.1.1
|
||||
option netmask 255.255.255.0
|
||||
|
||||
config interface wan
|
||||
option ifname eth1
|
||||
option proto dhcp
|
||||
|
||||
config switch eth0
|
||||
option enable_vlan 1
|
||||
|
||||
config switch_vlan
|
||||
option device eth0
|
||||
option vlan 1
|
||||
option ports "0 1 2 3 4"
|
||||
@@ -91,6 +91,7 @@ get_status_led() {
|
||||
tl-wa901nd-v2 | \
|
||||
tl-wr1043nd | \
|
||||
tl-wr741nd | \
|
||||
tl-wr741nd-v4 | \
|
||||
tl-wr841n-v1 | \
|
||||
tl-wr941nd)
|
||||
status_led="tp-link:green:system"
|
||||
|
||||
@@ -104,6 +104,7 @@ tl-mr3420 )
|
||||
set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
|
||||
;;
|
||||
|
||||
tl-wr741nd-v4 | \
|
||||
tl-wr941nd)
|
||||
set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
|
||||
;;
|
||||
|
||||
@@ -136,6 +136,9 @@ ar71xx_board_name() {
|
||||
*TL-WR741ND)
|
||||
name="tl-wr741nd"
|
||||
;;
|
||||
*"TL-WR741ND v4")
|
||||
name="tl-wr741nd-v4"
|
||||
;;
|
||||
*"TL-WR841N v1")
|
||||
name="tl-wr841n-v1"
|
||||
;;
|
||||
|
||||
@@ -87,7 +87,8 @@ platform_check_image() {
|
||||
}
|
||||
return 0
|
||||
;;
|
||||
tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wa901nd-v2 | tl-wr703n | tl-wr741nd | tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd)
|
||||
tl-mr3220 | tl-mr3420 | tl-wa901nd | tl-wa901nd-v2 | tl-wr703n | tl-wr741nd | tl-wr741nd-v4 | \
|
||||
tl-wr841n-v1 | tl-wr941nd | tl-wr1043nd)
|
||||
[ "$magic" != "0100" ] && {
|
||||
echo "Invalid image type."
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user