Commit Graph

77 Commits

Author SHA1 Message Date
blogic 8e9f513aef ralink: disable wifi on DIR-810L and WHR-300HP2
both units have a lna/pna combo that the driver so far does not support

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 07:06:12 +00:00
blogic f6ae2c25f8 Lantiq: fix build warning from dsl_fs script
fix inclusion of functions.sh in dsl_fs init script

without this, the following error is seen during build:
./etc/init.d/dsl_fs: line 4: /lib/functions.sh: No such file or directory

Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>

Backport of r42575

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 18:35:05 +00:00
blogic 55576d0850 lantiq: fix switch init on vr9 SoC (3.10)
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r42544
Backport of r42551
Backport of r42574

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 18:35:00 +00:00
nbd 509e168418 ar71xx: ack completed tx descriptors only after the full frame has been completed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42457

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 15:14:05 +00:00
nbd 77b9180228 atheros: enable the low_mem flag to better deal with 16M RAM devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42460

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-10 13:50:53 +00:00
blogic 258ad8ea9d lantiq: add ath9k led pin support
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r42437

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 14:30:00 +00:00
nbd a2a0b9f4dd 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>

Backport of r42432

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-07 09:46:41 +00:00
nbd 50018dedf8 ar71xx: merge ethernet tx descriptor splitting from trunk (as of r42429) to fix ar716x performance issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-07 09:46:39 +00:00
nbd ae975c08ea 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>

Backport of r42400

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-02 17:12:34 +00:00
nbd 8f2da6ce6a sdk: keep $(STAGING_DIR)/usr/bin, at least curl needs it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42397

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 22:34:49 +00:00
blogic f8d4a15db9 ramips: fix switch config for Edimax 3G-6200n
Switch in Edimax 3G-6200n also require full switch reset, not only vlan definitions. Tested on Edimax 3G-6200n.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

Backport of r42194

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:14 +00:00
blogic b2a21b5f8b ramips: Hame: change LED name mpr-x -> hame
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

Backport of r42190

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:13 +00:00
blogic b24a61d6b7 add support for the NC-LINK SMART-300
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

Backport of r42130

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:12 +00:00
blogic bbb29ffa30 ralink: DIR-645 picks up incorrect MAC address in DTS file
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r42321

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:09 +00:00
blogic b402d2d109 ar71xx: add Support for RB2011UiAS-2HnD
Backport of r42317

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:04 +00:00
blogic 254a07f2ba 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>

Backport of r42316

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:02 +00:00
blogic 46ce4064e7 ralink: the mt7620 evb has a usb port
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r42293

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:01 +00:00
blogic 50dfc04853 ralink: fix mt7620 ohci 3.10
the ohci phy was not reset properly

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

Backport of r42290

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:00 +00:00
blogic 1c19687034 ralink: mt7620 has obchi/ehci and not dwc2
fix the default package selection

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

Backport of r42289

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:59 +00:00
blogic 895b47c8c9 ar71xx: use ETH_ALEN for consistency
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

Backport of r42280

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:56 +00:00
blogic d2534fef1c ar71xx: enable sysupgrade for the EnGenius ESR900
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

Backport of r42279

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:55 +00:00
blogic 72b713be1b 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>

Backport of r42277

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:52 +00:00
blogic 597d1e96f2 ramips: Add support for SPI_CS1 pinmux
This patch adds support for setting SPI_CS1 as Chip Select, Watchdog reset output and GPIO#27.

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

Backport of r41938

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:51 +00:00
blogic 854257b556 ramips: Add support for VoCore
This is based and tested on VoCore Alpha, but other stuff like status/eth LEDs are present on the final board revision + VoDock.
All GPIOs are exported, except spi/i2c.

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

Backport of r41939

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:49 +00:00
blogic 5b5d939ca3 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>

Backport of r42276

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:48 +00:00
blogic 045eb62852 brcm47xx: image: build alternative TRX using less optimized LZMA
There is a group of devices that lzma-loader doesn't work with. They
simply hang at "Starting program at 0x80001000" which is really hard to
debug and we didn't find any solution for this for years.

