Commit Graph

10676 Commits (8ba4c7ce6e1fcf30b5f26eb3c657cf6038c9d371)

Author SHA1 Message Date
Gabor Juhos 8ba4c7ce6e ar71xx: fix ethernet device registration for the QCA9556 SoC
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 19:12:28 +00:00
Gabor Juhos caffade41b ar71xx: add kernel support for the QCA9556 SoC
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 19:12:26 +00:00
Gabor Juhos 251015ecee ar71xx: enable fast flash read on dual-flash devices
This improves flash read speed on various Buffalo units.

mtd_speedtest results on the WZR-HP-AG300H:

                          old         new        delta
eraseblock read speed:  726 KiB/s   2068 KiB/s   +184.85%
page read speed:        699 KiB/s   1973 KiB/s   +182.26%
2 page read speed:      711 KiB/s   2043 KiB/s   +187.34%

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 19:12:25 +00:00
Gabor Juhos 046963da3a kernel: update linux 3.7 to 3.7.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 18:29:45 +00:00
John Crispin 020ed6284b [kernel] fix mtd_mp25p80_add_gd25q32_gd25q64.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 11:06:57 +00:00
Florian Fainelli 9140ba77f8 [generic] Fix GigaDevice GD25Q32/GD25Q64 SPI Flash bad commit
Fix GigaDevice GD25Q32/GD25Q64 SPI Flash bad commit.

The patch was added to "linux/generic/patches-3.6" instead of
"target/linux/generic/patches-3.6".
I also fixed a missing patch space and refreshed generic patches.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 09:46:11 +00:00
Gabor Juhos 13a89e3e82 generic: fix build failure in MIPS kexec code if SMP is enabled
Fix it for older kernels as well.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 09:44:58 +00:00
Gabor Juhos 680983b95c ar71xx: add TP-LINK WA-801ND to run-time model detection
A small cosmetic fix to show the HW model name correctly in LuCI.

