Commit graph

8401 commits

Author SHA1 Message Date
Florian Fainelli
7b12e9e49c backport spi message queue infrastructure
SVN-Revision: 32077
2012-06-06 13:31:30 +00:00
Florian Fainelli
4112094dbb increase led number in patch 301-led_count.patch
So that board patches are only touching board-related code

SVN-Revision: 32076
2012-06-06 13:31:24 +00:00
John Crispin
95e69ac4f1 clean up generic image building
SVN-Revision: 32065
2012-06-05 17:49:42 +00:00
Florian Fainelli
9a61b249c5 fix board patches so that new boards are withing appropriate ifdef
Some new board definitions were added within the #ifdef CONFIG_CPU_6338
section while some other were added within #ifdef CONFIG_CPU_6345, fix this

SVN-Revision: 32060
2012-06-05 13:40:41 +00:00
Florian Fainelli
5ec2209734 refresh generic patches
SVN-Revision: 32059
2012-06-05 13:40:38 +00:00
Florian Fainelli
36c99bcc42 fix bisectability of patch 303-spi-board-info.patch
It uses spi_register_board_info() from linux/spi/spi.h but does not include it
explicitely.

SVN-Revision: 32058
2012-06-05 13:40:35 +00:00
John Crispin
a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
Luka Perkov
605012ad5d kirkwood: reorganize target
SVN-Revision: 32053
2012-06-05 00:43:56 +00:00
Luka Perkov
7f00e5ffc6 uboot-envtools: update to 2012.04.01
SVN-Revision: 32051
2012-06-04 21:55:49 +00:00
Jonas Gorski
ffea8eb913 bcm63xx: fix ethernet on 96328avng and 963281TAN
The internal switch did not get registered.

SVN-Revision: 32041
2012-06-04 08:35:25 +00:00
John Crispin
2b4ef2eafa adds unset Kbuild symbol
SVN-Revision: 32026
2012-06-02 14:03:32 +00:00
Gabor Juhos
f4b02b91ce malta: remove 3.2 patches
SVN-Revision: 32023
2012-06-02 12:06:28 +00:00
Gabor Juhos
c0c60f7bd3 malta: use common kernel config
SVN-Revision: 32022
2012-06-02 12:06:26 +00:00
Gabor Juhos
9375e83586 xburst: add missing config symbol
SVN-Revision: 32021
2012-06-02 12:06:15 +00:00
John Crispin
47ef62d1b8 adds patch to make Tantos (psb6970) switch buildable again
SVN-Revision: 32006
2012-05-30 17:41:28 +00:00
Jonas Gorski
3fc76fb781 bcm63xx: build images for 6328 reference boards with various flash sizes
Build images for 96328avng and 963281TAN (untested) for three different
flash sizes: 4MB, 8MB, and 16MB.

Known issues:
 * Button setup unknown, thus no fail-safe available.
 * All other BCM6328 and BCM63XX issues

SVN-Revision: 32004
2012-05-30 10:27:46 +00:00
Jonas Gorski
c454ba3657 bcm63xx: readd accidentially dropped network config for SPW303V
SVN-Revision: 32003
2012-05-30 10:27:42 +00:00
Gabor Juhos
9e02593b70 generic: ar8216: add revision specific PHY fixups for AR8327
SVN-Revision: 32000
2012-05-29 16:39:27 +00:00
Gabor Juhos
0d241e6670 generic: ar8216: replace chip_type field with chip_{ver,rev} in ar8216_priv
SVN-Revision: 31999
2012-05-29 16:39:26 +00:00
Gabor Juhos
b2fce19a70 generic: ar8216: add chip_is_ar8{216,236,316,327} helpers
SVN-Revision: 31998
2012-05-29 16:39:24 +00:00
Gabor Juhos
cd7ab1d30b ar71xx: add default LED setup for the DB120 board
SVN-Revision: 31997
2012-05-29 16:39:23 +00:00
Gabor Juhos
29a579e43a cns21xx: use the generic uci-default functions for initial LED setup
SVN-Revision: 31996
2012-05-29 16:39:22 +00:00
Gabor Juhos
ff74305623 lantiq: use the generic uci-default functions for initial LED setup
SVN-Revision: 31995
2012-05-29 16:39:21 +00:00
Gabor Juhos
c81c6516de kirkwood: use the generic uci-default functions for initial LED setup
SVN-Revision: 31994
2012-05-29 16:39:20 +00:00
Gabor Juhos
ffbb4f88a9 ramips: use the generic uci-default functions for initial LED setup
SVN-Revision: 31993
2012-05-29 16:39:18 +00:00
Gabor Juhos
4e40bdc190 ar71xx: use the generic uci-default functions for initial LED setup
SVN-Revision: 31992
2012-05-29 16:39:17 +00:00
Gabor Juhos
ba3ad24514 kirkwood: use uci-defaults to configure different boards
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31990
2012-05-29 16:39:15 +00:00
Gabor Juhos
c71838faa1 ramips: WAN LED for D-Link DIR-300-B1
Add led devices for D-Link DIR-300-B1 WAN LED.

