Commit Graph

8977 Commits (31c2f1a4d2f558882ff5c43da12960ab22fee69f)

Author SHA1 Message Date
Imre Kaloz 31c2f1a4d2 fix non terminated uart resources for laguna
Resolves crashes when probing multiple serial devices

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33719
12 years ago
Florian Fainelli bc3b111cfd generate vmlinux.srec and vmlinux.bin from srec2bin
Useful for loading the kernel into RAM using ADAM2/PSPBoot.

SVN-Revision: 33718
12 years ago
Felix Fietkau d0ec348ded kernel: fq_codel: dont reinit flow state
Keep fq_codel flow state around after queue empty.

SVN-Revision: 33687
12 years ago
Felix Fietkau f933719138 kernel: dont delay acks after ECN CE
Bugfix from linux head - don't delay acks from ECN congestion
experienced in some situations.

SVN-Revision: 33686
12 years ago
Felix Fietkau 85871f283a 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>

SVN-Revision: 33684
12 years ago
Felix Fietkau 6bb7409e5a 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>

SVN-Revision: 33683
12 years ago
Felix Fietkau f570c806ef 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>

SVN-Revision: 33681
12 years ago
Felix Fietkau cae6f4ddb4 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>

SVN-Revision: 33679
12 years ago
Felix Fietkau f14b8d43f2 ixp4xx: add missing reboot handlers (fixes #11577)
SVN-Revision: 33672
12 years ago
Felix Fietkau 856fba88d9 x86: remove the reboot=bios command line parameter (#12193)
SVN-Revision: 33671
12 years ago
Jonas Gorski fbe0af3237 bcm63xx: remove bcm_tag usage in kernel
Fixes #12292.

SVN-Revision: 33670
12 years ago
Jonas Gorski 6a000ba37a bcm63xx: fix 963281TAN image names
it's a 6328, not a 6348.

SVN-Revision: 33665
12 years ago
Jonas Gorski 997ace7e5e 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.

SVN-Revision: 33655
12 years ago
Jonas Gorski f16ea6be3f bcm63xx: fix entering failsafe through button
gpio_keys_polled needs to be loaded in preinit for buttons to work for
entering failsafe.

SVN-Revision: 33653
12 years ago
Felix Fietkau e5bb1a1bc7 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(-)

SVN-Revision: 33650
12 years ago
Felix Fietkau 68449e2e01 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(-)

SVN-Revision: 33649
12 years ago
Felix Fietkau 6b778f57aa 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(+)

SVN-Revision: 33648
12 years ago
Felix Fietkau bca070dfbe 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>

SVN-Revision: 33647
12 years ago
Felix Fietkau 22b86fec7c ixp4xx: patch cleanup
roll all avila patches into a single patch (no code changes)

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33646
12 years ago
Felix Fietkau d660734a1b ixp4xx: Add HSS audio driver for Avila product family
Add ixp4xx HSS audio driver for Avila

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33645
12 years ago
Felix Fietkau ce692ed043 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>

SVN-Revision: 33644
12 years ago
Felix Fietkau 21d182b9e5 ixp4xx: patch cleanup
roll all cambria patches into a single patch (no code changes)

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33643
12 years ago
Felix Fietkau d3567cc886 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>

SVN-Revision: 33642
12 years ago
Felix Fietkau 1abbe676d1 x86: rename the iso file to openwrt-x86-generic.iso
SVN-Revision: 33641
12 years ago
Felix Fietkau 0dd7644ec7 x86: remove grub-legacy
SVN-Revision: 33640
12 years ago
Felix Fietkau a1bcd25082 x86: add grub2 iso support
SVN-Revision: 33639
12 years ago
Felix Fietkau 53cc34e517 x86/generic: enable cdrom + iso9660 support
SVN-Revision: 33638
12 years ago
Gabor Juhos befb648642 ar71xx: build image for the TL-WR841N/ND v8
SVN-Revision: 33623
12 years ago
Gabor Juhos 02a85dfd85 ar71xx: user-space support for TL-WR841N/ND v8
SVN-Revision: 33622
12 years ago
Gabor Juhos 196c6c5b45 ar71xx: add support for the TL-WR841N/ND v8 board
SVN-Revision: 33621
12 years ago
Hauke Mehrtens 07234dc8bd 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.

SVN-Revision: 33620
12 years ago
Hauke Mehrtens 2819890839 use memcmp in mem size detection as suggested by blogic
SVN-Revision: 33619
12 years ago
Florian Fainelli 5e0df9582b fix typo in 05_set_ether_mac_rdc preinit script (#11166)
SVN-Revision: 33618
12 years ago
Gabor Juhos d832cd11f8 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>

SVN-Revision: 33614
12 years ago
Florian Fainelli 47c5c4df1c add Default and Gumstix PXA profiles
Gumstix builds a fake flash image for usage in qemu

SVN-Revision: 33609
12 years ago
Florian Fainelli 48daf407a6 advertise jffs2 feature
SVN-Revision: 33607
12 years ago
Florian Fainelli bb7ac8ae7d remove broken flag
SVN-Revision: 33606
12 years ago
Florian Fainelli 8f44ba1ae2 fix build with latest gpiolib changes
SVN-Revision: 33605
12 years ago
Florian Fainelli d504b6251c more convertions to {read,write}_relaxed I/O accessors
SVN-Revision: 33604
12 years ago
Felix Fietkau a2e1dce829 cns3xxx: add missing kernel config symbol
SVN-Revision: 33603
12 years ago
Hauke Mehrtens 9f083117d1 refresh patches
SVN-Revision: 33602
12 years ago
Hauke Mehrtens 642fe7f10a 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.

SVN-Revision: 33601
12 years ago
Hauke Mehrtens 42952fd94f 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.

SVN-Revision: 33600
12 years ago
Hauke Mehrtens 2d40590a23 run make kernel_oldconfig
SVN-Revision: 33599
12 years ago
Hauke Mehrtens e5eefed084 ignore the last page on bcma based SoCs
SVN-Revision: 33598
12 years ago
Hauke Mehrtens c9feffc332 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.

SVN-Revision: 33597
12 years ago
Hauke Mehrtens 4d5c75a54e improve the check for the memory size
This will hopefully fix bug #9360 and #9097 in trunk.

SVN-Revision: 33596
12 years ago
John Crispin f3cab53f27 dont explicitly select wireless-tools. rely on the drivers that need them to have the right dependency
SVN-Revision: 33593
12 years ago
John Crispin 0afc7b9b6d add support for adm6996 phy
SVN-Revision: 33592
12 years ago
John Crispin 9dc218f88f tapi was not registeredproperly for most arcadyan boards
SVN-Revision: 33591
12 years ago