aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
Commit message (Collapse)AuthorAgeFilesLines
* scripts: fix wrong usage of '==' operatorJohn Crispin2014-10-142-2/+2
| | | | | | | | | | | | | | [base-files] shell-scripting: fix wrong usage of '==' operator normally the '==' is used for invoking a regex parser and is a bashism. all of the fixes just want to compare a string. the used busybox-ash will silently "ignore" this mistake, but make it portable/clean at least. this patch does not change the behavior/logic of the scripts. Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Nexx WT1520John Crispin2014-10-105-1/+12
| | | | | | Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: D-Link DIR-810L: make led naming consistent with other boardsJohn Crispin2014-10-061-1/+1
| | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42789 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Support for RAMIPS based Tripmate HT-TM02 boardJohn Crispin2014-10-065-0/+18
| | | | | | | | | | | | Provides support for the Tripmate HT-TM02 personal router including LEDs and reset button. “Mode” switch is not supported. New profile includes full set of packages required to enable LEDs, USB, and LUCI. Patches were applied against trunk snapshot r42649. Functionality has been tested in AP, basic wifi client, wifi router, and routed client modes - all good. Signed-off-by: Ron Curry <wingspinner@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42785 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: D-Link DIR-810L. Add support for SoC 2.4 GHz wireless and fix leds ↵John Crispin2014-09-191-1/+1
| | | | | | naming git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42619 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add omni plug ledsJohn Crispin2014-08-181-0/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42201 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add support for Omnima MiniPlugJohn Crispin2014-08-182-0/+4
| | | | | | | | This patch adds support for the Omnima MiniPlug RT5350 based board, 8MB SPI flash Signed-off-by: Ivan Ignjatic<ivan@omnima.co.uk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42200 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix switch config for Edimax 3G-6200nJohn Crispin2014-08-181-1/+1
| | | | | | | | Switch in Edimax 3G-6200n also require full switch reset, not only vlan definitions. Tested on Edimax 3G-6200n. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42194 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Hame: change LED name mpr-x -> hameJohn Crispin2014-08-182-4/+4
| | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42190 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make use of the new board detection layerJohn Crispin2014-08-182-13/+11
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42186 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add a workaround to fix failsafe on RT5350John Crispin2014-08-181-1/+18
| | | | | | | | | Due to TCP connections not working when VLAN is disabled, this is needed to get failsafe functional. Signed-off-by: Paul Fertser <fercerpav@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips:support Lenovo AC1200 Wireless routerJohn Crispin2014-08-035-2/+29
| | | | | | | | | Lenovo AC1200 series has two types, Y1 and Y1S. Y1S has 256MB DDR2, Y1 only has 128MB and Y1 have no Giga Port. Signed-off-by: Lintel <lintel.huang@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add support for VoCoreJohn Crispin2014-08-015-0/+17
| | | | | | | | | This is based and tested on VoCore Alpha, but other stuff like status/eth LEDs are present on the final board revision + VoDock. All GPIOs are exported, except spi/i2c. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41939 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for easyacc wizard8800John Crispin2014-08-012-0/+4
| | | | | | Signed-off-by: Sebastian Wendel <s.wendel@sourceindex.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41936 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix LEDs on the Kingston MLW221John Crispin2014-08-012-1/+2
| | | | | | | | | | LED Fix up for the Kingston Mobilelite Wireless (MLW-221) http://wiki.openwrt.org/toh/kingston/mlw221 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Kingston MLW221John Crispin2014-07-265-0/+14
| | | | | | | | | | This patch adds support for the Kingston Mobilelite Wireless (MLW-221) http://wiki.openwrt.org/toh/kingston/mlw221 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41841 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ethernet mac cleanupJohn Crispin2014-07-262-123/+22
| | | | | | | | | Compile tested all subtargets and profiles. Unfortunately I don't own any board affected by these changes, so no run tests. Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41839 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix vlan configuration for asiarf avm003John Crispin2014-07-261-0/+1
| | | | | | | | | The earlier r41797 change was missing this part, to enable the right vlan configuration. Signed-off-by: Russell Senior <russell@personaltelco.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41838 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix sysupgrade for asiarf awm003John Crispin2014-07-262-0/+4
| | | | | | | | | Since the earlier r41797 change, the board_name for awm003 has been miscalculated, and sysupgrade has been broken. This seems to fix it. Signed-off-by: Russell Senior <russell@personaltelco.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix missing inclusion of system.sh for mtd_get_mac_binary and friends.John Crispin2014-07-231-0/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41810 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: soc wmac eeprom cleanupJohn Crispin2014-07-172-108/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Move eeprom extraction from scripts to dts files. Additionally there are few other changes like: - whitespace fixes - add partition labels where needed - BR6524N board doesn't exist (lost in translation?) - fix Edimax 3g-6200nl model - add wmac eeprom to dts for Asus RT-N14U board Compile tested all subtargets and their profiles. Run tested on: - Asus RT-N15 - Asus RT-N14U - Buffalo WHR-600D - Argus ATP52B - Sparklan WCR-150GN Few problems noted: - many boards didn't have wmac eeprom information defined at all - several boards don't have any patitions defined (see FIXME comments in dts) Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: basic support for Planex MZK-750DHPJohn Crispin2014-07-143-1/+6
| | | | | | | | some gpios are still missing. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41654 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: extract default lan_mac from eth0John Crispin2014-07-141-0/+1
| | | | | | | | | The default case of ramips_setup_macs() is useful when mtd-mac-address is defined in dts. But lan_mac is not set by default, this results in lan and wan having the same mac. Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41632 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for WR8305RT boardJohn Crispin2014-07-127-1/+27
| | | | | | | Signed-off-by: Jorge Vargas <jorge.vargas@sosvia.com> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41584 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Zbtlink WA05 routerJohn Crispin2014-07-104-2/+12
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41579 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add Wansview NCS601W IP CameraJohn Crispin2014-07-023-0/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: register wifi firmware for WRTnodeJohn Crispin2014-07-011-0/+1
| | | | | | | | | After r41444 wifi working on WRTnode. Tested. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add WHR-1166 supportJohn Crispin2014-07-013-2/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: RT-N56U support fixes and factory image creationJohn Crispin2014-06-161-2/+15
| | | | | | Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add vlan configuration for asiarf awm002-evbJohn Crispin2014-06-161-0/+1
| | | | | | | | | Without this, the ports all end up on vlan 1. This enables a separate WAN port that works. Signed-off-by: Russell Senior <russell@personaltelco.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41216 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add asiarf awapn2403 supportJohn Crispin2014-06-136-0/+18
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41177 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix asiarf/awm002 switch setupJohn Crispin2014-06-021-1/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40939 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGCJohn Crispin2014-06-021-1/+1
| | | | | | | | | | | | | | | | | | | ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct var $# (=number of args) here. under normal conditions this had no impact, but we should at least correct it. the error was observable like this: root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh root@box:~ . /lib/upgrade/platform.sh root@box:~ . /lib/upgrade/common.sh root@box:~ platform_check_image /tmp/myfirmware.bin ash: bad number root@box:~ echo $? 0 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix not set lan/wan mac addressJohn Crispin2014-06-021-4/+4
| | | | | | | | | | | | The first switch case is default case. Then it will only match default case. cause not update the lan/wan mac address. And in the default switch case the param lan_mac is empty. it will case error message 'arithmetic syntax error' when call macaddr_add function. Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: Add support for samsung cy-swr1100 wireless routerJohn Crispin2014-06-028-0/+25
| | | | | | | | | | | | It is base on rt3662 soc with dual band 802.11n wireless router. Use rtl8367R switch chip. This patch adds a profile for this board. It use seama image header. so i also enable it on kernel config. Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40908 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Support for Teltonika RUT5XXJohn Crispin2014-06-024-0/+8
| | | | | | | | | | | | Hi Hartmut, Thanks for your feedback, I have reformated the patch accordingly. Added support for Teltonika RUT5XX hardware. Signed-off-by: Steffen Weinreich <steve@weinreich.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40907 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add dir-645 to the eeprom hotplug scriptJohn Crispin2014-04-231-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40561 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add support for the 7Links PX-4885 wireless router.John Crispin2014-04-226-0/+13
| | | | | | | | | | | | | The 7Links PX-4885 is a small battery-powered wireless router. It is based on a RT5350F WiSoC and features one ethernet port and one USB port. It is a Hame MPR-A1 clone, except it has different GPIOs, a different battery and more RAM (32 MB). This patch adds a profile for this board, the corresponding device tree file and the adequate base-files changes (incl. sysupgrade). Signed-off-by: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40554 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add Airlink101 AR725W userland supportJohn Crispin2014-04-225-0/+11
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40550 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add support for wrtnodeJohn Crispin2014-03-073-0/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39786 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add support for na930John Crispin2014-02-184-1/+11
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add userspace support for the Edimax BR-6475nDJohn Crispin2014-01-157-1/+31
| | | | | | | | | The rt2x00 wifi driver may still need updating to function with this device. Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39298 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix eeprom loadingJohn Crispin2014-01-121-1/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add HLK-RM04 supportJohn Crispin2014-01-127-0/+13
| | | | | | | | https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39237 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: switch to askconsoleJohn Crispin2014-01-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for RT-N14U (mt7620n based) boardJohn Crispin2013-12-254-0/+12
| | | | | | | | | | | | | | | | | added dts file and userspace scripts modified to support Asus RT-N14U board current support status: usb works ethernet works buttons reset, wps leds asus:blue:[usb|lan|wan|air|power] i2c not tested uart not tested wifi not yet Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39163 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix initial network configuration for few boardsJohn Crispin2013-11-301-9/+6
| | | | | | | | | | Argus ATP52B: ethernet didn't work because of unconfigured switch Sparklan WCR150GN: add switch config and make single port to be LAN Dlink DIR-645: seems to be a redundant case Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: allow users to delect debug level during bootJohn Crispin2013-11-251-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38909 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: set the mac addr via the dts fileJohn Crispin2013-11-251-88/+12
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38902 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: set wmr-300 mac properlyJohn Crispin2013-11-191-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38872 3c298f89-4303-0410-b956-a3cf2f4a3e73