Note that the GPIO state is also ANDed with the esw switch port 4
LED state, which is why I've set the amber LED to default-on.

Closes: https://dev.openwrt.org/ticket/11326

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

[ juhosg:
- fix comment style in mach-dir-300-revb.c,
- remove the PPP specific LED setup, not everyone uses a PPP connection
  on the WAN interface]

SVN-Revision: 31989
2012-05-29 16:39:03 +00:00
Felix Fietkau
a9cd8446f3 ar71xx: do not override the mdio clock for ar9330. the override value (obtained from an atheros driver) seems to break ethernet functionality
SVN-Revision: 31956
2012-05-28 20:39:50 +00:00
Felix Fietkau
367e4b3994 ar71xx: improve rx performance of the ethernet driver by using build_skb to deliver a cache-hot skb to the network stack
SVN-Revision: 31934
2012-05-28 02:55:59 +00:00
Felix Fietkau
8039a1bbb2 ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x
SVN-Revision: 31925
2012-05-27 21:02:41 +00:00
Felix Fietkau
f638414fdc kernel: fix suppressing -s for linking modules when profiling is enabled
SVN-Revision: 31924
2012-05-27 21:02:36 +00:00
Gabor Juhos
8865f0923e ar71xx: fix TL-WR1041 image size
SVN-Revision: 31923
2012-05-27 17:21:47 +00:00
Gabor Juhos
1c552ba8e5 ramips: rt3883: add device registration code for the SPI controller
SVN-Revision: 31922
2012-05-27 17:10:00 +00:00
Gabor Juhos
9c241983fc ramips: allow to use the SPI driver on RT3662/RT3883
SVN-Revision: 31921
2012-05-27 17:09:58 +00:00
Gabor Juhos
78a750dcce ramips: rt3883: fix GPIO reservation for the SPI pins
SVN-Revision: 31920
2012-05-27 17:09:56 +00:00
Gabor Juhos
0622fdd82c ramips: rt305x: remove superfluous controller_data assignment
SVN-Revision: 31919
2012-05-27 17:09:52 +00:00
Gabor Juhos
7f5bec0642 ramips: make rt2x00 firmware extraction quiet
SVN-Revision: 31918
2012-05-27 17:09:50 +00:00
Gabor Juhos
86dad96fd0 generic: rtl8367: rename a misnamed variable
SVN-Revision: 31917
2012-05-27 17:09:47 +00:00
Gabor Juhos
705d31203c generic: rtl8366_smi: remove duplicated spinlock initialization
SVN-Revision: 31916
2012-05-27 17:09:45 +00:00
Gabor Juhos
9217115687 generic: rtl8366_smi: rename debugfs Kconfig symbol
SVN-Revision: 31915
2012-05-27 17:09:43 +00:00
Gabor Juhos
466ef30173 generic: rtl8367: allow to use VLANs > 31
SVN-Revision: 31914
2012-05-27 17:09:41 +00:00
John Crispin
f567980d38 move files-3.3 -> files
SVN-Revision: 31912
2012-05-27 16:13:02 +00:00
John Crispin
8002770520 3.2 R.I.P.
SVN-Revision: 31911
2012-05-27 16:12:59 +00:00
John Crispin
81ddc886e1 dgn3500 support with eeprom loading from sysfs
WIFI eeprom:
As discussed, it is impossible for nand and spi flash platforms to have the eeprom data available from mtd. I suggested to load the eeprom from user-space. I've looked into regular firmware loading but this is only possible when using modules.  I've created a sysfs entry that allows reading and writing the eeprom data to the platform data. After loading the eeprom data I rely on pci-hotplug support to disable the bogus pci device and rescan the bus (with fixups and all). Because hotplug is not available, an init script is created that performs the copy from mtd to platform data. I think it is best to eventually move the sysfs functions to dev_wifi_athxk.c file, this would get rid of the external to the ath9k platform data.

