[OpenWrt-Devel] [PATCHv2 3/3] ixp4xx: update Gateworks Avila board support

2012-10-06 Thread Tim Harvey
per-model for boards with larger FLASH Some fixes: - add IRQ mapping for additional PCI devices (USB Host) Signed-off-by: Tim Harvey --- .../ixp4xx/patches-3.3/300-avila_support.patch | 414 ++-- 1 file changed, 387 insertions(+), 27 deletions(-) diff --git a/target/linux

[OpenWrt-Devel] [PATCH] cns3xxx: moved Gateworks GSC to generic patches

2012-10-08 Thread Tim Harvey
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, cns3xx, davinci) Signed-off-by: Tim Harvey --- .../patches-3.3/110

[OpenWrt-Devel] [PATCH] cns3xxx: move PCIe init to early init call

2012-10-08 Thread Tim Harvey
Moving the PCIe hw initialization to an early init call allows PCI based devices to be used when built as static. An example of where this is needed is when using PCI based UARTs such as the Gateworks GW2201 Octal UART. Signed-off-by: Tim Harvey --- .../patches-3.3/480

[OpenWrt-Devel] [PATCH] cns3xxx: Fix GPIO configuration for Gateworks Laguna boards

2012-10-08 Thread Tim Harvey
The Laguna boards do not use all the same pins for SDHCI as the Cavium reference board. Signed-off-by: Tim Harvey --- .../cns3xxx/patches-3.3/300-laguna_support.patch | 23 1 file changed, 23 insertions(+) diff --git a/target/linux/cns3xxx/patches-3.3/300

[OpenWrt-Devel] [PATCHv2] mtd: allow partial block unlock

2012-10-09 Thread Tim Harvey
previous issues: - whitespace breakage fixed - unlock in all scenarios - simplification and fix logic bug Signed-off-by: Tim Harvey --- .../478-mtd-partial_eraseblock_unlock.patch| 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) create mode 100644 target/linux

[OpenWrt-Devel] [PATCH] ixp4xx: enable OPTIMIZE_FOR_SIZE

2012-10-09 Thread Tim Harvey
Enabling OPTIMIZE_FOR_SIZE cuts the kernel binary down by 50K which is critical for some small-footprint boards. Signed-off-by: Tim Harvey --- target/linux/ixp4xx/config-3.3 |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/target/linux/ixp4xx/config-3.3 b/target/linux

[OpenWrt-Devel] [PATCH] package/kernel/sound: Add Gateworks Avila Sound SoC package

2012-10-09 Thread Tim Harvey
This package includes the audio drivers for Avila SoC Audio Signed-off-by: Tim Harvey --- package/kernel/modules/sound.mk | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/package/kernel/modules/sound.mk b/package/kernel/modules/sound.mk index f054d87

[OpenWrt-Devel] [PATCH] ixp4xx-microcode: Add ixp4xx NPE-A-HSS firmware

2012-10-09 Thread Tim Harvey
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 --- package/ixp4xx-microcode/Makefile |1 + package/ixp4xx-microcode/src

[OpenWrt-Devel] [PATCH] [packages] madwifi: Add missing dependency

2012-10-09 Thread Tim Harvey
Add missing wprobe dependency Signed-off-by: Tim Harvey --- net/madwifi/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/madwifi/Makefile b/net/madwifi/Makefile index f915f56..d7654cc 100644 --- a/net/madwifi/Makefile +++ b/net/madwifi/Makefile @@ -162,7

[OpenWrt-Devel] [PATCH] [packages] madwifi: add compilation for arm11

2012-10-09 Thread Tim Harvey
Add compilation support for arm11 CPUs (ie cns3xxx) Signed-off-by: Tim Harvey --- net/madwifi/Makefile |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/net/madwifi/Makefile b/net/madwifi/Makefile index d7654cc..6b4a3c8 100644 --- a/net/madwifi/Makefile +++ b/net

[OpenWrt-Devel] [PATCH] cns3xxx: Fix laguna arm11mpcore watchdog

2012-10-09 Thread Tim Harvey
pinion that other mpcore-wdt boards should be doing the same thing. Signed-off-by: Tim Harvey --- .../cns3xxx/patches-3.3/300-laguna_support.patch |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch b/t

