Commit Graph

8768 Commits (a4b0a5043dbc51989e84ec39ae12c67125617ca9)

Author SHA1 Message Date
John Crispin 48869ef7c0 move CONFIG_ETHERNET_PACKET_MANGLE to a generic config file
This broke falcon builds

SVN-Revision: 32794
2012-07-24 15:33:01 +00:00
Felix Fietkau b59bc92c6e crashlog: fix dependency, add memblock support
SVN-Revision: 32787
2012-07-22 16:39:33 +00:00
Felix Fietkau b1f318de53 kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
SVN-Revision: 32783
2012-07-20 12:28:50 +00:00
Florian Fainelli 05340cc602 rename upgrade image to sysupgrade.bin for consistency
SVN-Revision: 32770
2012-07-17 16:47:57 +00:00
Florian Fainelli d243c1e1f2 add missing configuration symbols
SVN-Revision: 32769
2012-07-17 16:40:28 +00:00
Florian Fainelli f7dfd20f97 au1000: implement sysupgrade platform.sh
Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 32768
2012-07-17 16:40:24 +00:00
Florian Fainelli ac6bf6d62f au1000: clean up profiles
Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 32767
2012-07-17 16:39:52 +00:00
Florian Fainelli b2d76e1e05 au1000: fix InternetBox idsel and remove broken flag
The following patch is necessary for the InternetBox (Surfbox) board-specific
idsel to work with newer kernels. Acutally I don't exactly understand why this
was not necessary before, but without the udelay, the MiniPCI adapter in slot 3
is not detected and set up correctly.

Also remove platform broken flag, it works.

Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 32766
2012-07-17 16:39:47 +00:00
Gabor Juhos 21de1b9d85 ar71xx: enable I2C_GPIO, the PB44 board needs that
SVN-Revision: 32738
2012-07-15 17:52:52 +00:00
Gabor Juhos 7daf851adf ar71xx: fix PB44 board detection
SVN-Revision: 32737
2012-07-15 17:52:50 +00:00
Gabor Juhos c7fa38484c ar71xx: use gpio_set_value_cansleep on sleeping GPIOs in ath79_spi
SVN-Revision: 32736
2012-07-15 17:52:48 +00:00
Luka Perkov 03a6d65c37 kernel: add Marvell SoC built-in RTC to modules
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32732
2012-07-15 14:25:30 +00:00
Florian Fainelli c727c2aacf set DEVICE_TYPE to other to avoid pulling unecessary packages
SVN-Revision: 32731
2012-07-15 14:10:03 +00:00
Florian Fainelli a5d72815b5 add compatible property to pci node
SVN-Revision: 32730
2012-07-15 14:09:40 +00:00
Florian Fainelli b5578d83d5 use ohci_err() instead of err()
SVN-Revision: 32729
2012-07-15 14:09:32 +00:00
Florian Fainelli 0e0b396663 make sure we properly unmap DMA mappings we created
SVN-Revision: 32728
2012-07-15 14:09:24 +00:00
Florian Fainelli 0f0e42f28e nuport-mac: add definitions of the various bits/masks used
SVN-Revision: 32727
2012-07-15 14:09:18 +00:00
Luka Perkov c89e87d186 kirkwood: add support for seagate goflexnet and goflexhome
Signed-off-by: Martin Mueller <mm@sig21.net>

SVN-Revision: 32725
2012-07-15 12:18:29 +00:00
Luka Perkov 952ce3473d kirkwood: revert config changes from r32053
SVN-Revision: 32719
2012-07-15 00:08:52 +00:00
Gabor Juhos 33220828dc ar71xx: build firmware image for the TP-Link TL-WDR4310 v1.0
The hardware for TP-Link TL-WDR4300 v1.1 and TL-WDR4310 v1.0 is
identical, but requires different firmware headers:

TL-WDR4300:
00000040  43 00 00 01 00 00 00 01  00 00 00 00 76 fb 83 40  |C...........v..@|

TL-WDR4310:
00000040  43 10 00 01 00 00 00 01  00 00 00 00 38 2b 50 6c  |C...........8+Pl|

[juhosg: change commit message, use a different model name]

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>

SVN-Revision: 32683
2012-07-12 13:38:40 +00:00
Gabor Juhos 372945185d ramips: rt305x: add support for Edimax 3G-6200N
Support for Edimax 3G-6200N router with USB.

Signed-off-by: Lukasz Golebiowski <lgolebio@gmail.com>

SVN-Revision: 32682
2012-07-12 13:29:46 +00:00
Gabor Juhos e9af340016 generic: ocf: restore terminating entry of pci_id_table in hifnHIPP
SVN-Revision: 32680
2012-07-12 08:34:23 +00:00
Gabor Juhos d3c8852fd1 ar71xx: select ATH79_DEV_M25P80 for the WRT400N board
SVN-Revision: 32679
2012-07-12 08:34:22 +00:00
Gabor Juhos c75c895d24 ar71xx: airrouter power led support
This patch adds support for power led to Unifi Airrouter AP.

