summaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* ramips: add kmod-usb-ohci to defaults packages in profile of ALL5002juhosg2012-08-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make built-in switch transparent for ALL0256N and ALL5002juhosg2012-08-293-3/+6
| | | | | | | | This allows them to transparently communicate with an external VLAN switch. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Power down phy on disabled switch portsjuhosg2012-08-291-5/+67
| | | | | | | | | | | | | | Power down phy on disabled switch ports. Haven't measured this myself yet, but according to this http://www.8devices.com/community/viewtopic.php?f=6&t=156 it can save about 300mW of power. [juhosg: fix checkpatch warning] Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add support for 8devices Carambola dev board.juhosg2012-08-2911-0/+62
| | | | | | | | | | | | Add support for 8devices Carambola dev board. The Carambola is a small RT3050-based development board with two ethernet ports, on-board chip antenna, usb and plenty of accessible gpio ports, sold by 8devices. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Rename POC registersjuhosg2012-08-291-31/+31
| | | | | | | | | | | | | | | | | | Rename POC registers. The current code uses POC1-POC3. The datasheet uses: POC1: Port Control 0 POC1: Port Control 1 POC2: Port Control 2 So the first POC1 is a typo that should have been POC0, rename the registers to POC0-POC2 accordingly. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33302 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Minor ramips_esw.c cleanupjuhosg2012-08-294-62/+18
| | | | | | | | | | | | Stop handling VLAN setup in the kernel. Removes the obsolete RT305X_ESW_VLAN_CONFIG_BYPASS option I added for WL-351 and add some extra comments. Also removes the en_vlan per-port flag that isn't very useful really, it now is only controlled by the global enable_vlan flag. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33301 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add switch setup to uci network defaultsjuhosg2012-08-291-1/+26
| | | | | | | | | | | | | | Add switch setup to uci network defaults. The 'lan' attribute is used to decide into which vlan to put the port. Currently 'disable' is never set, but the intention is to use this for devices like the 8devices Carambola, which only has two ports hooked up to the SoC. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33300 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add swconfig support to ramips_esw.cjuhosg2012-08-292-35/+755
| | | | | | | | | | | | | | | | | | | Add swconfig support to ramips_esw.c This patch adds swconfig support for ramips_esw: Tested on both D-LINK DIR-300 B1 and Sitecom WL-351 (external rtl8366rb on internal port 5). I've made sure that in the enable_vlan=0 case it behaves like a dumb switch, so external switches should work fine with vlans and verified this on the WL-351. The current state shown by swconfig is always read directly from HW registers, new settings only show after 'swconfig dev rt305x set apply'. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33299 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw.c indentation cleanupjuhosg2012-08-291-11/+11
| | | | | | | | | | Minor indentation cleanup. Prepare for the main swconfig patch by cleaning up indentation a bit. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33298 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: fix Profile name for TL-WA701 (closes #12094)juhosg2012-08-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Buffalo WZR-HP-AG300H LED supportjuhosg2012-08-294-0/+114
| | | | | | | | | | | | | | | | | | | An improved LED support for Buffalo WZR-HP-AG300H. There will be two new packages to go with this patch (ar922x-led-fix-hotplug and ar922x-led-fix-init). These packages essentially perform the same task of disabling "JTAG over GPIO pins" function which is currently required for LEDs on AR922x emac GPIO to work, and are both considered a temporary fix that circumvent this problem. [juhosg: add the hotplug script from the proposed ar922x-led-fix-hotplug package to ar71xx/base-files] Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33294 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gemini: fix bus ids for PHY devices (closes: #12082)juhosg2012-08-273-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add profile for Allnet devicesjuhosg2012-08-271-0/+39
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: generate image for ALL0315Njuhosg2012-08-271-1/+20
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33286 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: sysupgrade for the ALL0315Njuhosg2012-08-272-14/+17
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename all0258n.sh to allnet.shjuhosg2012-08-271-0/+0
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: detect ALL0315N boardjuhosg2012-08-272-0/+4
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the Allnet ALL0315N boardjuhosg2012-08-273-0/+140
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33281 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240juhosg2012-08-271-1/+8
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add support for the EON EN25Q64 SPI flash chipjuhosg2012-08-261-0/+10
| | | | | | It is used in some TL-WDR4310 devices. Closes #12077. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33275 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: unbreak building images for TL-WR1041N-v2, TL-WR2543Njuhosg2012-08-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Commit 48788063266ad99bdab03b53cbe7e1a564c2d9b3 (r33251) introduced a regression with board= kernel command line parameter incorrectly initialised. The faulty builds propogated to the snapshots download area. This makes the device unbootable and TP-Link users have to attach the serial to recover. Here is the q&d way i used to identify MIPS boards that didn't have a corresponding entry in the image/Makefile: for i in `find ../files/arch/mips/ath79/ -type f -exec cat {} \; \ | sed -n '/MIPS_MACHINE/ { s/^[^"]*"\([^"]*\)".*$/\1/; p; }'`; do grep -q ,$i, Makefile || echo $i; done > missing-boards.new Reported-by: Casper on IRC Signed-off-by: Paul Fertser <fercerpav@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: fix TL-WR1043ND board id (#12079)juhosg2012-08-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33272 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kirkwood] Enable eSATA sheevaplugblogic2012-08-241-1/+1
| | | | | | | | | | OpenWRT runs in a eSATA sheevaplug like a charm. This patch just enables CONFIG_MACH_ESATA_SHEEVAPLUG so the proper MACHINE_START definition is compiled in. Signed-off-by: Unai Uribarri <unaiur@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33266 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: group and sort {Single,Multi}Profilesjuhosg2012-08-231-109/+63
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33264 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: group and sort mtdlayout definitionsjuhosg2012-08-231-21/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33263 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the MultiProfile helper for the Madwifi profilejuhosg2012-08-231-8/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: automatically build a list of SingleProfilesjuhosg2012-08-231-77/+5
| | | | | | Use that for Default/Minimal profiles. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33261 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the ZyXEL imagesjuhosg2012-08-231-4/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33260 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the Zcomax imagesjuhosg2012-08-231-8/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the WRT400 imagesjuhosg2012-08-231-4/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the WZRHPG30XNH imagesjuhosg2012-08-231-16/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33257 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the WHRHPG300N imagesjuhosg2012-08-231-19/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33256 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the UBNTXM imagesjuhosg2012-08-231-34/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33255 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the UBNT imagesjuhosg2012-08-231-12/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33254 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the TPLINKOLD imagesjuhosg2012-08-231-4/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33253 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the TPLINK-LZMA imagesjuhosg2012-08-231-38/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the TPLINK imagesjuhosg2012-08-231-51/+27
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33251 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the Planex imagesjuhosg2012-08-231-9/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33250 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the PB4X imagesjuhosg2012-08-231-31/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the OpenMesh imagesjuhosg2012-08-231-3/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the Netgear imagesjuhosg2012-08-231-8/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33247 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the MyLoader imagesjuhosg2012-08-231-11/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the DIR825B1 imagesjuhosg2012-08-231-9/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the CyberTAN imagesjuhosg2012-08-231-4/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the Cameo933x imagesjuhosg2012-08-231-4/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the Cameo913x imagesjuhosg2012-08-231-18/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the Cameo7240 imagesjuhosg2012-08-231-18/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33241 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the AthGzip imagesjuhosg2012-08-231-13/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33240 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the AthLzma imagesjuhosg2012-08-231-40/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33239 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: use the new helpers for the ALFA imagesjuhosg2012-08-231-8/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33238 3c298f89-4303-0410-b956-a3cf2f4a3e73