[OpenWrt-Devel] [PATCHv2] cns3xxx: move Gateworks GSC to generic patches

2012-10-10 Thread Tim Harvey
'gsc' and adds OpenWrt package selection for kernel config. Signed-off-by: Tim Harvey --- package/kernel/modules/hwmon.mk| 15 + target/linux/cns3xxx/config-3.3|1 - .../patches-3.3/110-gateworks_gsp_support.patch| 339 -

Re: [OpenWrt-Devel] [PATCH] [ixp4xx] add sysupgrade support

2012-10-10 Thread Tim Harvey
On Wed, Oct 10, 2012 at 4:28 AM, Felix Fietkau wrote: > On 2012-10-05 2:35 AM, Tim Harvey wrote: > > > > Add sysupgrade support for ixp4xx platform > > > > Signed-off-by: Tim Harvey > Are you sure that this sysupgrade implementation works for all > non-ixp4xx de

[OpenWrt-Devel] [PATCH]: cns3xxx: fix non terminated uart resources for laguna

2012-10-10 Thread Tim Harvey
Resolves crashes when probing multiple serial devices Signed-off-by: Tim Harvey --- .../cns3xxx/patches-3.3/300-laguna_support.patch |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch b/target/linux/cns3xxx

[OpenWrt-Devel] [PATCH] cns3xxx: fix (really this time) laguna UART config

2012-10-11 Thread Tim Harvey
Properly terminate the correct platform resource for laguna UARTs Signed-off-by: Tim Harvey --- .../cns3xxx/patches-3.3/300-laguna_support.patch |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch b/target/linux

[OpenWrt-Devel] [PATCH] ixp4xx/cns3xxx: add rfkill module support

2012-10-17 Thread Tim Harvey
Both ixp4xx and cns3xxx targets support RFKILL in the kernel. Also add a RFKILL_GPIO default for kernel config Signed-off-by: Tim Harvey --- package/kernel/modules/001-depends.mk |4 ++-- package/kernel/modules/other.mk |3 ++- 2 files changed, 4 insertions(+), 3 deletions

[OpenWrt-Devel] [PATCH] package/kernel: add IKCONFIG module option

2012-10-18 Thread Tim Harvey
Add an option for building the configs.ko module which provides kernel configuration via /proc/config.gz Signed-off-by: Tim Harvey --- package/kernel/modules/other.mk | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/package/kernel/modules/other.mk b

[OpenWrt-Devel] [PATCH] kernel config: add option for enabling L2x0 cache

2012-10-18 Thread Tim Harvey
ifying target kernel configs directly. This is valid for realview/cns3xxx targets. Signed-off-by: Tim Harvey --- Config.in | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/Config.in b/Config.in index cca5a4c..fcd1e9c 100644 --- a/Config.in +++ b/Config.in @@ -2

Re: [OpenWrt-Devel] [PATCH] kernel config: add option for enabling L2x0 cache

2012-10-18 Thread Tim Harvey
There are 2 target's affected - I figured it belonged in a global area. I only have the cns3xxx target. If you feel this should be changed I'll re-submit it for just that target. Tim On Thu, Oct 18, 2012 at 1:42 PM, Felix Fietkau wrote: > On 2012-10-18 10:37 PM, Tim Harvey wrote:

Re: [OpenWrt-Devel] [PATCH] kernel config: add option for enabling L2x0 cache

2012-10-18 Thread Tim Harvey
On Thu, Oct 18, 2012 at 1:48 PM, Felix Fietkau wrote: > On 2012-10-18 10:44 PM, Tim Harvey wrote: > > There are 2 target's affected - I figured it belonged in a global area. > > I only have the cns3xxx target. If you feel this should be changed I'll > > re-submit

[OpenWrt-Devel] [PATCH v2] cns3xxx: add nol2x0 cmdline to disable l2x0 cache

2012-10-29 Thread Tim Harvey
L2 cache via L2X0 cache controller available on some ARM boards can provide a performance boost in some situations but decrease performance in others. This adds a kernel cmdline to disable L2X0 for the Laguna product family. Signed-off-by: Tim Harvey --- .../patches-3.3/480

Re: [OpenWrt-Devel] [PATCH v2] cns3xxx: add nol2x0 cmdline to disable l2x0 cache

