Commit graph

11722 commits

Author SHA1 Message Date
Zoltan Herpai
18ab115d89 sunxi: fix mmc support on sun4i
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39943
2014-03-17 22:32:42 +00:00
Felix Fietkau
2a5f6cadd1 target/sdk: strip host binaries before packing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39915
2014-03-13 14:14:00 +00:00
Felix Fietkau
8c9fed34e4 target/sdk: leave out some unnecessary directories
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39914
2014-03-13 14:13:57 +00:00
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
2014-03-13 12:12:58 +00:00
Felix Fietkau
fd27fb770d target/sdk: fix parallel build calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39912
2014-03-13 12:12:50 +00:00
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
2014-03-13 12:12:46 +00:00
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
2014-03-12 23:29:42 +00:00
Hauke Mehrtens
00dc53dd2e brcm47xx: add initial support for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39905
2014-03-12 23:28:41 +00:00
Hauke Mehrtens
128bb9f1a3 kernel: add missing config options for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39904
2014-03-12 23:16:27 +00:00
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
2014-03-12 22:08:59 +00:00
John Crispin
375e02ac3d ralink: add missing clk_set_rate()
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39896
2014-03-12 19:33:01 +00:00
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
2014-03-12 13:40:13 +00:00
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
2014-03-12 13:39:06 +00:00
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
2014-03-12 13:37:40 +00:00
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
2014-03-12 12:52:39 +00:00
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
2014-03-12 12:52:36 +00:00
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
2014-03-10 18:58:49 +00:00
Felix Fietkau
23df56c490 target/sdk: remove obsolete compatibility makefiles
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39863
2014-03-10 18:58:44 +00:00
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
Gabor Juhos
14d95026b2 ar71xx: rb91x: add SPI device for the serial shift register
The RB91x boards are using a serial shift register
connected to the SPI bus to drive some of the LEDs.

Rework the board setup code to register a SPI device
for that. This makes it possible to use the 'spi-74x164'
driver to control the device.

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

SVN-Revision: 39703
2014-02-23 08:11:52 +00:00
Gabor Juhos
7b89005f0d ar71xx/mikrotik: enable the 74x164 GPIO driver
That will be used to drive the 74HC595 serial-in/parallel-out
8-bits shift register which can be found on some RouterBOARDs.

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

SVN-Revision: 39702
2014-02-23 08:11:50 +00:00
Gabor Juhos
5f224ef8a3 ar71xx: improve platform device support in the gpio-74x164 driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39701
2014-02-23 08:11:49 +00:00
Gabor Juhos
3d906ac6ac ar71xx: rb91x-nand: rewrite to use GPIO API
Rewrite tha rb91x-nand driver to use GPIO API to
modify the NAND control lines.

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

SVN-Revision: 39700
2014-02-23 07:19:32 +00:00
Gabor Juhos
8fea668cb7 ar71xx: rb91x: register a gpio-latch platform device
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39699
2014-02-22 18:05:32 +00:00
Gabor Juhos
da5caba072 ar71xx/mikrotik: enable the GPIO latch driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39698
2014-02-22 18:05:31 +00:00
Gabor Juhos
ab08c40487 ar71xx: add a generic GPIO latch driver
It will be used for the Mikrotik boards.

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

SVN-Revision: 39697
2014-02-22 18:05:29 +00:00
Gabor Juhos
be18a3849b ar71xx/mikrotik: enable small sector erase in the m25p80 driver
The serial flash devices used on the ROuterBOARDs are
supporting 4KiB erase blocks. Enable the small sector
erase option in the m25p80 driver to avoid superfluous
erase/write of adjacent blocks.

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

