[OpenWrt-Devel] [PATCH] [kernel] at91: Backport determine_rate prototype fix

2015-08-13 Thread Ben Whitten
From: Ben Whitten This patch is backport of a fix to a USB prototype mismatch bug found in 3.18 kernels, originally submitted by Boris Brezillon [1]. The symptom of this bug was that devices attached to the at91 using at91_ohci on a hub never appeared and failed to initialise. [1] http

[OpenWrt-Devel] [PATCH] [kernel] at91: fix usb rate backport patch tab mangle

2015-08-17 Thread Ben Whitten
The patch submitted in [46649] was mangled in the use of gmails webmail interface, tabs replaced with spaces, resulting in a patch which dit not apply. This should fix the issue, sorry for the noise. Signed-off-by: Ben Whitten --- .../201-ARM-at91-usb-determine_rate-backport.patch | 28

[OpenWrt-Devel] [PATCH 0/5] update at91 kernel to 4.1

2016-01-16 Thread Ben Whitten
makefile. This has been run tested on a custom board and showed no obvious problems in boot or operation. Thanks! Ben Whitten (5): at91: add 4.1 support at91: add package for high speed usb device at91: remove SAMA5D3 from Default image build. at91: move to 4.1 kernel at91: fix typo in usb

[OpenWrt-Devel] [PATCH 3/5] at91: remove SAMA5D3 from Default image build.

2016-01-16 Thread Ben Whitten
As the Default profile option is a legacy subtarget, the dtb for the sama5d3_xplained board DTS is not built and image generation fails. Signed-off-by: Ben Whitten --- target/linux/at91/image/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/linux/at91/image

[OpenWrt-Devel] [PATCH 1/5] at91: add 4.1 support

2016-01-16 Thread Ben Whitten
make kernel_menuconfig, scripts/kconfig.pl filled in the gaps. Signed-off-by: Ben Whitten --- target/linux/at91/config-3.18 | 230 ++ target/linux/at91/config-4.1 | 268 + target/linux/at91/config-default

[OpenWrt-Devel] [PATCH 4/5] at91: move to 4.1 kernel

2016-01-16 Thread Ben Whitten
Signed-off-by: Ben Whitten --- target/linux/at91/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/at91/Makefile b/target/linux/at91/Makefile index e1c771a..595890d 100644 --- a/target/linux/at91/Makefile +++ b/target/linux/at91/Makefile @@ -1,4 +1,4

[OpenWrt-Devel] [PATCH 5/5] at91: fix typo in usb kernel module makefile

2016-01-16 Thread Ben Whitten
Fix a typo with generating the package description Signed-off-by: Ben Whitten --- target/linux/at91/modules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/at91/modules.mk b/target/linux/at91/modules.mk index 3969450..0517698 100644 --- a/target/linux/at91

[OpenWrt-Devel] [PATCH 2/5] at91: add package for high speed usb device

2016-01-16 Thread Ben Whitten
Add a package for a missing module for the at91 high speed device. Without this the build process pauses asking to build as module. Signed-off-by: Ben Whitten --- target/linux/at91/modules.mk | 19 +++ 1 file changed, 19 insertions(+) diff --git a/target/linux/at91/modules.mk b

Re: [OpenWrt-Devel] [PATCH 0/5] update at91 kernel to 4.1

2016-01-16 Thread Ben Whitten
On 16 January 2016 at 17:05, Felix Fietkau wrote: > Updating to 4.1 does not make much sense at this point, since we're > planning to use 4.4 for the next release. > Could you please update the target to 4.4 instead? Certainly, upgrading to 4.4 sounds like a good plan. I shall give it a go. Than

[OpenWrt-Devel] [PATCH 0/5] update at91 kernel to 4.4

2016-01-17 Thread Ben Whitten
makefile. This has been run tested on a custom board and showed no obvious problems in boot or operation. I do not have one of the default eval boards to test. Thanks! Ben Whitten (5): at91: add 4.4 support at91: add package for high speed usb device at91: remove SAMA5D3 from Default image build