2012-10-30 Thread Tim Harvey
y customers are using it. Tim On Tue, Oct 30, 2012 at 3:23 AM, Luka Perkov wrote: > On Mon, Oct 29, 2012 at 03:03:55PM -0700, Tim Harvey wrote: > > L2 cache via L2X0 cache controller available on some ARM boards can > > provide a performance boost in some situations but decrease pe

Re: [OpenWrt-Devel] [PATCH] cns3xxx: move PCIe init to early init call

2012-10-30 Thread Tim Harvey
On Wed, Oct 10, 2012 at 4:25 AM, Felix Fietkau wrote: > On 2012-10-09 3:00 AM, Tim Harvey wrote: > > Moving the PCIe hw initialization to an early init call allows PCI based > > devices to be used when built as static. An example of where this is > needed > > is when us

[OpenWrt-Devel] [PATCH v2] cns3xxx: move PCIe init to subsys init call

2012-10-30 Thread Tim Harvey
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 --- .../patches-3.3/480-cns3xxx_pcie_early_init.patch | 156 1 files changed, 156 insertions(+), 0

[OpenWrt-Devel] [PATCH v3] cns3xxx: move PCIe init to subsys init call

2012-10-31 Thread Tim Harvey
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 --- .../patches-3.3/480-cns3xxx_pcie_early_init.patch | 156 1 files changed, 156 insertions(+), 0

[OpenWrt-Devel] [PATCH] cns3xxx: add PPS support for laguna

2012-11-07 Thread Tim Harvey
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 --- target/linux/cns3xxx/config-3.3|7 +++ .../cns3xxx/files/arch

[OpenWrt-Devel] [PATCH] cns3xxx: clean up pcie patches

2012-11-08 Thread Tim Harvey
Combine two pcie patches (2nd patch undid the 1st patch) together and refresh the other affected patches Signed-off-by: Tim Harvey --- .../patches-3.3/055-cns3xxx_pci_iospace_init.patch | 76 .../cns3xxx/patches-3.3/104-cns3xxx_gpio.patch |4 +- .../cns3xxx

[OpenWrt-Devel] [PATCH] cns3xxx: advertise pcie usb usbgadget features

2012-11-14 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/cns3xxx/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target/linux/cns3xxx/Makefile b/target/linux/cns3xxx/Makefile index 72e51fd..50c0e94 100644 --- a/target/linux/cns3xxx/Makefile +++ b/target/linux/cns3xxx

[OpenWrt-Devel] [PATCH] cns3xxx: fix dwc_otg driver compat with udc-core

2012-11-14 Thread Tim Harvey
>From Linux 3.0.0+ the udc-core driver provides the gadget probe/unregister 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:

[OpenWrt-Devel] [PATCH] cns3xxx: fix inverted gpio line config

2013-01-04 Thread Tim Harvey
The logic for setting pin direction was inverted Signed-off-by: Tim Harvey --- .../cns3xxx/files/arch/arm/mach-cns3xxx/gpio.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/gpio.c b/target/linux/cns3xxx/files

[OpenWrt-Devel] [PATCH] cns3xxx: clean up PCI bus topology

2013-01-04 Thread Tim Harvey
This makes the PCI bus topology more standard for devices behind a bridge Signed-off-by: Tim Harvey --- .../patches-3.3/066-pcie_bus_topology.patch| 27 1 files changed, 27 insertions(+), 0 deletions(-) create mode 100644 target/linux/cns3xxx/patches-3.3/066

[OpenWrt-Devel] [PATCH] kernel: added defines for 3.12

2013-12-06 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/generic/config-3.12 | 6 ++ 1 file changed, 6 insertions(+) diff --git a/target/linux/generic/config-3.12 b/target/linux/generic/config-3.12 index cd6429b..5c153b2 100644 --- a/target/linux/generic/config-3.12 +++ b/target/linux/generic/config-3.12

[OpenWrt-Devel] [PATCH] kernel: module updates for 3.12

2013-12-06 Thread Tim Harvey
Signed-off-by: Tim Harvey --- package/kernel/linux/modules/sound.mk | 13 + package/kernel/linux/modules/usb.mk | 6 ++ 2 files changed, 19 insertions(+) diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk index 4e1a656..450bc5f 100644

[OpenWrt-Devel] [PATCH] imx6: add DMA/SDMA support for 3.12

