mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29612 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -66,6 +66,9 @@ get_status_led() {
|
||||
whr-g300n)
|
||||
status_led="whr-g300n:green:router"
|
||||
;;
|
||||
wli-tx4-ag300n)
|
||||
status_led="buffalo:blue:power"
|
||||
;;
|
||||
wl-351)
|
||||
status_led="wl-351:amber:power"
|
||||
;;
|
||||
|
||||
@@ -60,6 +60,7 @@ case "$FIRMWARE" in
|
||||
wcr-150gn | \
|
||||
whr-g300n | \
|
||||
wl-351 | \
|
||||
wli-tx4-ag300n | \
|
||||
wr512-3gn)
|
||||
rt2x00_eeprom_extract "factory" 0 272
|
||||
;;
|
||||
|
||||
@@ -30,6 +30,10 @@ ramips_setup_interfaces()
|
||||
ucidef_add_switch_vlan "rtl8366rb" "2" "4 5t"
|
||||
;;
|
||||
|
||||
wli-tx4-ag300n)
|
||||
ucidef_set_interface_lan "eth0"
|
||||
;;
|
||||
|
||||
rt-n15)
|
||||
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
|
||||
ucidef_add_switch "rtl8366s" "1" "1"
|
||||
@@ -81,6 +85,11 @@ ramips_setup_macs()
|
||||
lan_mac=$(ramips_get_mac_binary factory 4)
|
||||
wan_mac=$(ramips_get_mac_binary factory 40)
|
||||
;;
|
||||
|
||||
wli-tx4-ag300n)
|
||||
lan_mac=$(ramips_get_mac_binary factory 4)
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
[ -n $lan_mac ] && ucidef_set_interface_macaddr lan $lan_mac
|
||||
|
||||
@@ -107,6 +107,9 @@ ramips_board_name() {
|
||||
*"Sitecom WL-351 v1 002")
|
||||
name="wl-351"
|
||||
;;
|
||||
*"WLI-TX4-AG300N")
|
||||
name="wli-tx4-ag300n"
|
||||
;;
|
||||
*"WZR-AGL300NH")
|
||||
name="wzr-agl300nh"
|
||||
;;
|
||||
|
||||
@@ -27,6 +27,7 @@ platform_check_image() {
|
||||
rt-g32-b1 | \
|
||||
rt-n15 | \
|
||||
v22rw-2x2 | \
|
||||
wli-tx4-ag300n | \
|
||||
whr-g300n)
|
||||
[ "$magic" != "2705" ] && {
|
||||
echo "Invalid image type."
|
||||
|
||||
Reference in New Issue
Block a user