SPI flash:
It seems that the spi-xway driver is not really working. It causes my kernel to crash in all sorts of ways. I added to bitbang SPI to be able to the calibration data mention above.
I've kept the original mtd partitioning that Netgear uses.

Buttons/LED:
Both buttons are working properly. Two leds are not enabled: The red internet led is connected to the pci_gnt1 pin... I can't disable it because then DMA stops working.
The green wifi led is connected to an unknown atheros gpio.

Signed-off-by: Pieter Voorthuijsen <p.voorthuijsen at gmail.com>

SVN-Revision: 31910
2012-05-27 16:02:22 +00:00
John Crispin
6e8fe84472 fixes zyxel p2601hnfx
moves the linux partition, removes the config partition and the
buttons settings have small adjustments.

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31909
2012-05-27 16:02:20 +00:00
John Crispin
3f2f50c681 Add basic configuration for new board ZTE H201L. Still missing are button and led gpio values.
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31908
2012-05-27 16:02:16 +00:00
Felix Fietkau
51bc47ce7c kernel: properly pad the allocated headroom in skb_cow to NET_SKB_PAD
SVN-Revision: 31906
2012-05-27 15:16:37 +00:00
Gabor Juhos
0b8c1c8dfb linux/3.2: R.I.P.
SVN-Revision: 31905
2012-05-27 15:01:37 +00:00
Gabor Juhos
20ba6d90e3 xburst: remove support for old kernels
SVN-Revision: 31904
2012-05-27 15:01:35 +00:00
Gabor Juhos
d043cb2c34 xburst: switch to 3.3 and add broken flag
SVN-Revision: 31903
2012-05-27 15:01:33 +00:00
Gabor Juhos
9a26e9f843 xburst: add support for 3.3
SVN-Revision: 31902
2012-05-27 15:01:32 +00:00
Gabor Juhos
9dd7a6d9e2 ppc44x: remove 3.2 support
SVN-Revision: 31901
2012-05-27 15:01:30 +00:00
Gabor Juhos
05d74942b1 ppx44x: switch to 3.3 and add broken flag
SVN-Revision: 31900
2012-05-27 15:01:28 +00:00
Gabor Juhos
9300e0496c ppc44x: add support for 3.3
Compile tested only.

SVN-Revision: 31899
2012-05-27 15:01:27 +00:00
Gabor Juhos
c50f1f7536 cobalt: switch to 3.3 and add broken flag
Compile tested only.

SVN-Revision: 31898
2012-05-27 15:01:26 +00:00
Gabor Juhos
471cf87ff0 ep93xx: remove 3.2 support
SVN-Revision: 31897
2012-05-27 15:01:24 +00:00
Gabor Juhos
400b9b5b87 ep93xx: switch to 3.3 and add broken flag
SVN-Revision: 31896
2012-05-27 15:01:23 +00:00
Gabor Juhos
7501f2364f ep93xx: add support for 3.3
Compile tested only.

SVN-Revision: 31895
2012-05-27 15:01:21 +00:00
Gabor Juhos
907e88a37f au1000: remove 3.2 support
SVN-Revision: 31894
2012-05-27 15:01:18 +00:00
Gabor Juhos
fbe10e73c6 au1000: switch to 3.3 and add broken flag
SVN-Revision: 31893
2012-05-27 15:01:17 +00:00
Gabor Juhos
e065d5cfbe au1000: add support for 3.3
Compile tested only.

