Commit Graph

279 Commits (fbd4214bb0727268aa535af5b600d38939ec8dbc)

Author SHA1 Message Date
Imre Kaloz efcdc21824 fixup symbol selection
SMP already selects HAVE_ARM_TWD and HAVE_ARM_SCU,
ARCH_CNS3XXX already selects MIGHT_HAVE_PCI

SVN-Revision: 34114
12 years ago
Luka Perkov 4d66b749de cns3xxx: fix coding style in board script
SVN-Revision: 34113
12 years ago
Luka Perkov 865933a0ec cns3xxx: refresh kernel config file
SVN-Revision: 34102
12 years ago
Luka Perkov 9a5c26d4ef cns3xxx: use files directory
SVN-Revision: 34101
12 years ago
Imre Kaloz e141cbb0f9 refresh patches
SVN-Revision: 34095
12 years ago
Imre Kaloz 1a9dfd566e add default packages
SVN-Revision: 34094
12 years ago
Imre Kaloz 3c12bad276 move PCIe init to subsys init call
ARM Linux PCI/PCIe hardware intialization needs to occur before device_init
as it does not support hotplug.  I have modeled the cns3xxx PCIe init after
other ARM platforms.  Registering it early resolves resource issues occuring
during bus enumeration that occur when a device driver is linked static in
the kernel.

Instead of passing in a bitmask to enable the 2 available ports, link detect
is used to enable ports that have a valid link.

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

SVN-Revision: 34044
12 years ago
Felix Fietkau 879b7a7a9b cns3xxx: update FIQ header file and disable RWFO
Update header file appropriately and disable read for ownership

Note that the FIQ support implements a workaround that provides a performance
boost over the traditional upstream workaround which ensures cache lines
are exclusive on driver CPU using 'read for ownership'.

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

 target/linux/cns3xxx/config-3.3                                |    2 +-
 target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch |    9 ++++-----
 2 files changed, 5 insertions(+), 6 deletions(-)

SVN-Revision: 33827
12 years ago
John Crispin 6993e19532 drop GPIODEV platform code
SVN-Revision: 33825
12 years ago
Imre Kaloz 88a740ff80 fix (really this time) laguna UART config
Properly terminate the correct platform resource for laguna UARTs

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

SVN-Revision: 33721
12 years ago
Imre Kaloz 9b22ca8042 The Gateworks System Controller (GSC) is an i2c device that provides system level monitoring and control of Gateworks boards. It is used on several product families spanning several different target architectures (ixp4xx, cns3xxx, davinci).
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33720
12 years ago
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
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 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 a2e1dce829 cns3xxx: add missing kernel config symbol
SVN-Revision: 33603
12 years ago
Imre Kaloz c53936bb4b Add FIQ support for cns3xxx
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33581
12 years ago
Imre Kaloz 2f2115c436 Update board support for Gateworks Laguna Product family
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33580
12 years ago
Imre Kaloz 70729bb4a5 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>

SVN-Revision: 33579
12 years ago
Imre Kaloz 68f8db6731 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>

SVN-Revision: 33566
12 years ago
Imre Kaloz 9ace6ace8f add i2c retries
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33565
12 years ago
Imre Kaloz 7dd6b04c28 fix pcie abort handling
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33564
12 years ago
Felix Fietkau d6ca46cd25 cns3xxx: fix ethernet driver tx completion and queue stop/start
SVN-Revision: 33504
12 years ago
Felix Fietkau fb71465a4e cns3xxx: implement ethernet fraglist tx support for improved bridging performance with jumbo frames
SVN-Revision: 33503
12 years ago
Imre Kaloz ed3597d927 move gpio stuff into the right file
SVN-Revision: 33502
12 years ago
Felix Fietkau 15159604d9 cns3xxx: add a small optimization for rx offload
SVN-Revision: 33500
12 years ago
Felix Fietkau a1c016fe16 cns3xxx: fix ethernet port lookup for multi-descriptor jumbo frames
SVN-Revision: 33499
12 years ago
Felix Fietkau 029aaf4514 cns3xxx: fix ethernet packet alignment issues (hw has an alignment requirement of 64), fix skb fragment chaining
SVN-Revision: 33498
12 years ago
Felix Fietkau 1067ccf9f7 cns3xxx: remove the broken flag
SVN-Revision: 33493
12 years ago
Felix Fietkau 2db9e9f624 cns3xxx: fix kernel config
SVN-Revision: 33492
12 years ago
Felix Fietkau 34d30654ae cns3xxx: fix ethernet jumbo-frame support, use single-page rx buffers and skb fragment lists
SVN-Revision: 33491
12 years ago
Felix Fietkau eff9405752 cns3xxx: fix ethernet tx checksum offload
SVN-Revision: 33490
12 years ago
Felix Fietkau dd1fb8289f cns3xxx: merge ethernet driver changes from gateworks
SVN-Revision: 33489
12 years ago
Felix Fietkau 190b4344a3 cns3xxx: build images for the old boot loader and the new one (default to the new one)
SVN-Revision: 33488
12 years ago
Felix Fietkau 59b1d018b1 cns3xxx: fix the ethernet driver makefile
SVN-Revision: 33487
12 years ago
Felix Fietkau c9139c150c cns3xxx: reorganize patches, fix pcie io space init order
SVN-Revision: 33486
12 years ago
Felix Fietkau 7cd4968d0e cns3xxx: move virtual io addresses to vmalloc space to fix kernel BUG() calls
SVN-Revision: 33485
12 years ago
Felix Fietkau 2f39fa872a cns3xxx: add missing callbacks for the laguna machine support
SVN-Revision: 33484
12 years ago
John Crispin 1cbfa0c0f5 laguna: fix eeprom read buffer size during platform configuration
Increase the size of the buffer used for eeprom reads during the platform configuration of the Gateworks laguna.  The model name read in is 16 bytes but the original buffer was only 8 bytes.