Broadcom doesn't use lzma-loader on these devices anyway. They decided
to drop lzma-loader and use less optimal LZMA compression that can be
handled by CFE itself (it doesn't use dictionary).

So support these devices we will need kernel compressed with different
parameters and trx without a loader.

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

Backport of r42205

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42371 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:42 +00:00
blogic d9f1656851 ramips: Add support for Omnima MiniPlug
This patch adds support for the Omnima MiniPlug RT5350 based board, 8MB SPI flash

Signed-off-by: Ivan Ignjatic<ivan@omnima.co.uk>

Backport of r42200

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:40 +00:00
blogic 96b714042b ar71xx: TL-WR1043N/ND v2: Fix MAC address of WMAC
This sets the MAC address of the WLAN interface to the "official" primary MAC
address (the one on the label under the devices, and the one used with the stock
firmware). The MAC address used so far (primary-1) isn't even used at all with
the stock firmware, which sets (primary) on LAN and WLAN and (primary+1) on the
WAN interface (like OpenWrt does with this patch).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

Backport of r42193

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:34 +00:00
blogic 985bcd3c60 ralink: clean up HAME profiles, remove unnecessary packages.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

Backport of r42192

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:32 +00:00
blogic e9edbffe92 ramips: add mpr-a1 to default profile
Add hame mpr-a1 to default ramips profile.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

Backport of r42191

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:31 +00:00
blogic c7396c35b3 ar71xx: build factory image for EnGenius ESR900 and ESR1750
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

Backport of r42189

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:29 +00:00
blogic 7e5a3393fc ar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 board
The OpenMesh MR600(v1) can only enable the 2.4G WiFi PHY LED through the
mini-PCIe device. Not configuring the LED pin inside the platform data
makes it impossible to configure it through any standard OpenWrt tool.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

Backport of r42184

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:27 +00:00
blogic acf73bf4fd lantiq: generate unique ARV7519RW22 firmware
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Backport of r42183

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:25 +00:00
blogic de72f0b09e lantiq: add support for xrx200 firmware depending on soc type
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Backport of r42182

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:23 +00:00
blogic bc823a56f4 lantiq: export soc type
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

Backport of r42181

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:21 +00:00
blogic 0519ad0096 lantiq: improve ARV7519RW22 support
- use full board name
- rename uboot-env partition
- add dsl_fw partition
- remove unneeded pinmux groups
- move gigabit ethernet to LAN
- load mac address from mtd

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

Backport of r42180

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:19 +00:00
blogic 24ea6b6123 ramips: add a workaround to fix failsafe on RT5350
Due to TCP connections not working when VLAN is disabled, this is
needed to get failsafe functional.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

Backport of r42179

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:17 +00:00
blogic 5fb13aeeb7 ramips: enable additional GPIOs on HAME MPR-A1
According to the pcb tracing results[1] by anton.rad[2] MPR-A1s expose
6 unused GPIOs, only one of them working as configured in the current
DTS. This patch enables GPIO22-26.

Tested on hardware.

[1] http://i.imgur.com/kHVW2Ox.jpg
[2] https://forum.openwrt.org/viewtopic.php?pid=222698#p222698

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

Backport of r42178

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:15 +00:00
blogic b9b30bccd1 ar71xx: changed the EnGenius ESR900 mtdparts to match that of the ESR1750 since they have the same flash layout
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

Backport of r42177

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:13 +00:00
nbd 62ae39645d imagebuilder: remove postinst files before generating image
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42339

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-31 11:06:48 +00:00
nbd 6a0fd4b166 target/toolchain: strip files, leave out the initial gcc
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42302

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-26 12:33:15 +00:00
florian 394af9ce72 ar7: backport r42168
Signed-off-by: Florian Fainelli <florian@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-16 17:35:13 +00:00
hauke a046135a4c BB: brcm47xx: image: update list of Netgear WNR* firmwares
backport of r42165

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-14 21:24:14 +00:00
hauke 033366e0b5 BB: brcm47xx: fix brcm47xx.legacy build
we should check for ssb here.

backport of r42164.

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-14 21:23:36 +00:00
jow e77adae70c BB: netfilter: consider reply direction on selective flushing
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42095

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-10 10:17:03 +00:00
jow 1508439010 BB: netfilter: support /proc conntrack flushing of specific ip addresses
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42092

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-10 09:21:19 +00:00
hauke 5cd22bc53d brcm47xx: fix reboot problem on BCM4705/BCM4785
This adds some code based on code from the Broadcom GPL tar to fix the
reboot problems on BCM4705/BCM4785. I tried rebooting my device for ~10
times and have never seen a problem. This reverts the changes in the
previous commit and adds the real fix as suggested by Rafał.

Setting bit 22 in Reg 22, sel 4 puts the BIU (Bus Interface Unit) into
async mode.

backport of: r42083

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 23:05:24 +00:00
nbd fa661bcf54 kernel: add a patch to allow disabling processing of the netfilter "filter" table for established connection packets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42046

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 19:31:18 +00:00
nbd 74ba76e43c kernel: improve ipv4 netfilter optimization patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42045

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 19:31:16 +00:00
blogic 79465bfe76 ralink: revert r37163
https://dev.openwrt.org/ticket/17071

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

Backport of r42036

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 12:42:26 +00:00