Re: [LEDE-DEV] [PATCH] imx6: add DSA driver for MV88E6176 switch

2017-03-10 Thread Tim Harvey
On Fri, Mar 10, 2017 at 8:39 AM, Felix Fietkau wrote: > On 2017-03-10 17:28, Tim Harvey wrote: >> On Fri, Mar 10, 2017 at 7:49 AM, Rafał Miłecki wrote: >>> On 10 March 2017 at 16:01, Tim Harvey wrote: >>>> The MV88E6176 switch is present on the GW16083

Re: [LEDE-DEV] [PATCH] imx6: add DSA driver for MV88E6176 switch

2017-03-10 Thread Tim Harvey
On Fri, Mar 10, 2017 at 11:05 AM, Felix Fietkau wrote: > On 2017-03-10 19:58, Tim Harvey wrote: >> On Fri, Mar 10, 2017 at 8:39 AM, Felix Fietkau wrote: >>> On 2017-03-10 17:28, Tim Harvey wrote: >>>> On Fri, Mar 10, 2017 at 7:49 AM, Rafał Miłecki wrote: >&g

Re: [LEDE-DEV] [PATCH] imx6: add support for GW5904

2017-03-13 Thread Tim Harvey
On Fri, Mar 10, 2017 at 10:37 AM, Thomas Endt wrote: > Just curious: Why is the GW5904 not listed on http://www.gateworks.com/? > I'm searching for technical data to include in the Table of Hardware > (https://lede-project.org/toh/views/toh_minimal_all?dataflt%5BBrand*%7E%5D=g > ateworks&dataflt%5

Re: [LEDE-DEV] [PATCH] imx6: add support for GW5904

2017-03-17 Thread Tim Harvey
On Mon, Mar 13, 2017 at 9:34 AM, Rafał Miłecki wrote: > On 10 March 2017 at 16:01, Tim Harvey wrote: >> diff --git >> a/target/linux/imx6/files-4.9/arch/arm/boot/dts/imx6qdl-gw5904.dtsi >> b/target/linux/imx6/files-4.9/arch/arm/boot/dts/imx6qdl-gw5904.dtsi >> ne

[LEDE-DEV] ath9k sta/wpa2 fails on 4.9

2017-03-30 Thread Tim Harvey
I've found that ath9k sta mode with wpa2 crypto is failing on lede master with a 4.9 kernel but if I move back to the 4.4 kernel it works. I'm testing this on the imx6 target. I'm running wpa_supplican't manually for testing. Here's 4.9: root@LEDE:/# cat << EOF > /var/run/wpa > country=US > networ

Re: [LEDE-DEV] ath9k sta/wpa2 fails on 4.9

2017-03-30 Thread Tim Harvey
On Thu, Mar 30, 2017 at 1:56 PM, Tim Harvey wrote: > I've found that ath9k sta mode with wpa2 crypto is failing on lede > master with a 4.9 kernel but if I move back to the 4.4 kernel it > works. I'm testing this on the imx6 target. > > I'm running wpa_supplican'

Re: [LEDE-DEV] imx6: fail to start IBSS link

2017-04-03 Thread Tim Harvey
On Mon, Mar 6, 2017 at 7:52 AM, Koen Vandeputte wrote: > > > On 2017-02-17 17:19, Koen Vandeputte wrote: >> >> >> >>> Koen, >>> >>> Can you try to disable MSI? I've seen issues with it in the past for >>> IMX6 and I typically leave it disabled as it doesn't buy us anything >>> and can instead hurt

Re: [LEDE-DEV] imx6: fail to start IBSS link

2017-04-07 Thread Tim Harvey
On Fri, Apr 7, 2017 at 8:31 AM, Koen Vandeputte wrote: > > > On 2017-04-03 16:03, Tim Harvey wrote: > > > Hi Tim, > > Also apologies for the late reply. > It's also a very busy period here :) > > It also took some time to retest this issue list again using

[LEDE-DEV] [PATCH] imx6: apply upstream mmc fix for DDR50 cards on UHS-I capable boards

2017-04-20 Thread Tim Harvey
https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git/commit/?h=fixes&id=9f327845358d3dd0d8a5a7a5436b0aa5c432e757 Signed-off-by: Tim Harvey --- ...sdhc-imx-increase-the-pad-I-O-drive-stren.patch | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 ta

[LEDE-DEV] [PATCH] imx6: disable MSI interrupts

2017-04-20 Thread Tim Harvey
such as ath9k. Signed-off-by: Tim Harvey --- target/linux/imx6/config-4.9 | 42 ++ .../linux/imx6/patches-4.9/200-disable-msi.patch | 22 2 files changed, 24 insertions(+), 40 deletions(-) create mode 100644 target/linux/imx6/patches-4.9

