aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* ramips: correct typo ubsphy -> usbphyJohn Crispin2014-07-283-3/+3
| | | | | | | | This appears to be a typo. Signed-off-by: Russell Senior <russell@personaltelco.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41859 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix mode switch gpio for AsiaRF AWM eval boardJohn Crispin2014-07-283-3/+3
| | | | | | | | | | Fix a typo: gpio 21 is already used for the WPS led. Gpio 20 is the right one (tested) for the mode switch. Confirmed that /sys/kernel/debug/gpio state followed the position of the switch. Signed-off-by: Russell Senior <russell@personaltelco.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41858 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add ethernet macaddr to dts for AWM003-EVBJohn Crispin2014-07-281-0/+4
| | | | | | | | Follows the pattern of http://patchwork.openwrt.org/patch/5970/ Signed-off-by: Russell Senior <russell@personaltelco.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Kingston MLW221John Crispin2014-07-267-0/+135
| | | | | | | | | | 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-2625-133/+85
| | | | | | | | | 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 gpio mapping on MZK-750DHPJohn Crispin2014-07-231-1/+18
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41811 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: add a profile for AWM003John Crispin2014-07-223-1/+72
| | | | | | | | same as AWM002 but with 64mb RAM Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41797 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update to 3.10.49John Crispin2014-07-201-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41776 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix mac address partitions on ASL-26555John Crispin2014-07-202-9/+8
| | | | | | | | | ASL-26555 16MB: caldata is present on uboot-env and devdata, but the proper one seems to be the devdata, since mac address corresponds to Amper, the real manufacturer, meanwhile the caldata on uboot-env corresponds to D-Link. ASL-26555 8MB: caldata is only present on uboot-env, but its mac address corresponds to Alpha, the real manufacturer. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41768 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: soc wmac eeprom cleanupJohn Crispin2014-07-1790-131/+358
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-145-1/+95
| | | | | | | | 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: squelch mdio debugging info on rt2880 ethernetJohn Crispin2014-07-141-0/+22
| | | | | | | | | Use pr_debug rather than pr_info since it is only relevant for debugging. Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix port mapping and extract wmac eeprom on ZBT-WA05 boardJohn Crispin2014-07-141-1/+5
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: extract mac address from flash on WHR-600D boardJohn Crispin2014-07-141-0/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41633 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-129-1/+137
| | | | | | | 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-106-2/+126
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41579 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/linux/*: more dead package cleanupsJohn Crispin2014-07-101-1/+1
| | | | | | | | found 2 more Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41574 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/linux/*: more dead package cleanupsJohn Crispin2014-07-104-5/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: wpa does not exist, use wpad-mini insteadJohn Crispin2014-07-101-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41561 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add missing rt3352 usb phy node to dtsJohn Crispin2014-07-021-2/+9
| | | | | | Signed-off-by: michael <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41476 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix target rt5350 only have 28 gpiosJohn Crispin2014-07-021-23/+4
| | | | | | Signed-off-by: michael <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41475 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: make xhci platform depend on mt7621John Crispin2014-07-021-94/+140
| | | | | | | | this broke CONFIG_ALL builds for mt7620 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41471 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add Wansview NCS601W IP CameraJohn Crispin2014-07-026-0/+136
| | | | | | 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: set default vid of each vlan, so it won't need be set explicitly.John Crispin2014-07-011-8/+16
| | | | | | Signed-off-by: Xiongfei Guo <xfguo@credosemi.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41448 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add WHR-1166 supportJohn Crispin2014-07-015-2/+148
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: sync the WHR-600D flash layout with that of the vendor FWJohn Crispin2014-07-011-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add wmac to mt7620a device treeJohn Crispin2014-07-011-0/+10
| | | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add wmac to mt7620n device treeJohn Crispin2014-07-011-0/+10
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enable wmac clock for mt7620John Crispin2014-07-011-0/+27
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: refresh kernel patchesJohn Crispin2014-06-265-13/+11
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41353 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10.36->3.10.44John Crispin2014-06-261-1/+1
| | | | | | | | 205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix up WRTNode vs WRTNODE in the dts fileJohn Crispin2014-06-261-1/+1
| | | | | | | | https://dev.openwrt.org/ticket/16899 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: Update MT7530 switch driver.John Crispin2014-06-241-82/+186
| | | | | | | | | | | - Support set VLAN ID of each vlan. - Support untag feature. - Replace register address with C MACRO. - There are 8 ports for MT7530 actually. Signed-off-by: Xiongfei Guo <xfguo@credosemi.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41331 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: cleanup some rt305x profilesJohn Crispin2014-06-193-21/+14
| | | | | | | | | | move both asus boards to asus.mk rename HW5503G profile to HW550-3G to match name in image/Makefile (fixes #16599) Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41271 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: RT-N56U support fixes and factory image creationJohn Crispin2014-06-164-3/+58
| | | | | | 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: fixes XDXRN502J reset buttonJohn Crispin2014-06-161-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41217 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: restore AWM002-EVB profile in asiarf.mkJohn Crispin2014-06-161-2/+13
| | | | | | | | | | | | In a recent revision (r41177) John Crispin removed the profile for the AsiaRF AWM002 eval board while adding another AsiaRF board. This patch restores AWM002 and also corrects a misspelling and an apparently errant reference to an Allnet ALL0239-3G device. Signed-off-by: Galen Seitz <galens@seitzassoc.com> Signed-off-by: Russell Senior <russell@personaltelco.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add asiarf awapn2403 supportJohn Crispin2014-06-139-8/+104
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41177 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix rt2x00 handling of default packages for subtargetsFelix Fietkau2014-06-117-3/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41145 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
* ralink: add seama image can be upgrade by sysupgradeJohn Crispin2014-06-021-1/+10
| | | | | | | | | | generate sysupgrade image by combine two images. one is kernel image with seama header. another is root fs image. Signed-off-by: michael lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40922 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: add missing profile for DIR-615-DJohn Crispin2014-06-021-0/+13
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40911 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