openwrt.git
11 years agocns3xxx: Fix GPIO configuration for Gateworks Laguna boards
nbd [Wed, 10 Oct 2012 11:39:02 +0000 (11:39 +0000)]
cns3xxx: Fix GPIO configuration for Gateworks Laguna boards

The Laguna boards do not use all the same pins for SDHCI as the Cavium
reference board.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33684 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agocns3xxx: Fix laguna arm11mpcore watchdog
nbd [Wed, 10 Oct 2012 11:38:58 +0000 (11:38 +0000)]
cns3xxx: Fix laguna arm11mpcore watchdog

The ARM11MPCore Timer/Watchdog registers start at offset 0x600 which is where
all mpcore-wdt boards point the driver base too.  I believe this is wrong
because 0x600 is aliased to the timer/watchdog of the 'current CPU' where
0x700 is CPU0's timer/watchdog, and 0x800 is CPU1's timer/watchdog.  Thus
if your timer/watchdog application is switching between CPU's it can end up
writing to the wrong CPU's registers which results in random board resets
from watchdog timeouts etc.

This patch forces the timer/watchdog driver to use CPU0's registers always.
Its my opinion that other mpcore-wdt boards should be doing the same thing.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33683 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agopackage/kernel/sound: Add Gateworks Avila Sound SoC package
nbd [Wed, 10 Oct 2012 11:38:54 +0000 (11:38 +0000)]
package/kernel/sound: Add Gateworks Avila Sound SoC package

This package includes the audio drivers for Avila SoC Audio

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33682 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomtd: allow partial block unlock
nbd [Wed, 10 Oct 2012 11:38:44 +0000 (11:38 +0000)]
mtd: allow partial block unlock

This allows sysupgrade for devices such as the Gateworks Avila/Cambria
product families based on the ixp4xx using the redboot bootloader with
combined FIS directory and RedBoot config partitions on larger FLASH
devices with larger eraseblocks.

This second iteration of this patch addresses previous issues:
  - whitespace breakage fixed
  - unlock in all scenarios
  - simplification and fix logic bug

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33681 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoixp4xx-microcode: Add ixp4xx NPE-A-HSS firmware
nbd [Wed, 10 Oct 2012 11:38:36 +0000 (11:38 +0000)]
ixp4xx-microcode: Add ixp4xx NPE-A-HSS firmware

The ixp4xx HSS firmware is needed in order to use the HSS (synchronous serial
port).  An example of where this is used is the Gateworks Avila boards to
interface to an audio codec.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33680 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoixp4xx: enable OPTIMIZE_FOR_SIZE
nbd [Wed, 10 Oct 2012 11:38:28 +0000 (11:38 +0000)]
ixp4xx: enable OPTIMIZE_FOR_SIZE

Enabling OPTIMIZE_FOR_SIZE cuts the kernel binary down by 50K which is
critical for some small-footprint boards.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33679 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: fix intel wifi autoload module names
jogo [Tue, 9 Oct 2012 23:11:12 +0000 (23:11 +0000)]
mac80211: fix intel wifi autoload module names

The autoload directives were using wrong module names, preventing
them from being automatically inserted at boot time.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33676 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[package] cyassl: add a patch to better check legacy SSLv2 client hello records
jow [Tue, 9 Oct 2012 16:41:36 +0000 (16:41 +0000)]
[package] cyassl: add a patch to better check legacy SSLv2 client hello records