[LEDE-DEV] [PATCH] imx6: ventana: add GW553x board identification

2017-04-20 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/imx6/base-files/lib/imx6.sh | 5 + 1 file changed, 5 insertions(+) diff --git a/target/linux/imx6/base-files/lib/imx6.sh b/target/linux/imx6/base-files/lib/imx6.sh index 3a9dea3..8254cac 100755 --- a/target/linux/imx6/base-files/lib/imx6.sh +++ b

[LEDE-DEV] [PATCH] imx6: add gw560x support

2017-05-05 Thread Tim Harvey
Signed-off-by: Tim Harvey --- .../linux/imx6/base-files/etc/board.d/02_network | 1 + target/linux/imx6/base-files/lib/imx6.sh | 5 + .../files-4.9/arch/arm/boot/dts/imx6dl-gw560x.dts | 55 ++ .../files-4.9/arch/arm/boot/dts/imx6q-gw560x.dts | 59 ++ .../arch/arm/boot/dts

Re: [LEDE-DEV] [PATCH] imx6: add gw560x support

2017-05-18 Thread Tim Harvey
On Sat, May 6, 2017 at 1:07 AM, Mathias Kresin wrote: > 05.05.2017 22:15, Tim Harvey: >> >> Signed-off-by: Tim Harvey > > > Hey Tim, > > would you please include a short description about the hardware and how to > install LEDE on the board in your commit m

[LEDE-DEV] [PATCH] cns3xxx: fix GPIO controller interrupt enable

2017-09-08 Thread Tim Harvey
OB each having 32 GPIO's) uses interrupts. When one would get enabled all others would be disabled prior to this patch. Signed-off-by: Tim Harvey --- target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/gpio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target/linux/

Re: [LEDE-DEV] LEDE new image on gw5520

2017-11-21 Thread Tim Harvey
as suggested - adjust your thermal solution to your enclosure / mouting. We have many customer that use thermal gap filling pads on both the i.MX6 as well as the PLX PCIe switch to get heat off the board Please feel free to send questions to supp...@gateworks.com - I happened across this post rather ra

Re: [LEDE-DEV] [PATCH v2] imx6: fix pcie scanning on boot

2018-01-19 Thread Tim Harvey
On Thu, Jan 4, 2018 at 8:23 AM, Koen Vandeputte wrote: > By default, when the imx6 PCIe RC boots up, the subordinate is set > equally to the secondary bus (1), and does not alter afterwards. > > This means that theoretically, the highest bus reachable downstream is > bus 1. > > Before upstream com

[LEDE-DEV] [OpenWrt-Devel] [PATCH] kernel/modules/other: disable Nokia BT UART

2018-01-23 Thread Tim Harvey
disable the Nokia BT UART present on Nikia N9, N900 & N950 added in 4.12. Signed-off-by: Tim Harvey --- package/kernel/linux/modules/other.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 1c7869e..165

[LEDE-DEV] [OpenWrt-Devel] [PATCH] add support for OCTEON TX target

2018-01-23 Thread Tim Harvey
The Cavium OCTEON TX is an ARM 64-bit SoC leveraging CPU cores and periperhals from the Cavium ThunderX SoC. This initial support provides a 4.14 kernel and kernel+initramfs that is bootable on the Gateworks Newport GW630x as well as the Cavium sff8104 reference board. Signed-off-by: Tim Harvey

[LEDE-DEV] [PATCH 0/4] imx6: update to Linux 4.14

2018-02-01 Thread Tim Harvey
Tested on a Gateworks GW54xx Tim Harvey (4): kernel: add missing config symbols imx6: add support for Linux 4.14 imx6: switch to kernel 4.14 imx6: remove support for 4.9 target/linux/generic/config-4.14 | 9 +- target/linux/imx6/Makefile | 2

[LEDE-DEV] [PATCH 1/4] kernel: add missing config symbols

2018-02-01 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/generic/config-4.14 | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14 index fa389bf..89f2f43 100644 --- a/target/linux/generic/config-4.14 +++ b/target/linux

[LEDE-DEV] [PATCH 3/4] imx6: switch to kernel 4.14

2018-02-01 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/imx6/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/imx6/Makefile b/target/linux/imx6/Makefile index ae6a9b0..152a58e 100644 --- a/target/linux/imx6/Makefile +++ b/target/linux/imx6/Makefile @@ -14,7 +14,7

[LEDE-DEV] [PATCH 2/4] imx6: add support for Linux 4.14

2018-02-01 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/imx6/config-4.14 | 526 + target/linux/imx6/patches-4.14/100-bootargs.patch | 11 + .../linux/imx6/patches-4.14/200-disable-msi.patch | 18 + .../imx6/patches-4.14/300-fix-enumeration.patch| 11 + 4

