Gabor Juhos
86013d40d5
ar71xx: remove the built-in MTD map of the ALL0258N
...
Pass the mtd_layout via the kernel command line instead.
Also increase the kernel partition size to 1024k, so current kernel can fit in.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 32585
2012-07-03 15:24:01 +00:00
Florian Fainelli
4cdc4b1f36
refresh patches
...
SVN-Revision: 32581
2012-07-03 09:45:46 +00:00
Hauke Mehrtens
bd9fa13c73
kernel: ssb/bcma: update to version from wireless-testing tag master-2012-07-02
...
SVN-Revision: 32580
2012-07-02 23:12:58 +00:00
Florian Fainelli
52bae2d2bd
fix watchdog and rng drivers section mismatch ( #11767 )
...
SVN-Revision: 32522
2012-06-29 09:07:54 +00:00
Felix Fietkau
5570b76642
ar71xx: detect and enable MIPS DSP extensions, AR9344 supports them ( fixes #11762 )
...
SVN-Revision: 32520
2012-06-28 16:05:08 +00:00
Felix Fietkau
a5c684de26
kernel: switch openwrt default to TCP cubic from westwood (patch by Dave Täht)
...
Despite Westwood's theoretical advantages, in nearly
every benchmark we ran last year, TCP cubic won, whether it be
on correct RTT estimates, amount of buffering, responsiveness,
etc. on current hardware and software designs.
(both need timestamps on to work well, besides)
TCP cubic is better maintained and understood than westwood,
also.
While a scenario where westwood would win possibly exists,
there is too much buffering in the wifi stack in particular
at present, to see any improvement.
If you wish to exercise various TCPs under contention,
the current svn head of netperf (2.6) has options to switch
congestion control agorithms on the fly, as does iperf.
SVN-Revision: 32514
2012-06-27 22:32:47 +00:00
Florian Fainelli
1d7878a38b
fix SPI clock frequency selection
...
SVN-Revision: 32512
2012-06-27 22:14:50 +00:00
Felix Fietkau
41909c6568
kernel: add missing config symbol
...
SVN-Revision: 32498
2012-06-24 20:21:27 +00:00
Vasilis Tsiligiannis
eee358338c
ramips: mac address detection for Fonera 2.0n
...
Detect and apply MAC address of a Fonera 2.0n (ramips)
Signed-off-by: Malte Forkel <malte.forkel@berlin.de>
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 32490
2012-06-23 13:58:29 +00:00
Florian Fainelli
81e8757da4
provide an early ioremap cookie of the system configuration register
...
SVN-Revision: 32489
2012-06-23 11:03:50 +00:00
Florian Fainelli
98b2bc9189
group SYSDBG register defines in mcs814x.h
...
SVN-Revision: 32488
2012-06-23 11:03:45 +00:00
Florian Fainelli
a8965f0005
make hardware.h a forward inclusion of mcs814x.h
...
mach/hardware.h is soon to be removed by upstream kernel
SVN-Revision: 32487
2012-06-23 11:03:40 +00:00
Florian Fainelli
7c984552ed
remove platform specific initialization from ethernet driver
...
Hardware filtering must always be enabled as long as there is an Ethernet
device registered, and use device tree for setting the link activity and
buffer shifting enable/disable bit.
SVN-Revision: 32486
2012-06-23 11:03:35 +00:00
Florian Fainelli
2c47bbc199
regroup interrupt controller register definitions in hardware.h
...
SVN-Revision: 32485
2012-06-23 11:03:29 +00:00
Florian Fainelli
481c9faf20
remove handle_irq callback in board-mcs8140-dt.c
...
This should have been removed in r32470.
SVN-Revision: 32481
2012-06-21 12:20:47 +00:00
Florian Fainelli
4b33e0996e
fix USB led triggers
...
SVN-Revision: 32474
2012-06-20 21:58:00 +00:00
Florian Fainelli
a98c74164e
use generic uci defaults functions
...
SVN-Revision: 32473
2012-06-20 21:57:56 +00:00
Florian Fainelli
007fa4d638
remove uselss cache invalidations
...
SVN-Revision: 32472
2012-06-20 21:57:53 +00:00
Florian Fainelli
9a2367aa6d
improve ethernet driver debugging
...
SVN-Revision: 32471
2012-06-20 21:57:49 +00:00
Florian Fainelli
3b0dba382b
do not use MULTI_IRQ_HANDLER it is bogus on our platform
...
This caused stalls in the Ethernet DMA block, so until properly
written and sorted out, fallback to the assembly version instead.
SVN-Revision: 32470
2012-06-20 21:57:45 +00:00
Mirko Vogt
f45cd30543
verified to work - remove broken flag
...
SVN-Revision: 32469
2012-06-20 19:04:35 +00:00
Vasilis Tsiligiannis
1978c07539
Fix sysupgrade for squashfs, jffs2 and ext4 images
...
* use 'fsync' with 'dd' for image writing
* save config to boot partition
SVN-Revision: 32465
2012-06-19 22:36:53 +00:00
Florian Fainelli
f4afa00862
add Moschip MSC814x support
...
This target currently only supports Moschip's MCS8140 SoC, but support
for other chips in the same family (MCS8142, MCS8144) will be easy to add.
Target support is entirely using Device Tree for probing peripherals.
Drivers support include:
- PCI
- USB 1 & 2
- watchdog
- random number generator
- UART
- timer
- internal Ethernet PHY
- Ethernet MAC core
Support for the following boards is included using Device Tree
- Devolo dLAN USB Extender
- Tigal RBT-832
SVN-Revision: 32462
2012-06-19 14:48:56 +00:00
Gabor Juhos
7c87391c55
ar71xx: create profile and build image for the TL-WDR4300 board
...
SVN-Revision: 32461
2012-06-19 11:51:20 +00:00
Gabor Juhos
2d97a52045
ar71xx: add user space support for the TL-WDR4300
...
SVN-Revision: 32460
2012-06-19 11:51:18 +00:00
Gabor Juhos
8b9931fd27
ar71xx: add support for the TL-WDR4300 board
...
SVN-Revision: 32459
2012-06-19 11:51:17 +00:00
Gabor Juhos
e6a10d5cdd
ar71xx: refresh patches
...
SVN-Revision: 32458
2012-06-19 11:51:15 +00:00
Gabor Juhos
86c6543259
ar71xx: make AR8327 LEDs working on the DB120 board
...
SVN-Revision: 32457
2012-06-19 10:44:17 +00:00
Gabor Juhos
b934fa2f16
generic: ar8216: allow to configure AR8327 LEDs via platform data
...
SVN-Revision: 32456
2012-06-19 10:44:16 +00:00
Gabor Juhos
f509a87f2d
ar71xx: remove superfluous include of asm/mach-ath79/pci.h
...
SVN-Revision: 32455
2012-06-19 10:13:43 +00:00
Gabor Juhos
1a1121158f
ar71xx: add a common function to configure USB power GPIOs
...
SVN-Revision: 32454
2012-06-19 10:13:41 +00:00
Gabor Juhos
27fea0b6d7
ar71xx: correctly detect NETGEAR WNDRMAC
...
This patch helps properly detect a WNDRMAC device. Before this
patch the model is detected as "NETGEAR ?????????N".
Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
SVN-Revision: 32453
2012-06-19 10:13:38 +00:00
Gabor Juhos
ee9bc123fb
ar71xx: add USB LED support by default for WNDR3700/WNDR3800/WNDRMAC
...
This adds kmod-leds-wndr3700-usb package to a default build for
WNDR3700, WNDR3800 and WNDRMAC in order to support the green USB LED.
Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
SVN-Revision: 32452
2012-06-19 10:13:37 +00:00
Gabor Juhos
833b4af816
ramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA Router
...
This patch adds support for the Korean made Petatel PSR-680W Wireless CDMA Router.
The platform is based on Ralink RT3052.
http://wiki.openwrt.org/toh/petatel/psr-680w
Signed-off-by: Dmitry Shmygov <shmygov at rambler.ru>
SVN-Revision: 32450
2012-06-19 09:52:15 +00:00
Felix Fietkau
26cf21df02
ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)
...
SVN-Revision: 32447
2012-06-19 00:22:04 +00:00
Felix Fietkau
5d364d0ca1
ar71xx: add support for reading the MAC address from OTP ROM on AR933x
...
SVN-Revision: 32446
2012-06-19 00:21:58 +00:00
Jo-Philipp Wich
f06473f8ff
optimize kernel config for kvm_guest
...
This patch enables few extra kernel options for the kvm_guest subtarget:
- Tickless kernel to avoid timer ticks in idle guests, reduces CPU usage
- Enable paravirtualization steal time support
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 32436
2012-06-18 23:36:50 +00:00
Jo-Philipp Wich
cbac321164
remove inittab override
...
SVN-Revision: 32422
2012-06-18 11:50:37 +00:00
Florian Fainelli
b89c81929e
fix SPI message control handling for BCM6338/6348
...
BCM6338 and BCM6338 have their MSG_CONTROL register width of 8-bits instead of
16-bits. We were previously using a 16-bits write which corrupted the first
byte of the TX FIFO. Also the message type was always set to Full-duplex even
in the case of half-duplex messages.
SVN-Revision: 32409
2012-06-17 16:17:29 +00:00
Felix Fietkau
50958f5e03
kernel: replace the brcm47xx fuse workaround patches with a generic patch that applies to all mips targets
...
The dcache bug that it works around is a generic issue, not a brcm47xx cache quirk
SVN-Revision: 32395
2012-06-16 21:06:33 +00:00
Florian Fainelli
b391548cf0
remove broken flags
...
Thanks to Nicolas Le Falher for testing on Bifferboard.
SVN-Revision: 32389
2012-06-16 16:45:28 +00:00
Jo-Philipp Wich
e3663ff907
use ttyS0 @ 115200 baud as default for KVM guests
...
SVN-Revision: 32384
2012-06-15 12:59:49 +00:00
Luka Perkov
1c80d9f21d
kirkwood: fix typo in uci-defaults/leds
...
Signed-off-by: Martin Mueller <mm@sig21.net>
SVN-Revision: 32343
2012-06-13 18:41:42 +00:00
Felix Fietkau
dddf321b6e
ar71xx: swap the PHY address of the ethernet port of TL-MR3040/TL-MR11U similar to TL-MR3020 to fix ethernet link detection
...
SVN-Revision: 32336
2012-06-13 12:54:22 +00:00
Jonas Gorski
f2271efc4e
bcm63xx: readd accidentially dropped ignore_oc in ehci driver
...
fixes overcurrent warning spam on 3.3 kernels for bcm63xx again.
SVN-Revision: 32221
2012-06-11 22:24:58 +00:00
Felix Fietkau
7cb42738e6
package/index: filter out the libc package from the index
...
SVN-Revision: 32187
2012-06-11 01:29:11 +00:00
Luka Perkov
be5229f0ba
kirkwood: ib62x0 fix reboot
...
SVN-Revision: 32131
2012-06-08 23:17:46 +00:00
Felix Fietkau
43b5706ef5
xburst: remove an obsolete CompareKernelPatchVer call
...
SVN-Revision: 32115
2012-06-07 16:32:44 +00:00
Florian Fainelli
6e5242952c
fix 553-board_96348w3.patch patch wrt gpio-keys-polled
...
SVN-Revision: 32096
2012-06-06 20:58:45 +00:00
Felix Fietkau
624505df56
ar71xx: fix LZMA loader build regression from r32090 (thx, juhosg)
...
SVN-Revision: 32095
2012-06-06 19:37:49 +00:00
Felix Fietkau
8b46a72583
kernel: add a few more tracing related symbols
...
SVN-Revision: 32094
2012-06-06 18:04:00 +00:00
Felix Fietkau
73b8805e78
ar71xx: fix PHY setup on TL-MR3020 ( fixes #11572 )
...
SVN-Revision: 32093
2012-06-06 17:24:12 +00:00
Felix Fietkau
dc9675282e
ar71xx: add a helper function for setting up PHY4 swapping on ar933x
...
SVN-Revision: 32092
2012-06-06 17:24:09 +00:00
Felix Fietkau
072bed4760
target: do not make target/*/install depend on target/*/compile - removes one redundant kernel build dir call on target/install
...
SVN-Revision: 32091
2012-06-06 17:24:05 +00:00
Felix Fietkau
02ab0d3ef9
ar71xx: only build all loader images if the image builder is enabled - saves some time on make target/install
...
SVN-Revision: 32090
2012-06-06 17:24:01 +00:00
Florian Fainelli
4c25e42fa8
fix alarm led color for board 96348A-122
...
SVN-Revision: 32089
2012-06-06 16:07:46 +00:00
Florian Fainelli
2f63f097de
add 96348w3 board ( #10764 )
...
SVN-Revision: 32088
2012-06-06 15:45:04 +00:00
Florian Fainelli
9d38989d1f
update livebox board support ( #8677 )
...
Merge most fixes from #8677 :
- add basic hardware detection of Livebox Blue 5g revisions
- register leds and gpio buttons
- fix boot address location
- properly parse mac addresses
Plus some more fixes:
- make board_livebox.c more in line with board_bcm963xx.c
SVN-Revision: 32087
2012-06-06 15:44:56 +00:00
Florian Fainelli
c69a2cdfbb
fix leds naming for all bcm63xx boards
...
SVN-Revision: 32086
2012-06-06 15:44:52 +00:00
Felix Fietkau
ce1d4d7ee9
kernel: make tracing support configurable
...
SVN-Revision: 32085
2012-06-06 15:25:57 +00:00
Florian Fainelli
23fc737b9d
backport upstream spi-bcm63xx fixes
...
* message pump conversion
* not using stopping state
* setting spi driver mode bits
SVN-Revision: 32078
2012-06-06 13:31:33 +00:00
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
76e4cd2a24
add $(SUBTARGET) to the filename if available
...
SVN-Revision: 32007
2012-05-30 18:04: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