Commit graph

8127 commits

Author SHA1 Message Date
Jonas Gorski
f7df1eafc4 bcm63xx: enable bcm6368 for linux 3.3 and build images
Only build bcm6368 images when building for linux 3.3.

SVN-Revision: 31133
2012-03-28 20:42:37 +00:00
Jonas Gorski
c7ae2fccb6 bcm63xx: add initial support for bcm6368 boards
SVN-Revision: 31132
2012-03-28 20:42:34 +00:00
Jonas Gorski
68f268a5eb bcm63xx: add driver for the internal hw trng on bcm6368
SVN-Revision: 31131
2012-03-28 20:42:30 +00:00
Jonas Gorski
78fb818f7c bcm63xx: replace SPI driver with latest upstream version
SVN-Revision: 31130
2012-03-28 20:42:25 +00:00
Jonas Gorski
a2adca6ee9 bcm63xx: add ethernet support for bcm6368
Add basic support for the internal ethernet switch on bcm6368. It behaves
as a dumb switch for now, but allows basic connectivity.

Also drop the ethernet patch for bcm6345 for now, it needs rework.

SVN-Revision: 31129
2012-03-28 20:42:20 +00:00
Jonas Gorski
0876972850 bcm63xx: add missing bits from extirq support
Add missing external IRQ code parts for older chips in the new code.

SVN-Revision: 31128
2012-03-28 20:42:15 +00:00
Jonas Gorski
44d546290a bcm63xx: reorder patches
Reorder patches for a clearer distinction between the purposes of
the different patches.

SVN-Revision: 31127
2012-03-28 20:42:09 +00:00
Hauke Mehrtens
13b6ec1d05 brcm47xx: update flash drivers
SVN-Revision: 31126
2012-03-28 17:03:18 +00:00
Mirko Vogt
0ad9a02b9b Revert commit 31091 - "[target/xburst] remove set but unused variable which leads into compiling errors with GCC >= 4.6.0"
'set-but-unused-variable'-issues are dealt with in a generic way now

SVN-Revision: 31124
2012-03-28 15:28:21 +00:00
Mirko Vogt
b4508ce183 deal with 'set-but-unused-variables' in a more generic way
SVN-Revision: 31123
2012-03-28 15:28:13 +00:00
Hauke Mehrtens
2f6e19e203 brcm47xx: BCMA - Consolidate/reduce code in bcma_device_name
Eliminate unneeded procedure by incorporating code into bcma_device_name

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 31120
2012-03-28 09:36:50 +00:00
Hauke Mehrtens
a31a9b8650 brcm47xx: BCMA - Always map 4 bytes
This probably doesn't matter, but reads/writes are always 4 bytes, so always map 4 bytes.

Changes since v1: Moved changes to new patch file (234-bcma-always-map-4-bytes.patch).

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 31119
2012-03-28 09:35:01 +00:00
Gabor Juhos
b77217d963 ar71xx: boost SPI flash read performance
mtd_speedtest results:
                           page read speed
                    old         new        delta
DB120            929 KiB/s   2597 KiB/s   +179.55%
TL-WR1043ND v1   754 KiB/s   2166 KiB/s   +187.27%
TL-WR703N v1     745 KiB/s   2176 KiB/s   +192.08%
TL-MR3220 v1     752 KiB/s   2154 KiB/s   +186.44%
TL-WR2543ND v1   564 KiB/s   2130 KiB/s   +277.66%
TL-WR741ND v2    525 KiB/s   1767 KiB/s   +236.57%
ALFA-AP96        702 KiB/s   1977 KiB/s   +181.62%
WNDR3700         697 KiB/s   1965 KiB/s   +181.92%

SVN-Revision: 31118
2012-03-27 19:38:17 +00:00
Gabor Juhos
102c6df148 ar71xx: improve SPI flash read/write performance
mtd_speedtest results:

                        page write speed
                    old         new       delta
DB120            209 KiB/s   226 KiB/s     +8.13%
TL-WR1043ND v1   122 KiB/s   148 KiB/s    +21.31%
TL-WR703N v1     153 KiB/s   194 KiB/s    +26.80%
TL-MR3220 v1     130 KiB/s   156 KiB/s    +20.00%
TL-WR2543ND v1   158 KiB/s   202 KiB/s    +27.85%
TL-WR741ND v2    122 KiB/s   152 KiB/s    +24.59%
ALFA AP96        229 KiB/s   260 KiB/s    +13.54%
WNDR3700         202 KiB/s   223 KiB/s    +10.40%

                         page read speed
                    old        new       delta
