Commit Graph

11680 Commits (bb959c0f3e5d5593fe21ace7a64c48c96aad5f16)

Author SHA1 Message Date
Zoltan Herpai a51ffcc1d1 sunxi: init eth0 as lan instead of wan, add a couple boards
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39973
10 years ago
Zoltan Herpai 73f14ca63b sunxi: enable /proc/device-tree - used for board detection
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39972
10 years ago
Zoltan Herpai 0534e2c79c sunxi: various changes - fix mmc, sata, usb (partially) on CubieTruck - fix hstimer DT on A20
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>

SVN-Revision: 39971
10 years ago
Felix Fietkau 479b0c82a2 kernel/generic: fix define in 642-bridge_port_isolate.patch
Patch 642-bridge_port_isolate.patch needs to be updated
for kernels 3.12, 3.13 and 3.14 as the define for BR_ISOLATE_MODE
conflicts with BR_LEARNING

Signed-off-by: Jonas Eymann <j.eymann@gmx.net>

SVN-Revision: 39955
10 years ago
John Crispin 4835ea949f ralink: add missing OF node
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39950
10 years ago
John Crispin 332b94fbd5 ralink: refresh patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39949
10 years ago
Imre Kaloz 8a97da18e0 switch the am335x-evmsk to the new wlcore bindings
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39948
10 years ago
Imre Kaloz aabce5cf6a switch to the newer DT bindings for wl1xxx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39946
10 years ago
Zoltan Herpai 18ab115d89 sunxi: fix mmc support on sun4i
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39943
10 years ago
Felix Fietkau 2a5f6cadd1 target/sdk: strip host binaries before packing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39915
10 years ago
Felix Fietkau 8c9fed34e4 target/sdk: leave out some unnecessary directories
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39914
10 years ago
Felix Fietkau ee4110aff0 target/sdk: use .config instead of unconditionally enabling all build dirs
Call make defconfig on every build to catch newly added packages

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

SVN-Revision: 39913
10 years ago
Felix Fietkau fd27fb770d target/sdk: fix parallel build calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39912
10 years ago
Felix Fietkau 2d52430c25 target/sdk: remove obsolete make calls for the ancient package directory format
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39911
10 years ago
Hauke Mehrtens fbb5b8af8e kernel: fix 990-gpio_wdt.patch patch
This uses the correct include now.

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

SVN-Revision: 39906
10 years ago
Hauke Mehrtens 00dc53dd2e brcm47xx: add initial support for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39905
10 years ago
Hauke Mehrtens 128bb9f1a3 kernel: add missing config options for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39904
10 years ago
Florian Fainelli f664976483 kernel: backport ARM memset fixes for GCC 4.7/4.8
Now that GCC 4.8 is the default, make sure that we have the relevant
memset fixes to avoid nasty kernel crashes.

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

SVN-Revision: 39902
10 years ago
John Crispin 375e02ac3d ralink: add missing clk_set_rate()
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39896
10 years ago
Imre Kaloz 8411a5703f Add GW2385 support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39894
10 years ago
Imre Kaloz b85310df77 add GW2375 support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39893
10 years ago
Imre Kaloz 68022cac64 various dwc (OTG) driver fixups
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39892
10 years ago
Gabor Juhos 47dfbb5bc6 ar71xx: rb95x: use correct SPI flash address
The flash address passed to rb_init_info() is bogus,
use the predefined AR71XX_SPI_BASE macro instead.

Compile tested only.

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

SVN-Revision: 39891
10 years ago
Gabor Juhos 25e870eed6 ar71xx: ar934x_nfc: fix memory initialization bug
sizeof(array_from_function_definition) gives back the size of the pointer.
sizeof(type)  * array_size   should be used in memset.

Signed-off-by: David Völgyes <david.volgyes@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4950/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39890
10 years ago
Felix Fietkau cedfe135ab target/sdk: generate a Config.in file with the settings of the build that the SDK was generated from
This allows make oldconfig/menuconfig to run

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

SVN-Revision: 39864
10 years ago
Felix Fietkau 23df56c490 target/sdk: remove obsolete compatibility makefiles
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39863
10 years ago
Felix Fietkau 5ef90f6540 target/sdk: remove obsolete exclude line
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39861
10 years ago
Felix Fietkau d76f2d4d1c target/sdk: remove some unnecessary files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39859
10 years ago
Felix Fietkau ba3b720fe6 target/sdk: add support for building kernel module packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39858
10 years ago
Luka Perkov c8b116d930 kernel/generic: drop already upstreamed patch
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39855
10 years ago
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
10 years ago
Imre Kaloz 074af75668 add preliminary 3.14 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39789
10 years ago
John Crispin 96fa58bafd ralink: add support for wrtnode
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39786
10 years ago
Zoltan Herpai d100f80e7b sunxi: update 3.13 defconfig to include lradc driver
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39783
10 years ago
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
10 years ago
Zoltan Herpai 2c771cc71f kernel: add missing config symbols to 3.13
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39781
10 years ago
Zoltan Herpai 301baf34dd sunxi: deprecate 3.12 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39780
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Jonas Gorski 8ffe7e9d41 kernel: add missing config symbol to 3.13
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39745
10 years ago