aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: ag71xx: increase calculated max frame length valueGabor Juhos2014-01-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The r39147 commit introduces a regression: at lease on some routers with ar8216 switch large packets get lost if 802.1q tagged port is used on the interface connected to the aforementioned switch. The r39147 changes code in the way so interface is set to accept packets no longer than max ethernet frame length for a given mtu. Unfortunately ar8216 has a feature: it sends two additional bytes as a packet header and those this header needs to be added to the max frame length. Otherwise long enough packets get lost. The problem only manuifests itself if interface is used in vlan tagged mode. If interface is untagged then ar8216's header fits into space used by 802.1q tag and not packets are lost. Include two additional bytes in the max frame length calculation to fix the issue. This patch is tested and works with Trendnet TEW-632BRP. Signed-off-by Nikolay Martynov <mar.kolya@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4656/ [juhosg: - simplify the patch to include the additional bytes of the switch header unconditionally, - change subject and update commit message] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39219
* sunxi: add/refresh patches for cubieboard2Zoltan Herpai2014-01-104-0/+151
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39218
* ar71xx: my net n750: simplify LNA GPIO setupGabor Juhos2014-01-101-6/+2
| | | | | | | | | Use the ath79_wmac_set_ext_lna_gpio helper instead of exporting the GPIOs. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39217
* ar71xx: my net n600: simplify LNA GPIO setupGabor Juhos2014-01-101-6/+2
| | | | | | | | | Use the ath79_wmac_set_ext_lna_gpio helper instead of exporting the GPIOs. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39216
* ar71xx: add a helper function for external LNA GPIO setupGabor Juhos2014-01-102-1/+79
| | | | | | | | | | | | | | The built-in wireless MAC of the AR934x SoC can handle external LNAs and the control signal of the LNAs can be routed to any GPIO line. Add a helper function which can be used to configure the GPIO lines. The helper function will be used for AR934x boards which are using externel LNAs to improve sensitivity. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39215
* ar71xx: Fix WD My Net N600 weak signal issueGabor Juhos2014-01-101-0/+15
| | | | | | | | | | | | | | | | | | The LNAs need to be enabled by setting their respective GPIO to high even though the original firmware's setting sets them to low on initialization. Obviously the LNAs are then later initialized by the driver on the OEM firmware. Without this fix the device is mostly "deaf". Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> Tested-by: Steven Haigh <netwiz@crc.id.au> Patchwork: http://patchwork.openwrt.org/patch/4689/ [juhosg: - remove the GPIO LED changes, the My Net N600 has no yellow LEDs at all, - change subject and update the commit message] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39214
* ar71xx: Fix WD My Net N750 weak signal issueGabor Juhos2014-01-101-2/+2
| | | | | | | | | | | | | | The LNAs need to be enabled by setting their respective GPIO to high even though the original firmware's setting sets them to low on initialization. Obviously the LNAs are then later initialized by the driver on the OEM firmware. Without this fix the device is mostly "deaf". Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> Patchwork: http://patchwork.openwrt.org/patch/4688/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39213
* add x86_64 target supportImre Kaloz2014-01-0713-0/+877
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39208
* move most of the x86 image generation options to the main fileImre Kaloz2014-01-072-90/+9
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39206
* sunxi: refresh usb vbus patchZoltan Herpai2014-01-061-27/+0
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39205
* sunxi: various fixes - DT: update USB vbus from 3.3v to 5v - emac: add ↵Zoltan Herpai2014-01-066-21/+420
| | | | | | | | | | missing free_irq - DT: add emac aliases - DT: fix interrupts on A20 - modules: add watchdog module - don't compile in mac80211 - don't compile in usbnet Thanks to Hans de Goede, Zalan Blenessy et al. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39204
* bcm53xx: make the l2x0 L2 cache controller workHauke Mehrtens2014-01-045-80/+94
| | | | | | | | | This fixes the DMA problems with the Ethernet driver. This also updates some other parts of the patches. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39203
* bcm53xx: update the ethernet core hacksHauke Mehrtens2014-01-042-53/+30
| | | | | | | | | The PHY always says there is no link Instead of doing this dma sync a mdelay does the same trick and it is as unreliable. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39202
* kernel: bgmac: update the driver patches to a version submitted for mainline ↵Hauke Mehrtens2014-01-046-66/+119
| | | | | | | | kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39201
* sunxi: emac changes - move emac into module - add into profiles where ↵Zoltan Herpai2014-01-046-5/+17
| | | | | | | | appropriate Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39200
* sunxi: add sata driver to profiles where appropriateZoltan Herpai2014-01-043-3/+3
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39198
* sunxi: add sata driver for sun[47]iZoltan Herpai2014-01-045-0/+706
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39197
* sunxi: move sunxi-sid (security ID) off to moduleZoltan Herpai2014-01-043-2/+18
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39196
* sunxi: move rtc off to moduleZoltan Herpai2014-01-043-3/+25
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39195
* sunxi: add the actual mmc driverZoltan Herpai2014-01-042-0/+1154
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39194
* sunxi: delete a31 reset for now in lack of the mach splitZoltan Herpai2014-01-041-41/+0
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39193
* sunxi: add support for pcDuino boardZoltan Herpai2014-01-044-0/+198
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39190
* sunxi: add mmc support - add MMC support for sun457i - update kernel config ↵Zoltan Herpai2014-01-048-5/+595
| | | | | | | | to compile in MMC and ext4 - update kernel cmdline Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39189
* sunxi: various fixes - have Kconfig options ordered - add new olinuxino ↵Zoltan Herpai2014-01-045-2/+216
| | | | | | | | a13-micro board - various fixes for EHCI Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39188
* sunxi: remove sun6i/7i split for nowZoltan Herpai2014-01-041-56/+0
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39187
* sunxi: refresh clock frameworkZoltan Herpai2014-01-0416-0/+1367
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39186
* ixp4xx: upgrade: don't copy extra binariesLuka Perkov2013-12-301-5/+2
| | | | | | | | | | hexdump is already added to new temporary file system while less is not used at all. While at it, remove some trailing whitespaces. Signed-off-by: Luka Perkov <luka@openwrt.org> CC: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39181
* ralink: fix tso regression in the ethernet driverJohn Crispin2013-12-271-0/+13
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39168
* brcm47xx: fix cpu wait for BCM4706Hauke Mehrtens2013-12-263-19/+18
| | | | | | | | This was called to early. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39167
* brcm47xx: b44: This updates the phylib patches to the version send upstreamHauke Mehrtens2013-12-2615-165/+252
| | | | | | | | This uses a fixed phy instead of a dummy one. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39166
* kernel: bgmac: update patchesHauke Mehrtens2013-12-269-270/+603
| | | | | | | | | This updates the bgmac backport patch to the current upstream version and adds some more patches mostly for BCM4707. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39165
* ramips: add support for RT-N14U (mt7620n based) boardJohn Crispin2013-12-256-0/+132
| | | | | | | | | | | | | | | | | 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> SVN-Revision: 39163
* ramips: add gpio pin 72 in mt7620 chips to dtsi filesJohn Crispin2013-12-252-0/+38
| | | | | | | | describes register set to control last gpio pin on mt7620 platfrom Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com> SVN-Revision: 39162
* ar71xx: fix max frame length of the QCA955x SoCsGabor Juhos2013-12-231-0/+11
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39161
* ar71xx: don't set builtin_switch flag for QCA9558Gabor Juhos2013-12-231-6/+1
| | | | | | | | It makes no sense, the SoC has no built-in switch. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39160
* x86/kvm_guest: remove 3.7 supportGabor Juhos2013-12-231-87/+0
| | | | | | | | Patch-by: Stijn Tintel <stijn@linux-ipv6.be> Patchwork: http://patchwork.openwrt.org/patch/4637/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39159
* x86/kvm_guest: remove 3.3 supportGabor Juhos2013-12-231-91/+0
| | | | | | | | Patch-by: Stijn Tintel <stijn@linux-ipv6.be> Patchwork: http://patchwork.openwrt.org/patch/46366/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39158
* x86/kvm_guest: add support for 3.10 and switch to itGabor Juhos2013-12-232-0/+97
| | | | | | | | Patch-by: Stijn Tintel <stijn@linux-ipv6.be> Patchwork: http://patchwork.openwrt.org/patch/4635/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39157
* ar71xx: allow to use large ethernet frames on AR934x SoCsGabor Juhos2013-12-201-0/+4
| | | | | | | | | | | | | | | The hardware supports large ethernet frames. Override the maximum frame length and packet lenght mask in the platform data to allow to use large MTU on the ethernet interfaces. Limit the feature to AR934x SoCs for now. It should work on some other SoCs as well, but those has not been tested yet. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39149
* ar71xx: ag71xx: fix max frame length setup of the built-in switchesGabor Juhos2013-12-201-5/+12
| | | | | | | | | | | | | The currently used bitmask of the maximum frame length field is wrong for both models. On AR724x/AR933x the largest frame size is 2047 bytes, on the AR934x it is 16383 bytes. Make the MTU setup code model specific, and use the correct bitmask for both models. Also change the value to the maximum. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39148
* ar71xx: ag71xx: calculate max frame len register value from the MTUGabor Juhos2013-12-201-3/+15
| | | | | | | | | | | | | | | Set the MAX_FRAME_LEN register to zero in ag71xx_hw_init() and write the correct value into that from the ag71xx_open() and ag71xx_fast_reset() functions. Also recalculate the RX buffer size based on the actual maximum frame length value to optimize memory allocation. Additionaly, disallow to change the MTU value while the interface it running. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39147
* ar71xx: ag71xx: add ag71xx_max_frame_len() helperGabor Juhos2013-12-201-2/+8
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39146
* ar71xx: ag71xx: get max_frame_len and desc_pktlen_mask from platform dataGabor Juhos2013-12-203-2/+11
| | | | | | | | This will allow to use SoC specific values for both. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39145
* ar71xx: ag71xx: store descriptor packet length mask in ag71xx structGabor Juhos2013-12-202-7/+5
| | | | | | | | | | | | | | | The currently used bitmask is not correct for all SoCs. Introduce a new field in struct ag71xx and store the bitmask in that. Use the current value for now, it will be adjusted for each SoCs in further patches. Aslo use the new field directly in the ag71xx_rx_packets and ag71xx_hard_start_xmit() functions and remove the ag71xx_desc_pktlen() helper. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39144
* don't fail if there are no dtbsImre Kaloz2013-12-201-3/+3
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39141
* ar71xx: add missing tx gain table flag for buffalo wzr-hp-g450hFelix Fietkau2013-12-191-0/+24
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39139
* imx6: refresh patchesLuka Perkov2013-12-198-17/+15
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39135
* kernel: backport upstream inet fixLuka Perkov2013-12-191-0/+54
| | | | | | | | | Without it in some occasions oops is shown on network restart. Problem was noticed on imx6 targed. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39134
* imx6: proper fix for io-remapLuka Perkov2013-12-194-210/+118
| | | | | | | | | The previous patch was not the proper fix for PCI devices that require io resources. The new patch is the proper fix backported from mainline. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 39133
* ar71xx: enable images for WD My Net N750Gabor Juhos2013-12-172-0/+10
| | | | | | | | | | | | | | Now that the switch works correctly we can enable the images for this board. Flashing from the factory firmware, the factory failsafe loader and sysupgrade was tested successfully. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> Patchwork: http://patchwork.openwrt.org/patch/4617/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39130