[LEDE-DEV] [LED-DEV][PATCH 4/4] imx6: remove support for 4.9

2018-02-01 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/imx6/config-4.9 | 497 .../files-4.9/arch/arm/boot/dts/imx6dl-gw5904.dts | 19 - .../files-4.9/arch/arm/boot/dts/imx6q-gw5904.dts | 23 - .../arch/arm/boot/dts/imx6qdl-gw5904.dtsi | 629

Re: [LEDE-DEV] [PATCH 0/4] imx6: update to Linux 4.14

2018-02-13 Thread Tim Harvey
On Tue, Feb 13, 2018 at 12:43 AM, John Crispin wrote: > > > On 01/02/18 23:35, Tim Harvey wrote: >> >> Tested on a Gateworks GW54xx >> >> Tim Harvey (4): >>kernel: add missing config symbols >>imx6: add support for Linux 4.14 >>imx

Re: [LEDE-DEV] [PATCH 1/4] kernel: add missing config symbols

2018-02-14 Thread Tim Harvey
On Mon, Feb 12, 2018 at 12:41 PM, Hauke Mehrtens wrote: > On 02/01/2018 11:35 PM, Tim Harvey wrote: >> Signed-off-by: Tim Harvey >> --- >> target/linux/generic/config-4.14 | 9 - >> 1 file changed, 8 insertions(+), 1 deletion(-) >> >> diff --git a

[LEDE-DEV] [OpenWrt-Devel] [PATCH v2 2/3] imx6: switch to Linux 4.14

2018-02-14 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/imx6/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/imx6/Makefile b/target/linux/imx6/Makefile index ae6a9b0..152a58e 100644 --- a/target/linux/imx6/Makefile +++ b/target/linux/imx6/Makefile @@ -14,7 +14,7

[LEDE-DEV] [OpenWrt-Devel] [PATCH v2 1/3] imx6: add support for Linux 4.14

2018-02-14 Thread Tim Harvey
Signed-off-by: Tim Harvey --- v2: - move dwc pci patch to generic (Koen) - added E1000E driver (used on GW552x) - remove unnecessary EXT2/EXT3 (Michael) - remove config default config for 14.4 Signed-off-by: Tim Harvey --- target/linux/imx6/config-4.14 | 520

[LEDE-DEV] [OpenWrt-Devel] [PATCH v2 0/3]: imx6: update to Linux 4.14

2018-02-14 Thread Tim Harvey
for 14.4 Tim Harvey (3): imx6: add support for Linux 4.14 imx6: switch to Linux 4.14 imx6: remove support for 4.9 target/linux/imx6/Makefile | 2 +- target/linux/imx6/config-4.14 | 520 + target/linux/imx6/config-4.9

[LEDE-DEV] [OpenWrt-Devel] [PATCH v2 3/3] imx6: remove support for 4.9

2018-02-14 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/imx6/config-4.9 | 497 .../files-4.9/arch/arm/boot/dts/imx6dl-gw5904.dts | 19 - .../files-4.9/arch/arm/boot/dts/imx6q-gw5904.dts | 23 - .../arch/arm/boot/dts/imx6qdl-gw5904.dtsi | 629

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH v2 1/3] imx6: add support for Linux 4.14

2018-02-15 Thread Tim Harvey
On Thu, Feb 15, 2018 at 12:43 AM, Koen Vandeputte wrote: > > > On 2018-02-15 02:31, Tim Harvey wrote: >> >> Signed-off-by: Tim Harvey >> --- >> v2: >> - move dwc pci patch to generic (Koen) >> - added E1000E driver (used on GW552x) >> - r

[LEDE-DEV] [OpenWrt-Devel] [PATCH v3 0/4]: imx6: update to Linux 4.14

2018-02-15 Thread Tim Harvey
unnecessary EXT2/EXT3 (Michael) - remove config default config for 14.4 Tim Harvey (4): kernel: backport dwc pci enumeration fix imx6: add support for Linux 4.14 imx6: switch to Linux 4.14 imx6: remove support for 4.9 .../pending-4.14/812-pci-dwc-fix-enumeration.patch | 11 + target/linux/imx6

[LEDE-DEV] [OpenWrt-Devel] [PATCH v3 1/4] kernel: backport dwc pci enumeration fix

2018-02-15 Thread Tim Harvey
Backport of: http://patchwork.ozlabs.org/patch/860701/ Signed-off-by: Tim Harvey --- .../generic/pending-4.14/812-pci-dwc-fix-enumeration.patch| 11 +++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch diff

[LEDE-DEV] [OpenWrt-Devel] [PATCH 2/4] imx6: add support for Linux 4.14

