Florian Fainelli
33f6c5ddb9
kernel: add missing USB configuration symbols after r34501
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34568
2012-12-07 11:01:53 +00:00
Florian Fainelli
822ee5053e
cns3xxx: fix dwc_otg driver compat with udc-core
...
function. This removes those from the dwc_otg driver and removes the patch
that comments out the linkage of udc-core so that the dwc_otg driver can
co-exist happily with other USB Device Controllers.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34475
2012-12-04 16:19:18 +00:00
Florian Fainelli
fd0729f35c
cns3xxx: advertise pcie usb usbgadget features
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34474
2012-12-04 16:19:12 +00:00
Gabor Juhos
1f516235ea
remove common symbols from 3.3 configs
...
The removed symbols are present in the generic configuration.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34403
2012-11-29 15:21:35 +00:00
Luka Perkov
00243027dd
cns3xxx: merge gpio patches
...
SVN-Revision: 34174
2012-11-12 19:27:30 +00:00
Luka Perkov
fb9b572f0a
cns3xxx: fix build failure after r34168
...
SVN-Revision: 34173
2012-11-12 19:27:29 +00:00
Imre Kaloz
5cddb170cd
reorder, rename and refresh patches
...
SVN-Revision: 34169
2012-11-12 09:18:00 +00:00
Imre Kaloz
77504ac06f
split spi patch, follow mainline file naming
...
SVN-Revision: 34168
2012-11-12 08:22:14 +00:00
Imre Kaloz
9a780e0328
split the i2c patch, merge the retry fixup
...
SVN-Revision: 34167
2012-11-12 08:21:38 +00:00
Imre Kaloz
dcfd6cd5a4
generate single images for tftp flashing as well as sysupgrade images for boards with old u-boot
...
SVN-Revision: 34163
2012-11-11 20:57:04 +00:00
Luka Perkov
16275bdd15
cns3xxx: convert dwc_otg patches to files
...
SVN-Revision: 34162
2012-11-11 20:03:58 +00:00
Luka Perkov
e38adfc912
cns3xxx: convert ethernet patches to files
...
SVN-Revision: 34161
2012-11-11 20:03:56 +00:00
Imre Kaloz
f3f3f52259
cns3xxx: clean up pcie patches
...
Combine two pcie patches (2nd patch undid the 1st patch) together
and refresh the other affected patches
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 34132
2012-11-09 21:37:54 +00:00
Luka Perkov
965c190444
cns3xxx: exit from laguna late_initcall if not running on laguna board
...
SVN-Revision: 34120
2012-11-08 11:31:56 +00:00
Imre Kaloz
0da0dc0f2b
cns3xxx: add PPS support for laguna
...
Many Laguna products have on-board GPS with Pulse-per-second (PPS)
support. This patch adds kernel support (statically) and adds
the platform data in laguna board support.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 34115
2012-11-08 05:42:31 +00:00
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
2012-11-08 05:40:34 +00:00
Luka Perkov
4d66b749de
cns3xxx: fix coding style in board script
...
SVN-Revision: 34113
2012-11-07 23:12:06 +00:00
Luka Perkov
865933a0ec
cns3xxx: refresh kernel config file
...
SVN-Revision: 34102
2012-11-06 11:16:43 +00:00
Luka Perkov
9a5c26d4ef
cns3xxx: use files directory
...
SVN-Revision: 34101
2012-11-06 11:16:41 +00:00
Imre Kaloz
e141cbb0f9
refresh patches
...
SVN-Revision: 34095
2012-11-06 05:45:12 +00:00
Imre Kaloz
1a9dfd566e
add default packages
...
SVN-Revision: 34094
2012-11-06 05:39:08 +00:00
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
2012-10-31 20:16:53 +00:00
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
2012-10-17 22:03:37 +00:00
John Crispin
6993e19532
drop GPIODEV platform code
...
SVN-Revision: 33825
2012-10-17 21:53:37 +00:00
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
2012-10-11 09:51:35 +00:00
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
2012-10-11 07:59:06 +00:00
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
2012-10-11 07:47:27 +00:00
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
2012-10-10 11:39:02 +00:00
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
2012-10-10 11:38:58 +00:00
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
2012-10-07 23:24:02 +00:00
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
2012-10-07 23:23:58 +00:00
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
2012-10-07 23:23:52 +00:00
Felix Fietkau
a2e1dce829
cns3xxx: add missing kernel config symbol
...
SVN-Revision: 33603
2012-09-30 15:31:34 +00:00
Imre Kaloz
c53936bb4b
Add FIQ support for cns3xxx
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 33581
2012-09-28 17:35:35 +00:00
Imre Kaloz
2f2115c436
Update board support for Gateworks Laguna Product family
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 33580
2012-09-28 17:34:18 +00:00
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
2012-09-28 17:31:22 +00:00
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
2012-09-27 08:07:17 +00:00
Imre Kaloz
9ace6ace8f
add i2c retries
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 33565
2012-09-27 08:06:13 +00:00
Imre Kaloz
7dd6b04c28
fix pcie abort handling
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 33564
2012-09-27 08:05:19 +00:00
Felix Fietkau
d6ca46cd25
cns3xxx: fix ethernet driver tx completion and queue stop/start
...
SVN-Revision: 33504
2012-09-22 00:34:53 +00:00
Felix Fietkau
fb71465a4e
cns3xxx: implement ethernet fraglist tx support for improved bridging performance with jumbo frames
...
SVN-Revision: 33503
2012-09-22 00:34:49 +00:00
Imre Kaloz
ed3597d927
move gpio stuff into the right file
...
SVN-Revision: 33502
2012-09-21 05:40:04 +00:00
Felix Fietkau
15159604d9
cns3xxx: add a small optimization for rx offload
...
SVN-Revision: 33500
2012-09-21 00:13:12 +00:00
Felix Fietkau
a1c016fe16
cns3xxx: fix ethernet port lookup for multi-descriptor jumbo frames
...
SVN-Revision: 33499
2012-09-21 00:13:08 +00:00
Felix Fietkau
029aaf4514
cns3xxx: fix ethernet packet alignment issues (hw has an alignment requirement of 64), fix skb fragment chaining
...
SVN-Revision: 33498
2012-09-20 20:27:18 +00:00
Felix Fietkau
1067ccf9f7
cns3xxx: remove the broken flag
...
SVN-Revision: 33493
2012-09-19 23:50:25 +00:00
Felix Fietkau
2db9e9f624
cns3xxx: fix kernel config
...
SVN-Revision: 33492
2012-09-19 23:50:22 +00:00
Felix Fietkau
34d30654ae
cns3xxx: fix ethernet jumbo-frame support, use single-page rx buffers and skb fragment lists
...
SVN-Revision: 33491
2012-09-19 23:50:18 +00:00
Felix Fietkau
eff9405752
cns3xxx: fix ethernet tx checksum offload
...
SVN-Revision: 33490
2012-09-19 23:50:15 +00:00
Felix Fietkau
dd1fb8289f
cns3xxx: merge ethernet driver changes from gateworks
...
SVN-Revision: 33489
2012-09-19 23:50:12 +00:00
Felix Fietkau
190b4344a3
cns3xxx: build images for the old boot loader and the new one (default to the new one)
...
SVN-Revision: 33488
2012-09-19 23:50:09 +00:00
Felix Fietkau
59b1d018b1
cns3xxx: fix the ethernet driver makefile
...
SVN-Revision: 33487
2012-09-19 23:50:06 +00:00
Felix Fietkau
c9139c150c
cns3xxx: reorganize patches, fix pcie io space init order
...
SVN-Revision: 33486
2012-09-19 23:50:02 +00:00
Felix Fietkau
7cd4968d0e
cns3xxx: move virtual io addresses to vmalloc space to fix kernel BUG() calls
...
SVN-Revision: 33485
2012-09-19 23:49:58 +00:00
Felix Fietkau
2f39fa872a
cns3xxx: add missing callbacks for the laguna machine support
...
SVN-Revision: 33484
2012-09-19 23:49:50 +00:00
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
2012-07-25 08:01:38 +00:00
John Crispin
a4d96aae8d
bump to 3.3.8
...
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
Gabor Juhos
d004168445
cns3xxx: remove 3.1 support
...
SVN-Revision: 31888
2012-05-27 15:01:03 +00:00
Gabor Juhos
6f2ca5da39
cns3xxx: switch to 3.3 and add broken flag
...
SVN-Revision: 31887
2012-05-27 15:01:02 +00:00
Gabor Juhos
c2a2d59db5
cns3xxx: add support for 3.3
...
Compile tested only.
SVN-Revision: 31809
2012-05-18 20:10:53 +00:00
Gabor Juhos
05c0d8b28e
cns3xxx: sync kernel config
...
SVN-Revision: 31807
2012-05-18 20:10:48 +00:00
Gabor Juhos
9718f03e24
cns3xxx: remove 2.6.39 support
...
SVN-Revision: 31806
2012-05-18 20:10:46 +00:00
Gabor Juhos
9e78becbac
cns3xxx: switch to 3.1
...
Compile tested only.
SVN-Revision: 31805
2012-05-18 20:10:44 +00:00
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
2012-05-15 10:58:52 +00:00
Gabor Juhos
26b3cdad1c
cns3xxx: remove 2.6.31 support
...
SVN-Revision: 31418
2012-04-21 16:42:05 +00:00
Imre Kaloz
143e861708
enable another l2 cache errate on newer kernels
...
SVN-Revision: 30472
2012-02-12 11:22:08 +00:00
Imre Kaloz
0ace4636db
rename 3.1 patches directory as it will be used for newer kernels as well
...
SVN-Revision: 30454
2012-02-11 15:59:23 +00:00
Imre Kaloz
1fb5ff4e04
rename 2.6.39 patches directory
...
SVN-Revision: 30453
2012-02-11 15:58:14 +00:00
Jonas Gorski
1015fab0d7
kernel: update linux 3.1 to 3.1.10
...
SVN-Revision: 29966
2012-01-31 09:43:57 +00:00
Imre Kaloz
cc2cf8f3d5
update 3.1 patches
...
SVN-Revision: 28814
2011-11-07 21:13:13 +00:00
Imre Kaloz
ed2c8bdc92
upgrade testing kernel support to 3.1
...
SVN-Revision: 28165
2011-09-04 15:06:05 +00:00
Imre Kaloz
4f0b1a6602
cleanup config
...
SVN-Revision: 28164
2011-09-04 15:02:37 +00:00
Hauke Mehrtens
09b1073f9b
kernel: update kernel to version 2.6.39.4
...
SVN-Revision: 28022
2011-08-16 22:04:10 +00:00
Imre Kaloz
8788b97e65
use the new upstream l2cache and wdt code, smaller changes, refresh patches
...
SVN-Revision: 27558
2011-07-08 09:41:07 +00:00
Imre Kaloz
79fa6c693a
refresh patches
...
SVN-Revision: 27528
2011-07-07 17:18:50 +00:00
Imre Kaloz
92981b6bb3
enable smp support
...
SVN-Revision: 27526
2011-07-07 17:17:44 +00:00
Imre Kaloz
94055a90a7
make smp code more similar to upstream
...
SVN-Revision: 27525
2011-07-07 17:17:06 +00:00
Imre Kaloz
d148dcce05
select the right cpu
...
SVN-Revision: 27517
2011-07-07 10:24:37 +00:00
Imre Kaloz
c93b5653bc
we have an up-to-date mach-type file now
...
SVN-Revision: 27486
2011-07-06 10:12:50 +00:00
Imre Kaloz
b655c7c85a
preliminary 3.0 support
...
SVN-Revision: 27328
2011-07-01 08:15:48 +00:00
Hauke Mehrtens
c5821c1a3a
kernel: update kernel to 2.6.39.2
...
SVN-Revision: 27298
2011-06-28 19:30:58 +00:00
Imre Kaloz
e80ebb769f
ethernet cleanup and sata fix - thanks, Chris
...
SVN-Revision: 27297
2011-06-28 06:54:20 +00:00
Florian Fainelli
763b58c30c
update to 2.6.39.1
...
patch from Peter Wagner
SVN-Revision: 27104
2011-06-04 13:35:55 +00:00
Imre Kaloz
2440175978
refresh patches
...
SVN-Revision: 27078
2011-06-01 07:24:41 +00:00
Imre Kaloz
aafa838d77
fixup second led, patch from Chris
...
SVN-Revision: 27077
2011-06-01 07:21:25 +00:00
Imre Kaloz
acbb2db5e2
fixup pcie clock, thanks Chris
...
SVN-Revision: 27072
2011-05-31 23:55:33 +00:00
Imre Kaloz
f738ca7b9c
upgrade to 2.6.39
...
SVN-Revision: 27030
2011-05-30 13:55:34 +00:00
Felix Fietkau
af53fa1d91
cns3xxx: remove one of the dma cache patches, it causes a regression in the ethernet driver
...
SVN-Revision: 26802
2011-05-02 00:28:30 +00:00
Felix Fietkau
f9a92812cf
cns3xxx: fix missing and incomplete cache flushes on DMA cache sync for cpu - fixes some issues with ath9k
...
SVN-Revision: 26797
2011-05-01 15:53:56 +00:00
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
2011-03-26 01:07:12 +00:00
Imre Kaloz
b74308c433
only support EABI on ARM targets
...
SVN-Revision: 25928
2011-03-07 12:59:19 +00:00
Imre Kaloz
81059a2a96
mark targets maintained by me
...
SVN-Revision: 23668
2010-10-27 13:46:00 +00:00
Imre Kaloz
16478f7dd6
workaround serial hang with SMP enabled
...
SVN-Revision: 22557
2010-08-09 11:27:14 +00:00
Imre Kaloz
a1cdb24a3b
add support for the Gateworks Laguna family (Cavium Networks Econa CNS3xxx)
...
SVN-Revision: 22323
2010-07-21 11:20:53 +00:00