1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 13:30:38 +02:00
Commit Graph

94 Commits

Author SHA1 Message Date
florian
db5048901e kernel: add missing USB configuration symbols after r34501
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 11:01:53 +00:00
florian
d97ab55f5d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:19:18 +00:00
florian
5edbeec73f cns3xxx: advertise pcie usb usbgadget features
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:19:12 +00:00
juhosg
4905c3c15e remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 15:21:35 +00:00
luka
5f1dbcc46a cns3xxx: merge gpio patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 19:27:30 +00:00
luka
5c74071443 cns3xxx: fix build failure after r34168
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 19:27:29 +00:00
kaloz
d5f52f466e [cns3xxx]: reorder, rename and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 09:18:00 +00:00
kaloz
3b06668af5 [cns3xxx]: split spi patch, follow mainline file naming
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 08:22:14 +00:00
kaloz
50093aed33 [cns3xxx]: split the i2c patch, merge the retry fixup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 08:21:38 +00:00
kaloz
a47b8e3270 [cns3xxx]: generate single images for tftp flashing as well as sysupgrade images for boards with old u-boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 20:57:04 +00:00
luka
00f29ce9a4 cns3xxx: convert dwc_otg patches to files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 20:03:58 +00:00
luka
133d66da06 cns3xxx: convert ethernet patches to files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 20:03:56 +00:00
kaloz
42fc31c396 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-09 21:37:54 +00:00
luka
a8e4ddd6db cns3xxx: exit from laguna late_initcall if not running on laguna board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-08 11:31:56 +00:00
kaloz
42954b7559 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-08 05:42:31 +00:00
kaloz
909210ca4e [cns3xxx]: fixup symbol selection
SMP already selects HAVE_ARM_TWD and HAVE_ARM_SCU,
ARCH_CNS3XXX already selects MIGHT_HAVE_PCI



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-08 05:40:34 +00:00
luka
1a061108bc cns3xxx: fix coding style in board script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-07 23:12:06 +00:00
luka
1cce3e937d cns3xxx: refresh kernel config file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 11:16:43 +00:00
luka
e0dd91dd95 cns3xxx: use files directory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 11:16:41 +00:00
kaloz
019f172430 [cns3xxx]: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 05:45:12 +00:00
kaloz
5a8ee8ba9f [cns3xxx]: add default packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 05:39:08 +00:00
kaloz
2c3fbebc9e [cns3xxx]: 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 20:16:53 +00:00
nbd
287a1bf65a 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(-)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 22:03:37 +00:00
blogic
b4260e22f3 drop GPIODEV platform code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 21:53:37 +00:00
kaloz
b2305bd361 [cns3xxx]: fix (really this time) laguna UART config
Properly terminate the correct platform resource for laguna UARTs
 
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 09:51:35 +00:00
kaloz
228bf4df1a 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 07:59:06 +00:00
kaloz
6c1258a8fb [cns3xxx]: fix non terminated uart resources for laguna
Resolves crashes when probing multiple serial devices
 
Signed-off-by: Tim Harvey <tharvey@gateworks.com>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 07:47:27 +00:00
nbd
05d6e951d1 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
nbd
6e65867e28 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
nbd
04e21aac75 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
nbd
91100227a1 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
nbd
1b103111a5 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
nbd
db72b8cfc1 cns3xxx: add missing kernel config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 15:31:34 +00:00
kaloz
295c473ae4 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
2012-09-28 17:35:35 +00:00
kaloz
57ce687d38 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
2012-09-28 17:34:18 +00:00
kaloz
07511ec793 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
2012-09-28 17:31:22 +00:00
kaloz
f1b159c402 [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
2012-09-27 08:07:17 +00:00
kaloz
1bf2f96f67 [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
2012-09-27 08:06:13 +00:00
kaloz
b966239c03 [cns3xxx]: fix pcie abort handling
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 08:05:19 +00:00
nbd
cc4fec07c7 cns3xxx: fix ethernet driver tx completion and queue stop/start
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 00:34:53 +00:00
nbd
ddbfaa46f7 cns3xxx: implement ethernet fraglist tx support for improved bridging performance with jumbo frames
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 00:34:49 +00:00
kaloz
e3342242df [cns3xxx]: move gpio stuff into the right file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 05:40:04 +00:00
nbd
42b2ad0d3b cns3xxx: add a small optimization for rx offload
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 00:13:12 +00:00
nbd
9097df315e cns3xxx: fix ethernet port lookup for multi-descriptor jumbo frames
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 00:13:08 +00:00
nbd
1a638ea9ad cns3xxx: fix ethernet packet alignment issues (hw has an alignment requirement of 64), fix skb fragment chaining
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-20 20:27:18 +00:00
nbd
7abd95f8ec cns3xxx: remove the broken flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:25 +00:00
nbd
2f58535c56 cns3xxx: fix kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:22 +00:00
nbd
bae52cf056 cns3xxx: fix ethernet jumbo-frame support, use single-page rx buffers and skb fragment lists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:18 +00:00
nbd
c206ff5a5d cns3xxx: fix ethernet tx checksum offload
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:15 +00:00
nbd
7cb76ea6ab cns3xxx: merge ethernet driver changes from gateworks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:12 +00:00