2013-12-06 Thread Tim Harvey
DMA and SDMA support are needed for ssi based audio. Note that the sdma firmware is no longer required for ssi audio. Signed-off-by: Tim Harvey --- target/linux/imx6/config-3.12 | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/target/linux/imx6/config-3.12 b/target

[OpenWrt-Devel] [PATCH] imx6: usb module update for 3.12

2013-12-06 Thread Tim Harvey
The chipidea kernel module names changed in 3.11 Signed-off-by: Tim Harvey --- package/kernel/linux/modules/usb.mk | 8 1 file changed, 8 insertions(+) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index bc2250b..bd69faa 100644 --- a/package

[OpenWrt-Devel] [PATCH] cns3xxx: Add GW2385 support

2013-12-06 Thread Tim Harvey
Signed-off-by: Tim Harvey --- .../cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c index 267b4c1

[OpenWrt-Devel] [PATCH] cns3xxx: various dwc (OTG) driver fixups

2013-12-06 Thread Tim Harvey
Signed-off-by: Tim Harvey --- .../cns3xxx/patches-3.8/400-dwc_host_fixups.patch | 1182 1 file changed, 1182 insertions(+) create mode 100644 target/linux/cns3xxx/patches-3.8/400-dwc_host_fixups.patch diff --git a/target/linux/cns3xxx/patches-3.8/400-dwc_host_fixups.patch

[OpenWrt-Devel] [PATCH] imx6: add support for GW53xx

2013-12-06 Thread Tim Harvey
backlight, i2c for touch) * HDMI Audio/Video out * Analog Video in * Digital IO * Gateworks System Controller * Accelerometer * Canbus * Optional GPS * Industrial temp (-40C to +85C) * DC input voltage 8 to 42V (Passive PoE and 802.3af) Signed-off-by: Tim Harvey --- .../files-3.10/arch/arm

[OpenWrt-Devel] [PATCH] kernel: add canbus kernel module support

2013-12-06 Thread Tim Harvey
Signed-off-by: Tim Harvey --- package/kernel/linux/modules/can.mk | 171 1 file changed, 171 insertions(+) create mode 100644 package/kernel/linux/modules/can.mk diff --git a/package/kernel/linux/modules/can.mk b/package/kernel/linux/modules/can.mk new

[OpenWrt-Devel] [PATCH] imx6: add flexcan support

2013-12-06 Thread Tim Harvey
: Tim Harvey --- target/linux/imx6/patches-3.10/0060-flexcan.patch | 92 ++ ...ct-clock-as-base-for-bit-rate-calculation.patch | 35 ...6q-fix-the-wrong-parent-of-can_root-clock.patch | 24 ++ 3 files changed, 151 insertions(+) create mode 100644 target/linux/imx6

[OpenWrt-Devel] [PATCH] imx6: add canbus support for Ventana boards

2013-12-06 Thread Tim Harvey
- The GW5400, GW5300, and GW5200 all have CAN bus option Signed-off-by: Tim Harvey --- target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6dl-gw52xx.dts | 7 +++ target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6dl-gw53xx.dts | 2 ++ target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6q

[OpenWrt-Devel] [PATCH] ixp4xx: add GW2375 support

2013-12-06 Thread Tim Harvey
Signed-off-by: Tim Harvey --- .../ixp4xx/patches-3.10/300-avila_support.patch| 61 +++--- 1 file changed, 42 insertions(+), 19 deletions(-) diff --git a/target/linux/ixp4xx/patches-3.10/300-avila_support.patch b/target/linux/ixp4xx/patches-3.10/300-avila_support.patch index

[OpenWrt-Devel] [PATCH 1/3] kernel: add rtc-ds1672 module support

2013-12-12 Thread Tim Harvey
Signed-off-by: Tim Harvey --- package/kernel/linux/modules/other.mk | 17 + 1 file changed, 17 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index d8d437f..c1adc66 100644 --- a/package/kernel/linux/modules/other.mk

[OpenWrt-Devel] [PATCH 2/3] imx6: add rtc feature support

2013-12-12 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/imx6/Makefile| 2 +- target/linux/imx6/config-3.10 | 4 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/target/linux/imx6/Makefile b/target/linux/imx6/Makefile index e8d558e..11f68f7 100644 --- a/target/linux/imx6/Makefile +++ b