DB120            691 KiB/s   929 KiB/s    +34.44%
TL-WR1043ND v1   372 KiB/s   754 KiB/s   +102.69%
TL-WR703N v1     375 KiB/s   745 KiB/s    +98.67%
TL-MR3220 v1     372 KiB/s   752 KiB/s   +102.15%
TL-WR2543ND v1   307 KiB/s   564 KiB/s    +83.71%
TL-WR741ND v2    315 KiB/s   525 KiB/s    +66.67%
ALFA AP96        515 KiB/s   702 KiB/s    +36.31%
WNDR3700         515 KiB/s   697 KiB/s    +35.34%

SVN-Revision: 31117
2012-03-27 19:38:15 +00:00
Gabor Juhos
6455178a6a ar71xx: image: build initramfs images for more boards
SVN-Revision: 31116
2012-03-27 19:38:13 +00:00
Gabor Juhos
e2bd975a2a ar71xx: image: add MkuImage{Gzip,Lzma}/initramfs helpers
SVN-Revision: 31115
2012-03-27 19:38:11 +00:00
Gabor Juhos
c7966a12b5 ar71xx: image: pass mtdlayout variables by value
SVN-Revision: 31114
2012-03-27 19:38:10 +00:00
Gabor Juhos
692e47f49f ar71xx: image: use MkuImageGzip in Image/Build/AthGzip/initramfs
SVN-Revision: 31113
2012-03-27 19:38:08 +00:00
Gabor Juhos
6cd5fb7001 ar71xx: remove the built-in MTD map of the AP96 board
Pass the mtd_layout via the kernel command line instead.

SVN-Revision: 31112
2012-03-27 19:38:07 +00:00
Gabor Juhos
61ee283899 ar71xx: remove the built-in MTD map of the PB92 board
Pass the mtd_layout via the kernel command line instead

SVN-Revision: 31111
2012-03-27 19:38:05 +00:00
Gabor Juhos
1094dc1996 ar71xx: remove the built-in MTD map of the Zcomax devices
Pass the mtd_layout via the kernel command line instead.

SVN-Revision: 31110
2012-03-27 19:38:04 +00:00
Gabor Juhos
24554ef187 ar71xx: reclaim the 'user_property' partition on WHR-* boards
SVN-Revision: 31109
2012-03-27 19:38:02 +00:00
Gabor Juhos
87e4ec687b ar71xx: remove the built-in MTD maps of several boards
We are passing the MTD layout via the kernel command line, so
it makes no sense to duplicate it in mach-* files. The patch
removes the built-in MTD maps of the following boards:

 * AP113
 * ALFA N2/N5
 * DIR-600
 * DIR-615
 * DIR-825
 * TEW-6{3,5}2BRP
 * TEW-673GRU
 * WHR-G301N
 * WHR-HP-GN
 * WHR-HP-G300N

SVN-Revision: 31108
2012-03-27 19:38:01 +00:00
Gabor Juhos
e6b685650b ar71xx: use modules for LED triggers
SVN-Revision: 31107
2012-03-27 19:37:59 +00:00
Gabor Juhos
e28cd648b7 ar71xx: disable CONFIG_{I2C,SPI}_GPIO
SVN-Revision: 31104
2012-03-27 19:37:53 +00:00
Gabor Juhos
6627f45a87 ar71xx: sync 3.3 config
SVN-Revision: 31103
2012-03-27 19:37:52 +00:00
Gabor Juhos
f4d1e3d147 ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4
SVN-Revision: 31102
2012-03-27 19:37:51 +00:00
Gabor Juhos
d495277d9f ramips: rt305x: build image for the DIR-615 rev D boards
Patch from #10105.

SVN-Revision: 31101
2012-03-27 19:29:59 +00:00
Gabor Juhos
e4e24c5512 ramips: rt305x: add add support for the Asus WL-330N board
[juhosg: reorder several lines in order to keep things sorted
alphabetically]

Signed-off-by: Frédéric Leroy <fredo@starox.org>

