1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-19 12:23:44 +02:00
Commit Graph

9361 Commits

Author SHA1 Message Date
florian
fa5a8f6863 [mcs814x] fix EPHY clock bit definition after r32489
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 18:46:52 +00:00
florian
c5bc9b0989 [mcs814x] give an unique partition identifier for dLAN USB Extender Combined partition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 18:46:48 +00:00
juhosg
cc8ef03faa 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 16:25:31 +00:00
juhosg
fd349e4b0c 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 16:25:26 +00:00
juhosg
11532f0779 ar71xx: OM2P sysupgrade support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:57 +00:00
juhosg
0d85e0278f ar71xx: add support for the OpenMesh OM2P-LC board
Patch-by: Marek Linder <marek@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:53 +00:00
juhosg
dd71ce4e82 ar71xx: add profile and build image for the Atheros AP136 reference board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:51 +00:00
juhosg
e03def9379 ar71xx: AP136 user-space support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:50 +00:00
juhosg
ee6173e7dc ar71xx: add initial support for the Qualcomm Atheros AP136 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:48 +00:00
juhosg
74d33b7b96 ar71xx: add initial support for the QCA955X SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:47 +00:00
juhosg
97e6f60806 ar71xx: refactor PCI code to allow registering multiple PCI controllers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:45 +00:00
juhosg
671f0e3971 generic: ar8216: start aneg on each PHY of the AR8327
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:39 +00:00
florian
c9906b31cd [mcs814x] add missing interrupts properties to some device nodes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-04 19:37:11 +00:00
nbd
08a9c557e0 ar71xx: update the EW Dorin MTD layout, increase kernel partition size (requested by EW)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-04 10:55:56 +00:00
jogo
c94a6d0b71 bcm63xx: bcm63xx-spi does not depend on spi-bitbang
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 21:42:17 +00:00
jogo
4f860c88aa 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 21:42:15 +00:00
jogo
c60cd5dd54 bcm63xx: fix second caldata address calculation
thanks Noltari for spotting this.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 21:42:12 +00:00
jogo
cc1b8fb1cb bcm63xx: update patches to latest upstream versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 21:42:07 +00:00
jogo
5a8d0fdaf3 kernel: generic: spi: allow empty (un)prepare transfer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 21:42:03 +00:00
juhosg
641595b79a ar71xx: improve MDIO busy wait code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 15:24:02 +00:00
juhosg
db1a0d339e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 15:24:01 +00:00
florian
0ef855fc75 [brcm63xx] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 09:45:46 +00:00
hauke
bdc39c62ca kernel: ssb/bcma: update to version from wireless-testing tag master-2012-07-02
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-02 23:12:58 +00:00
florian
a2ed4b34a3 [brcm63xx] fix watchdog and rng drivers section mismatch (#11767)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 09:07:54 +00:00
nbd
7ffed0b52c ar71xx: detect and enable MIPS DSP extensions, AR9344 supports them (fixes #11762)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-28 16:05:08 +00:00
nbd
b6422914a3 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 22:32:47 +00:00
florian
a6f7f0aaf2 [brcm63xx] fix SPI clock frequency selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 22:14:50 +00:00
nbd
ced5f69d4d kernel: add missing config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-24 20:21:27 +00:00
acinonyx
99a635edd1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 13:58:29 +00:00
florian
27abc2e19f [mcs814x] provide an early ioremap cookie of the system configuration register
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 11:03:50 +00:00
florian
a699bb193a [mcs814x] group SYSDBG register defines in mcs814x.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 11:03:45 +00:00
florian
01532c0031 [mcs814x] make hardware.h a forward inclusion of mcs814x.h
mach/hardware.h is soon to be removed by upstream kernel

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 11:03:40 +00:00
florian
4c31778fc4 [mcs814x] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 11:03:35 +00:00
florian
bc89518781 [mcs814x] regroup interrupt controller register definitions in hardware.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-23 11:03:29 +00:00
florian
0235660f48 [mcs814x] remove handle_irq callback in board-mcs8140-dt.c
This should have been removed in r32470.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-21 12:20:47 +00:00
florian
b6eacc06d6 [mcs814x] fix USB led triggers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 21:58:00 +00:00
florian
2af5a044d3 [mcs814x] use generic uci defaults functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 21:57:56 +00:00
florian
aa77c3e868 [mcs814x] remove uselss cache invalidations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 21:57:53 +00:00
florian
ee556c7f7b [mcs814x] improve ethernet driver debugging
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 21:57:49 +00:00
florian
3a5b7c7629 [mcs814x] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 21:57:45 +00:00
mirko
85bb2ebefa [target/xburst] verified to work - remove broken flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-20 19:04:35 +00:00
acinonyx
9ebe427897 [x86] Fix sysupgrade for squashfs, jffs2 and ext4 images
* use 'fsync' with 'dd' for image writing
	* save config to boot partition

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 22:36:53 +00:00
florian
7c90f3b2b4 [mcs814x] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 14:48:56 +00:00
juhosg
5fa7ed291e ar71xx: create profile and build image for the TL-WDR4300 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 11:51:20 +00:00
juhosg
977ff3326d ar71xx: add user space support for the TL-WDR4300
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 11:51:18 +00:00
juhosg
ae6a363859 ar71xx: add support for the TL-WDR4300 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 11:51:17 +00:00
juhosg
31f53133c7 ar71xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 11:51:15 +00:00
juhosg
279cc5d283 ar71xx: make AR8327 LEDs working on the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:44:17 +00:00
juhosg
7066d5e4ae generic: ar8216: allow to configure AR8327 LEDs via platform data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:44:16 +00:00
juhosg
d02eb8cdaa ar71xx: remove superfluous include of asm/mach-ath79/pci.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:13:43 +00:00
juhosg
9e32544f7a ar71xx: add a common function to configure USB power GPIOs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:13:41 +00:00
juhosg
60f2c64e65 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:13:38 +00:00
juhosg
f054b259d0 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:13:37 +00:00
juhosg
71c704387b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 09:52:15 +00:00
nbd
669a7a0710 ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 00:22:04 +00:00
nbd
bd85fd265b ar71xx: add support for reading the MAC address from OTP ROM on AR933x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 00:21:58 +00:00
jow
4e6e9c9c59 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 23:36:50 +00:00
jow
03f2b4f961 [kvm_guest] remove inittab override
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 11:50:37 +00:00
florian
4666e9b56d [brcm63xx] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 16:17:29 +00:00
nbd
50d5344375 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-16 21:06:33 +00:00
florian
07bc7f5147 [rdc] remove broken flags
Thanks to Nicolas Le Falher for testing on Bifferboard.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-16 16:45:28 +00:00
jow
f1d9712dc3 [x86] use ttyS0 @ 115200 baud as default for KVM guests
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-15 12:59:49 +00:00
luka
69934f5a34 kirkwood: fix typo in uci-defaults/leds
Signed-off-by: Martin Mueller <mm@sig21.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-13 18:41:42 +00:00
nbd
2d3cf7a902 ar71xx: swap the PHY address of the ethernet port of TL-MR3040/TL-MR11U similar to TL-MR3020 to fix ethernet link detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-13 12:54:22 +00:00
jogo
d8ff69c0da bcm63xx: readd accidentially dropped ignore_oc in ehci driver
fixes overcurrent warning spam on 3.3 kernels for bcm63xx again.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 22:24:58 +00:00
luka
5a35428cb3 kirkwood: ib62x0 fix reboot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-08 23:17:46 +00:00
nbd
cc530eb3af xburst: remove an obsolete CompareKernelPatchVer call
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 16:32:44 +00:00
florian
816d0cbd39 [brcm63xx] fix 553-board_96348w3.patch patch wrt gpio-keys-polled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 20:58:45 +00:00
nbd
c437387d32 ar71xx: fix LZMA loader build regression from r32090 (thx, juhosg)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 19:37:49 +00:00
nbd
b899b1d3a5 kernel: add a few more tracing related symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 18:04:00 +00:00
nbd
eed1fe974e ar71xx: fix PHY setup on TL-MR3020 (fixes #11572)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 17:24:12 +00:00
nbd
62977660d8 ar71xx: add a helper function for setting up PHY4 swapping on ar933x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 17:24:09 +00:00
nbd
7ea20fba6a ar71xx: only build all loader images if the image builder is enabled - saves some time on make target/install
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 17:24:01 +00:00
florian
d19ba29311 [brcm63xx] fix alarm led color for board 96348A-122
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 16:07:46 +00:00
florian
0e5685072e [brcm63xx] add 96348w3 board (#10764)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 15:45:04 +00:00
florian
84fcf0bb00 [brcm63xx] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 15:44:56 +00:00
florian
adfadea95e [brcm63xx] fix leds naming for all bcm63xx boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 15:44:52 +00:00
nbd
32b9ee0930 kernel: make tracing support configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 15:25:57 +00:00
florian
3d0fed711e [brcm63xx] backport upstream spi-bcm63xx fixes
* message pump conversion
* not using stopping state
* setting spi driver mode bits

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:31:33 +00:00
florian
28f01f0d91 [generic/3.3] backport spi message queue infrastructure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:31:30 +00:00
florian
a7a19483fb [brcm63xx] increase led number in patch 301-led_count.patch
So that board patches are only touching board-related code

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:31:24 +00:00
blogic
9216dfc76c [lantiq] clean up generic image building
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 17:49:42 +00:00
florian
6255930f93 [brcm63xx] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 13:40:41 +00:00
florian
c7d60bd0db [kernel/3.3] refresh generic patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 13:40:38 +00:00
florian
a6691cb6b1 [brcm63xx] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 13:40:35 +00:00
blogic
466d98bf88 [kernel] bump to 3.3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 06:57:51 +00:00
luka
576ea25936 kirkwood: reorganize target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 00:43:56 +00:00
luka
090fe17a5f uboot-envtools: update to 2012.04.01
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-04 21:55:49 +00:00
jogo
43bdeca579 bcm63xx: fix ethernet on 96328avng and 963281TAN
The internal switch did not get registered.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-04 08:35:25 +00:00
blogic
35d604e713 [lantiq] adds unset Kbuild symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-02 14:03:32 +00:00
juhosg
f6bfa9b749 malta: remove 3.2 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-02 12:06:28 +00:00
juhosg
8f3ef842f5 malta: use common kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-02 12:06:26 +00:00
juhosg
e17a638412 xburst: add missing config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-02 12:06:15 +00:00
blogic
b9f376d33a [kernel] adds patch to make Tantos (psb6970) switch buildable again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 17:41:28 +00:00
jogo
f91824b22d 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 10:27:46 +00:00
jogo
99b853b6b3 bcm63xx: readd accidentially dropped network config for SPW303V
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 10:27:42 +00:00
juhosg
7cab23d0dc generic: ar8216: add revision specific PHY fixups for AR8327
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:27 +00:00
juhosg
72df0a7c48 generic: ar8216: replace chip_type field with chip_{ver,rev} in ar8216_priv
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:26 +00:00
juhosg
6d10d89b29 generic: ar8216: add chip_is_ar8{216,236,316,327} helpers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:24 +00:00
juhosg
3ffc68003f ar71xx: add default LED setup for the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:23 +00:00
juhosg
ab5576542a cns21xx: use the generic uci-default functions for initial LED setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:22 +00:00
juhosg
014e1ffa51 lantiq: use the generic uci-default functions for initial LED setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:21 +00:00
juhosg
09f48c381b kirkwood: use the generic uci-default functions for initial LED setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:20 +00:00
juhosg
93945c8815 ramips: use the generic uci-default functions for initial LED setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:18 +00:00
juhosg
22ae6b82eb ar71xx: use the generic uci-default functions for initial LED setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:17 +00:00
juhosg
3a3aa7378b kirkwood: use uci-defaults to configure different boards
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:15 +00:00
juhosg
436c9f6d34 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]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:03 +00:00
nbd
8c1c75ba17 ar71xx: do not override the mdio clock for ar9330. the override value (obtained from an atheros driver) seems to break ethernet functionality
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 20:39:50 +00:00
nbd
0f299fab07 ar71xx: improve rx performance of the ethernet driver by using build_skb to deliver a cache-hot skb to the network stack
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 02:55:59 +00:00
nbd
dfea949949 ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 21:02:41 +00:00
nbd
295c63c334 kernel: fix suppressing -s for linking modules when profiling is enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 21:02:36 +00:00
juhosg
d3fa7efc8c ar71xx: fix TL-WR1041 image size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:21:47 +00:00
juhosg
75c71fcaa0 ramips: rt3883: add device registration code for the SPI controller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:10:00 +00:00
juhosg
84b342399c ramips: allow to use the SPI driver on RT3662/RT3883
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:58 +00:00
juhosg
1e3e199faa ramips: rt3883: fix GPIO reservation for the SPI pins
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:56 +00:00
juhosg
0c9cb51fbb ramips: rt305x: remove superfluous controller_data assignment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:52 +00:00
juhosg
ce2fd1dbc9 ramips: make rt2x00 firmware extraction quiet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:50 +00:00
juhosg
39068e8b25 generic: rtl8367: rename a misnamed variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:47 +00:00
juhosg
11d6be39a6 generic: rtl8366_smi: remove duplicated spinlock initialization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:45 +00:00
juhosg
63d3e3114d generic: rtl8366_smi: rename debugfs Kconfig symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:43 +00:00
juhosg
5a1c605a9e generic: rtl8367: allow to use VLANs > 31
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:41 +00:00
blogic
e4b72001f6 [lantiq] move files-3.3 -> files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:13:02 +00:00
blogic
c9e0ccf07c [lantiq] 3.2 R.I.P.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:12:59 +00:00
blogic
c8e24ec13e [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:02:22 +00:00
blogic
f72e7bf12d [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:02:20 +00:00
blogic
2b03aafe31 [lantiq] Add basic configuration for new board ZTE H201L. Still missing are button and led gpio values.
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:02:16 +00:00
nbd
95d801c59d kernel: properly pad the allocated headroom in skb_cow to NET_SKB_PAD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:16:37 +00:00
juhosg
fe77f5d922 linux/3.2: R.I.P.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:37 +00:00
juhosg
1ee6958324 xburst: remove support for old kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:35 +00:00
juhosg
287550be20 xburst: switch to 3.3 and add broken flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:33 +00:00
juhosg
8f313bd0fd xburst: add support for 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:32 +00:00
juhosg
e2dd39f3dc ppc44x: remove 3.2 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:30 +00:00
juhosg
14aefb43c8 ppx44x: switch to 3.3 and add broken flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:28 +00:00
juhosg
5061f8857c ppc44x: add support for 3.3
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:27 +00:00
juhosg
000012926a cobalt: switch to 3.3 and add broken flag
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:26 +00:00
juhosg
bc9bf715d9 ep93xx: remove 3.2 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:24 +00:00
juhosg
dee80699d1 ep93xx: switch to 3.3 and add broken flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:23 +00:00
juhosg
a195c06c00 ep93xx: add support for 3.3
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:21 +00:00
juhosg
e468dc1413 au1000: remove 3.2 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:18 +00:00
juhosg
accbbf39c0 au1000: switch to 3.3 and add broken flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:17 +00:00
juhosg
5c8cc31fb8 au1000: add support for 3.3
Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:15 +00:00
juhosg
e3e4a95d9b linux/3.1: R.I.P.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:09 +00:00
juhosg
e17d6b0709 omap24xx: remove 3.1 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:07 +00:00
juhosg
4ea55a169b omap24xx: switch to 3.3 and add broken flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:05 +00:00
juhosg
c7e92c13d2 cns3xxx: remove 3.1 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:03 +00:00
juhosg
a27b48f2d8 cns3xxx: switch to 3.3 and add broken flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:02 +00:00
nbd
4cf70ab2e1 kernel: add a few patches for avoiding unnecessary skb reallocations - significantly improves ethernet<->wireless performance with mac80211 based drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 14:43:58 +00:00
jogo
878544bb07 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:51 +00:00
jogo
092e90e1ef bcm63xx: add ath9k to atheros wifi profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:48 +00:00
jogo
f095146c5d 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)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:46 +00:00