[OpenWrt-Devel] [PATCH 3/3] imx6: ventana: add default kernel modules for GSC

2013-12-12 Thread Tim Harvey
All Gateworks Ventana boards have a Gateworks System Controller which emulates the following: - ds1672 RTC - pca953x GPIO expander - hardware monitor - at24 eeprom Signed-off-by: Tim Harvey --- target/linux/imx6/profiles/120-gateworks.mk | 1 + 1 file changed, 1 insertion(+) diff --git a

[OpenWrt-Devel] [PATCH] imx6: proper fix for io-remap

2013-12-12 Thread Tim Harvey
The previous patch was not the proper fix for PCI devices that require io resources. The new patch is the proper fix backported from mainline. Signed-off-by: Tim Harvey --- ...remove-outbound-io-mem-ATU-region-mapping.patch | 106 - .../0030-pcie-designware-fix-io

[OpenWrt-Devel] [PATCH] imx6: ventana: add canbus utils

2013-12-12 Thread Tim Harvey
Some of the Gateworks Ventana boards have CAN bus support, therefore we will install the userspace utils. Signed-off-by: Tim Harvey --- target/linux/imx6/profiles/120-gateworks.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/imx6/profiles/120-gateworks.mk

[OpenWrt-Devel] [PATCH] [packages] libqmi: update to 1.8.0

2013-12-12 Thread Tim Harvey
Signed-off-by: Tim Harvey --- libs/libqmi/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/libqmi/Makefile b/libs/libqmi/Makefile index a9db3c0..f094439 100644 --- a/libs/libqmi/Makefile +++ b/libs/libqmi/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR

[OpenWrt-Devel] [PATCH v2] cns3xxx: various dwc (OTG) driver fixups

2013-12-15 Thread Tim Harvey
v2 - modify files instead of adding a patch Signed-off-by: Tim Harvey --- .../linux/cns3xxx/files/drivers/usb/dwc/otg_attr.c | 7 +- .../linux/cns3xxx/files/drivers/usb/dwc/otg_cil.c | 39 +++- .../linux/cns3xxx/files/drivers/usb/dwc/otg_cil.h | 6 +- .../linux/cns3xxx/files/drivers/usb

[OpenWrt-Devel] [PATCH] imx6: enable IMX6 watchdog

2014-02-20 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/imx6/config-3.10 | 2 +- target/linux/imx6/config-3.13 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/imx6/config-3.10 b/target/linux/imx6/config-3.10 index 3dad5b6..3e69d68 100644 --- a/target/linux/imx6/config-3.10

[OpenWrt-Devel] [PATCH] kernel: hwmon: GSC fix negative temps

2014-02-20 Thread Tim Harvey
Signed-off-by: Tim Harvey --- .../generic/patches-3.10/880-gateworks_system_controller.patch | 7 +-- .../generic/patches-3.12/880-gateworks_system_controller.patch | 7 +-- .../generic/patches-3.13/880-gateworks_system_controller.patch | 7 +-- .../generic/patches-3.3

Re: [OpenWrt-Devel] [PATCH v2] cns3xxx: various dwc (OTG) driver fixups

2014-02-20 Thread Tim Harvey
On Sun, Dec 15, 2013 at 9:12 PM, Tim Harvey wrote: > v2 - modify files instead of adding a patch > > Signed-off-by: Tim Harvey > --- > .../linux/cns3xxx/files/drivers/usb/dwc/otg_attr.c | 7 +- > .../linux/cns3xxx/files/drivers/usb/dwc/otg_cil.c | 39 +++- > .../linux/

Re: [OpenWrt-Devel] [PATCH] cns3xxx: Add GW2385 support

2014-02-20 Thread Tim Harvey
On Fri, Dec 6, 2013 at 1:07 AM, Tim Harvey wrote: > Signed-off-by: Tim Harvey > --- > .../cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c | 30 > ++ > 1 file changed, 30 insertions(+) > > diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx

[OpenWrt-Devel] [PATCH] cns3xxx: ethernet - clean up tx descs only when needed

2014-02-20 Thread Tim Harvey
We already clean up tx descriptors in the napi eth_poll() function so it would likely be rare to run out of available descriptors in eth_xmit. Thus we can clean them up only when needed and return busy only when we still don't have enough. Signed-off-by: Tim Harvey --- .../cns3xxx/files/dr