SVN-Revision: 31100
2012-03-27 19:29:57 +00:00
Florian Fainelli
af2c5df66a ppp: Fix high softirq utilization with pppoa
Users of the Geos platform are reporting high CPU utilization.
This seems to be rooted in a problem with the TX queue restart in PPP.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 31096
2012-03-27 17:47:44 +00:00
Florian Fainelli
8de1475a27 add missing INET_UDP_DIAG symbol
SVN-Revision: 31095
2012-03-27 17:47:41 +00:00
Florian Fainelli
60e195d399 geos: add 'tc' and kmod-sched for bonding
The Geos2 includes 2 ADSL+ interfaces, and as such it needs to have the TEQL scheduler for bonding.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 31094
2012-03-27 17:47:37 +00:00
Hauke Mehrtens
a5abb08100 brcm47xx: update sprom patches like they are in the mainline kernel
SVN-Revision: 31093
2012-03-27 17:07:28 +00:00
Mirko Vogt
ed8902d686 remove set but unused variable which leads into compiling errors with GCC >= 4.6.0
SVN-Revision: 31091
2012-03-27 16:29:19 +00:00
Hauke Mehrtens
6fd915ba37 brcm47xx: update usb driver to the version send for mainline kernel integartion
SVN-Revision: 31089
2012-03-27 15:38:56 +00:00
Felix Fietkau
5f799a0e97 ath9k: make endian check optional
Turns out it triggers on some AR71xx devices where no swapping should be done.
Enable endian check for the lantiq target.