SVN-Revision: 31892
2012-05-27 15:01:15 +00:00
Gabor Juhos
de4c4d35e1 linux/3.1: R.I.P.
SVN-Revision: 31891
2012-05-27 15:01:09 +00:00
Gabor Juhos
cead4b47ab omap24xx: remove 3.1 support
SVN-Revision: 31890
2012-05-27 15:01:07 +00:00
Gabor Juhos
7a4db11fbb omap24xx: switch to 3.3 and add broken flag
SVN-Revision: 31889
2012-05-27 15:01:05 +00:00
Gabor Juhos
d004168445 cns3xxx: remove 3.1 support
SVN-Revision: 31888
2012-05-27 15:01:03 +00:00
Gabor Juhos
6f2ca5da39 cns3xxx: switch to 3.3 and add broken flag
SVN-Revision: 31887
2012-05-27 15:01:02 +00:00
Felix Fietkau
6f89cffc9a kernel: add a few patches for avoiding unnecessary skb reallocations - significantly improves ethernet<->wireless performance with mac80211 based drivers
SVN-Revision: 31886
2012-05-27 14:43:58 +00:00
Jonas Gorski
ec7786c2ec bcm63xx: build images for DSL-274XB revision F1
Build images for D-Link DSL-274XB revision F1. Flashing
through original web UI as well as CFE works.

Known issues:
  * wifi led inverted (on when wifi is off and vice cersa)
  * same issues as generic bcm6328 support

SVN-Revision: 31885
2012-05-27 13:22:51 +00:00
Jonas Gorski
8aac009cc9 bcm63xx: add ath9k to atheros wifi profile
SVN-Revision: 31884
2012-05-27 13:22:48 +00:00
Jonas Gorski
4aa43122ab bcm63xx: enable bcm6328 support and required drivers
BCM6328 support is in a usable state, with the following issues

 * internal switch port not configurable
 * external phys not supported
 * broadcom wifis will probably not work correctly
 * and all other generic bcm63xx issues (so yes, still no ADSL)

SVN-Revision: 31883
2012-05-27 13:22:46 +00:00
Jonas Gorski
e5575fe335 bcm63xx: add support for DSL-274XB rev F1
SVN-Revision: 31882
2012-05-27 13:22:43 +00:00
Jonas Gorski
a7a82db16f bcm63xx: fix port state after network down
bcm_enetsw_probe did not properly reset port states, resulting in
connected ports staying disabled after bringing up the interface the
second time.

SVN-Revision: 31881
2012-05-27 13:22:40 +00:00
Jonas Gorski
e19ed52fd1 bcm63xx: add a fixup for ath9k devices
SVN-Revision: 31880
2012-05-27 13:22:37 +00:00
Jonas Gorski
e34018cc9e bcm63xx: add support for the HSSPI controller
Add support for the HSSPI controller found on bcm6328 and SPI attached
flash.

SVN-Revision: 31879
2012-05-27 13:22:33 +00:00
Jonas Gorski
099d5eec06 bcm63xx: add preliminary support for bcm6328
SVN-Revision: 31878
2012-05-27 13:22:29 +00:00
Jonas Gorski
7dbb132c88 bcm63xx: add flash type detection
SVN-Revision: 31877
2012-05-27 13:22:25 +00:00
Jonas Gorski
b0ffeb0021 bcm63xx: pad Speedport W303 V images to 4 MiB
Prevents CFE from flashing to the second image offset. Fix up the rootfs
length on first boot else CFE will complain.

SVN-Revision: 31876
2012-05-27 13:22:22 +00:00
Jonas Gorski
226b030e44 bcm63xx: add a default switch configuration for DSL-274XB
SVN-Revision: 31874
2012-05-27 13:22:17 +00:00
Jonas Gorski
db1ff5c6fa bcm63xx: setup network config through uci-defaults
SVN-Revision: 31873
2012-05-27 13:22:14 +00:00
Jonas Gorski
72b4fdecc9 bcm63xx: move the board name workaround to /lib/brcm63xx.sh
SVN-Revision: 31872
2012-05-27 13:22:11 +00:00
Jonas Gorski
dd37687de0 bcm63xx: use the exact board id as board identification string
No need to keep the bcm63xx/ at the start or the chipid info at the end.