[OpenWrt-Devel] [PATCH] cns3xxx: ethernet - resolve SMP issue

2014-02-20 Thread Tim Harvey
ing to catch in an improved fashion by checking to see if the rx descriptor ring has become full before interrupts were re-enabled so that a poll can be scheduled again and avoid an rx stall caused by rx interrupts ceasing to fire again. Signed-off-by: Tim Harvey --- .../linux/cns3xxx/files/driv

[OpenWrt-Devel] [PATCH] imx6: enable FPU for hard float

2014-02-25 Thread Tim Harvey
-mfloat-abi=hard which will the be most efficient use of floating point. When switching to hard float, we also need to enable VFP support in the kernel. Signed-off-by: Tim Harvey --- target/linux/imx6/Makefile| 2 +- target/linux/imx6/config-3.10 | 5 +++-- 2 files changed, 4 insertions(+), 3

[OpenWrt-Devel] [PATCH] imx6: optimize for NEON FPU hardware

2014-02-25 Thread Tim Harvey
The IMX6 SoC uses an ARM Cortext-A9 which has both NEON and VFPv3 hardware blocks. This will tune gcc to use neon instead of vfpv3 which will outperform VFPv3. Signed-off-by: Tim Harvey --- target/linux/imx6/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target

[OpenWrt-Devel] [PATCH] cns3xxx: fix uImage build issue

2014-02-28 Thread Tim Harvey
The uImage target will always fail on a clean build due to dependency issues. Building the uImage isn't necessary anyway as its re-built with correct entry points in image/Makefile so remove it. Signed-off-by: Tim Harvey --- target/linux/cns3xxx/Makefile | 2 +- 1 file changed, 1 inse

[OpenWrt-Devel] trunk build failure for feeds/packages/utils/nut

2014-02-28 Thread Tim Harvey
I've updated to OpenWrt trunk from from a version about 3 mo's old (r39762) and I'm finding that with the various packages I've selected in my .config something is causing feeds/packages/utils/nut to build which fails with: ... checking for pm_connect... no checking for avahi-core version via pkg-

[OpenWrt-Devel] [PATCH] [packages]: collectd: make nut conditional

2014-03-03 Thread Tim Harvey
Make the nut support conditional. Signed-off-by: Tim Harvey --- utils/collectd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index d923ab4..f412999 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile

Re: [OpenWrt-Devel] trunk build failure for feeds/packages/utils/nut

2014-03-03 Thread Tim Harvey
On Sat, Mar 1, 2014 at 12:37 AM, Hannu Nyman wrote: >> However the thing that bothers me more than 'nut' failing, is the fact >> that it is _not_ selected in my .config. What would be causing it to build? >> If I uninstall the package (./scripts/feeds uninstall nut) my build succeeds >> fine. > >

[OpenWrt-Devel] [PATCH v2] [packages]: collectd: make nut conditional

2014-03-04 Thread Tim Harvey
Make the nut support conditional and specify its dependencies. Signed-off-by: Tim Harvey --- utils/collectd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index d923ab4..36cc845 100644 --- a/utils/collectd/Makefile

Re: [OpenWrt-Devel] trunk build failure for feeds/packages/utils/nut

2014-03-04 Thread Tim Harvey
On Tue, Mar 4, 2014 at 1:02 AM, Hannu Nyman wrote: > Quoting Tim Harvey : > > I have one comment to your patch: > I think that the last item on the line should be: > +PACKAGE_collectd-mod-nut:nut > so that the nut package gets conditionally selected, if collectd-mod-nut h

Re: [OpenWrt-Devel] [PATCH] [packages] canutils: Replace old Pengutronix version with VW version

2014-03-14 Thread Tim Harvey
Jan, Some comments/questions/issue below: On Fri, Mar 14, 2014 at 3:25 AM, Jan Kardell wrote: > The old Pengutronix canutils seems very old and unmaintained. Replace > it with VolksWagen version of canutils that is actively maintained by > the Linux-CAN project. The VW version also has more feat

Re: [OpenWrt-Devel] [PATCH v2] [packages] canutils: Replace old Pengutronix version with VW version

