Commit Graph

24618 Commits (33bd74b68fe9a0add20181ff707504c572197c1b)

Author SHA1 Message Date
Felix Fietkau f89ae950b0 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
2012-10-10 11:39:02 +00:00
Felix Fietkau ec94f89147 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
2012-10-10 11:38:58 +00:00
Felix Fietkau 53d9b13340 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
2012-10-10 11:38:54 +00:00
Felix Fietkau 0d705f9422 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
2012-10-10 11:38:44 +00:00
Felix Fietkau 0cc43eb544 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
2012-10-10 11:38:36 +00:00
Felix Fietkau f35f0355ab 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
2012-10-10 11:38:28 +00:00
Jonas Gorski 4e768ae118 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
2012-10-09 23:11:12 +00:00
Jo-Philipp Wich f7b01c3da2 [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
2012-10-09 16:41:36 +00:00
Jo-Philipp Wich 7eb7af77cb [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
2012-10-09 16:41:28 +00:00
Felix Fietkau c43d07561e ixp4xx: add missing reboot handlers (fixes #11577)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-09 15:38:55 +00:00
Felix Fietkau 065c949674 x86: remove the reboot=bios command line parameter (#12193)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-09 15:20:11 +00:00
Jonas Gorski cb4f3079cc bcm63xx: remove bcm_tag usage in kernel
Fixes #12292.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-09 08:08:49 +00:00
Hauke Mehrtens 5ea49bbb0e 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
2012-10-08 20:18:27 +00:00
Hauke Mehrtens b8f16535e2 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
2012-10-08 20:15:42 +00:00
Hauke Mehrtens ce5b330695 mac80211: fix spacing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08 18:24:35 +00:00
Imre Kaloz 50cb64b6ed it's time to break the barriers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08 13:12:37 +00:00
Jonas Gorski 2584e7ddda 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
2012-10-08 13:08:40 +00:00
Felix Fietkau 1c6b274168 rssileds: select libiwinfo instead of just depending on it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08 13:01:47 +00:00
Felix Fietkau 271fc237ae busybox: backport upstream fixes for ext2 related tools
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08 12:31:33 +00:00
Felix Fietkau 894ec6e556 busybox: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08 12:31:27 +00:00
Felix Fietkau 695081b3c1 add myself as a maintainer for various packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08 11:41:02 +00:00
Felix Fietkau 7e94d76cfa 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
2012-10-08 11:40:57 +00:00
Felix Fietkau a17a510a62 move library packages to package/libs/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08 11:24:12 +00:00
Jonas Gorski 350022b54a 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
2012-10-08 09:59:50 +00:00
Jonas Gorski 37bb5de7d2 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
2012-10-08 09:59:47 +00:00
Jonas Gorski 752bf49b70 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
2012-10-08 09:59:44 +00:00
Felix Fietkau bbb2b87002 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
2012-10-07 23:24:02 +00:00
Felix Fietkau bb5ccd89c3 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
2012-10-07 23:23:58 +00:00
Felix Fietkau e2eaa02a71 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
2012-10-07 23:23:52 +00:00
Felix Fietkau 9ab77f9d45 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
2012-10-07 23:23:47 +00:00
Felix Fietkau 0f9c180aae 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
2012-10-07 23:23:43 +00:00
Felix Fietkau acc0d609a4 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
2012-10-07 23:23:39 +00:00
Felix Fietkau 44565900dd 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
2012-10-07 23:23:34 +00:00
Felix Fietkau c4b2739a32 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
2012-10-07 23:23:29 +00:00
Felix Fietkau 8d948d2d20 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
2012-10-07 23:23:25 +00:00
Felix Fietkau 56803b05a0 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
2012-10-07 23:05:39 +00:00
Felix Fietkau 7bb6460a5d x86: remove grub-legacy
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:01:56 +00:00
Felix Fietkau ea575c9316 x86: add grub2 iso support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:01:52 +00:00
Felix Fietkau 7f67793f59 x86/generic: enable cdrom + iso9660 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:01:47 +00:00
Felix Fietkau 214d92cfca mac80211: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 21:35:33 +00:00
Felix Fietkau bd267624fc 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
2012-10-07 21:35:29 +00:00
Felix Fietkau a4329ad3cc move a few unmaintained packages from trunk to /packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 12:50:15 +00:00
Felix Fietkau 5df4ff2973 build: create pkginfo dir earlier to avoid build breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-06 22:42:57 +00:00
Felix Fietkau 6683f47568 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
2012-10-06 16:01:06 +00:00
Felix Fietkau fc96ba7411 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
2012-10-06 16:01:02 +00:00
Felix Fietkau e8ad5f0b87 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
2012-10-05 16:15:55 +00:00
Hauke Mehrtens 2d6b8df868 [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
2012-10-04 21:39:22 +00:00
Gabor Juhos 9eb5ed1482 ar71xx: build image for the TL-WR841N/ND v8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 20:16:06 +00:00
Gabor Juhos 276b0a594d ar71xx: user-space support for TL-WR841N/ND v8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 20:16:05 +00:00
Gabor Juhos 4d225ea147 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
2012-10-04 20:16:03 +00:00