SVN-Revision: 31871
2012-05-27 13:22:08 +00:00
Felix Fietkau
230c0eb2cb kernel: fix a warning in the connmark module
SVN-Revision: 31856
2012-05-24 18:25:08 +00:00
Gabor Juhos
2ae5581447 kernel: update linux 3.3 to 3.3.7
SVN-Revision: 31848
2012-05-23 21:05:32 +00:00
Gabor Juhos
c57409e79d ar71xx: fix an insignificant typo
Patch from #11485.

SVN-Revision: 31847
2012-05-23 21:05:30 +00:00
Gabor Juhos
013f434f5b ar71xx: fix WLAN led for RB751U-2HnD and RB751G-2HnD
Patch by Kamil Trzciński <ayufan@osk-net.pl>

SVN-Revision: 31846
2012-05-23 21:05:25 +00:00
Gabor Juhos
758f670376 ar71xx: add support for TP-Link TL-MR3040
Support for TP-Link TL-MR3040. Power LED not working - always on red, after
start should be green.

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

SVN-Revision: 31845
2012-05-23 21:05:24 +00:00
Gabor Juhos
e4720dfa95 ramips: Add byte queue limits support to net/ethernet/ramips_main.c
Add byte queue limits support to net/ethernet/ramips_main.c

"Byte queue limits are a mechanism to limit the size of the transmit
hardware queue on a NIC by number of bytes. The goal of these byte
limits is too reduce latency (HOL blocking) caused by excessive
queuing in hardware (aka buffer bloat) without sacrificing
throughput."

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 31844
2012-05-23 21:05:23 +00:00
Gabor Juhos
1d286fd755 ramips: Enable sysupgrade for Sitecom WL-351
Sysupgrade works just fine on my Sitecom WL-351 after adding this
oneliner.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 31843
2012-05-23 21:05:22 +00:00
Gabor Juhos
1e1c0a5405 linux/3.3: avoid recursive calling of mtd_writev in the block2mtd driver
Should fix #11513. Tested with the x86/generic squashfs image within a VM.

SVN-Revision: 31841
2012-05-23 21:05:19 +00:00
Felix Fietkau
9037c2ccc6 lantiq: allow platforms with rt2x00 to override the mac address without overriding eeprom, fixes bogus wlan mac address on arv4520
SVN-Revision: 31835
2012-05-20 21:58:03 +00:00
Felix Fietkau
ce59af117c kernel: merge a net-next fq_codel backlog handling fix
SVN-Revision: 31813
2012-05-18 22:12:15 +00:00
Gabor Juhos
02c2f449d7 omap24xx: add support for 3.3
Compile tested only.

SVN-Revision: 31810
2012-05-18 20:22:32 +00:00
Gabor Juhos
c2a2d59db5 cns3xxx: add support for 3.3
Compile tested only.

SVN-Revision: 31809
2012-05-18 20:10:53 +00:00
Gabor Juhos
1fd4bf270b linux/2.6.39: R.I.P.
SVN-Revision: 31808
2012-05-18 20:10:51 +00:00
Gabor Juhos
05c0d8b28e cns3xxx: sync kernel config
SVN-Revision: 31807
2012-05-18 20:10:48 +00:00
Gabor Juhos
9718f03e24 cns3xxx: remove 2.6.39 support
SVN-Revision: 31806
2012-05-18 20:10:46 +00:00
Gabor Juhos
9e78becbac cns3xxx: switch to 3.1
Compile tested only.

SVN-Revision: 31805
2012-05-18 20:10:44 +00:00
Gabor Juhos
07b5a3eea2 x86: remove support for old kernels
SVN-Revision: 31804
2012-05-18 20:10:42 +00:00
Gabor Juhos
604e3aac0a x86: remove subtarget specific LINUX_VERSION overrides
SVN-Revision: 31803
2012-05-18 20:10:38 +00:00