diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-01-24 11:48:47 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-01-24 11:48:47 +0000 |
commit | 944c8aacdb346d464c269ff561e70cccf2e25710 (patch) | |
tree | bae038f0eebb42bca00166ac208410815cd06026 /target/linux/ramips/base-files/etc | |
parent | 1932a7205c4497e6120534fd94087669dba1a398 (diff) | |
download | mtk-20170518-944c8aacdb346d464c269ff561e70cccf2e25710.zip mtk-20170518-944c8aacdb346d464c269ff561e70cccf2e25710.tar.gz mtk-20170518-944c8aacdb346d464c269ff561e70cccf2e25710.tar.bz2 |
ramips: add user-space support for ALL0256N
This adds uci-defaults and sysupgrade support for the ALL0256N.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 29883
Diffstat (limited to 'target/linux/ramips/base-files/etc')
3 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index 259c5d7..9a714dd 100644 --- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -46,6 +46,7 @@ case "$FIRMWARE" in rt2x00_eeprom_extract "u-boot" 262144 272 ;; + all0256n | \ argus-atp52b | \ bc2 | \ esr-9753 | \ diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds index 02d522a..bcd17f9 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/leds +++ b/target/linux/ramips/base-files/etc/uci-defaults/leds @@ -33,6 +33,9 @@ EOF board=$(ramips_board_name) case $board in + all0256n) + set_wifi_led "rt2800pci-phy0::radio" + ;; bc2) set_usb_led "bc2:blue:usb" ;; diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index 89a3e35..cc5600b 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -16,6 +16,10 @@ ramips_setup_interfaces() ucidef_set_interface_loopback case $board in + all0256n) + ucidef_set_interface_lan "eth0.1" + ;; + argus-atp52b | \ b2c | \ nw718 | \ @@ -65,6 +69,10 @@ ramips_setup_macs() local wan_mac="" case $board in + all0256n) + lan_mac=$(ramips_get_mac_binary factory 40) + ;; + argus-atp52b | \ b2c | \ f5d8235-v1 | \ |