2014-03-25 Thread Tim Harvey
define Package/canutils-canplayer/description > +canplayer - replay a compact CAN frame logfile to CAN devices. > +endef > + > +define Package/canutils-cansend/description > +cansend - simple command line tool to send CAN-frames via CAN_RAW sockets. > +endef > + > $(

[OpenWrt-Devel] [PATCH] [package] kobs-ng: Add support for overriding size

2014-04-17 Thread Tim Harvey
0xe (14MB) offset in a 16MB /dev/mtd0: kobs-ng init -v -x --search_exponent=1 --chip_0_size=0xe0 SPL nandwrite --start=0xe0 --pad /dev/mtd0 u-boot.img Signed-off-by: Tim Harvey --- .../kobs-ng/patches/002-add-init-size-param.patch | 42 ++ 1 file changed, 42

[OpenWrt-Devel] [PATCH] imx6-gateworks: enable new canbus packages

2014-04-17 Thread Tim Harvey
The canbus package was recently changed to a more active project. This patch updates the default package names to include the same functionality as before. Signed-off-by: Tim Harvey --- target/linux/imx6/profiles/120-gateworks.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[OpenWrt-Devel] [PATCH] cns3xxx: ethernet - revert: clean up tx descs only when needed

2014-04-22 Thread Tim Harvey
cause a performance issue. Signed-off-by: Tim Harvey --- .../cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c b/target/linux/cns3xxx/files

[OpenWrt-Devel] [PATCH] cns3xxx: support isolated PCI interrupts on newer PCB's

2014-04-22 Thread Tim Harvey
ds to route the INTA/B/C/D signals to unique external ARM CPU interrupts which can help balance CPU core utilization and in some cases increase overall system performance or responsiveness. For more details see: http://trac.gateworks.com/wiki/multicoreprocessing#PCIInterruptsteering Signed-off-by

[OpenWrt-Devel] [PATCH] kernel: other.mk: add pps-gpio support

2014-05-21 Thread Tim Harvey
The pps-gpio kernel module supports Pulse-Per-Second provided by a GPIO. Signed-off-by: Tim Harvey --- package/kernel/linux/modules/other.mk | 16 1 file changed, 16 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index

[OpenWrt-Devel] [PATCH] kernel: usb.mk: enable chipidea udc mode

2014-05-21 Thread Tim Harvey
The chipidea USB OTG controller is dual-role and supports both host and device modes. Enable device mode. Tested on Gateworks Ventana imx6 board with g_ether. Are there any other targets out there that use the CHIPIDEA controller? If so testing is needed for those. Signed-off-by: Tim Harvey

Re: [OpenWrt-Devel] [PATCH] Add kernel modules for USB gadget serial devices.

2014-05-21 Thread Tim Harvey
__________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel Acked-by: Tim Harvey tested on 3.14 with Gateworks Ventana board with a patch that enabled USB OTG device mode. Ti

Re: [OpenWrt-Devel] [PATCH 2/9] kernel: add another new config symbol for kernel 3.14

2014-05-29 Thread Tim Harvey
is not set > # CONFIG_USB_SERIAL is not set > # CONFIG_USB_SERIAL_AIRCABLE is not set > -- > 1.9.2 > > > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/lis

[OpenWrt-Devel] [PATCH] kernel: update 3.10 ventana dts

2014-06-02 Thread Tim Harvey
ned-off-by: Tim Harvey --- target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6dl-gw51xx.dts | 2 +- target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6dl-gw52xx.dts | 2 +- target/linux/imx6/files-3.10/arch/arm/boot/dts/imx6dl-gw53xx.dts | 2 +- target/linux/imx6/files-3.10/arch/arm/boot/

[OpenWrt-Devel] [PATCH] kernel: update 3.14 ventana dts with upstream fixes

2014-06-02 Thread Tim Harvey
x needs to include imx6qdl-gw51xx.dtsi - fix gw52xx clock for sgtl5000 ananlog audio codec - fix LVDS mapping for Ventana GW52xx/GW53xx/GW54xx - add LVDS backlight for Ventana - update model descriptions for all processor variants Signed-off-by: Tim Harvey --- ...003-ARM-dts-add-Gatewor

[OpenWrt-Devel] [PATCH] imx6: update board names per device-tree updates

2014-06-02 Thread Tim Harvey
The Gateworks Ventana board names have been adjusted per upstream patches to include all IMX6 SoC variants. Signed-off-by: Tim Harvey --- target/linux/imx6/base-files/etc/uci-defaults/02_network | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/target/linux

[OpenWrt-Devel] [PATCH] kernel: fix kernel build for chipidea w/o usb-gadget

2014-06-02 Thread Tim Harvey
This resolves a module dependency kernel regression in r40905 with the usb-chipidea module if usb-gadget was not selected. Signed-off-by: Tim Harvey --- package/kernel/linux/modules/usb.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules

[OpenWrt-Devel] [PATCH] imx6: ventana: add default kernel modules

2014-06-02 Thread Tim Harvey
Add the following kernel modules by default (which are present on most Ventana baseboards): - kmod-leds-gpio (user leds) - kmod-sound-core (required as a dependency of the other sound modules) - kmod-pps-gpio (Pulse-Per-Second) Signed-off-by: Tim Harvey --- target/linux/imx6/profiles/120

[OpenWrt-Devel] [PATCH] imx6: ventana: remove non-trunk packages from defaults

2014-06-02 Thread Tim Harvey
The canutils package is in the packages repo and not part of trunk, so we should not enable them by default. Signed-off-by: Tim Harvey --- target/linux/imx6/profiles/120-gateworks.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/imx6/profiles/120-gateworks.mk b/target/linux

[OpenWrt-Devel] [PATCH] libusb-compat: create directory for libusb-config

2014-06-03 Thread Tim Harvey
Fix a build regression caused by r39975 by making sure $(STAGING_DIR)/host directory exists before trying to copy files to it. Cc: Florian Fainelli Signed-off-by: Tim Harvey --- package/libs/libusb-compat/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libs/libusb

[OpenWrt-Devel] [PATCH v2] libusb-compat: create directory for libusb-config

2014-06-03 Thread Tim Harvey
Fix a build regression caused by r39975 by making sure $(STAGING_DIR)/host directory exists before trying to copy files to it. Cc: Florian Fainelli Signed-off-by: Tim Harvey --- v2: - fix directory (fully tested this time) --- package/libs/libusb-compat/Makefile | 2 ++ 1 file changed, 2

[OpenWrt-Devel] [PATCH] imx6: kernel: update 3.14 pcie patches

2014-06-04 Thread Tim Harvey
Remove old irq map patch and replace it with the propper upstream patches allowing IMX6 PCIe devices behind PCIe switches to work properly. Signed-off-by: Tim Harvey --- ...dts_imx_fix-invallid-#address-cells-value.patch | 59 + ...se-new-OF-interrupt-mapping-when

Re: [OpenWrt-Devel] Gateworks Laguna GW2388-4

2012-02-23 Thread Tim Harvey
Weedy gmail.com> writes: Weedy, > > I have been able to boot images fine off the network but for the life of > me can't get flashed images to work. The gateworks wiki states: > > Laguna> erase 0x1006 0x10ff > Laguna> tftpboot 0x80 laguna/openwrt-cns3xxx-uImage > Laguna> cp.b 0x8000

Re: [OpenWrt-Devel] kernel/802.11: missing Unknown symbol kstrtou8_from_user

2012-04-18 Thread Tim Harvey
Chris, This is caused by a change to the mac80211 Makefile in https://dev.openwrt.org/changeset/30742/trunk/package/mac80211 (make all -> make modules) which causes the compat.ko module to get built a second time from the kernel tree with an invalid configuration. Its fixed with the latest compat

Re: out-of-tree mac80211 driver in a package feed; how to determine mac80211 version

2025-01-31 Thread Tim Harvey
On Wed, Jan 29, 2025 at 12:14 AM Christian Marangi (Ansuel) wrote: > > Il giorno mer 29 gen 2025 alle ore 01:39 Tim Harvey > ha scritto: > > > > Greetings, > > > > I've got an out-of-tree mac80211 driver [1] that I built in a package > > feed. The driv

out-of-tree mac80211 driver in a package feed; how to determine mac80211 version

2025-01-28 Thread Tim Harvey
Greetings, I've got an out-of-tree mac80211 driver [1] that I built in a package feed. The driver has a lot of kernel compatibility defines using KERNEL_VERSION(x,y,z) and LINUX_VERSION_CODE to support various kernels from fairly old up to 6.12. I'm finding that this doesn't quite work for an Open

<    1   2   3