SVN-Revision: 31084
2012-03-27 13:21:53 +00:00
John Crispin
b982e8166b cleanup atheros wifi handling
Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31064
2012-03-25 08:50:38 +00:00
John Crispin
5ea100c39b cleanup image makefile
SVN-Revision: 31063
2012-03-25 08:50:32 +00:00
John Crispin
f27c030141 update /etc/uci-defaults/*
SVN-Revision: 31062
2012-03-25 08:50:30 +00:00
John Crispin
ba4a7fca7b update profiles
SVN-Revision: 31061
2012-03-25 08:50:27 +00:00
John Crispin
0f6a9d5c7c bump kernel to 3.2.12
SVN-Revision: 31060
2012-03-25 08:50:09 +00:00
John Crispin
f35b9a9a4c fixes breakage introduced in 776722ce36ac95877efb7fd771dde2f6ffc96433
SVN-Revision: 31054
2012-03-22 13:07:34 +00:00
Jens Muecke
1d2b19c4bf Disable keyboard for x86 default config - revoke patch 30966
This was already fixed by commit 30309 and is part of generic x86 target.

SVN-Revision: 31052
2012-03-21 19:10:02 +00:00
Gabor Juhos
ff5b7ef713 linux: refresh patches against 3.3
SVN-Revision: 31047
2012-03-20 15:55:07 +00:00
Gabor Juhos
32e4801fb0 linux/3.{2,3}: yet another missing NET_VENDOR symbol
SVN-Revision: 31045
2012-03-20 15:55:04 +00:00
Gabor Juhos
c8bf90d414 ar71xx: fix IRQ number for the AR7240 OHCI controller
SVN-Revision: 31044
2012-03-20 15:02:48 +00:00
Jo-Philipp Wich
bf96743548 base-files: gracefully handle empty variables in preinit (#11155)
SVN-Revision: 31030
2012-03-19 20:37:12 +00:00
Gabor Juhos
c1dc6df8bd kernel: update linux 3.2 to 3.2.12
SVN-Revision: 31028
2012-03-19 18:23:31 +00:00
Gabor Juhos
f86e412389 ar71xx: disable unused file system drivers in the nand subtarget
SVN-Revision: 31027
2012-03-19 15:57:07 +00:00
Gabor Juhos
b50cfe077c ar71xx: sync kernel configs
SVN-Revision: 31026
2012-03-19 15:57:06 +00:00
Gabor Juhos
8a2e4b49de ar71xx: add initial support for RB750GL
SVN-Revision: 31025
2012-03-19 15:57:04 +00:00
Gabor Juhos
d19f3dd512 ar71xx: make rb750_latch_change 'static void'
SVN-Revision: 31024
2012-03-19 15:57:03 +00:00
Gabor Juhos
5348f46c80 ar71xx: add latch_change field to rb750_led_platform_data
SVN-Revision: 31023
2012-03-19 15:57:01 +00:00
Gabor Juhos
8a471efe01 ar71xx: add platform data for the RB750 NAND driver
SVN-Revision: 31022
2012-03-19 15:56:59 +00:00
Imre Kaloz
cb41fa7655 upgrade to 3.2, disable ppp by default until we figure out why ppp_generic breaks bootup
SVN-Revision: 31020
2012-03-19 11:27:34 +00:00
Imre Kaloz
3fd38d99f2 add missing Kconfig symbols
SVN-Revision: 31019
2012-03-19 11:26:15 +00:00
Gabor Juhos
e89df99083 ar71xx: use a different pll value on DB120
SVN-Revision: 31018
2012-03-19 11:11:22 +00:00
Gabor Juhos
e9b45ebaba ar71xx: add AR934x specific interface speed setup for ge0
SVN-Revision: 31017
2012-03-19 11:11:20 +00:00
Gabor Juhos
6028889727 ar71xx: remove static MTD maps from AP121/DB120 boards
SVN-Revision: 31016
2012-03-19 11:11:19 +00:00
Felix Fietkau
db6e326c56 targets: replace madwifi in profiles with ath5k, madwifi is unmaintained
SVN-Revision: 31015
2012-03-19 09:58:13 +00:00
Gabor Juhos
6ac12fbb3c ar71xx: use AR8327 on the DB120 board
SVN-Revision: 31012
2012-03-18 22:06:58 +00:00
Gabor Juhos
faf82f3e10 generic: ar8216: add support for the AR8327 chip
SVN-Revision: 31011
2012-03-18 22:06:55 +00:00
Gabor Juhos
fa7a83df4b generic: ar8216: allow to use more ports
SVN-Revision: 31010
2012-03-18 22:06:51 +00:00
Gabor Juhos
2ddbcb98ee generic: ar8216: reorder chip specific functions
SVN-Revision: 31009
2012-03-18 22:06:48 +00:00
Gabor Juhos
552cffd97a generic: ar8216: reorder switch_dev specific functions
SVN-Revision: 31008
2012-03-18 22:06:45 +00:00
Gabor Juhos
71e356029e generic: ar8216: use ar8216_sw_ prefix for switchdev related functions
SVN-Revision: 31007
2012-03-18 22:06:42 +00:00
Gabor Juhos
9a01936724 generic: ar8216: use switch_dev->ports in for loops
SVN-Revision: 31006
2012-03-18 22:06:40 +00:00
Gabor Juhos
2ce9e4753c generic: ar8216: add read_port_status field to ar8xxx_chip
SVN-Revision: 31005
2012-03-18 22:06:39 +00:00
Gabor Juhos
01cad79e03 generic: ar8216: add init_globals field to ar8xxx_chip
SVN-Revision: 31004
2012-03-18 22:06:36 +00:00
Gabor Juhos
56cacb3b21 generic: ar8216: add caps field to ar8xxx_chip
SVN-Revision: 31003
2012-03-18 22:06:33 +00:00
Gabor Juhos
d1c585d4b1 generic: ar8216: add vtu_load_vlan field to ar8xxx_chip
SVN-Revision: 31002
2012-03-18 22:06:30 +00:00
Gabor Juhos
332310fba2 generic: ar8216: add vtu_flush field to ar8xxx_chip
SVN-Revision: 31001
2012-03-18 22:06:26 +00:00
Gabor Juhos
d964410cbc generic: ar8216: add init_port field to ar8xxx_chip
SVN-Revision: 31000
2012-03-18 22:06:23 +00:00
Gabor Juhos
006b3b846e generic: ar8216: add setup_port field to ar8xxx_chip
SVN-Revision: 30999
2012-03-18 22:06:19 +00:00
Gabor Juhos
eb5f0067b6 generic: ar8216: add hw_init field to ar8xxx_chip
SVN-Revision: 30998
2012-03-18 22:06:15 +00:00
Gabor Juhos
a8371ad566 generic: ar8216: add a separate structure for chip specific stuff
Also add a hw_init function into that.

SVN-Revision: 30997
2012-03-18 22:06:12 +00:00
Gabor Juhos
d18133b32d generic: ar8216: rename chip field of struct ar8216
SVN-Revision: 30996
2012-03-18 22:06:08 +00:00
Gabor Juhos
6e143e467f generic: ar8216: move ar8216_id_chip function
Also remove the inline annotation.

SVN-Revision: 30995
2012-03-18 22:06:05 +00:00
Gabor Juhos
1c99979b2c generic: ar8216: rename ar8216_ops to ar8216_sw_ops
SVN-Revision: 30994
2012-03-18 22:06:03 +00:00
Jo-Philipp Wich
884f964e62 alix2: add require crypto kmods (#10410)
SVN-Revision: 30980
2012-03-18 18:56:02 +00:00
Gabor Juhos
36e9a33df7 cns21xx: build uImage for the NS-K330
SVN-Revision: 30974
2012-03-18 12:07:56 +00:00
Gabor Juhos
89babcf633 cns21xx: remove 2.6.3x support
SVN-Revision: 30973
2012-03-18 12:07:51 +00:00
Gabor Juhos
776172531f cns21xx: switch to 3.2.9
SVN-Revision: 30972
2012-03-18 12:07:50 +00:00
Gabor Juhos
6dbe40f7d4 cns21xx: add support for 3.2
SVN-Revision: 30971
2012-03-18 12:07:48 +00:00
Jens Muecke
deac1c16a1 Enable keyboard for x86
This is required for qemu like descripted in
here http://wiki.openwrt.org/doc/howto/qemu

SVN-Revision: 30966
2012-03-17 21:32:08 +00:00
Felix Fietkau
7b609a31be kernel: improve profiling support, keep static symbols when profiling is enabled
SVN-Revision: 30964
2012-03-17 13:03:14 +00:00
Florian Fainelli
9b60eb478a remove support for old kernels
SVN-Revision: 30963
2012-03-17 11:55:59 +00:00
Florian Fainelli
a2a18fe1ea switch to 3.2
SVN-Revision: 30962
2012-03-17 11:55:56 +00:00
Florian Fainelli
6e2c0fbe9f add support for 3.2
SVN-Revision: 30961
2012-03-17 11:55:53 +00:00
Florian Fainelli
9ef8de0e0a add some more missing symbols
SVN-Revision: 30960
2012-03-17 11:55:49 +00:00
Gabor Juhos
f601339e79 ar71xx: add profile and generate image for the JA76PF2 board
SVN-Revision: 30958
2012-03-16 18:00:40 +00:00
Gabor Juhos
6036151187 ar71xx: add support for the jjPlus JA76PF2 board
SVN-Revision: 30957
2012-03-16 18:00:34 +00:00
Gabor Juhos
a680662391 ar71xx: change LED name prefix on the jjplus boards
SVN-Revision: 30956
2012-03-16 18:00:26 +00:00
Gabor Juhos
90279757bb mpc52xx: switch to 3.2.9
SVN-Revision: 30955
2012-03-16 15:35:00 +00:00
Felix Fietkau
dd0f928b14 kernel: optimize out remaining netfilter hooks in the bridging code if bridge filtering is disabled
SVN-Revision: 30954
2012-03-16 09:21:59 +00:00
Felix Fietkau
b957208807 swconfig: use a mutex instead of a spinlock, many swconfig calls sleep
SVN-Revision: 30952
2012-03-15 19:32:31 +00:00
Felix Fietkau
404a4c1fcd ar8216: fix a MTU related regression
Switch reset on AR8316 appears to clobber the MTU configuration register
and possibly other global config registers. Move global configuration
register init writes back to the reset callback.

SVN-Revision: 30951
2012-03-15 16:57:27 +00:00
Gabor Juhos
c00b53f3d0 ar71xx: move micrel PHY driver to the generic linux target
SVN-Revision: 30946
2012-03-15 09:25:53 +00:00
Gabor Juhos
0011804302 linux/3.3: build mdio_register_board_info into the kernel if PHYLIB is selected
SVN-Revision: 30945
2012-03-15 09:25:49 +00:00
Gabor Juhos
eb096bca59 linux/3.2: build mdio_register_board_info into the kernel if PHYLIB is selected
SVN-Revision: 30944
2012-03-15 09:25:47 +00:00