2018-02-15 Thread Tim Harvey
Signed-off-by: Tim Harvey --- v2: - move dwc pci patch to generic (Koen) - remove unnecessary EXT2/EXT3 (Michael) - remove config default config for 14.4 Signed-off-by: Tim Harvey --- target/linux/imx6/config-4.14 | 520 + target/linux/imx6/patches

[LEDE-DEV] [OpenWrt-Devel] [PATCH 3/4] imx6: switch to Linux 4.14

2018-02-15 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/imx6/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/imx6/Makefile b/target/linux/imx6/Makefile index ae6a9b0..152a58e 100644 --- a/target/linux/imx6/Makefile +++ b/target/linux/imx6/Makefile @@ -14,7 +14,7

[LEDE-DEV] [OpenWrt-Devel] [PATCH 4/4] imx6: remove support for 4.9

2018-02-15 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/imx6/config-4.9 | 497 .../files-4.9/arch/arm/boot/dts/imx6dl-gw5904.dts | 19 - .../files-4.9/arch/arm/boot/dts/imx6q-gw5904.dts | 23 - .../arch/arm/boot/dts/imx6qdl-gw5904.dtsi | 629

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH] add support for OCTEON TX target

2018-02-15 Thread Tim Harvey
rgz pcie gpio rtc usb >> >> I think you should define fpu here, but arm64 anyway has a fpu. >> >>> +CFLAGS:=-Os -pipe -fno-caller-saves >> >> You should not define CFLAGS for the toolchain as this will also leak >> into other targets

[LEDE-DEV] [OpenWrt-Devel] [PATCH 2/8] octeontx: remove static EXT2/3/4 FS support

2018-02-20 Thread Tim Harvey
We are using F2FS as our overlay read/write FS. Others can be supported as modules. Signed-off-by: Tim Harvey --- target/linux/octeontx/config-4.14 | 9 - 1 file changed, 9 deletions(-) diff --git a/target/linux/octeontx/config-4.14 b/target/linux/octeontx/config-4.14 index c56a27d

[LEDE-DEV] [OpenWrt-Devel] [PATCH 1/8] octeontx: add USB_PCI support

2018-02-20 Thread Tim Harvey
The CN80XX XHCI is supported through PCI Signed-off-by: Tim Harvey --- target/linux/octeontx/config-4.14 | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/target/linux/octeontx/config-4.14 b/target/linux/octeontx/config-4.14 index 97d0cc6..c56a27d 100644 --- a/target

[LEDE-DEV] [OpenWrt-Devel] [PATCH 5/8] octeontx: add fpu support

2018-02-20 Thread Tim Harvey
Cc: Hauke Mehrtens Signed-off-by: Tim Harvey --- target/linux/octeontx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/octeontx/Makefile b/target/linux/octeontx/Makefile index ecac152..e7f6b2d 100644 --- a/target/linux/octeontx/Makefile +++ b/target

[LEDE-DEV] [OpenWrt-Devel] [PATCH 6/8] octeontx: remove unnecessary CONFIG_DEBUG_INFO

2018-02-20 Thread Tim Harvey
Cc: Hauke Mehrtens Signed-off-by: Tim Harvey --- target/linux/octeontx/config-4.14 | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/octeontx/config-4.14 b/target/linux/octeontx/config-4.14 index 2efac7c..a6f762c 100644 --- a/target/linux/octeontx/config-4.14 +++ b/target/linux

[LEDE-DEV] [OpenWrt-Devel] [PATCH 3/8] octeontx: add FAT FS support to kernel

2018-02-20 Thread Tim Harvey
The CN80XX Boot firmware uses an embedded FAT12 filesystem. For some reason busybox can't mount this unless its enabled static in the kernel. Signed-off-by: Tim Harvey --- target/linux/octeontx/config-4.14 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/octeontx/config

[LEDE-DEV] [OpenWrt-Devel] [PATCH 4/8] octeontx: remove CFLAGS

2018-02-20 Thread Tim Harvey
You should not define CFLAGS for the toolchain as this will also leak into other targets if they share the same toolchain. Cc: Hauke Mehrtens Signed-off-by: Tim Harvey --- target/linux/octeontx/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/octeontx/Makefile b/target

[LEDE-DEV] [OpenWrt-Devel] [PATCH 8/8] kernel: add missing symbol

2018-02-20 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/generic/config-4.14 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14 index f7d9cca..6d3a207 100644 --- a/target/linux/generic/config-4.14 +++ b/target/linux/generic/config-4.14

[LEDE-DEV] [OpenWrt-Devel] [PATCH 7/8] octeontx: remove undefs of CONFIG_NET_VENDOR_*

2018-02-20 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/octeontx/config-4.14 | 52 --- 1 file changed, 52 deletions(-) diff --git a/target/linux/octeontx/config-4.14 b/target/linux/octeontx/config-4.14 index a6f762c..114fc38 100644 --- a/target/linux/octeontx/config-4.14

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 2/8] octeontx: remove static EXT2/3/4 FS support

