Commit Graph

11654 Commits

Author SHA1 Message Date
Felix Fietkau
5ef90f6540 target/sdk: remove obsolete exclude line
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39861
2014-03-10 18:58:34 +00:00
Felix Fietkau
d76f2d4d1c target/sdk: remove some unnecessary files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39859
2014-03-10 11:12:41 +00:00
Felix Fietkau
ba3b720fe6 target/sdk: add support for building kernel module packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39858
2014-03-10 11:12:37 +00:00
Luka Perkov
c8b116d930 kernel/generic: drop already upstreamed patch
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39855
2014-03-10 01:06:48 +00:00
Florian Fainelli
f71fa7d646 brcm47xx: explicitely mention MIPS to avoid confusion
And while at it, fix the nomenclature, BCM947xx/953xx refer to specific boards,
while BCM47xx/BCM53xx refer to chip identification number.

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

SVN-Revision: 39841
2014-03-08 01:48:44 +00:00
Imre Kaloz
074af75668 add preliminary 3.14 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39789
2014-03-07 11:27:00 +00:00
John Crispin
96fa58bafd ralink: add support for wrtnode
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39786
2014-03-07 09:54:59 +00:00
Zoltan Herpai
d100f80e7b sunxi: update 3.13 defconfig to include lradc driver
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39783
2014-03-06 11:33:43 +00:00
Zoltan Herpai
ac4b9dbb3c sunxi: driver refresh for 3.13 - update gmac / mmc / usb / ahci drivers to follow mainline dev trees - add driver for spi - update clock support - update a31 support - move to new DT compats where appropriate - re-order patchqueue where needed - verified working a20 smp - move most DTSes off files/ - update defconfig
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39782
2014-03-06 00:09:30 +00:00
Zoltan Herpai
2c771cc71f kernel: add missing config symbols to 3.13
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39781
2014-03-05 23:32:00 +00:00
Zoltan Herpai
301baf34dd sunxi: deprecate 3.12 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39780
2014-03-05 23:19:25 +00:00
Felix Fietkau
bbc0c67bb0 cns3xxx: fix uImage build issue
The uImage target will always fail on a clean build due to dependency issues.
Building the uImage isn't necessary anyway as its re-built with correct
entry points in image/Makefile so remove it.

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

SVN-Revision: 39778
2014-03-05 17:37:43 +00:00
Florian Fainelli
bb39b8d99a brcm2708: update against latest rpi-3.10.y branch
Update our copies of the brcm2708 patches to the latest rpi-3.10-y
rebased against linux-3.10.y stable (3.10.32). This should hopefully
make it easier for us in the future to leverage the raspberry/rpi-*
branches.

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

SVN-Revision: 39770
2014-02-28 20:30:08 +00:00
Florian Fainelli
2d32b2f771 brcm2708: define KERNELNAME accordingly
Define KERNELNAME to Image to get the build system to copy this image
over $(KDIR) automatically for us.

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

SVN-Revision: 39768
2014-02-28 20:29:40 +00:00
Felix Fietkau
802d17ceaf ar71xx: Add 16MB Flash version for Embedded Wireless Dorin Platform
Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>

SVN-Revision: 39764
2014-02-28 11:08:14 +00:00
Felix Fietkau
d83750083d ar71xx: adjust ew-dorin platform for LAN+WAN setup
Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>

SVN-Revision: 39763
2014-02-28 11:08:04 +00:00
Felix Fietkau
8665c57923 cns3xxx: ethernet - clean up tx descs only when needed
We already clean up tx descriptors in the napi eth_poll() function so it
would likely be rare to run out of available descriptors in eth_xmit. Thus
we can clean them up only when needed and return busy only when we
still don't have enough.

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

SVN-Revision: 39762
2014-02-27 23:02:43 +00:00
Felix Fietkau
96eb3d883d cns3xxx: ethernet - resolve SMP issue
The combination of r35942 and r35952 causes an issue where eth_schedule_poll()
can be called from a different CPU between the call to napi_complete() and the
setting of cur_index which can break the rx ring accounting and cause ethernet
latency and/or ethernet stalls.  The issue can be easilly created by adding
a couple of artificial delays such as:

@@ -715,6 +715,7 @@ static int eth_poll(struct napi_struct *napi, int budget)

 	if (!received) {
 		napi_complete(napi);
+udelay(1000);
 		enable_irq(IRQ_CNS3XXX_SW_R0RXC);
 	}

@@ -727,6 +728,7 @@ static int eth_poll(struct napi_struct *napi, int budget)
 	rx_ring->cur_index = i;

 	wmb();
+udelay(1000);
 	enable_rx_dma(sw);

 	return received;

This patch moves the setting of cur_index back up where it needs to be and
addresses the original corner case that r35942 was trying to catch in an
improved fashion by checking to see if the rx descriptor ring has become
full before interrupts were re-enabled so that a poll can be scheduled again
and avoid an rx stall caused by rx interrupts ceasing to fire again.

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

SVN-Revision: 39761
2014-02-27 23:02:37 +00:00
Luka Perkov
f7f117b88d imx6: optimize for NEON FPU hardware
The IMX6 SoC uses an ARM Cortext-A9 which has both NEON and VFPv3 hardware
blocks.  This will tune gcc to use neon instead of vfpv3 which will outperform
VFPv3.

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

