aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* sdk: predefine kernel version magicJohn Crispin2014-09-171-0/+1
| | | | | | | | | | | | | | | | | Kernel modules which are built using the SDK do not have access to the .vermagic file in the Linux build dir, therefore the generated .ipk metadata depends on kernel versions like '3.10.49-1-unknown' which are not satisfiable by the kernel meta package in the image. Fix this problem by substituting 'unknown' with the current version magic in include/kernel.mk when packing the SDK. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Backport of r42590 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42592 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: disable wifi on DIR-810L and WHR-300HP2John Crispin2014-09-172-0/+8
| | | | | | | | 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
* Lantiq: fix build warning from dsl_fs scriptJohn Crispin2014-09-161-1/+1
| | | | | | | | | | | | | 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
* lantiq: fix switch init on vr9 SoC (3.10)John Crispin2014-09-164-22/+21
| | | | | | | | | | 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
* ar71xx: ack completed tx descriptors only after the full frame has been ↵Felix Fietkau2014-09-111-10/+16
| | | | | | | | | | 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
* atheros: enable the low_mem flag to better deal with 16M RAM devicesFelix Fietkau2014-09-101-1/+1
| | | | | | | | 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
* lantiq: add ath9k led pin supportJohn Crispin2014-09-081-11/+16
| | | | | | | | 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
* ath79: dev-eth: Don't advertise 1gbit in link code word on ar9331Felix Fietkau2014-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ar71xx: merge ethernet tx descriptor splitting from trunk (as of r42429) to ↵Felix Fietkau2014-09-073-28/+110
| | | | | | | | 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
* cns3xxx: support isolated PCI interrupts on newer Laguna PCBsFelix Fietkau2014-09-021-0/+196
| | | | | | | | | | | | | | | | | | | 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
* sdk: keep $(STAGING_DIR)/usr/bin, at least curl needs itFelix Fietkau2014-09-011-2/+1
| | | | | | | | 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
* ramips: fix switch config for Edimax 3G-6200nJohn Crispin2014-09-011-1/+1
| | | | | | | | | | 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
* ramips: Hame: change LED name mpr-x -> hameJohn Crispin2014-09-014-8/+8
| | | | | | | | 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
* add support for the NC-LINK SMART-300John Crispin2014-09-0111-0/+212
| | | | | | | | 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
* ralink: DIR-645 picks up incorrect MAC address in DTS fileJohn Crispin2014-09-011-1/+1
| | | | | | | | 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
* ar71xx: add Support for RB2011UiAS-2HnDJohn Crispin2014-09-014-3/+34
| | | | | | Backport of r42317 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42387 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BTHOMEHUBV2B use bigger mtd partition for kernelJohn Crispin2014-09-011-2/+2
| | | | | | | | | | | | | | | | | | 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
* ralink: the mt7620 evb has a usb portJohn Crispin2014-09-011-0/+8
| | | | | | | | 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
* ralink: fix mt7620 ohci 3.10John Crispin2014-09-011-2/+3
| | | | | | | | | | 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
* ralink: mt7620 has obchi/ehci and not dwc2John Crispin2014-09-012-2/+2
| | | | | | | | | | 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
* ar71xx: use ETH_ALEN for consistencyJohn Crispin2014-09-011-3/+3
| | | | | | | | 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
* ar71xx: enable sysupgrade for the EnGenius ESR900John Crispin2014-09-011-0/+1
| | | | | | | | 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
* ramips: enable second SPI for VoCoreJohn Crispin2014-09-012-11/+11
| | | | | | | | | | 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
* ramips: Add support for SPI_CS1 pinmuxJohn Crispin2014-09-012-0/+37
| | | | | | | | | | 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
* ramips: Add support for VoCoreJohn Crispin2014-09-018-0/+256
| | | | | | | | | | | 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
* ramips: second spi device on rt5350John Crispin2014-09-013-2/+738
| | | | | | | | | | | | | | | | | | 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
* brcm47xx: image: build alternative TRX using less optimized LZMAJohn Crispin2014-09-011-0/+8
| | | | | | | | | | | | | | | | | | | 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
* ramips: Add support for Omnima MiniPlugJohn Crispin2014-09-015-0/+124
| | | | | | | | | | 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
* ar71xx: TL-WR1043N/ND v2: Fix MAC address of WMACJohn Crispin2014-09-011-3/+1
| | | | | | | | | | | | | | 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
* ralink: clean up HAME profiles, remove unnecessary packages.John Crispin2014-09-011-4/+2
| | | | | | | | 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
* ramips: add mpr-a1 to default profileJohn Crispin2014-09-011-0/+1
| | | | | | | | | | 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
* ar71xx: build factory image for EnGenius ESR900 and ESR1750John Crispin2014-09-011-1/+24
| | | | | | | | 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
* ar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 boardJohn Crispin2014-09-011-0/+1
| | | | | | | | | | | | 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
* lantiq: generate unique ARV7519RW22 firmwareJohn Crispin2014-09-015-40/+14
| | | | | | | | 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
* lantiq: add support for xrx200 firmware depending on soc typeJohn Crispin2014-09-011-0/+27
| | | | | | | | 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
* lantiq: export soc typeJohn Crispin2014-09-011-0/+25
| | | | | | | | 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
* lantiq: improve ARV7519RW22 supportJohn Crispin2014-09-012-34/+18
| | | | | | | | | | | | | | | - 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
* ramips: add a workaround to fix failsafe on RT5350John Crispin2014-09-011-1/+18
| | | | | | | | | | | 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
* ramips: enable additional GPIOs on HAME MPR-A1John Crispin2014-09-011-1/+4
| | | | | | | | | | | | | | | | | 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
* ar71xx: changed the EnGenius ESR900 mtdparts to match that of the ESR1750 ↵John Crispin2014-09-011-1/+1
| | | | | | | | | | 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
* imagebuilder: remove postinst files before generating imageFelix Fietkau2014-08-311-0/+1
| | | | | | | | 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
* target/toolchain: strip files, leave out the initial gccFelix Fietkau2014-08-261-0/+10
| | | | | | | | 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
* ar7: backport r42168Florian Fainelli2014-08-161-221/+0
| | | | | | | 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
* BB: brcm47xx: image: update list of Netgear WNR* firmwaresHauke Mehrtens2014-08-141-2/+6
| | | | | | | | | 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
* BB: brcm47xx: fix brcm47xx.legacy buildHauke Mehrtens2014-08-141-2/+2
| | | | | | | | | | | 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
* BB: netfilter: consider reply direction on selective flushingJo-Philipp Wich2014-08-101-6/+9
| | | | | | | | 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
* BB: netfilter: support /proc conntrack flushing of specific ip addressesJo-Philipp Wich2014-08-101-10/+47
| | | | | | | | 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
* brcm47xx: fix reboot problem on BCM4705/BCM4785Hauke Mehrtens2014-08-085-15/+38
| | | | | | | | | | | | | | | | | 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
* kernel: add a patch to allow disabling processing of the netfilter "filter" ↵Felix Fietkau2014-08-071-0/+87
| | | | | | | | | | 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
* kernel: improve ipv4 netfilter optimization patchFelix Fietkau2014-08-071-12/+14
| | | | | | | | 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