Patch-by: Amir Sagie <openwrt-devel@taproot.org.il>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 09:40:29 +00:00
Gabor Juhos 6c88e0f174 generic: fix build failure in MIPS kexec code if SMP is enabled
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 09:40:23 +00:00
John Crispin 7866042160 [ramips] fix for non-blinking LAN LEDs
https://dev.openwrt.org/ticket/12830

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 18:06:31 +00:00
John Crispin a26376e1bf [lantiq] dont load gptu on ase
fixes #12792

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:46:07 +00:00
John Crispin e2bc9a837c ramips: reset switch on single-port devices
Signed-off-by: Daniel Gole <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:44:41 +00:00
John Crispin d9ec668adb [lantiq] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:44:20 +00:00
John Crispin 1c3c233117 [lantiq] Fix ARV7518 USB
This patch correctly fixes USB on Lantiq ARV7518.
There was a failed attempt on fixing this on r35077 (https://dev.openwrt.org/changeset/35077/).

Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:43:35 +00:00
John Crispin 33fa22f868 [lantiq] Add ath9k eeprom and pci fixup support
Add ath9k eeprom and pci fixup support (again) for linux 3.7.

On linux 3.3, the fixup forced the regdomain to 0x67, causing low TX power.
This patch only corrects checksum, the rest of the EEPROM isn't changed.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:43:25 +00:00
John Crispin b2873fb2ed [lantiq] Add support for ARV4518PW R01 and rename R01A.
There are two different versions of SMC7908A-ISP: R01 and R01A.
R01 has an internal clock for PCI, meanwhile R01A has an external clock.

This fixes: https://dev.openwrt.org/ticket/12884

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:42:59 +00:00
Felix Fietkau dea091cae9 kernel: disable CONFIG_CRYPTO_MANAGER2, it is not needed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 23:23:39 +00:00
Hauke Mehrtens 298c890900 brcm47xx: load pps_core and ptp before tg3 to make the interface available for failsafe.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 21:48:28 +00:00
Hauke Mehrtens 2fe7bc5108 kernel: b53: the b53 spi driver depends on spi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 21:39:53 +00:00
Hauke Mehrtens fd67078b59 kernel: add packages for pps and ptp, they are needed by tg3 in kernel 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 21:18:52 +00:00
Felix Fietkau e5a9aebefa netfilter: add support for flushing conntrack via /proc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 19:02:38 +00:00
Felix Fietkau fb725311a7 kernel: clean up crypto kconfig options on 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 17:49:09 +00:00
Hauke Mehrtens 16d7ea5f38 kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8
These attributes where removed with kernel 3.8 and are now causing compile errors.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 17:48:48 +00:00
Felix Fietkau a35962e3b7 kernel: clean up crypto related kconfig options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 17:23:12 +00:00
Felix Fietkau 11bf268fbc ar71xx: disable support for unsupported mtd configuration, saves about 5K kernel size after lzma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 16:38:27 +00:00
Felix Fietkau 5bd3baeb9c kernel: prevent cryptomgr from pulling in useless extra dependencies for tests that are not run
Reduces kernel size after LZMA by about 5k on MIPS

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 16:21:08 +00:00
Hauke Mehrtens 230e8f294f brcm47xx: create image for Netgear WNDR3400 V1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 20:34:38 +00:00
Hauke Mehrtens 9a541435bb brcm47xx: add initial board detection code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 20:34:00 +00:00
Hauke Mehrtens 534f49b05c brcm47xx: add gpio to irq function again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 20:33:23 +00:00
Felix Fietkau 081d10c739 kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips
in combination with kernel symbol export stripping this significantly reduces
the kernel image size

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 16:26:13 +00:00
Gabor Juhos 1ccd35ab43 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 17:08:37 +00:00
Florian Fainelli e2a507a144 kernel: refresh 3.8 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 17:04:52 +00:00
Florian Fainelli 02fd592851 mvebu: update to 3.8-rc4
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 17:04:46 +00:00
Hauke Mehrtens 0751e95e38 kernel: add missing config options for 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 14:48:15 +00:00
Hauke Mehrtens 25ebb1738f brcm47xx: change generic profiles
The default profile now contains Ethernet drivers for all the types 
found on supported boards. There are other profiles for each Ethernet 
driver.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 14:38:10 +00:00
Felix Fietkau 2646983496 kernel: remove the cisco sip phone patch for 3.7 and 3.8 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 16:31:38 +00:00
Felix Fietkau 97fed15ad2 ar71xx: sync kernel sizes where possible to fix images for some devices (#12874)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 16:29:25 +00:00
Jonas Gorski a72a8da790 bcm63xx: switch to b53 and swconfig
Switch to using the B53 switch driver where appropriate.

Use a non-tagged default config where it isn't confirmed to be
working.

Remove the switch configuration in preinit as the switch will now
be configured by the driver  to use port isolation to prevent leakage
between lan and wan.

While at it, also provide a switch config for Neufbox 6.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 10:12:40 +00:00
Jonas Gorski 9cd6b274ba bcm63xx: expose the internal switch to b53
Allow b53 access to the internal switch of BCM6328, BCM6362 and BCM6368.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 10:12:37 +00:00
Jonas Gorski 793f269e52 generic: add b53 swconfig switch driver
Add swconfig switch driver for Broadcom BCM53XX switch chips. Supports
switches connected through MDIO, SPI or memory mapped registers, and
supports BCM5325, BCM539x, BCM531x5 and the BCM63XX internal switch
chips.

Tested are BCM5325 trough MDIO, BCM53115 through SPI, and BCM6328.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 10:12:33 +00:00
Jonas Gorski 4257876e46 bcm63xx: move bcm63xx-spi into the kernel
The SPI driver is needed for supporting to boot from SPI flash on BCM6358
and BCM6368, and for SPI connected switches.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 10:12:13 +00:00
Felix Fietkau 317f27c62f kernel: remove 340-module_alloc_size_check.patch from linux 3.8, it is not necessary anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 19:14:37 +00:00
Gabor Juhos c2aebc74ad ramips: add profile and build image for the Tenda 3G300M
Factory image should be used to flash from
original firmware.

[juhosg: use the GENERIC_4M template]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 17:05:07 +00:00
Gabor Juhos f788f62828 ramips: add user-space support for the Tenda 3G300M
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 17:05:06 +00:00
Gabor Juhos aa18b01e2e ramips: add kernel support for the Tenda 3G300M
Ralink RT3052F, 4MB flash, 32MB ram, one USB 2.0, two buttons
and seven leds.

Factory image should be used to flash from original firmware.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 17:05:03 +00:00
Gabor Juhos ad8cf9b39e ramips: use MkImage for Hauppauge Broadway, Netcore NW718 and Tenda W306R V2.0
These targets need custom image names specified in the uImage header.
MkImage accepts an optional 4th argument to do exactly that. Reuse the
facility to generate factory images.

Compile-tested, the generated files inspected with "file" utility.

[juhosg:
 - keep the factory.bin images to avoid users confusion,
 - use GENERIC_4M template for the W306R V2.0
 - update commit log]

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 15:36:13 +00:00
Gabor Juhos 12980972df ramips: allow to override image name/suffix in GENERIC_{4,8}M macros
Sysupgrade/KRuImage and BuildFirmware/Generic macros
are changed as well.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 15:36:11 +00:00
Gabor Juhos 473bbcc2c2 ramips: do not stop the build if some targets fail
This becomes crucial when you are using a generic profile to build an image
larger than 4M, e.g. for w502u.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 08:51:45 +00:00
Jonas Gorski aecebbaed2 generic: rtl8366_smi: only assign pvid if no pvid was set yet
Only assign a pvid if the current pvid is 0. Fixes using mixed tagged
and untagged traffic on a port and the untagged vlan isn't the last one
of which the port is a member.

Tested on RTL8366S and RTL8367R.

Fixes #8501.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 15:19:11 +00:00
Jo-Philipp Wich d8c155dfc9 all targets: use numerically prefixed uci-defaults file names to better control order of execution
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 12:42:53 +00:00