[OpenWrt-Devel] [PATCH 1/5] at91: add 4.4 support

2016-01-17 Thread Ben Whitten
make kernel_menuconfig, scripts/kconfig.pl filled in the gaps. Signed-off-by: Ben Whitten --- target/linux/at91/config-3.18 | 230 + target/linux/at91/config-4.4 | 276 + target/linux/at91/config-default

[OpenWrt-Devel] [PATCH 2/5] at91: add package for high speed usb device

2016-01-17 Thread Ben Whitten
Add a package for a missing module for the at91 high speed device. Without this the build process pauses asking to build as module. Signed-off-by: Ben Whitten --- target/linux/at91/modules.mk | 19 +++ 1 file changed, 19 insertions(+) diff --git a/target/linux/at91/modules.mk b

[OpenWrt-Devel] [PATCH 3/5] at91: remove SAMA5D3 from Default image build.

2016-01-17 Thread Ben Whitten
As the Default profile option is a legacy subtarget, the dtb for the sama5d3_xplained board DTS is not built and image generation fails. Signed-off-by: Ben Whitten --- target/linux/at91/image/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/linux/at91/image

[OpenWrt-Devel] [PATCH 4/5] at91: fix typo in usb kernel module makefile

2016-01-17 Thread Ben Whitten
Fix a typo with generating the package description Signed-off-by: Ben Whitten --- target/linux/at91/modules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/at91/modules.mk b/target/linux/at91/modules.mk index 3969450..0517698 100644 --- a/target/linux/at91

[OpenWrt-Devel] [PATCH 5/5] at91: move to 4.4 kernel

2016-01-17 Thread Ben Whitten
Signed-off-by: Ben Whitten --- target/linux/at91/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/at91/Makefile b/target/linux/at91/Makefile index e1c771a..372bf17 100644 --- a/target/linux/at91/Makefile +++ b/target/linux/at91/Makefile @@ -1,4 +1,4

[OpenWrt-Devel] [PATCH] uboot-at91: Add package for uboot on the at91 platform

2015-11-28 Thread Ben Whitten
This patch adds a uboot package for at91 and honours COPTS. If the SPL binary is generated for the specified board it moves that too. Signed-off-by: Ben Whitten --- package/boot/uboot-at91/Makefile | 117 +++ 1 file changed, 117 insertions(+) create mode

Re: [OpenWrt-Devel] [PATCH] uboot-at91: Add package for uboot on the at91 platform

2015-12-03 Thread Ben Whitten
Hi, On 28 November 2015 at 23:20, John Crispin wrote: > Hi, > > see comments inline > > On 28/11/2015 19:35, Ben Whitten wrote: > > This patch adds a uboot package for at91 and honours COPTS. > > If the SPL binary is generated for the specified board it moves that

[OpenWrt-Devel] [PATCH v2] uboot-at91: Add package for uboot on the at91 platform

2015-12-03 Thread Ben Whitten
This patch adds a uboot package for at91 and honours COPTS. If the SPL binary is generated for the specified board it moves that too. Signed-off-by: Ben Whitten --- package/boot/uboot-at91/Makefile | 111 +++ 1 file changed, 111 insertions(+) create mode

Re: [OpenWrt-Devel] [PATCH v2] uboot-at91: Add package for uboot on the at91 platform

2015-12-04 Thread Ben Whitten
In-line; On 3 December 2015 at 20:50, Ben Whitten wrote: > This patch adds a uboot package for at91 and honours COPTS. > If the SPL binary is generated for the specified board it moves that too. > > Signed-off-by: Ben Whitten > --- > package/boot/uboot-a

[OpenWrt-Devel] Detecting switch on ar7

2010-08-19 Thread Ben Whitten
Hi Attached is a patch on current trunk (r22710) that allows my ar7 device (G604T) to detect the switch chip. Not sure how to handle unknown switches or dumb ones.. Anyway CONFIG_FIXED_PHY needs to be unset in the config to prevent a Fixed MDIO bus from being registered, allowing cpmac-mii to be sc