Signed-off-by: David Acker <dacker@rajant.com>

SVN-Revision: 32833
12 years ago
John Crispin a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
12 years ago
Gabor Juhos d004168445 cns3xxx: remove 3.1 support
SVN-Revision: 31888
12 years ago
Gabor Juhos 6f2ca5da39 cns3xxx: switch to 3.3 and add broken flag
SVN-Revision: 31887
12 years ago
Gabor Juhos c2a2d59db5 cns3xxx: add support for 3.3
Compile tested only.

SVN-Revision: 31809
12 years ago
Gabor Juhos 05c0d8b28e cns3xxx: sync kernel config
SVN-Revision: 31807
12 years ago
Gabor Juhos 9718f03e24 cns3xxx: remove 2.6.39 support
SVN-Revision: 31806
12 years ago
Gabor Juhos 9e78becbac cns3xxx: switch to 3.1
Compile tested only.

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

SVN-Revision: 31737
12 years ago
Gabor Juhos 26b3cdad1c cns3xxx: remove 2.6.31 support
SVN-Revision: 31418
12 years ago
Imre Kaloz 143e861708 enable another l2 cache errate on newer kernels
SVN-Revision: 30472
12 years ago
Imre Kaloz 0ace4636db rename 3.1 patches directory as it will be used for newer kernels as well
SVN-Revision: 30454
12 years ago
Imre Kaloz 1fb5ff4e04 rename 2.6.39 patches directory
SVN-Revision: 30453
12 years ago
Jonas Gorski 1015fab0d7 kernel: update linux 3.1 to 3.1.10
SVN-Revision: 29966
12 years ago
Imre Kaloz cc2cf8f3d5 update 3.1 patches
SVN-Revision: 28814
13 years ago
Imre Kaloz ed2c8bdc92 upgrade testing kernel support to 3.1
SVN-Revision: 28165
13 years ago
Imre Kaloz 4f0b1a6602 cleanup config
SVN-Revision: 28164
13 years ago
Hauke Mehrtens 09b1073f9b kernel: update kernel to version 2.6.39.4
SVN-Revision: 28022
13 years ago
Imre Kaloz 8788b97e65 use the new upstream l2cache and wdt code, smaller changes, refresh patches
SVN-Revision: 27558
13 years ago
Imre Kaloz 79fa6c693a refresh patches
SVN-Revision: 27528
13 years ago
Imre Kaloz 92981b6bb3 enable smp support
SVN-Revision: 27526
13 years ago
Imre Kaloz 94055a90a7 make smp code more similar to upstream
SVN-Revision: 27525
13 years ago
Imre Kaloz d148dcce05 select the right cpu
SVN-Revision: 27517
13 years ago
Imre Kaloz c93b5653bc we have an up-to-date mach-type file now
SVN-Revision: 27486
13 years ago
Imre Kaloz b655c7c85a preliminary 3.0 support
SVN-Revision: 27328
13 years ago
Hauke Mehrtens c5821c1a3a kernel: update kernel to 2.6.39.2
SVN-Revision: 27298
13 years ago
Imre Kaloz e80ebb769f ethernet cleanup and sata fix - thanks, Chris
SVN-Revision: 27297
13 years ago
Florian Fainelli 763b58c30c update to 2.6.39.1
patch from Peter Wagner

SVN-Revision: 27104
13 years ago
Imre Kaloz 2440175978 refresh patches
SVN-Revision: 27078
13 years ago
Imre Kaloz aafa838d77 fixup second led, patch from Chris
SVN-Revision: 27077
13 years ago
Imre Kaloz acbb2db5e2 fixup pcie clock, thanks Chris
SVN-Revision: 27072
13 years ago
Imre Kaloz f738ca7b9c upgrade to 2.6.39
SVN-Revision: 27030
13 years ago
Felix Fietkau af53fa1d91 cns3xxx: remove one of the dma cache patches, it causes a regression in the ethernet driver
SVN-Revision: 26802
13 years ago
Felix Fietkau f9a92812cf cns3xxx: fix missing and incomplete cache flushes on DMA cache sync for cpu - fixes some issues with ath9k
SVN-Revision: 26797
13 years ago
Felix Fietkau 335877a2b3 global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead add -fno-caller-saves, which improves compression ratio for generated code with no apparent negative effects on performance
SVN-Revision: 26300
13 years ago
Imre Kaloz b74308c433 only support EABI on ARM targets
SVN-Revision: 25928
13 years ago
Imre Kaloz 81059a2a96 mark targets maintained by me
SVN-Revision: 23668
14 years ago
Imre Kaloz 16478f7dd6 workaround serial hang with SMP enabled
SVN-Revision: 22557
14 years ago
Imre Kaloz a1cdb24a3b add support for the Gateworks Laguna family (Cavium Networks Econa CNS3xxx)
SVN-Revision: 22323
14 years ago