summaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add kernel support for the TL-WA801ND v2 boardGabor Juhos2013-12-152-8/+56
| | | | | | | | | | | | | | Patch to add kernel support for the TP-LINK WA801ND v2 Signed-off-by: Jiri Pirko <jiri@resnulli.us> Patchwork: http://patchwork.openwrt.org/patch/4500/ [juhosg: - the TL-WA801ND v2 does not have a sliding switch, it uses a push button for WPS instead. Use the tl_mr3420v2_gpio_keys array to reflect that, - rename kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39063
* brcm47xx: deactivate early printk supportHauke Mehrtens2013-12-154-52/+4
| | | | | | | | | This breaks some devices where the serial console is not at port 0 but somewhere else. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39060
* kernel: update kernel 3.10 to 3.10.24Hauke Mehrtens2013-12-1536-134/+54
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39059
* upgrade 3.12 targets to 3.12.5Imre Kaloz2013-12-1414-78/+66
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39055
* drop the bootscript, new u-boots won't need itImre Kaloz2013-12-142-4/+0
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39051
* ralink: add mt7621 supportJohn Crispin2013-12-1320-1/+7513
| | | | | | | | there are still various missing pieces for full support. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39040
* add a default profile fileImre Kaloz2013-12-121-0/+16
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39037
* imx6: add canbus support for Ventana boardsLuka Perkov2013-12-114-0/+12
| | | | | | | | GW5400, GW5300, and GW5200 have CAN bus option. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 39034
* imx6: add flexcan supportLuka Perkov2013-12-113-0/+154
| | | | | | | | | | | | | | backport upstream changes to 3.10: - 0060-flexcan.patch: - add flexcan pinctrl and devicetree config - 0061-can-flexcan-use-correct-clock-as-base-for-bit-rate-c.patch - fix a clock issue - 0062-ARM-i.MX6q-fix-the-wrong-parent-of-can_root-clock.patch - fix a clock issue Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 39033
* ralink: add TSOJohn Crispin2013-12-091-62/+205
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39019
* ralink: fix typo in gpio irq handlingJohn Crispin2013-12-091-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39018
* ralink: add mt7620a gdma info to dtsiJohn Crispin2013-12-091-1/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39017
* ralink: add asoc modulesJohn Crispin2013-12-091-0/+20
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39016
* ralink: add partially working asoc driver. codec is not fully functional yetJohn Crispin2013-12-091-0/+727
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39015
* ralink: add helper that identifies the mt7620 ECOJohn Crispin2013-12-091-0/+14
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39014
* ralink: add dma engine supportJohn Crispin2013-12-091-0/+670
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39013
* imx6: add support for GW53xxLuka Perkov2013-12-093-0/+410
| | | | | | | | | | | | | | | | | | | | | | | | | | The Gateworks GW53xx family of products is based on the Freescale i.MX6DL SoC and offers a small form-factor with peripherals such as: * i.MX6DL * NAND FLASH * 4x PCIe * 4x USB EHCI (1x front-panel; 3x PCIe sockets) * 1x USB OTG * 1x uSD * LVDS connector (VLDS for display, PWM/GPIO for backlight, i2c for touch) * HDMI Audio/Video out * Analog Video in * Digital IO * Gateworks System Controller * Accelerometer * Canbus * Optional GPS * Industrial temp (-40C to +85C) * DC input voltage 8 to 42V (Passive PoE and 802.3af) Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 39012
* imx6: add DMA/SDMA support for 3.12Luka Perkov2013-12-091-4/+2
| | | | | | | | | DMA and SDMA support are needed for ssi based audio. Note that the sdma firmware is no longer required for ssi audio. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 39011
* imx6: drop upstreamed patchLuka Perkov2013-12-091-32/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39010
* kernel: added defines for 3.12Luka Perkov2013-12-091-0/+5
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 39009
* ath9k: merge initval and tx gain table updates, calibration fixesFelix Fietkau2013-12-082-0/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39001
* generic: workaround arptables arpt_arp structure padding issue (#14577)Jo-Philipp Wich2013-12-061-0/+16
| | | | | | | | | | | | | | | | | | | Linaro GCC 4.6-2013.05 incorrectly pads the arpt_arp structure on at least the ar71xx target, resulting in a two bytes shorter struct in the kernel compared to what arptables userspace expects. When comparing sizeof(struct arpt_arp) in kernel and userspace, the former yields 162 byte, while the latter is 164 byte. As a consequence, the subsequent target_offset and next_offset members of the parent arpt_entry structure contain invalid values when processed by the arptables binary, leading to bad memory accesses in the populate_cache() procedure, subsequently causing a segfault. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 38999
* generic: fix occasional "execvp: /bin/sh: Argument list too long" is kernel ↵Jo-Philipp Wich2013-12-061-0/+44
| | | | | | | | header install phase (#12907) Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 38998
* brcm47xx: misc cleanupsHauke Mehrtens2013-12-012-4/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38980
* brcm47xx: deactivate mips wait instruction only for BCM4706Hauke Mehrtens2013-12-013-13/+27
| | | | | | | | | The wait instruction is only broken on the BCM4706 and not on the other similar SoCs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38979
* brcm47xx: config: set CONFIG_HZ=100 and CONFIG_IP_ROUTE_VERBOSEHauke Mehrtens2013-12-011-4/+0
| | | | | | | | | This sets both values to the OpenWrt default values. There is no reason to use some brcm47xx specific values here. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38978
* brcm47xx: add vectored interruptsHauke Mehrtens2013-12-012-0/+67
| | | | | | | | | This adds support for vectored interrupts in this SoC. This is supported by the 74K cpus. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38975
* brcm47xx: add cpu overwritesHauke Mehrtens2013-12-012-14/+102
| | | | | | | | | | | | bcm47xx misses cpu overwrites for the features of the CPUs used in these SoCs. Instead of manually checking, it is now known at compile time for some options and the compiler is able to remove the checks and optimize the code. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38974
* brcm47xx: use "firmware" partition nameHauke Mehrtens2013-12-013-22/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some time ago, after switching to the mainline bcm47xxpart driver following patch has been applied: commit 03cef8725d2062335ffc3de50fc037b294fd458c Author: hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Sat Apr 6 22:22:26 2013 +0000 brcm47xx: use old partition names again for kernel 3.8 This fixes sysupgrade. The partition names are used all over the Internet in various howtos. Thank you russell for spotting this problem. I propose to revert this change and make sysupgrade use "firmware" instead. This makes brcm47xx compatible with widely used ar71xx and after all "firmware" sounds like a much better name for... the firmware. This change doesn't affect "sysupgrade" usage, because it never takes a partition name as a parameter. This change only affects users using mtd tool directly. Hopefully there are not many howtos using "mtd" command. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 38973
* kernel: update 3.10 to 3.10.21Gabor Juhos2013-12-0132-166/+110
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38972
* ar71xx: merge board specific patches into oneLuka Perkov2013-11-3017-539/+165
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38971
* kernel: refresh kernel configs with kconfig.plGabor Juhos2013-11-303-10/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38970
* ar71xx: update Userspace support for the WA850/WA750Gabor Juhos2013-11-301-0/+12
| | | | | | | Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38969
* ar71xx: Update profile for the wa750/wa850 to include rssileds by defaultGabor Juhos2013-11-301-2/+2
| | | | | | | Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38968
* ar71xx: use cybertan_check_image for image verification on the WRT160NLGabor Juhos2013-11-301-8/+2
| | | | | | | | | That function provides a slightly improved sanity check than the currently used solution. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38967
* ar71xx: sysupgrade for My Net Wi-Fi Range ExtenderGabor Juhos2013-11-302-0/+30
| | | | | | | | | | | | | | | | | | | | This patch enables the convenient sysupgrade feature for WD's Wi-Fi Range Extender. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4341/ [juhosg: - rename 'mynet_rext_check_image' function to 'cybertan_check_image' and move that into platform.sh, - remove the the model specific 'platform_do_upgrade_mynet_rext' function, - drop the mynet-rext.sh script, - remove the image/Makefile change, - update commit message] [christian: - check all 8 bytes of the firmware/device magic] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38966
* ar71xx: image: unify CyberTAN macrosGabor Juhos2013-11-301-13/+8
| | | | | | | | | | | | Make the Image/Build/CyberTAN macro more generic, and use simple wrappers for the GZIP/LZMA variants. This simplifies the Makefile a bit, and allows to build sysupgrade images for the devices which are using LZMA compressed uImages. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38965
* ar71xx: image: fix CyberTAN sysupgrade imagesGabor Juhos2013-11-301-1/+5
| | | | | | | | | | | | | | | | | In the current sysupgrade images, the CRC32 value of the TRX header covers the whole rootfs data. Due to this, the CRC value should be changed during sysupgrade otherwise the bootloader refuses to load the image on the next boot. Change the image generation to create sysupgrade images where the CRC32 value covers the kernel data only. This allows to skip the 'fixtrx' step during sysupgrade on the target. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38964
* 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> SVN-Revision: 38960
* ramips: Fix dts typosJohn Crispin2013-11-302-2/+2
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 38959
* ar71xx: build image for the TL-WR1043ND v2 boardGabor Juhos2013-11-291-1/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38958
* ar71xx: add user-space support for the TL-WR1043ND v2 boardGabor Juhos2013-11-295-2/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38956
* ar71xx: add kernel support for the TL-WR1043ND v2 boardGabor Juhos2013-11-293-0/+264
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38955
* ar71xx: add profile and build image for the Sitecom WLR-8100Gabor Juhos2013-11-292-0/+18
| | | | | | | | | | | | | - partitions on factory fw are a bit strange - unknown contained some strings in factory - unknown2 contains some atheros (2nd art ?) Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4149/ [juhosg: edit commit message] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38954
* ar71xx: fix switch port map for the Sitecom WLR-8100Gabor Juhos2013-11-291-3/+3
| | | | | | | | | | | There was no way to determine a working config, because the switch (ar8337) was not working previously. Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4470/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38953
* generic: ar8216: add AR8337N switch supportGabor Juhos2013-11-292-6/+27
| | | | | | | | | | | | | | | | | This patch is needed to use the switch inside the Sitecom WLR-8100; it was unusable and detected as Generic-Phy before. since ar8337 is behaving like ar8327 generally do the same thing see: https://forum.openwrt.org/viewtopic.php?pid=214218#p214218 forward-ported to trunk Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4469/ [juhosg: merge chip_is_ar83[23]7 statements in ar8xxx_phy_config_init] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38952
* generic: ar8216: remove trailing whitespacesGabor Juhos2013-11-291-9/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38951
* ar71xx: rssi leds for My Net WiFi Range ExtenderGabor Juhos2013-11-291-0/+1
| | | | | | | | | | | | The device has three extra LEDs which indicate the quality of the wireless link. Thanks to rssileds, this feature now works out of the box. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4462/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38950
* ar71xx: improve support for the My Net Wi-Fi Range Extender deviceGabor Juhos2013-11-292-5/+9
| | | | | | | | | | | | | | | | | | | | This patch improves support for the device considerably. 1. The wifi didn't work in the initial release. This was because the WMAC of the AR9340 is not connected to the antennas. (However, it can pick up wifi signals, if they are strong enough!) Instead there's a dedicated AR9300 chip on the same board, which works. 2. Ethernet throughput is improved. iperf shows that the hardware can sustain more than 200Mbit/s and no longer drops any packages when the link is under load. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4461/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38949
* ag71xx: add F1E specific feature bit definitions to AR934X register fileGabor Juhos2013-11-291-1/+3
| | | | | | | | | | | | | | | | The F1E Phy (AR8035?) requires additional bits to be set in order to provide a fast and reliable connection over gigabit links. When enabled, the link doesn't suffer anymore from a small package loss under load and the performance is improved quite a bit as well. (203 mbit/s vs 112 mbit/s, iperf tcp). Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4460/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38948