2018-02-21 Thread Tim Harvey
On Wed, Feb 21, 2018 at 2:36 PM, Felix Fietkau wrote: > On 2018-02-20 19:23, Tim Harvey wrote: >> We are using F2FS as our overlay read/write FS. Others can be supported >> as modules. >> >> Signed-off-by: Tim Harvey > I think it would be a good idea to leave i

Re: [LEDE-DEV] [OpenWrt-Devel] [PATCH 2/8] octeontx: remove static EXT2/3/4 FS support

2018-02-22 Thread Tim Harvey
On Thu, Feb 22, 2018 at 4:14 AM, Felix Fietkau wrote: > On 2018-02-22 09:34, Felix Fietkau wrote: >> On 2018-02-22 01:12, Tim Harvey wrote: >>> On Wed, Feb 21, 2018 at 2:36 PM, Felix Fietkau wrote: >>>> On 2018-02-20 19:23, Tim Harvey wrote: >>>>> W

Re: [LEDE-DEV] gateworks patches in the tree

2016-12-21 Thread Tim Harvey
t; 160-usb-gadget-udc-net2280-add-usb2380-support.patch:From: Tim Harvey > I mainlined this one (5185c91385d73cdf79836eb8548e4726e43ae831) and it appears in Linux 4.8 > 412-mtd-partial_eraseblock_unlock.patch:From: Tim Harvey > The commit message for this applied in OpenWrt r33681 on 10/

Re: [LEDE-DEV] [PATCH] cns3xxx: restore mpcore watchdog

2017-01-16 Thread Tim Harvey
On Tue, Jan 10, 2017 at 5:34 AM, Koen Vandeputte wrote: > Adds the mpcore watchdog driver for kernel 4.4 as it was originally > present up to kernel 3.12 > > - Disabled by default for now, but can be simply enabled in kernelconfig > - Currently does not contain the latest patches as mentioned here

[LEDE-DEV] bluez 5.38 bluetoothd and/or bluetoothctl not working

2017-01-16 Thread Tim Harvey
Anyone using bluez on LEDE/OpenWrt that could tell me what could be wrong with the following? I'm using the following: - imx6 based board with 4.4 kernel - CSR 4.0 USB HCI supported by btusb via kmod-bluetooth package - lede master - btusb - bluez-{daemon,examples,libs,utils} 5.38-1 from packages

Re: [LEDE-DEV] [PATCH] cns3xxx: restore mpcore watchdog

