aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* 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
* ar71xx: user space support update tl-wr842n_v2 add default led supportGabor Juhos2013-11-291-1/+10
| | | | | | | | | | Small update to uci_defaults/01_leds, to support the usb led Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4426/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38947
* ar71xx: Kernel support update tl-wr842n_v2 added missing usb ledGabor Juhos2013-11-291-1/+1
| | | | | | | | | | | Just a small oversight my part, added the support for the USB led Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4425/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38946
* tunr on some additional featuresImre Kaloz2013-11-291-1/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38942
* there's no such thing as a soft fpu, this target should be fine without theseImre Kaloz2013-11-291-1/+0
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38940
* initialize wl12xx from the device treeImre Kaloz2013-11-271-0/+78
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38934
* add device tree based initialization to wl12xxImre Kaloz2013-11-279-0/+1262
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38933
* refresh/rename patchesImre Kaloz2013-11-2749-373/+118
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38932
* fix gpio interrupt-cells property on AM335xImre Kaloz2013-11-271-0/+57
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38931
* refresh patchImre Kaloz2013-11-271-4/+3
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38930
* make the wl12xx glue code available with compat-wireless, tooImre Kaloz2013-11-271-0/+15
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38929
* add TI wireless symbols and enable the platform glue by defaultImre Kaloz2013-11-271-1/+6
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38928
* ralink: dts fixesJohn Crispin2013-11-264-7/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38917
* ralink: add mac address detection for Asus RT-G32 b1John Crispin2013-11-251-1/+5
| | | | | | | | | http://patchwork.openwrt.org/patch/4463/ Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38910
* base-files: allow users to delect debug level during bootJohn Crispin2013-11-251-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38909
* ralink: fix up the mt7530 driver to work properly with gmac2John Crispin2013-11-251-6/+10
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38905
* ralink: add LRO supportJohn Crispin2013-11-251-27/+84
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38904
* ralink: add NETIF_F_HW_VLAN_CTAG_TX support for the mt7620X familyJohn Crispin2013-11-251-57/+116
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38903
* ralink: set the mac addr via the dts fileJohn Crispin2013-11-2560-92/+232
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38902
* kirkwood: include ext4 support by defaultLuka Perkov2013-11-241-0/+6
| | | | | | | | Several users reported that they would like this feature. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38901
* kirkwood: kernel: add missing config optionLuka Perkov2013-11-241-0/+1
| | | | | | | | Buildbot found missing config option for target kirkwood. Signed-off-by: Jiri Slachta <slachta@cesnet.cz> SVN-Revision: 38900