[juhosg:fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

Signed-off-by: Rocco Folino <lordzen@autistici.org>

SVN-Revision: 32678
2012-07-12 08:34:21 +00:00
Gabor Juhos 466f010303 ar71xx: unifi reset button support
This patch adds support for reset button to Ubiquiti UniFi AP.

[juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

Signed-off-by: Rocco Folino <lordzen@autistici.org>

SVN-Revision: 32677
2012-07-12 08:34:20 +00:00
Gabor Juhos 5ce9c90ca8 ar71xx: airrouter reset button support
This patch adds support for reset button to Ubiquiti Airrouter AP.

[juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

Signed-off-by: Rocco Folino <lordzen@autistici.org>

SVN-Revision: 32676
2012-07-12 08:34:18 +00:00
Luka Perkov 283021ac15 ocf: update to version 20120127
SVN-Revision: 32672
2012-07-11 23:38:14 +00:00
Hauke Mehrtens 45d55161a6 kernel: bcma: update to version from wireless-testing tag master-2012-07-11
SVN-Revision: 32670
2012-07-11 22:17:05 +00:00
Florian Fainelli b94d9eb302 remove bcm63xx_pci_register() call in livebox board
SVN-Revision: 32661
2012-07-11 09:15:26 +00:00
Florian Fainelli f8446c3d4c use physmap-flash on livebox (#8677)
SVN-Revision: 32660
2012-07-11 09:15:22 +00:00
Florian Fainelli 8765e49fbe nuport-mac: check netif_receive_skb() return value
We did not reassign status to netif_receive_skb() return value, we thus
almost always incremented the dropped counter because the descriptor status
value never matches the NET_RX_DROP.

SVN-Revision: 32659
2012-07-11 08:29:01 +00:00
Florian Fainelli 93bf00ff36 fix typo on of_node_put()
SVN-Revision: 32653
2012-07-09 14:44:15 +00:00
Florian Fainelli bb1488e5e7 Detect alternative "cfe-" version bootloaders (found in 963281T_TEF board)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32643
2012-07-06 22:10:37 +00:00
Gabor Juhos fe015f399f ar71xx: swizzle address for PCI byte/word access on AR71xx
Closes #11683.

SVN-Revision: 32639
2012-07-06 16:33:12 +00:00
Gabor Juhos b39df5bb81 ar71xx: select SOC_AR933X and ATH79_DEV_WMAC for the OM2P board
SVN-Revision: 32638
2012-07-06 11:12:02 +00:00
Gabor Juhos e258367c19 ar71xx: merge new board patches into the generic patch
SVN-Revision: 32637
2012-07-06 11:12:01 +00:00
Gabor Juhos b020a7e7c3 ar71xx: OM2P LC sysupgrade patch
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32635
2012-07-06 11:11:58 +00:00
Florian Fainelli 110fd3525a call of_node_put() on ethernet node
SVN-Revision: 32628
2012-07-05 18:46:55 +00:00
Florian Fainelli a8fab2cb78 fix EPHY clock bit definition after r32489
SVN-Revision: 32627
2012-07-05 18:46:52 +00:00
Florian Fainelli 81681d7367 give an unique partition identifier for dLAN USB Extender Combined partition
SVN-Revision: 32626
2012-07-05 18:46:48 +00:00
Gabor Juhos eabf96dc22 ar71xx: set firmware version for the TL-WR2543N
This ensures that the resulting firmware can
be flashed from the latest (v3.13.17) offical
firmware.

SVN-Revision: 32617
2012-07-05 16:25:31 +00:00
Gabor Juhos 7c932579fa ar71xx: make 2.4GHz wlan LED work on the WR2543N
Because ath9k does not supports separate LEDs for
different bands yet, the 2.4GHz LED will show the
activity, even if the 5GHz band is selected.

SVN-Revision: 32615
2012-07-05 16:25:26 +00:00
Gabor Juhos b2f0476871 ar71xx: OM2P sysupgrade support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32613
2012-07-05 08:26:57 +00:00
Gabor Juhos 797944d3f1 ar71xx: add support for the OpenMesh OM2P-LC board
Patch-by: Marek Linder <marek@open-mesh.com>

SVN-Revision: 32611
2012-07-05 08:26:53 +00:00
Gabor Juhos 1ea2a3cfd8 ar71xx: add profile and build image for the Atheros AP136 reference board
SVN-Revision: 32609
2012-07-05 08:26:51 +00:00
Gabor Juhos b219848bfc ar71xx: AP136 user-space support
SVN-Revision: 32608
2012-07-05 08:26:50 +00:00
Gabor Juhos f0cda65bb6 ar71xx: add initial support for the Qualcomm Atheros AP136 board
SVN-Revision: 32607
2012-07-05 08:26:48 +00:00
Gabor Juhos d1b237b335 ar71xx: add initial support for the QCA955X SoCs
SVN-Revision: 32606
2012-07-05 08:26:47 +00:00
Gabor Juhos 7284cf73d6 ar71xx: refactor PCI code to allow registering multiple PCI controllers
SVN-Revision: 32605
2012-07-05 08:26:45 +00:00
Gabor Juhos 6b8392eb12 generic: ar8216: start aneg on each PHY of the AR8327
SVN-Revision: 32604
2012-07-05 08:26:39 +00:00
Florian Fainelli 0fdac1102d add missing interrupts properties to some device nodes
SVN-Revision: 32603
2012-07-04 19:37:11 +00:00
Felix Fietkau bfef2d17eb ar71xx: update the EW Dorin MTD layout, increase kernel partition size (requested by EW)
SVN-Revision: 32599
2012-07-04 10:55:56 +00:00
Jonas Gorski 0a3e9c3148 bcm63xx: bcm63xx-spi does not depend on spi-bitbang
SVN-Revision: 32594
2012-07-03 21:42:17 +00:00
Jonas Gorski fad888a85c bcm63xx: 96348A-122 improvements (Comtrend 5365)
1) Improve WLAN button.
2) Add 96348A-122 image.

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

SVN-Revision: 32593
2012-07-03 21:42:15 +00:00
Jonas Gorski 0c7e676342 bcm63xx: fix second caldata address calculation
thanks Noltari for spotting this.

SVN-Revision: 32592
2012-07-03 21:42:12 +00:00
Jonas Gorski 988147111c bcm63xx: update patches to latest upstream versions
SVN-Revision: 32591
2012-07-03 21:42:07 +00:00
Jonas Gorski 1e2262df76 kernel: generic: spi: allow empty (un)prepare transfer
SVN-Revision: 32590
2012-07-03 21:42:03 +00:00
Gabor Juhos b8618fd3f2 ar71xx: improve MDIO busy wait code
SVN-Revision: 32586
2012-07-03 15:24:02 +00:00
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
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 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 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
Gabor Juhos d9dab97d38 x86/ep80579: switch to 3.3
Also fix build errors in the ep80579-drivers package.
Compile tested only.

SVN-Revision: 31802
2012-05-18 20:10:33 +00:00
Hauke Mehrtens c63ef04874 brcm47xx: fix nvram read out on devices with serial flash
detect nvram on Linksys E3200

SVN-Revision: 31790
2012-05-18 16:04:10 +00:00
Hauke Mehrtens 7ad663dda6 brcm47xx: bcma: fix null pointer
SVN-Revision: 31789
2012-05-18 15:46:30 +00:00
Hauke Mehrtens b4ecf522cd brcm47xx: ssb: recognize ARM Cortex M3
SVN-Revision: 31788
2012-05-18 15:45:51 +00:00
Hauke Mehrtens 7be88d2ad8 brcm47xx: some fixes for the USB driver
SVN-Revision: 31787
2012-05-18 15:44:25 +00:00
Gabor Juhos e3678eb33e cobalt: remove 2.6.39 specific patches
SVN-Revision: 31785
2012-05-18 09:59:22 +00:00
Gabor Juhos a5de52c244 x86/olpc: switch to 3.3
Compile tested only.

SVN-Revision: 31784
2012-05-18 09:57:32 +00:00
Gabor Juhos 9e54e012d6 x86: image: select bootscript images by default for OLPC
SVN-Revision: 31783
2012-05-18 09:57:29 +00:00
Felix Fietkau 3f62f5211a adm5120: add missing config symbols for the rb1xx subtarget, fixes #11407
SVN-Revision: 31781
2012-05-17 21:20:23 +00:00
Hauke Mehrtens c30405070c kernel: add some missing config options added by r31756
SVN-Revision: 31774
2012-05-17 13:28:30 +00:00
Hauke Mehrtens 273797f15a kernel: ssb/bcma: update to version from wireless-testing tag master-2012-05-16-2
SVN-Revision: 31772
2012-05-17 13:22:38 +00:00
Hauke Mehrtens 3491d8c017 brcm47xx: remove support for kernel 3.2
SVN-Revision: 31771
2012-05-17 13:20:10 +00:00
Gabor Juhos 562e468ae5 x86/thincan: switch to 3.3
Compile tested only.

SVN-Revision: 31765
2012-05-17 06:41:01 +00:00
Gabor Juhos 1f7f8376a6 x86/xen_domu: switch to 3.3
Compile tested only.

SVN-Revision: 31764
2012-05-17 06:41:00 +00:00
Gabor Juhos 8bb7ddecfd x86/kvm_guest: switch to 3.3
Compile tested only.

SVN-Revision: 31763
2012-05-17 06:40:58 +00:00
Gabor Juhos f14d1a588d x86/generic: switch to 3.3
Compile tested only.

SVN-Revision: 31762
2012-05-17 06:40:56 +00:00
Felix Fietkau 54edbfabac kernel: add codel and fq_codel to generic 3.3 patch set (based on patch by Dave Täht)
Codel is a new AQM algorithm and RED replacement designed by
Kathie Nichols and Van Jacobson, and published in ACM queue:

http://queue.acm.org/detail.cfm?id=2209336

Codel stands for "Controlled Delay", and needs no knobs in the
general case, twiddled, for optimum results. It aims for 5ms of
delay, at most, when in use.

Additionally,

fq_codel (by eric dumazet) builds on codel to provide fair queuing
superior to what could be had with SFQ, and drop behavior saner
than RED, BLUE, or choke.

These patches are backported from net-next and are known to work
on Linux 3.3.4 and later.

Includes updates to codel for better portability and speed

SVN-Revision: 31756
2012-05-16 15:23:03 +00:00
Gabor Juhos eb2fe5e863 x86/alix2: switch to 3.3
Compile tested only.

SVN-Revision: 31753
2012-05-16 10:45:02 +00:00
Gabor Juhos fb7da5bbde x86/net5501: switch to 3.3
Compile tested only.

SVN-Revision: 31752
2012-05-16 10:44:59 +00:00
Gabor Juhos 9e049ce25c x86: sync 3.3 configs
SVN-Revision: 31751
2012-05-16 10:44:55 +00:00
Gabor Juhos 19f691f8e4 x86: sync 3.2 configs
SVN-Revision: 31750
2012-05-16 10:44:52 +00:00
Gabor Juhos 724fd5e657 x86: sync 2.6.39 configs
SVN-Revision: 31749
2012-05-16 10:44:49 +00:00
Gabor Juhos 637fd23428 linux/3.3: add missing symbol
SVN-Revision: 31748
2012-05-16 10:44:46 +00:00
Gabor Juhos 67675fd48d linux: add CONFIG_POWER_SUPPLY_DEBUG symbol
It was missing in the previous commit.

SVN-Revision: 31738
2012-05-15 11:12:31 +00:00
Gabor Juhos 39994008cb linux: move certain disabled symbols to the generic configs
* CONFIG_ARCH_DMA_ADDR_T_64BIT
  * CONFIG_ARCH_HAS_ILOG2_U32
  * CONFIG_ARCH_HAS_ILOG2_U64
  * CONFIG_ARCH_PHYS_ADDR_T_64BIT
  * CONFIG_ARCH_SUPPORTS_MSI
  * CONFIG_GENERIC_CPU_DEVICES
  * CONFIG_HWMON_DEBUG_CHIP
  * CONFIG_I2C_PXA_PCI
  * CONFIG_LEDS_GPIO
  * CONFIG_MINIX_FS_NATIVE_ENDIAN
  * CONFIG_MLX4_CORE
  * CONFIG_POWER_SUPPLY
  * CONFIG_POWER_SUPPLY_DEBUG
  * CONFIG_QUOTACTL
  * CONFIG_SDIO_UART
  * CONFIG_SENSORS_K10TEMP
  * CONFIG_SENSORS_SCH56XX_COMMON
  * CONFIG_SENSORS_VIA_CPUTEMP
  * CONFIG_SERIO_AMBAKMI
  * CONFIG_SERIO_I8042
  * CONFIG_SERIO_LIBPS2
  * CONFIG_SERIO_PCIPS2
  * CONFIG_SERIO_RAW
  * CONFIG_SERIO_SERPORT
  * CONFIG_SPI_BITBANG
  * CONFIG_SPI_GPIO

SVN-Revision: 31737
2012-05-15 10:58:52 +00:00
Felix Fietkau a3f2fd187b ar71xx: remove AG71XX_RX_PKT_RESERVE, it is no longer necessary (found by Eric Dumazet)
SVN-Revision: 31736
2012-05-15 10:36:39 +00:00
John Crispin 364f47e454 code style cleanup of the mach files
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31735
2012-05-15 09:38:05 +00:00
John Crispin 07dca108a9 adds zyxel p2601hnfx support
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31734
2012-05-15 09:38:02 +00:00
John Crispin 9785ec070e set 3.3.6 as default
SVN-Revision: 31733
2012-05-15 09:37:59 +00:00
John Crispin c61ada1db8 set 3.3.5 as default
SVN-Revision: 31718
2012-05-14 16:11:26 +00:00
Gabor Juhos 2fceae7ec4 linux/3.0: R.I.P.
It is used by the broken omap35xx/gumstix target only.

SVN-Revision: 31717
2012-05-14 15:48:34 +00:00
Gabor Juhos a3d349a3b3 realview: remove 3.0 support
SVN-Revision: 31716
2012-05-14 15:48:32 +00:00
Gabor Juhos e2ecabd761 realview: switch to 3.3
SVN-Revision: 31715
2012-05-14 15:48:31 +00:00
Gabor Juhos 46c7d58726 realview: add 3.3 support
SVN-Revision: 31714
2012-05-14 15:48:29 +00:00
Gabor Juhos 8f629f2a22 linux/3.3: more missing config symbols
SVN-Revision: 31713
2012-05-14 15:48:23 +00:00
Hauke Mehrtens a798a81890 kernel: add CONFIG_BLK_DEV_PCIESSD_MTIP32XX
SVN-Revision: 31710
2012-05-14 11:28:02 +00:00
Gabor Juhos b472e5d12e kernel: update linux 3.3 to 3.3.6
SVN-Revision: 31709
2012-05-14 09:18:32 +00:00
Hauke Mehrtens 679b6a0722 amazon: fix section mismatch
SVN-Revision: 31707
2012-05-13 15:31:42 +00:00
Hauke Mehrtens abd74f86b4 amazon: update amazon target to kernel 3.3
This is just compile tested, my device is currently not working.

SVN-Revision: 31706
2012-05-13 15:10:40 +00:00
Gabor Juhos 60d3ffb49a gemini: remove 2.6.37 support
SVN-Revision: 31700
2012-05-13 12:04:04 +00:00
Gabor Juhos 672ff3de6e gemini: switch to 3.3
SVN-Revision: 31699
2012-05-13 12:04:02 +00:00
Gabor Juhos d0ac4c1f03 gemini: add support for 3.3
SVN-Revision: 31698
2012-05-13 12:03:59 +00:00
Hauke Mehrtens 482b99a660 brcm47xx: generate image for Linksys WRT610N V1
SVN-Revision: 31696
2012-05-13 00:16:57 +00:00
Hauke Mehrtens 31c2c485c1 kernel: ssb: add PCI IDs 0x4322 and 43222
The 0x4322 ID is found on the BCM4322 used on some SoCs like the
Linksys WRT610N V1 connected to a BCM4705. The 43222 (0xa8d6) ID
is found on the BCM43222 used on some other SoCs like the D-Link
DSL-2760U connected to a BCM63xx.

This fixes #10887.

SVN-Revision: 31695
2012-05-13 00:08:12 +00:00
Hauke Mehrtens 5acb0b72be brcm47xx: fix tg3 ssb patch
Now tg3 works with the Ethernet core of the Linksys WRT610N v1 (again).

SVN-Revision: 31694
2012-05-12 23:59:12 +00:00
Gabor Juhos e710aeeab1 linux/2.6.38: R.I.P.
It is used only by the broken coldfire target.

SVN-Revision: 31688
2012-05-12 12:05:21 +00:00
Gabor Juhos 08ed044595 linux/2.6.37: R.I.P.
SVN-Revision: 31687
2012-05-12 12:05:19 +00:00
Gabor Juhos c8cede6aa7 linux: add broken flag to remaining targets which are using 2.6.37
SVN-Revision: 31686
2012-05-12 12:05:18 +00:00
Gabor Juhos a2efef024e iop32x: remove 2.6.37 support
SVN-Revision: 31685
2012-05-12 10:49:36 +00:00
Gabor Juhos a5d4de7da2 iop32x: switch to 3.3
It is compile tested only, so add a broken flag.

SVN-Revision: 31684
2012-05-12 10:49:34 +00:00
Gabor Juhos 598fe0e93b iop32x: add 3.3 support
SVN-Revision: 31683
2012-05-12 10:49:32 +00:00
Gabor Juhos bf8e96712e sibyte: remove 2.6.37 support
SVN-Revision: 31682
2012-05-12 10:49:30 +00:00
Gabor Juhos edb129bb24 sibyte: switch to 3.3
It is compile tested only, so add a broken flag.

SVN-Revision: 31681
2012-05-12 10:49:28 +00:00
Gabor Juhos fd651daa4b sibyte: add 3.3 support
SVN-Revision: 31680
2012-05-12 10:49:26 +00:00
Gabor Juhos 4f6acae5f7 ixp4xx: fix ixp4xx_crypto build error
SVN-Revision: 31679
2012-05-12 10:49:23 +00:00
Gabor Juhos cabfa5b364 orion: remove the broken broken flag
It is working on the Linksys WRT350N v2 at least:
http://pastebin.com/KCAbJZs9

Additionally, the flag was added to a wrong place
so it had no effect.

Thanks to StrikerNL for testing.

SVN-Revision: 31674
2012-05-10 20:20:43 +00:00
Gabor Juhos ec27c35ebe kirkwood: fix Kconfig symbol for NSA-310
SVN-Revision: 31673
2012-05-09 16:16:52 +00:00
John Crispin dc4cfd3a64 Add 3.3 config files
SVN-Revision: 31672
2012-05-09 12:52:24 +00:00
John Crispin 75827c538d Add missing 3.3 patches
SVN-Revision: 31671
2012-05-09 12:52:21 +00:00
John Crispin 7d638fbb2f Drop 2.6.32 support
SVN-Revision: 31670
2012-05-09 12:52:19 +00:00
Gabor Juhos 200227e0b4 kirkwood: add support for the ZyXEL NSA-310
SVN-Revision: 31669
2012-05-09 11:38:43 +00:00
Gabor Juhos 213cbf4297 kirkwood: add RaidSonic ICY BOX IB-NAS62x0 board support
Based on a patch by Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31668
2012-05-09 11:38:41 +00:00
Gabor Juhos d4876692c1 kirkwood: enable GPIO sysfs interface
SVN-Revision: 31667
2012-05-09 11:38:40 +00:00
Gabor Juhos d1eed108bb kirkwood: nuke 2.6.37 support
SVN-Revision: 31666
2012-05-09 11:38:39 +00:00
Gabor Juhos 861b9b25e0 kirkwood: switch to 3.3
SVN-Revision: 31665
2012-05-09 11:38:37 +00:00
Gabor Juhos b272041998 kirkwood: add 3.3 support
Based on the 3.2.9 patches by Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31664
2012-05-09 11:38:36 +00:00
Gabor Juhos 500ec36515 ixp4xx: nuke 2.6.37 support
SVN-Revision: 31663
2012-05-09 10:48:44 +00:00
Gabor Juhos d25a4e7ddc ixp4xx: switch to 3.3
SVN-Revision: 31662
2012-05-09 10:48:43 +00:00
Gabor Juhos d5093de0b1 mpc85xx: remove 2.6.38 support
SVN-Revision: 31661
2012-05-09 10:48:41 +00:00
Gabor Juhos ab71a428c5 mpc85xx: switch to 3.3 and add broken flag
It is compile tested only.

SVN-Revision: 31660
2012-05-09 10:48:39 +00:00
Gabor Juhos db376b45d9 orion: nuke 3.0 support
SVN-Revision: 31659
2012-05-09 10:48:38 +00:00
Gabor Juhos 24e2385a59 orion: switch to 3.3 and add broken flag
It is compile tested only.

SVN-Revision: 31658
2012-05-09 10:48:37 +00:00
Gabor Juhos d640a15b73 linux/3.3: add missing RTC symbol
SVN-Revision: 31654
2012-05-09 10:48:30 +00:00
Gabor Juhos 93c9980b94 ar71xx: fix build error if PCI is disabled
SVN-Revision: 31646
2012-05-07 21:16:22 +00:00
Gabor Juhos 34018a630f kernel: update linux 3.3 to 3.3.5
SVN-Revision: 31645
2012-05-07 20:11:43 +00:00
Gabor Juhos 6b5012ce1f pxa: remove 2.6.37 support
SVN-Revision: 31643
2012-05-07 17:40:15 +00:00
Gabor Juhos 1f1fd8616f pxa: switch to 3.3 and mark it as broken
It is working in qemu, but it has not been tested on real hardware.

SVN-Revision: 31642
2012-05-07 17:40:09 +00:00
Gabor Juhos b284c0e804 pxa: add support for 3.3
SVN-Revision: 31641
2012-05-07 17:40:06 +00:00
Jo-Philipp Wich 1a01559520 atheros: Fix compilation
With our recent switch to the 3.3 kernel target, some headers were
occidentally omitted.

Signed-off-by: Jonathan Bither <jonbither@gmail.com>

SVN-Revision: 31640
2012-05-07 17:06:39 +00:00
Jonas Gorski b218b15709 bcm63xx: fix a race between PCI bus scan and fallback sprom registration
The fallback sprom handler was installed too late, resulting in ssb
failing to get a valid sprom on some devices.

Fixes #11384.

SVN-Revision: 31638
2012-05-06 21:25:34 +00:00
Felix Fietkau 0ff3c396d3 kernel: rewrite the phy packet hook, put it in the network stack to avoid having to keep non-upstream ethernet driver changes
SVN-Revision: 31637
2012-05-06 21:19:14 +00:00
Hauke Mehrtens d30f8da466 brcm47xx: add gpio_request_one()
This fixes a compile error with kernel 3.3.

SVN-Revision: 31635
2012-05-06 20:44:37 +00:00
Felix Fietkau 7799c88aa4 atheros: clean up the patches some more
SVN-Revision: 31626
2012-05-06 17:15:00 +00:00
Felix Fietkau 9b20187ad5 atheros: update to 3.3.4 (based on work by acoul), fix mvswitch driver for newer kernels
SVN-Revision: 31625
2012-05-06 17:08:30 +00:00
Jonas Gorski 30362b90af AR7: don't mark as broken
Linux 3.3.4 boots fine on my AR7 device.

SVN-Revision: 31623
2012-05-06 14:04:19 +00:00
Gabor Juhos 28e897845f ar7: remove 2.6.37 support
SVN-Revision: 31617
2012-05-05 17:32:43 +00:00
Gabor Juhos 047a51c4fd ar7: switch to 3.3 and mark the target as broken
SVN-Revision: 31616
2012-05-05 17:32:41 +00:00
Gabor Juhos dd884a6b73 ar7: add 3.3 support
SVN-Revision: 31615
2012-05-05 17:32:39 +00:00
Gabor Juhos e85a44f11b ar7: fix kernel_entry extraction
SVN-Revision: 31614
2012-05-05 17:32:36 +00:00
Gabor Juhos 9486904079 ar71xx: add profile and build image for the TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com>

SVN-Revision: 31610
2012-05-05 17:02:41 +00:00
Gabor Juhos ab897ab04e ar71xx: add support for the TP-Link TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com>

SVN-Revision: 31608
2012-05-05 17:02:35 +00:00
Gabor Juhos 56f2e08537 ar71xx: update 3.3 patches
SVN-Revision: 31602
2012-05-05 13:56:35 +00:00
Gabor Juhos 8fffc6d6df ar71xx: fix a typo in the db120 mach file
Reported-by: Sven Eckelmann <sven@narfation.org>

SVN-Revision: 31601
2012-05-05 13:56:30 +00:00
Hauke Mehrtens 8c352ff853 brcm47xx: update target to kernel 3.3
SVN-Revision: 31599
2012-05-05 12:53:37 +00:00
Gabor Juhos 2e3f8c480e linux/2.6.32: R.I.P.
SVN-Revision: 31597
2012-05-05 11:43:34 +00:00
Gabor Juhos e005aed223 rdc: remove 2.6.32 support
SVN-Revision: 31596
2012-05-05 11:43:32 +00:00
Gabor Juhos 0e086cfaf7 rdc: switch to 3.3 and mark the target as broken
SVN-Revision: 31595
2012-05-05 11:43:30 +00:00
Gabor Juhos 787b253859 rb532: remove 2.6.32 support
SVN-Revision: 31594
2012-05-05 11:43:29 +00:00
Gabor Juhos 63a532a472 rb532: switch to 3.3 and mark the target broken
SVN-Revision: 31593
2012-05-05 11:43:26 +00:00
Gabor Juhos b120e7f22a rb532: add 3.3 support
SVN-Revision: 31592
2012-05-05 11:43:23 +00:00
Gabor Juhos 6caa1aab10 mpc83xx: remove broken flag
SVN-Revision: 31591
2012-05-05 11:43:21 +00:00
Gabor Juhos 257a201b56 mpc83xx: populate network config from an uci-default script
SVN-Revision: 31590
2012-05-05 11:43:19 +00:00
Gabor Juhos 13ce8f8a77 mpc83xx: cleanup rb333.dts
SVN-Revision: 31589
2012-05-05 11:43:16 +00:00
Gabor Juhos a3d9877518 mpc83xx: fix MAC addresses on the RB333
SVN-Revision: 31588
2012-05-05 11:43:13 +00:00
Gabor Juhos 1a5a9c5dae mpc83xx: fix build warnings in RB333/600 dtb wrappers
SVN-Revision: 31587
2012-05-05 11:43:10 +00:00
Gabor Juhos 7ffa3fe02c linux/2.6.32: fix layer7 patch
SVN-Revision: 31586
2012-05-05 07:20:13 +00:00
Imre Kaloz 9a91dc9f71 upgrade to 3.3, enable framebuffer
SVN-Revision: 31576
2012-05-03 21:51:58 +00:00
Jonas Gorski b393464fb4 adm5120: add missing NULL terminator to partition parser list
Fixes #11372.

SVN-Revision: 31574
2012-05-03 21:03:50 +00:00
Hauke Mehrtens 22b2e3fbb9 brcm47xx: add support for kernel 3.3
SVN-Revision: 31573
2012-05-03 20:18:41 +00:00
Gabor Juhos 3349cf2691 Fix iptables abuse of kernel header files. Use exported headers instead.
[juhosg: export xt_layer7.h for all kernel versions]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31566
2012-05-03 09:43:10 +00:00
Gabor Juhos b0449ccf04 ramips: W306R V2.0 - GPIO and Network fixes
Fixed: GPIO typos and confirmed GPIO_BUTTON_RESET
Fixed: Lan & Wan reversed: swaped "eth0.2" with "eth0.1" by
       removing a line(default is correct), and reversed the
       Lan/wan layout LLLLW to WLLLL.

Added: image/Makefile now builds -factory.bin files. I am
       unsure of the accepted way to change the makefile but
       the name of the image needs to be 'linkn Kernel Image'
       in order to be accepted by the OEM firmware.

Known issue: eth0 (internal switch i think has mac address:
       00:11:22:33:44:55  but i think it should be same as
       the lan).
Known issue: Pressing the reset button has no noticable effect,
       i would expect the router to boot failsafe if being
       pressed on boot, reboot if short press and reset all
       to default if long press.

[juhosg: remove mtdlayout_W306R and use mtdlayout_4M instead]

Signed-off-by: David Pearce <david_18051985@hotmail.com>

SVN-Revision: 31557
2012-05-02 19:17:59 +00:00
Gabor Juhos 90e99b9fe8 ramips: Make serial console for DIR-300-B1 work again
Make serial console for DIR-300-B1 work again.

With some recent change, "console=ttyS1,57600" was removed from the
default kernel command line, this adds the necessary mkcmdline
incantation to image/Makefile to add it there for this target.
This is quite likely broken for other targets as well.

Without this the console switches to ttyS0 instead of ttyS1 and
kernel output is missing, and the userspace comes up with 9600 baud
instead of 57600.

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

SVN-Revision: 31556
2012-05-02 19:17:58 +00:00
Gabor Juhos fb28062182 mpc83xx: remove 2.6.36 support
SVN-Revision: 31555
2012-05-02 18:27:26 +00:00
Gabor Juhos 3269924fed mpc83xx: switch to 3.3
SVN-Revision: 31554
2012-05-02 18:27:25 +00:00
Gabor Juhos 8ee595315d mpc83xx: add support for 3.3
SVN-Revision: 31553
2012-05-02 18:27:22 +00:00
Gabor Juhos b4b5f2d018 linux/3.3: add more missing symbols
SVN-Revision: 31552
2012-05-02 18:27:19 +00:00
Florian Fainelli 5d9b44d110 use a define for the poll and debounce interval
SVN-Revision: 31550
2012-05-02 15:40:26 +00:00
Gabor Juhos 7a2b3d8a55 linux/3.3: add more missing symbols
SVN-Revision: 31548
2012-05-01 08:00:26 +00:00
Gabor Juhos 70322ba3d1 move CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configs
SVN-Revision: 31547
2012-05-01 08:00:25 +00:00
Imre Kaloz 880de62f91 switch to 2.6.38
SVN-Revision: 31546
2012-05-01 07:00:17 +00:00
Gabor Juhos cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
Gabor Juhos e931ffd678 linux: rtl836x: add a generic reset_switch function
SVN-Revision: 31536
2012-04-29 18:29:31 +00:00
Gabor Juhos 1d9400263f linux: rtl836x: rename rtl836*_hw_init to rtl836*_setup
SVN-Revision: 31535
2012-04-29 18:29:29 +00:00
Gabor Juhos badd7a3cf2 linux: rtl836x: add a reset_chip callback to rtl8366_smi_ops
SVN-Revision: 31534
2012-04-29 18:29:26 +00:00
Gabor Juhos 3e3a4d3d6b ar71xx: allow to disable link polling on unused PHYs
SVN-Revision: 31533
2012-04-29 18:29:24 +00:00
Gabor Juhos a8d3109208 rb532: remove 2.6.35 support
The generic 2.6.35 support has been remove long time ago.

SVN-Revision: 31532
2012-04-29 16:56:07 +00:00
Gabor Juhos 532b74ff7b linux/3.3: refresh patches
SVN-Revision: 31531
2012-04-29 16:56:03 +00:00
Gabor Juhos 27a1f6652a rdc: add 3.3 support
SVN-Revision: 31530
2012-04-29 15:59:49 +00:00
Gabor Juhos c59b60fa0b mpc85xx: add support for 3.3
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31529
2012-04-29 15:55:28 +00:00
Gabor Juhos f687ca2296 orion: add 3.3 support
SVN-Revision: 31528
2012-04-29 15:20:40 +00:00
Gabor Juhos 923ebbac81 linux/3.3: yet another missing symbol
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31527
2012-04-29 15:08:24 +00:00
Gabor Juhos 55fdc18beb linux/3.3: add support for the Pericom PT7C4338 I2C RTC chip
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31525
2012-04-29 15:08:22 +00:00
Gabor Juhos f6d5998d31 mpc85xx: add kmod-booke-wdt to the default packages
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31523
2012-04-29 15:00:38 +00:00