SVN-Revision: 39696
2014-02-22 16:26:55 +00:00
Gabor Juhos
b7539ab109 ar71xx: spi-ath79: fix initial GPIO CS line setup
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39695
2014-02-22 16:17:28 +00:00
Gabor Juhos
3e6c7ed4f2 ar71xx: refresh unaligned access hacks patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39694
2014-02-22 16:17:27 +00:00
Nicolas Thill
86f5a9cf78 target/sunxi: add dependency on sunxi to kmod-wdt-sunxi
SVN-Revision: 39693
2014-02-22 15:51:11 +00:00
Felix Fietkau
7a8f13f33c gianfar: Fix reported number of sent bytes to BQL
This is a backported patch for the gianfar ethernet driver
used in TPLink 4900 v1. It is supposed to fix the error which
show up in dmesg with:
NETDEV WATCHDOG: eth0 (fsl-gianfar): transmit queue xy timed out
Full upstream patch is at: http://patchwork.ozlabs.org/patch/271242

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>

SVN-Revision: 39692
2014-02-22 14:42:48 +00:00
Jonas Gorski
c1f397e1e1 b53: Make b53_switch_init static
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4869/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39683
2014-02-22 11:16:58 +00:00
Jonas Gorski
9eb60826f2 b53: Add BCM53128 switch support
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4867/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39682
2014-02-22 11:16:56 +00:00
Jonas Gorski
b8ed6534ca brcm63xx: fix RG100A/DB120 usb port number
Set usbh ports to 2 to fix #15007.

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

SVN-Revision: 39681
2014-02-22 11:16:52 +00:00
Jonas Gorski
4a2f87bce0 brcm63xx: fix number of usb ports for HW556 variants
Don't only fix up the fallback board, but also all three variants.

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

SVN-Revision: 39680
2014-02-22 11:16:50 +00:00
Jonas Gorski
ece12908a8 brcm63xx: add initial support for BCM963268BU_P300 reference board
Only netboot tested, so no images or now.
GbE ports are only working in FE mode, and leds do not work.

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

SVN-Revision: 39679
2014-02-22 11:16:48 +00:00
Jonas Gorski
f6c4b1eb29 brcm63xx: add VW6339GU support
Completely untested except for booting from network; wan port
only works in 10/HD, lan1 only in 100/FD.

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

SVN-Revision: 39678
2014-02-22 11:16:46 +00:00
Jonas Gorski
60edb75e47 brcm63xx: fix number of switch ports for BCM63168/63268
BCM63168 has 6 ports (3 FE PHY, 1 GE PHY, two RGMII) and BCM63268
has two additional RGMII ports, making it 8.
Fix this by checking the chip variant and applying an appropriate
limit.

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

SVN-Revision: 39677
2014-02-22 11:16:44 +00:00
Jonas Gorski
edbfb81b56 brcm63xx: F@ST2504n board support (image, base-files)
Signed-off-by: Max Staudt <openwrt.max@enpas.org>
Patchwork: http://patchwork.openwrt.org/patch/4730/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39676
2014-02-22 11:16:42 +00:00
Jonas Gorski
84dc1f1209 brcm63xx: F@ST2504n board support
Signed-off-by: Max Staudt <openwrt.max@enpas.org>
Patchwork: http://patchwork.openwrt.org/patch/4729/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39675
2014-02-22 11:16:40 +00:00
Jonas Gorski
ce655b93cd brcm63xx: add support for Asmax AR 1004g router
Support for Asmax AR 1004g router

