Commit Graph

12314 Commits

Author SHA1 Message Date
Felix Fietkau
60b81acd60 ath79: dev-eth: Don't advertise 1gbit in link code word on ar9331
While the AR9331 has a gigabit MAC towards the internal switch, the
integrated PHYs however are only 100-base-tx capable.  The existing code
however advertieses gigabit capability in the link status word.  If you
attach such a PHY to a gigabit capable switch on the remote end, with
some probability it attempts to negotiate gigabit and fails, falling
baco to the AR9331 assuming a 10mbit half-duplex link.  This has been
observed quite frequently with the Carambola2 and gigabit capable
switches.

In ath79_register_eth(), "pdata->has_gbit = 1;" is set unconditionally
for both AR9331 ethernet ports. This is most likely wrong. Despite the
two MAC IP cores being gigabit MACs, the MAC for eth1 is connected to a
100base-T PHY via MII. The has_gbit attribute is used in the ethernet
driver to determine the supported link modes.

So either pdata->has_gbit is not set to 1 anymore, or the ethernet
driver needs to be modified to determine the advertised link code word
on another criteria than pdata->has_gbit.  This patch implements the
former solution.

Signed-off-by: Harald Welte <laforge@gnumonks.org>

SVN-Revision: 42432
2014-09-07 09:45:32 +00:00
Felix Fietkau
60eeadd0ba ar71xx: re-enable descriptor splitting on ar716x after the previous bugfixes (#13072)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42429
2014-09-06 17:51:48 +00:00
Felix Fietkau
2da2317fed ar71xx: fix off-by-one error in packet descriptor splitting (patch from #13072)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42428
2014-09-06 17:51:44 +00:00
Felix Fietkau
05dd36a980 ar71xx: on ar716x, split ethernet packets in 512 byte chunks instead of 256 (improves performance) (patch from #13072)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42427
2014-09-06 17:51:39 +00:00
Felix Fietkau
efa2159e17 atheros: remove linux 3.10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42426
2014-09-06 17:51:35 +00:00
Zoltan Herpai
044bf28357 sunxi: bump kernel to 3.14.16
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42425
2014-09-06 15:59:06 +00:00
Zoltan Herpai
b217763e41 sunxi: update pcDuino3 profile to the new u-boot
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42424
2014-09-06 15:57:08 +00:00
Zoltan Herpai
6833e90f0c sunxi: update Bananapi profile to the new u-boot
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42423
2014-09-06 15:23:30 +00:00
Nicolas Thill
4ea085316e uml: bump to 3.14.16
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 42421
2014-09-05 22:02:09 +00:00
Florian Fainelli
d2a420fa22 at91: build images for AT91SAMA5D3XPLAINED
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42418
2014-09-03 03:11:25 +00:00
Florian Fainelli
7175e520e1 at91: add SAMA5D3 subtarget
Add a subtarget for Atmel's SAMA5D3 Cortex-A5 based SoCs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42417
2014-09-03 03:11:11 +00:00
Florian Fainelli
00c0f4f27a at91: move legacy Kconfig options to subtarget
Some Kconfig options are only relevant for the legacy platforms, move
them where they belong

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42416
2014-09-03 03:10:59 +00:00
Florian Fainelli
640579bf49 at91: switch to 3.14
We need a new kernel version to support Cortex-A5 based platforms such
as SAMA5GD3.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42415
2014-09-03 03:10:47 +00:00
Florian Fainelli
892d571d07 at91: add 3.14 support
Add support for Linux 3.14 for the Atmel's AT91 platform.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42414
2014-09-03 03:10:18 +00:00
Florian Fainelli
035f68e858 at91: move 3.10 specific files and patches
In preparation for adding 3.14 kernel support, move files and patches to
a separate per-version directory since some of them will have
incompatible changes (e.g: dts)

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42413
2014-09-03 03:09:51 +00:00
Florian Fainelli
132676f1ac at91: add Kconfig symbol for CONFIG_USB_ATMEL_USBA
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42412
2014-09-03 03:09:36 +00:00
Florian Fainelli
5efbc41cbb at91: fix typo on Calao
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42410
2014-09-03 03:09:14 +00:00
Florian Fainelli
c2b92f9ef4 at91: create a legacy subtarget
In preparation for adding SAMA5D3 support, move the legacy ARMv5 based
platforms to a separate subtarget.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42408
2014-09-03 03:08:51 +00:00
Felix Fietkau
366007c3d8 omap: remove 3.12 kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42401
2014-09-02 17:00:46 +00:00
Felix Fietkau
1839d1b912 cns3xxx: support isolated PCI interrupts on newer Laguna PCBs
The cns3xxx uses irq61 for pcie0_intr which in the case of a PCIe-to-PCI
bridge ends up combining INTA/B/C/D on a single ARM CPU interrupt. This is
not optimal when you have multiple cores. To overcome this limitation an
enhancement was made on newer Laguna PCB's that support miniPCI cards
to route the INTA/B/C/D signals to unique external ARM CPU interrupts which
can help balance CPU core utilization and in some cases increase overall
system performance or responsiveness.

For more details see:
 http://trac.gateworks.com/wiki/multicoreprocessing#PCIInterruptsteering

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 42400
2014-09-02 16:44:40 +00:00
John Crispin
f11bd56f31 ipx806x: bump to 3.14.16
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42336
2014-08-30 09:59:30 +00:00
John Crispin
4d96ccd87a target: set myself as maintainer
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42335
2014-08-30 09:59:18 +00:00
John Crispin
3c1f6e358d ipq806x: Add support for IPQ806x chip family
Patches are generated using the "format-patch" command from the
following location:
*https://www.codeaurora.org/cgit/quic/kernel/galak-msm/log/?h=apq_ipq_base
*rev=0771849495b4128cac2faf7d49c85c729fc48b20
Patches numbered 76/77/102/103 have already been integrated in 3.14.12,
so they're not in this list.

All these patches are either integrated are pending integration into
kernel.org, therefore these patches should go away once the kernel
gets upgraded to 3.16.

Support is currently limited to AP148 board but can be extended to other
platforms in the future.

These changes do not cover ethernet connectivity.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 42334
2014-08-30 09:32:58 +00:00
Felix Fietkau
926f000b99 ar71xx: disable ethernet descriptor splitting for now, as it seems to cause tx hangs in some setups
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42333
2014-08-30 09:11:41 +00:00
Florian Fainelli
a5a309142c kirkwood: fix typos on DEBUG_LL_UART_*
We were prompted for which DEBUG_LL_UART implementation we want, fix the
typos such that the build continues.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42332
2014-08-30 00:32:05 +00:00
Felix Fietkau
4ff324191f ar71xx: select m25p80 support instead of spi support where used by mach files (#17699)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42331
2014-08-29 21:10:39 +00:00
Felix Fietkau
2c680151e4 ar71xx: split packets into multiple descriptors on ar716x
This improves performance when doing concurrent rx/tx on a single
ethernet MAC, e.g. when routing between VLANs.

Fixes #13072

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42328
2014-08-29 19:42:08 +00:00
John Crispin
d1f8b9bd76 ralink: DIR-645 picks up incorrect MAC address in DTS file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42321
2014-08-28 09:19:56 +00:00
John Crispin
254b2670e1 ar71xx: add Support for RB2011UiAS-2HnD
SVN-Revision: 42317
2014-08-28 06:27:45 +00:00
John Crispin
e47fbcbf1d lantiq: BTHOMEHUBV2B use bigger mtd partition for kernel
The bb-rc3 image for the BTHOMEHUBV2B is too big for its
mtd partition. This patch corrects the partition sizes in
the device tree. This patch should really go in before
bb-final, otherwise the BTHOMEHUBV2B images won't be useable.
I do apologise for not spotting this straight away.

Many thanks,

Ben

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 42316
2014-08-28 06:27:41 +00:00
John Crispin
24a6617585 ramips: unbreak i2c for 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42315
2014-08-28 06:05:36 +00:00
Luka Perkov
0d165a244d kirkwood: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42314
2014-08-27 17:14:09 +00:00
Zoltan Herpai
f10f009609 sunxi: initial 3.14 patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42313
2014-08-27 12:09:46 +00:00
John Crispin
1349ebb5ba ralink: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42305
2014-08-26 13:12:12 +00:00
Luka Perkov
20f48d27ea imx6: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42297
2014-08-25 21:50:49 +00:00
Luka Perkov
89d908e9f1 kernel: 3.14: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42296
2014-08-25 21:50:48 +00:00
Luka Perkov
b13e12819b kernel: 3.14: backport for igb driver resolving a driver crash
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 42295
2014-08-25 21:50:47 +00:00
Luka Perkov
eb75d320d1 imx6: kernel: backport upstream fix for IMX6DL 800MHz speed grade
A previous backported patch that adds freq/voltage operating points for the
IMX6DL processor can cause hang/crash (general instability) on IMX6DL
processors in the industrial/automative speed grades as they don't support
1GHz operation.

This adds another backported patch from mainline that uses IMX6 fuse settings
to properly remove invalid operating points for the particular CPU grade used.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 42294
2014-08-25 21:50:43 +00:00
John Crispin
0c14bea523 ralink: the mt7620 evb has a usb port
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42293
2014-08-25 16:31:13 +00:00
John Crispin
d3d9d55cde ralink: a few 3.14 related fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42292
2014-08-25 16:31:09 +00:00
John Crispin
843fc45e27 ralink: fix mt7620 ohci 3.14
the ohci phy was not reset properly

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42291
2014-08-25 16:31:05 +00:00
John Crispin
ca737049d2 ralink: fix mt7620 ohci 3.10
the ohci phy was not reset properly

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42290
2014-08-25 16:31:01 +00:00
John Crispin
3d00a1109e ralink: mt7620 has obchi/ehci and not dwc2
fix the default package selection

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42289
2014-08-25 16:30:57 +00:00
John Crispin
c9813699b6 kernel: add own Kconfig for OpenWrt mtdsplit drivers
There are pretty many OpenWrt patches against mtd subsystem resulting
in a bit of mess and growing maintenance cost.
My idea is to use an extra "mtdsplit" directory with OpenWrt specific
files (including Kconfig).
This is the first step to achieve this. This patch adds a "mtdsplit"
directory with Kconfig and replaces 4 patches with a single one.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42287
2014-08-25 16:30:44 +00:00
John Crispin
67cf439237 ar71xx: use ETH_ALEN for consistency
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

SVN-Revision: 42280
2014-08-25 06:35:58 +00:00
John Crispin
79c04e1897 ar71xx: enable sysupgrade for the EnGenius ESR900
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

SVN-Revision: 42279
2014-08-25 06:35:54 +00:00
John Crispin
fdc41e2fd7 ramips: enable second SPI for VoCore
This patch enables the second SPI as spidev and also fixes some typos.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 42277
2014-08-25 06:35:46 +00:00
John Crispin
a3fd3dc796 ramips: second spi device on rt5350
This is based on Jon Smirl's patch with the following changes:
- Set CS polarity as low by default.
- Add support for changing CS polarity.
- Add support for changing LSB/MSB.
- Add support for changing SPI mode.
- Fix indentations.

I tested it on a VoCore. Works fine connected to a second flash, but fails to detect MMC/SD cards due to SPI clock speed.

Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 42276
2014-08-25 06:35:42 +00:00
Hauke Mehrtens
823659f458 bcm53xx: update bcma device tree intergeneration and fix nvram parsing
This fixes lots of sparse and checkpatch errors and extends the
documentation.

This also fixes a problem in the nvram parser, it now detects the
correct nvram on my Netgear R6250.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42272
2014-08-24 15:57:49 +00:00
Florian Fainelli
fcfd0cec76 kernel: remove obsolete 322-ppc4xx-crypto-compile-fix.patch patches
Upstream commit c11eede powerpc: add missing explicit OF includes for ppc was
included in 3.13 and onwards, hence making those patches obsolete.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42263
2014-08-23 02:42:03 +00:00