SVN-Revision: 39760
2014-02-27 22:41:40 +00:00
Luka Perkov
6752d4cb08 imx6: enable FPU for hard float
The OpenWrt build system uses MACHINE_FEATURES of fpu to set the HAS_FPU which
in turn sets the default of CONFIG_SOFT_FLOAT as well as uClibc configuration.
As the IMX6 SoC has both vfpv3 and NEON hardware support we want to add fpu
to the feature list.  This will default the IMX6 target to use -mfloat-abi=hard
which will the be most efficient use of floating point.

When switching to hard float, we also need to enable VFP support in the kernel.

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

SVN-Revision: 39759
2014-02-27 22:41:39 +00:00
Florian Fainelli
2d9ded9f2c realview: fix zImage-initramfs installation
We were copying the actual vmlinux-initramfs.elf kernel which cannot be
launched by QEMU or a real bootloader, use zImage-initramfs instead.

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

SVN-Revision: 39756
2014-02-27 00:12:53 +00:00
Gabor Juhos
e9c80a1224 ar71xx: fix failsafe acces on several devices
The ar71xx platform always uses the eth0 interface to provide
access to the device in failsafe mode. Due to this, failsafe
access is broken on devices where the LAN ports are connected
to the 'eth1' interface.

Update the relevant script to correctly set the ifname variable
for these devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39752
2014-02-25 17:40:04 +00:00
Jonas Gorski
0d120f42da brcm63xx: add preliminary support for 3.13
Add support for 3.13 as a development kernel. Mostly untested, only net
booted. If flashed may brick your router or kill your cat.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39746
2014-02-24 15:54:12 +00:00
Jonas Gorski
8ffe7e9d41 kernel: add missing config symbol to 3.13
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39745
2014-02-24 15:53:58 +00:00
Gabor Juhos
8a87474b6e x86/rdc: remove old kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39737
2014-02-23 21:16:04 +00:00
Gabor Juhos
9350e4cafa x86/rdc: switch to 3.10 and add broken flag
Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39736
2014-02-23 21:16:03 +00:00
Gabor Juhos
1329a18eec x86/rdc: add config for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39735
2014-02-23 21:16:02 +00:00
Gabor Juhos
6d530eef5d x86: fix MTD API usage in the RDC specific board patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39734
2014-02-23 21:15:56 +00:00
Hauke Mehrtens
5b388e5716 brcm47xx: b44: some fixes in combination with the switch
Let the switch start the carrier and set the duplex mode independently
if this nic is up of not.

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

SVN-Revision: 39733
2014-02-23 18:51:56 +00:00
Gabor Juhos
a90ec7a0ef x86/olpc: remove old kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39732
2014-02-23 18:20:32 +00:00
Gabor Juhos
a485bd350b x86/olpc: switch to 3.10 and add broken flag
Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39731
2014-02-23 18:20:30 +00:00
Gabor Juhos
543fc517f4 x86/olpc: add config for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39730
2014-02-23 18:20:29 +00:00
Gabor Juhos
c384015892 x86/net5501: remove old kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39729
2014-02-23 18:09:33 +00:00
Gabor Juhos
3488372fa7 x86/net5501: switch to 3.10 and add broken flag
Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39728
2014-02-23 18:09:32 +00:00
Gabor Juhos
8dc438ea7f x86/net5501: add config for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39727
2014-02-23 18:09:31 +00:00
Hauke Mehrtens
f587bacc26 brcm47xx: b44: start the phy
We did not start the PHY when an external phy was in use. Without this
patch the driver uses half duplex mode and the switch uses full duplex
mode, which causes problems.
Thank you fback for spotting this problem.

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

SVN-Revision: 39719
2014-02-23 16:58:12 +00:00
Hauke Mehrtens
15a7efa119 brcm47xx: fix detection of some Linksys WRT54G* devices
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39718
2014-02-23 15:57:37 +00:00
Gabor Juhos
455ee13faf x86/thincan: remove old kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39717
2014-02-23 13:07:24 +00:00
Gabor Juhos
d5ab9b12bf x86/thincan: switch to 3.10 and add broken flag
Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39716
2014-02-23 13:07:23 +00:00
Gabor Juhos
b8061d4e8e x86/thincan: add config for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39715
2014-02-23 13:07:22 +00:00
Gabor Juhos
4ae644c137 x86/xen_domu: remove old kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39714
2014-02-23 13:00:23 +00:00
Gabor Juhos
24ef414bec x86/xen_domu: switch to 3.10 and add broken flag
Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39713
2014-02-23 13:00:21 +00:00
Gabor Juhos
f333739c24 x86/xen_domu: add config for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39712
2014-02-23 13:00:16 +00:00
Gabor Juhos
c0405b152f x86/geos: remove old kernel configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39711
2014-02-23 12:50:19 +00:00
Gabor Juhos
a7db713477 x86/geos: switch to 3.10 and add broken flag
Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39710
2014-02-23 12:50:18 +00:00
Gabor Juhos
944edb47f9 x86/geos: add config for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39709
2014-02-23 12:50:16 +00:00
Gabor Juhos
b5fdd769f0 brcm63xx: update LINUX_VERSION to 3.10.32
Missed from the previous comit.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39708
2014-02-23 11:07:58 +00:00
Gabor Juhos
f677b1bc7e kernel: update 3.10 to 3.10.32
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39707
2014-02-23 10:59:40 +00:00
Gabor Juhos
590bafe3de ar71xx: define status LED for the RB91x boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39705
2014-02-23 08:11:54 +00:00
Gabor Juhos
da2f3c1448 ar71xx: rb91x: register GPIO LEDs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39704
2014-02-23 08:11:53 +00:00