If junk data is received during SSL_accept(), cyassl will treat it as legacy SSLv2
record without performing further plausibility checks. Change the legacy code path
to return UNKNOWN_HANDSHAKE_TYPE if the value of the third byte isn't 0x01 the
hello message type.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33675 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[package] hostapd: ensure that wpa_supplicant_setup_vif() returns success in cases...
jow [Tue, 9 Oct 2012 16:41:28 +0000 (16:41 +0000)]
[package] hostapd: ensure that wpa_supplicant_setup_vif() returns success in cases where wpa_supplicant is not invoked (#11996)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33674 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoixp4xx: add missing reboot handlers (fixes #11577)
nbd [Tue, 9 Oct 2012 15:38:55 +0000 (15:38 +0000)]
ixp4xx: add missing reboot handlers (fixes #11577)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33672 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86: remove the reboot=bios command line parameter (#12193)
nbd [Tue, 9 Oct 2012 15:20:11 +0000 (15:20 +0000)]
x86: remove the reboot=bios command line parameter (#12193)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33671 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobcm63xx: remove bcm_tag usage in kernel
jogo [Tue, 9 Oct 2012 08:08:49 +0000 (08:08 +0000)]
bcm63xx: remove bcm_tag usage in kernel

Fixes #12292.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33670 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: brcmsmac: use firmware extracted from proprietary driver
hauke [Mon, 8 Oct 2012 20:18:27 +0000 (20:18 +0000)]
mac80211: brcmsmac: use firmware extracted from proprietary driver

The firmware from linux-firmware does not support the rev 17 core found
in a bcm4716. The firmware extracted from the proprietary driver
supports this core. Use this firmware instead by default.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33669 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agotools: add b43-tools
hauke [Mon, 8 Oct 2012 20:15:42 +0000 (20:15 +0000)]
tools: add b43-tools

Move the b43-tools build from the mac80211 Makefile into an own package in tools and use the newest version of b43-tools.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33668 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: fix spacing
hauke [Mon, 8 Oct 2012 18:24:35 +0000 (18:24 +0000)]
mac80211: fix spacing

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33667 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoit's time to break the barriers
kaloz [Mon, 8 Oct 2012 13:12:37 +0000 (13:12 +0000)]
it's time to break the barriers

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33666 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobcm63xx: fix 963281TAN image names
jogo [Mon, 8 Oct 2012 13:08:40 +0000 (13:08 +0000)]
bcm63xx: fix 963281TAN image names

it's a 6328, not a 6348.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33665 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agorssileds: select libiwinfo instead of just depending on it
nbd [Mon, 8 Oct 2012 13:01:47 +0000 (13:01 +0000)]
rssileds: select libiwinfo instead of just depending on it

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33664 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobusybox: backport upstream fixes for ext2 related tools
nbd [Mon, 8 Oct 2012 12:31:33 +0000 (12:31 +0000)]
busybox: backport upstream fixes for ext2 related tools

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33662 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobusybox: refresh patches
nbd [Mon, 8 Oct 2012 12:31:27 +0000 (12:31 +0000)]
busybox: refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33661 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoadd myself as a maintainer for various packages
nbd [Mon, 8 Oct 2012 11:41:02 +0000 (11:41 +0000)]
add myself as a maintainer for various packages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33660 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobuild: allow the package maintainer info to be specified globally for a source package
nbd [Mon, 8 Oct 2012 11:40:57 +0000 (11:40 +0000)]
build: allow the package maintainer info to be specified globally for a source package

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33659 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomove library packages to package/libs/
nbd [Mon, 8 Oct 2012 11:24:12 +0000 (11:24 +0000)]
move library packages to package/libs/

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33657 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agofirmware-utils: move bcm_tag.h here
jogo [Mon, 8 Oct 2012 09:59:50 +0000 (09:59 +0000)]
firmware-utils: move bcm_tag.h here

Since there is only one user of bcm_tag.h left, we can safely move it
into the firmware-utils directory, replacing the symlink.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33655 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agopackage: mtd: use in-kernel bcm63xx image tag header
jogo [Mon, 8 Oct 2012 09:59:47 +0000 (09:59 +0000)]
package: mtd: use in-kernel bcm63xx image tag header

Use the image tag header from the kernel instead of an external header
file.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33654 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobcm63xx: fix entering failsafe through button
jogo [Mon, 8 Oct 2012 09:59:44 +0000 (09:59 +0000)]
bcm63xx: fix entering failsafe through button

gpio_keys_polled needs to be loaded in preinit for buttons to work for
entering failsafe.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33653 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agocns3xxx: add sysupgrade support
nbd [Sun, 7 Oct 2012 23:24:02 +0000 (23:24 +0000)]
cns3xxx: add sysupgrade support

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
 target/linux/cns3xxx/base-files/lib/cns3xxx.sh          |   22 ++
 target/linux/cns3xxx/base-files/lib/upgrade/platform.sh |  122 ++++++++++++++++
 target/linux/cns3xxx/image/Makefile                     |   19 +-
 3 files changed, 159 insertions(+), 4 deletions(-)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33650 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agocns3xxx: add GW2383 board support
nbd [Sun, 7 Oct 2012 23:23:58 +0000 (23:23 +0000)]
cns3xxx: add GW2383 board support

Add GPIO/LED support for Gateworks GW2383

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
 target/linux/cns3xxx/patches-3.3/300-laguna_support.patch |   18 +++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33649 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agocns3xxx: fix gpio access and add gpio IRQ support
nbd [Sun, 7 Oct 2012 23:23:52 +0000 (23:23 +0000)]
cns3xxx: fix gpio access and add gpio IRQ support

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
 target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch |  536 ++++++++++++++++++++
 1 file changed, 536 insertions(+)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33648 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoixp4xx: update Gateworks Avila board support
nbd [Sun, 7 Oct 2012 23:23:47 +0000 (23:23 +0000)]
ixp4xx: update Gateworks Avila board support

Several new features for newer boards:
 - add additional UARTs present on some boards
 - add additional LEDs present on some boards
 - add HSS audio device codec present on some boards
 - add support for GSC present on some boards
 - add per model setup support for newer boards
 - set FLASH window per-model for boards with larger FLASH

Some fixes:
 - add IRQ mapping for additional PCI devices (USB Host)

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33647 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoixp4xx: patch cleanup
nbd [Sun, 7 Oct 2012 23:23:43 +0000 (23:23 +0000)]
ixp4xx: patch cleanup

roll all avila patches into a single patch (no code changes)

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33646 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoixp4xx: Add HSS audio driver for Avila product family
nbd [Sun, 7 Oct 2012 23:23:39 +0000 (23:23 +0000)]
ixp4xx: Add HSS audio driver for Avila product family

Add ixp4xx HSS audio driver for Avila

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33645 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoixp4xx: update Gateworks Cambria board support
nbd [Sun, 7 Oct 2012 23:23:34 +0000 (23:23 +0000)]
ixp4xx: update Gateworks Cambria board support

Several new features for newer boards:
 - add irq mapping for additional devices
 - add platform data for i2c bus to SFP modules
 - add additional UARTs present on some boards
 - increased R/W delay for expansion bus UARTs
 - add additional LEDs present on some boards
 - add GPIO exports and configuration
 - add ENET switch config present on some boards
 - add support for GSC present on some boards
 - added per model setup support for newer boards

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33644 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoixp4xx: patch cleanup
nbd [Sun, 7 Oct 2012 23:23:29 +0000 (23:23 +0000)]
ixp4xx: patch cleanup

roll all cambria patches into a single patch (no code changes)

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33643 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoixp4xx: split out new UART I/O to its own patch
nbd [Sun, 7 Oct 2012 23:23:25 +0000 (23:23 +0000)]
ixp4xx: split out new UART I/O to its own patch

This is being done for general cleanup

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33642 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86: rename the iso file to openwrt-x86-generic.iso
nbd [Sun, 7 Oct 2012 23:05:39 +0000 (23:05 +0000)]
x86: rename the iso file to openwrt-x86-generic.iso

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33641 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86: remove grub-legacy
nbd [Sun, 7 Oct 2012 23:01:56 +0000 (23:01 +0000)]
x86: remove grub-legacy

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33640 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86: add grub2 iso support
nbd [Sun, 7 Oct 2012 23:01:52 +0000 (23:01 +0000)]
x86: add grub2 iso support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33639 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86/generic: enable cdrom + iso9660 support
nbd [Sun, 7 Oct 2012 23:01:47 +0000 (23:01 +0000)]
x86/generic: enable cdrom + iso9660 support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33638 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: refresh patches
nbd [Sun, 7 Oct 2012 21:35:33 +0000 (21:35 +0000)]
mac80211: refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33636 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: use ieee80211_free_txskb in a few more places to prevent skb leaks
nbd [Sun, 7 Oct 2012 21:35:29 +0000 (21:35 +0000)]
mac80211: use ieee80211_free_txskb in a few more places to prevent skb leaks

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33635 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomove a few unmaintained packages from trunk to /packages
nbd [Sun, 7 Oct 2012 12:50:15 +0000 (12:50 +0000)]
move a few unmaintained packages from trunk to /packages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33634 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobuild: create pkginfo dir earlier to avoid build breakage
nbd [Sat, 6 Oct 2012 22:42:57 +0000 (22:42 +0000)]
build: create pkginfo dir earlier to avoid build breakage

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33633 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobuild: rework the package/install step - collect package install lists during package...
nbd [Sat, 6 Oct 2012 16:01:06 +0000 (16:01 +0000)]
build: rework the package/install step - collect package install lists during package/compile, then install all packages at once

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33631 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agohostapd: fix parallel build issues and spurious object file rebuilds
nbd [Sat, 6 Oct 2012 16:01:02 +0000 (16:01 +0000)]
hostapd: fix parallel build issues and spurious object file rebuilds

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33630 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoath9k: fix invalid register access on single-stream ar93xx devices
nbd [Fri, 5 Oct 2012 16:15:55 +0000 (16:15 +0000)]
ath9k: fix invalid register access on single-stream ar93xx devices

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33628 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[package] acx-mac80211: adapt interface changes in mac80211
hauke [Thu, 4 Oct 2012 21:39:22 +0000 (21:39 +0000)]
[package] acx-mac80211: adapt interface changes in mac80211

The prototype of conf_tx and tx in struct ieee80211_ops changed some
time ago and was not compatible with the prototype assumes by
acs-mac80211.
At least I do not see any compile warnings about this any more.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33624 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: build image for the TL-WR841N/ND v8
juhosg [Thu, 4 Oct 2012 20:16:06 +0000 (20:16 +0000)]
ar71xx: build image for the TL-WR841N/ND v8

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33623 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: user-space support for TL-WR841N/ND v8
juhosg [Thu, 4 Oct 2012 20:16:05 +0000 (20:16 +0000)]
ar71xx: user-space support for TL-WR841N/ND v8

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33622 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: add support for the TL-WR841N/ND v8 board
juhosg [Thu, 4 Oct 2012 20:16:03 +0000 (20:16 +0000)]
ar71xx: add support for the TL-WR841N/ND v8 board

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33621 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[brcm47xx]: bcma: do not initialize deactivated PCIe cores
hauke [Thu, 4 Oct 2012 15:45:54 +0000 (15:45 +0000)]
[brcm47xx]: bcma: do not initialize deactivated PCIe cores

Before it was tried to initialize the deactivated PCIe core in client
mode, but this causes the SoC to hang. Just do not initialize it at all
and ignore the core it is not working and nothing is connected to it
when the specific bit is set in the boardflags.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33620 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[brcm47xx]: use memcmp in mem size detection as suggested by blogic
hauke [Thu, 4 Oct 2012 15:42:12 +0000 (15:42 +0000)]
[brcm47xx]: use memcmp in mem size detection as suggested by blogic

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33619 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[rdc] fix typo in 05_set_ether_mac_rdc preinit script (#11166)
florian [Thu, 4 Oct 2012 12:36:50 +0000 (12:36 +0000)]
[rdc] fix typo in 05_set_ether_mac_rdc preinit script (#11166)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33618 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[package] broadcom-wl: fix build after IRQF_SAMPLE_RANDOM flag removal (#12248)
florian [Thu, 4 Oct 2012 12:36:45 +0000 (12:36 +0000)]
[package] broadcom-wl: fix build after IRQF_SAMPLE_RANDOM flag removal (#12248)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33617 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211/rt2x00: fix lna assignment typo in Rt3352 which went upstream
juhosg [Thu, 4 Oct 2012 06:34:14 +0000 (06:34 +0000)]
mac80211/rt2x00: fix lna assignment typo in Rt3352 which went upstream

Reviewing what went into wireless-testing I found a quite nasty mistake,
probably a result of copy&past'ing from the lines below in rt2800lib.c.
This adds another patch to fix that.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33616 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211/rt2x00: sync Rt3352 support
juhosg [Thu, 4 Oct 2012 06:34:12 +0000 (06:34 +0000)]
mac80211/rt2x00: sync Rt3352 support

The original patch was accepted into linux-next in a slightly modified form.
In order to provide integrity to follow-up patches, replace the patch in OpenWrt
with the (semantically identical) now upstream patch.
(commit 03839951515b0ea2b21d649b1fe7b63f9817d0c8 in wireless-testing)

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33615 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: add image for ALL0256N-8M
juhosg [Thu, 4 Oct 2012 06:34:09 +0000 (06:34 +0000)]
ramips: add image for ALL0256N-8M

The new version of the ALL0256N now got 8MB SPI NOR flash instead of 4MB.
In order to expose the whole amount of flash, add another image which contains
the corresponding GENERIC_8M mtdparts.

[juhosg: change suffix from '8m' to '8M']

Patch by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33614 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: allow scans in access point mode (for site survey)
nbd [Wed, 3 Oct 2012 19:13:20 +0000 (19:13 +0000)]
mac80211: allow scans in access point mode (for site survey)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33613 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[package] uboot-envtools: remove MENU, it is unused since r33265
luka [Wed, 3 Oct 2012 18:57:51 +0000 (18:57 +0000)]
[package] uboot-envtools: remove MENU, it is unused since r33265

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33612 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoath9k: use ieee80211_free_txskb, might fix hostapd stability issues
nbd [Wed, 3 Oct 2012 18:57:31 +0000 (18:57 +0000)]
ath9k: use ieee80211_free_txskb, might fix hostapd stability issues

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33611 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: fix regulatory tx power initialization
nbd [Wed, 3 Oct 2012 18:57:25 +0000 (18:57 +0000)]
mac80211: fix regulatory tx power initialization

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33610 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[pxa] add Default and Gumstix PXA profiles
florian [Wed, 3 Oct 2012 16:15:05 +0000 (16:15 +0000)]
[pxa] add Default and Gumstix PXA profiles

Gumstix builds a fake flash image for usage in qemu

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33609 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[package] add uboot-pxa for Gumstix boards
florian [Wed, 3 Oct 2012 16:14:21 +0000 (16:14 +0000)]
[package] add uboot-pxa for Gumstix boards

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33608 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[pxa] advertise jffs2 feature
florian [Wed, 3 Oct 2012 16:12:57 +0000 (16:12 +0000)]
[pxa] advertise jffs2 feature

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33607 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[pxa] remove broken flag
florian [Wed, 3 Oct 2012 16:12:39 +0000 (16:12 +0000)]
[pxa] remove broken flag

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33606 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[pxa] fix build with latest gpiolib changes
florian [Wed, 3 Oct 2012 16:12:03 +0000 (16:12 +0000)]
[pxa] fix build with latest gpiolib changes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33605 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[mcs814x] more convertions to {read,write}_relaxed I/O accessors
florian [Wed, 3 Oct 2012 16:10:47 +0000 (16:10 +0000)]
[mcs814x] more convertions to {read,write}_relaxed I/O accessors

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33604 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agocns3xxx: add missing kernel config symbol
nbd [Sun, 30 Sep 2012 15:31:34 +0000 (15:31 +0000)]
cns3xxx: add missing kernel config symbol

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33603 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[kernel] refresh patches
hauke [Sun, 30 Sep 2012 11:45:53 +0000 (11:45 +0000)]
[kernel] refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33602 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[brcm47xx]: bcma: use fallback sprom if sprom on card was not valid
hauke [Sun, 30 Sep 2012 11:45:31 +0000 (11:45 +0000)]
[brcm47xx]: bcma: use fallback sprom if sprom on card was not valid

Sometimes the PCIe card indicates that it has a sprom somewhere and we
are able to read the memory region, but it is empty and not valid. In
these cases we should try to use the fallback sprom as a last chance.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33601 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[brcm47xx]: bcma: initialize sprom earlier
hauke [Sun, 30 Sep 2012 11:44:44 +0000 (11:44 +0000)]
[brcm47xx]: bcma: initialize sprom earlier

The chip common and the PCIe code are accessing the sprom struct which
is not filled when these cores are initialized. Fix this by adding an
early initialize and fill the sprom struct before accessing it in other
code.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33600 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[brcm47xx]: run make kernel_oldconfig
hauke [Sun, 30 Sep 2012 11:44:04 +0000 (11:44 +0000)]
[brcm47xx]: run make kernel_oldconfig

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33599 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[brcm47xx]: ignore the last page on bcma based SoCs
hauke [Sun, 30 Sep 2012 11:43:40 +0000 (11:43 +0000)]
[brcm47xx]: ignore the last page on bcma based SoCs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33598 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[brcm47xx]: Fix reading sprom from nvram without a prefix
hauke [Sun, 30 Sep 2012 11:43:13 +0000 (11:43 +0000)]
[brcm47xx]: Fix reading sprom from nvram without a prefix

The bcma based SoCs with a ieee80211 core on the SoC and an other
connected via PCIe or USB store the sprom for the SoC with a sb/1/
prefix. The SoC with just one wifi core do not use prefixes. The
BCM4706 do not use a prefix for the SoC part at all, because the prefix
is the path to the ieee80211 core and there is non on the BCM4706.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33597 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[brcm47xx]: improve the check for the memory size
hauke [Sun, 30 Sep 2012 11:42:16 +0000 (11:42 +0000)]
[brcm47xx]: improve the check for the memory size

This will hopefully fix bug #9360 and #9097 in trunk.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33596 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agonetifd: update to latest version, should fix clearing ipv6 routes on interface bringu...
nbd [Fri, 28 Sep 2012 23:12:34 +0000 (23:12 +0000)]
netifd: update to latest version, should fix clearing ipv6 routes on interface bringup (#12184)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33595 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[ltq-dsl] remove dependency for pkill
blogic [Fri, 28 Sep 2012 22:37:04 +0000 (22:37 +0000)]
[ltq-dsl] remove dependency for pkill

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33594 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[kernel] dont explicitly select wireless-tools. rely on the drivers that need them...
blogic [Fri, 28 Sep 2012 21:54:31 +0000 (21:54 +0000)]
[kernel] dont explicitly select wireless-tools. rely on the drivers that need them to have the right dependency

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33593 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[atheros] add support for adm6996 phy
blogic [Fri, 28 Sep 2012 21:38:02 +0000 (21:38 +0000)]
[atheros] add support for adm6996 phy

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33592 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[lantiq] tapi was not registeredproperly for most arcadyan boards
blogic [Fri, 28 Sep 2012 20:57:06 +0000 (20:57 +0000)]
[lantiq] tapi was not registeredproperly for most arcadyan boards

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33591 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAR71xx/9xxx based routers are the most common these days, select that as the default...
kaloz [Fri, 28 Sep 2012 20:54:35 +0000 (20:54 +0000)]
AR71xx/9xxx based routers are the most common these days, select that as the default target

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33590 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: add uci support for configuring antenna gain
nbd [Fri, 28 Sep 2012 18:29:22 +0000 (18:29 +0000)]
mac80211: add uci support for configuring antenna gain

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33587 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoiw: update to 3.6 and add support for configuring antenna gain
nbd [Fri, 28 Sep 2012 18:29:16 +0000 (18:29 +0000)]
iw: update to 3.6 and add support for configuring antenna gain

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33586 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: fix antenna gain and add support for user-defined antenna gain configuration
nbd [Fri, 28 Sep 2012 18:29:09 +0000 (18:29 +0000)]
mac80211: fix antenna gain and add support for user-defined antenna gain configuration

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33585 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: rework the current tx power display patch
nbd [Fri, 28 Sep 2012 18:29:02 +0000 (18:29 +0000)]
mac80211: rework the current tx power display patch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33584 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: fix beacon IE power constraint handling
nbd [Fri, 28 Sep 2012 18:28:54 +0000 (18:28 +0000)]
mac80211: fix beacon IE power constraint handling

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33583 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobuild: turn on package parallel builds by default and fix descriptions.
nbd [Fri, 28 Sep 2012 18:09:41 +0000 (18:09 +0000)]
build: turn on package parallel builds by default and fix descriptions.

By default, this is only used when building with make -j.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33582 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAdd FIQ support for cns3xxx
kaloz [Fri, 28 Sep 2012 17:35:35 +0000 (17:35 +0000)]
Add FIQ support for cns3xxx

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33581 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoUpdate board support for Gateworks Laguna Product family
kaloz [Fri, 28 Sep 2012 17:34:18 +0000 (17:34 +0000)]
Update board support for Gateworks Laguna Product family

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33580 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoUSB iso mode fixes
kaloz [Fri, 28 Sep 2012 17:31:22 +0000 (17:31 +0000)]
USB iso mode fixes

Resolves an issue where isochronouse USB would cause the driver to hang as
well as scheduling issues.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33579 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agocmake: update to version 2.8.9
nbd [Fri, 28 Sep 2012 00:07:28 +0000 (00:07 +0000)]
cmake: update to version 2.8.9

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33576 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: avoid possible NULL pointer dereference in ath79_init_{,local}_mac
juhosg [Thu, 27 Sep 2012 20:05:42 +0000 (20:05 +0000)]
ar71xx: avoid possible NULL pointer dereference in ath79_init_{,local}_mac

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33575 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agogeneric: enable CONFIG_USB_EHCI_TT_NEWSCHED
juhosg [Thu, 27 Sep 2012 20:05:39 +0000 (20:05 +0000)]
generic: enable CONFIG_USB_EHCI_TT_NEWSCHED

This feature was experimental in old kernels but
that flag has been removed in 2.6.36. Additionally,
the option is enabled by default since then.

See: http://www.spinics.net/lists/linux-usb/msg31993.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33574 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[package] 6to4: properly setup Base6to4Interface (#12251)
jow [Thu, 27 Sep 2012 18:30:07 +0000 (18:30 +0000)]
[package] 6to4: properly setup Base6to4Interface (#12251)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33573 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoath5k: add a spur mitigation fix
nbd [Thu, 27 Sep 2012 11:12:13 +0000 (11:12 +0000)]
ath5k: add a spur mitigation fix

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33572 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: add memory detection code for RT5350
juhosg [Thu, 27 Sep 2012 10:18:15 +0000 (10:18 +0000)]
ramips: add memory detection code for RT5350

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33571 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: allow to use custom code for memory size detection
juhosg [Thu, 27 Sep 2012 10:18:14 +0000 (10:18 +0000)]
ramips: allow to use custom code for memory size detection

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33570 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[uml] include sys/resource.h in arch/um/os-Linux/start_up.c (#12155)
florian [Thu, 27 Sep 2012 09:21:01 +0000 (09:21 +0000)]
[uml] include sys/resource.h in arch/um/os-Linux/start_up.c (#12155)

Required for recent (e)glibc systems

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33569 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[cns3xxx]: fix ncores for single-core systems.
kaloz [Thu, 27 Sep 2012 08:07:17 +0000 (08:07 +0000)]
[cns3xxx]: fix ncores for single-core systems.

For cns3xxx SCU_CONFIGURATION always shows multipe cores but SCU_CPU_STATUS
shows which ones are active.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33566 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[cns3xxx]: add i2c retries
kaloz [Thu, 27 Sep 2012 08:06:13 +0000 (08:06 +0000)]
[cns3xxx]: add i2c retries

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33565 3c298f89-4303-0410-b956-a3cf2f4a3e73