2017-01-25 Thread Tim Harvey
mpcore_wdt_stop(wdt); /* Turn the WDT off */ > ++ return 0; > ++} > ++ > ++static int mpcore_wdt_resume(struct platform_device *pdev) > ++{ > ++ struct mpcore_wdt *wdt = platform_get_drvdata(pdev); > ++ /* re-activate timer */ > ++ if (te

Re: [LEDE-DEV] mac80211 / wireless drivers update

2017-01-31 Thread Tim Harvey
On Fri, Jan 27, 2017 at 2:15 AM, Felix Fietkau wrote: > Hi everybody, > > I just pushed an update of the mac80211 package to the current > wireless-testing version in preparation for adding Linux 4.9 support. > You can find my tree here: > https://git.lede-project.org/?p=lede/nbd/staging.git;a=sum

Re: [LEDE-DEV] imx6: fail to start IBSS link

2017-02-17 Thread Tim Harvey
On Thu, Feb 16, 2017 at 6:22 AM, Koen Vandeputte wrote: > Hi Felix, > Hi Tim, > > commit "imx6: move to Linux 4.9 kernel" introduces some regression on wlan > level. > > > When starting wpa_supplicant to initiate an IBSS link, the handshake fails. > Inspecting it reveals that no data packets are t

[LEDE-DEV] [PATCH] kernel: fix phy aneg crash

2017-03-09 Thread Tim Harvey
Fix a kernel crash caused when CONFIG_FIXED_PHY used for fixed phy drivers in phy-add-aneg-done-function patch. Signed-off-by: Tim Harvey --- target/linux/generic/patches-3.18/702-phy_add_aneg_done_function.patch | 2 +- target/linux/generic/patches-4.4/702-phy_add_aneg_done_function.patch | 2

[LEDE-DEV] [PATCH] imx6: fix USB for 4.9 kernel

2017-03-09 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/imx6/config-4.9 | 8 1 file changed, 8 insertions(+) diff --git a/target/linux/imx6/config-4.9 b/target/linux/imx6/config-4.9 index 7e569bd..9aafa50 100644 --- a/target/linux/imx6/config-4.9 +++ b/target/linux/imx6/config-4.9 @@ -403,6 +403,11

[LEDE-DEV] [PATCH] imx6: add missing dtb for imx6dl-gw553x

2017-03-09 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/imx6/image/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile index 3ccece7..d836e0e 100644 --- a/target/linux/imx6/image/Makefile +++ b/target/linux/imx6/image/Makefile

[LEDE-DEV] [PATCH] imx6: added fixfdt to bootscript

2017-03-09 Thread Tim Harvey
If a 'fixfdt' uboot script exists, execute it prior to bootm to allow easy bootloader env based fdt fixups and tweaks Signed-off-by: Tim Harvey --- target/linux/imx6/image/bootscript-ventana | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/imx6/image/bootscript-

[LEDE-DEV] [PATCH] imx6: add support for GW5904

2017-03-10 Thread Tim Harvey
Signed-off-by: Tim Harvey --- .../linux/imx6/base-files/etc/board.d/02_network | 3 +- target/linux/imx6/base-files/lib/imx6.sh | 5 + .../files-4.9/arch/arm/boot/dts/imx6dl-gw5904.dts | 19 + .../files-4.9/arch/arm/boot/dts/imx6q-gw5904.dts | 23 + .../arch/arm/boot/dts

[LEDE-DEV] [PATCH] imx6: add DSA driver for MV88E6176 switch

2017-03-10 Thread Tim Harvey
The MV88E6176 switch is present on the GW16083 and the GW5904 As of a5c32a1f1996f4f75504c4a9abd1c99eaa598df1 these drivers are to be enabled static in per-target kernels. Signed-off-by: Tim Harvey --- target/linux/imx6/config-4.9 | 8 1 file changed, 8 insertions(+) diff --git a

Re: [LEDE-DEV] [PATCH] imx6: add DSA driver for MV88E6176 switch

2017-03-10 Thread Tim Harvey
On Fri, Mar 10, 2017 at 7:49 AM, Rafał Miłecki wrote: > On 10 March 2017 at 16:01, Tim Harvey wrote: >> The MV88E6176 switch is present on the GW16083 and the GW5904 >> >> As of a5c32a1f1996f4f75504c4a9abd1c99eaa598df1 these drivers are to be >> enabled static i

Re: [LEDE-DEV] Bug - spinlock loop in cns3xxx_eth.c

2016-06-13 Thread Tim Harvey
On Mon, Jun 13, 2016 at 9:12 AM, Koen Vandeputte wrote: > Hi All, > > There seems to be a bug in the function eth_poll() in this driver > > When the RX ring gets full once, the re-schedule is called forever, even > when the ring is empty afterwards. > > > if (!received) { > napi_comple

[LEDE-DEV] imx6 ventana nand images broken

2016-08-30 Thread Tim Harvey
aulty ubi such that there is no boot filesystem with the kernel/dtbs. You moved the ubi creation external and created a UBINIZE_PARTS variable to specify a boot filesystem and I wonder if you had another patch queued up somewhere which uses UBINIZE_PARTS that you forgot to commit? Regards, Tim

Re: [LEDE-DEV] imx6 ventana nand images broken

2016-08-31 Thread Tim Harvey
On Wed, Aug 31, 2016 at 4:57 AM, Felix Fietkau wrote: > On 2016-08-31 13:35, Koen Vandeputte wrote: >> On 2016-08-31 13:08, Felix Fietkau wrote: >>> On 2016-08-31 13:00, Koen Vandeputte wrote: >>>> >>>> On 2016-08-31 11:48, Felix Fietkau wrote: &

[LEDE-DEV] [PATCH] boot: kobs-ng: update kobs-ng for newer kernels

2016-09-01 Thread Tim Harvey
/bootloader#nandspl for instructions on updating the SPL from Linux. Signed-off-by: Tim Harvey --- package/boot/kobs-ng/Makefile | 11 ++-- package/boot/kobs-ng/patches/001-compile.patch | 23 +++ .../boot/kobs-ng/patches/001-fix-mtd-defines.patch | 76

[LEDE-DEV] [PATCH] imx6: add GW553x support

2016-09-01 Thread Tim Harvey
user pushbutton - 1x USB OTG See http://www.gateworks.com for more info Signed-off-by: Tim Harvey --- .../files-4.4/arch/arm/boot/dts/imx6dl-gw553x.dts | 19 + .../files-4.4/arch/arm/boot/dts/imx6q-gw553x.dts | 19 + .../arch/arm/boot/dts/imx6qdl-gw553x.dtsi | 547

[LEDE-DEV] [PATCH] kernel: clean up usb gadget support

2016-09-01 Thread Tim Harvey
clean up usb gadget support: - remove unnecessary kmod-usb-lib-composite - make kmod-usb-gadget a proper dependency vs a selection - rename modules so that they match standard linux kernel module name and properly indent underneath usb-gadget in menuconfig Signed-off-by: Tim Harvey

[LEDE-DEV] [PATCH] image.mk: Create a manifest file of installed packages as a build artifact

2016-09-01 Thread Tim Harvey
able flash space. Signed-off-by: Pushpal Sidhu Signed-off-by: Tim Harvey --- include/image.mk | 8 1 file changed, 8 insertions(+) diff --git a/include/image.mk b/include/image.mk index 7079f18..bab7f53 100644 --- a/include/image.mk +++ b/include/image.mk @@ -264,6 +264,13 @@ define

[LEDE-DEV] [PATCH] generic: add NET3380 UDC support

2016-09-01 Thread Tim Harvey
Add a patch to backport 5185c91385d73cdf79836eb8548e4726e43ae831 from Linux 4.8 adding USB2380 support to the NET2280 driver and create an OpenWrt menu option to select it as a module. Signed-off-by: Tim Harvey --- package/kernel/linux/modules/usb.mk| 17 ++ ...sb-gadget-udc

[LEDE-DEV] kernel: remove switch driver kmod packages

2016-09-01 Thread Tim Harvey
Felix, In a5c32a1f1996f4f75504c4a9abd1c99eaa598df1 you removed kernel/linux/modules/dsa.mk claiming that targets needing switch drivers should select them in their kernel configs thus preventing bloat creeping into targets that don't need switchdev/dsa. What that implies is that every target boar

[LEDE-DEV] [PATCH] cns3xxx: add GW2394 Support

2016-09-06 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c | 4 +++- .../linux/cns3xxx/patches-4.4/255-laguna-add-gsc-driver-support.patch | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/target/linux/cns3xxx/files/arch/arm/mach

[LEDE-DEV] [PATCH] imx6: image: remove pca955x/ds1672/at24 from Ventana kernel modules

2016-09-06 Thread Tim Harvey
These need to be static in the kernel for Ventana Signed-off-by: Tim Harvey --- target/linux/imx6/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile index 7893e06..ad89da8 100644 --- a/target

[LEDE-DEV] [PATCH] cns3xxx: bump SPI partition map kernel size to 2MB

2016-09-06 Thread Tim Harvey
as the GW2380/82. Signed-off-by: Tim Harvey --- .../linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c | 16 target/linux/cns3xxx/image/Makefile | 6 +- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/target/linux/cns3xxx/files/arch/arm

[LEDE-DEV] [PATCH] imx6: override default inittab to add video console tty

2016-09-06 Thread Tim Harvey
Adds the following to the default inittab tty1::askfirst:/bin/ash --login Signed-off-by: Tim Harvey --- target/linux/imx6/base-files/etc/inittab | 4 1 file changed, 4 insertions(+) create mode 100644 target/linux/imx6/base-files/etc/inittab diff --git a/target/linux/imx6/base-files/etc

Re: [LEDE-DEV] [PATCH] kernel: clean up usb gadget support

2016-09-06 Thread Tim Harvey
On Sat, Sep 3, 2016 at 5:00 AM, Felix Fietkau wrote: > On 2016-09-01 16:52, Tim Harvey wrote: >> clean up usb gadget support: >> - remove unnecessary kmod-usb-lib-composite >> - make kmod-usb-gadget a proper dependency vs a selection >> - rename modules so that they

Re: [LEDE-DEV] [PATCH] kernel: clean up usb gadget support

2016-09-06 Thread Tim Harvey
On Tue, Sep 6, 2016 at 1:15 PM, Felix Fietkau wrote: > On 2016-09-06 18:57, Tim Harvey wrote: >> On Sat, Sep 3, 2016 at 5:00 AM, Felix Fietkau wrote: >>> Adding libcomposite.ko to multiple packages is a really bad idea. >>> Why did you prefer that over having p

Re: [LEDE-DEV] [PATCH] cns3xxx: bump SPI partition map kernel size to 2MB

2016-09-06 Thread Tim Harvey
On Tue, Sep 6, 2016 at 1:17 PM, Felix Fietkau wrote: > On 2016-09-06 18:38, Tim Harvey wrote: >> The 4.4 kernel is not easily sized down to below the 1.5MB limit imposed by >> the SPI flash MTD partition mapping. Increase this to 2MB where it is for >> NOR flash devices. Add

[LEDE-DEV] [PATCH v2] cns3xxx: add GW2394 Support

2016-09-07 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 6c77923

[LEDE-DEV] [PATCH v2] kernel: clean up usb gadget support

2016-09-07 Thread Tim Harvey
clean up usb gadget support: - rename gadget modules so that they appear under the usb-gadget sub-menu - change deps to auto-select Signed-off-by: Tim Harvey --- v2: - leave libcomposite so opkg deps don't collide - do not rename modules to match kernel module names to avoid using _

[LEDE-DEV] [PATCH] cns3xxx: add GW2386 support

2016-09-07 Thread Tim Harvey
Signed-off-by: Tim Harvey --- .../cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c | 20 1 file changed, 20 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 667a8e5

Re: [LEDE-DEV] [PATCH v2] kernel: clean up usb gadget support

2016-09-08 Thread Tim Harvey
On Thu, Sep 8, 2016 at 12:57 AM, John Crispin wrote: > Hi Tim, > > target/linux/at91/Makefile:DEFAULT_PACKAGES += kmod-usb-ohci > kmod-at91-udc kmod-usb-eth-gadget > > this will get broken by your patch. there might be more, i just looked > till i found the first. please resend a V3 with a fixup f

[LEDE-DEV] [PATCH v3] kernel: clean up usb gadget support

2016-09-08 Thread Tim Harvey
clean up usb gadget support: - rename gadget modules so that they appear under the usb-gadget sub-menu - change deps to auto-select Signed-off-by: Tim Harvey --- v3: - update targets that use gadgets with new names v2: - leave libcomposite so opkg deps don't collide - do not rename mo

[LEDE-DEV] [PATCH v4] kernel: clean up usb gadget support

2016-09-08 Thread Tim Harvey
clean up usb gadget support: - rename gadget modules so that they appear together and are easier to identify as gadget modules - make usb-lib-composite and usb-gadget hidden as there is no point in selecting those without gadget drivers that require them as deps Signed-off-by: Tim Harvey

Re: [LEDE-DEV] [PATCH v3] kernel: clean up usb gadget support

2016-09-08 Thread Tim Harvey
On Thu, Sep 8, 2016 at 8:14 AM, Felix Fietkau wrote: > On 2016-09-08 16:47, Tim Harvey wrote: >> clean up usb gadget support: >> - rename gadget modules so that they appear under the usb-gadget sub-menu >> - change deps to auto-select >> >> Signed-off-by: Tim H

Re: [LEDE-DEV] [PATCH] cns3xxx: backport upstream SPI Flash partition sizes

2016-09-15 Thread Tim Harvey
On Thu, Sep 15, 2016 at 4:03 AM, Felix Fietkau wrote: > On 2016-09-15 12:16, Felix Fietkau wrote: >> On 2016-09-15 11:34, Koen Vandeputte wrote: >>> As indicated by Tim Harvey: >>> >>> The 4.4 kernel is not easily sized down to below the 1.5MB limit >&g

[LEDE-DEV] [PATCH] kernel: add additional gadget drivers

2016-09-15 Thread Tim Harvey
Add the following gadget driver modules: - kmod-usb-gadget-ncm (g_ncm) - kmod-usb-gadget-hid (g_hid) Signed-off-by: Tim Harvey --- package/kernel/linux/modules/usb.mk | 39 + 1 file changed, 39 insertions(+) diff --git a/package/kernel/linux/modules/usb.mk

[LEDE-DEV] [PATCH] kernel: fix usb-gadget-ehci-debug regression

2016-09-15 Thread Tim Harvey
commit dc17fde99436fd7912914c0e4d3f106820ffe9e8 renamed the USB gadget modules but missed a dependency causing a build regression. Signed-off-by: Tim Harvey --- package/kernel/linux/modules/usb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules

Re: [LEDE-DEV] [PATCH] cns3xxx: backport upstream SPI Flash partition sizes

2016-09-15 Thread Tim Harvey
On Thu, Sep 15, 2016 at 7:36 AM, Tim Harvey wrote: > On Thu, Sep 15, 2016 at 4:03 AM, Felix Fietkau wrote: >> On 2016-09-15 12:16, Felix Fietkau wrote: >>> On 2016-09-15 11:34, Koen Vandeputte wrote: >>>> As indicated by Tim Harvey: >>>> >>>>

Re: [LEDE-DEV] [PATCH] kernel: add additional gadget drivers

2016-09-16 Thread Tim Harvey
On Fri, Sep 16, 2016 at 6:02 AM, Rafał Miłecki wrote: > On 16 September 2016 at 14:53, John Crispin wrote: >> On 15/09/2016 16:51, Tim Harvey wrote: >>> Add the following gadget driver modules: >>> - kmod-usb-gadget-ncm (g_ncm) >>> - kmod-usb-gadget-hi

Re: [LEDE-DEV] [PATCH] cns3xxx: backport upstream SPI Flash partition sizes

2016-09-22 Thread Tim Harvey
On Thu, Sep 15, 2016 at 1:24 PM, Felix Fietkau wrote: > On 2016-09-15 20:27, Tim Harvey wrote: >> Felix, >> >> I like the 'idea' of using mtdsplit (very clean) however this break's >> the ability to downgrade firmware. If I take an old firmware image