Signed-off-by: Adrian Feliks <mexit@o2.pl>
Patchwork: http://patchwork.openwrt.org/patch/4464/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39674
2014-02-22 11:16:38 +00:00
Jonas Gorski
fa26229e8b brcm63xx: Add profile and build image for Sagemcom F@ST2704V2 ADSL router
This adds profile and build image for Sagemcom F@st2704, using b43
driver.
For WiFi to work properly BCMA fallback SPROM support patch must
be applied (http://git.io/z1Ki8A).

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4212/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39673
2014-02-22 11:16:35 +00:00
Jonas Gorski
fe37b14fca brcm63xx: Add userspace support for Sagemcom F@ST2704V2 ADSL router
This adds userspace support for Sagemcom F@st 2704 router.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4215/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39672
2014-02-22 11:16:33 +00:00
Jonas Gorski
f92b2a956b brcm63xx: Add kernel support for Sagemcom F@ST2704V2 ADSL router
This adds kernel support support for Sagemcom F@st 2704 wireless ADSL
router.
It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+
modem equipped with 64 MiB RAM and 8 MiB flash.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4266/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39671
2014-02-22 11:16:30 +00:00
Luka Perkov
223c6808ba imx6: update Ventana dts
Update the Ventana device-tree to match upstream:
 - Add IMX6Q/IMX6DL variants for GW54xx/GW53xx/GW52xx/GW51xx
 - align pinctrl with upstream
 - consolidate multiple patches into one

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

SVN-Revision: 39644
2014-02-20 17:26:10 +00:00
Luka Perkov
a52100469f imx6: enable IMX6 watchdog
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39643
2014-02-20 17:26:08 +00:00
Gabor Juhos
4e0309630b ar71xx: rb91x: fix pll_1000 value for eth0 to avoid packet loss
When the RB91x device uses a GbE link the connection
suffers from packet loss:

  root@OpenWrt:/# ping 192.168.1.254 -s 65507 -c 20 -q
  PING 192.168.1.254 (192.168.1.254): 65507 data bytes

  --- 192.168.1.254 ping statistics ---
  20 packets transmitted, 9 packets received, 55% packet loss
  round-trip min/avg/max = 4.570/4.815/4.999 ms

Using a different PLL value fixes the issue.

  root@OpenWrt:/# ping 192.168.1.254 -s 65507 -c 100 -q
  PING 192.168.1.254 (192.168.1.254): 65507 data bytes

  --- 192.168.1.254 ping statistics ---
  100 packets transmitted, 100 packets received, 0% packet loss
  round-trip min/avg/max = 4.449/5.413/13.870 ms

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

SVN-Revision: 39642
2014-02-20 17:07:56 +00:00
Gabor Juhos
d19b868b12 ar71xx: Add support for MikroTik RB951Ui-2HnD
I noticed that the patch at http://patchwork.openwrt.org/patch/4017/
for adding support for the MikroTik RouterBOARD 951Ui-2HnD had been
abandoned because it wasn't generated and sent to the mailing list
correctly and doesn't apply as a result.  I have cleaned up this patch.

When testing this on real hardware, I also noticed that wireless didn't
work, so this patch fixes that as well.

This patch applies cleanly to SVN 39392.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
Patchwork: http://patchwork.openwrt.org/patch/4773/
[juhosg:
  - drop the 'rb951ui_wlan_init' function and rework the code to
    use the recently introduced rb95x_wlan_init function instead,
  - fix GPIO number of the port5 LED,
  - rename LEDs according to the standard LED naming conventions,
    and use 'rb' prefix in the names]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39641
2014-02-20 17:07:51 +00:00
Gabor Juhos
ab6e3af7fc kernel/3.10: improve fq_codel hashing for 6in4 6to4 801.ad and IPIP cases
This is a backport of code to improve the quality of fq_codel
hashing for 3.10 for some encapsulated protocols.

Not needed in 3.11 and later.

Patch-by: Dave Taht <dave.taht@bufferbloat.net>
Patchwork: http://patchwork.openwrt.org/patch/4902/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39640
2014-02-20 17:07:44 +00:00
Luka Perkov
fcbfe67e2a imx6: drop upstream rejected patch
http://article.gmane.org/gmane.linux.drivers.i2c/17891

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39639
2014-02-20 14:01:28 +00:00
Gabor Juhos
f433088d50 ar71xx: add profile and build image for TP-Link TL-WDR4900 v2.0 board
Patch-by: TenNinjas <tenninjas@tenninjas.ca>
Patchwork: http://patchwork.openwrt.org/patch/4850/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39637
2014-02-19 12:15:35 +00:00