Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-24 Thread Daniel Schwierzeck
Am 22.01.2015 um 22:23 schrieb Ben Mulvihill: On Thu, 2015-01-22 at 10:07 +0100, John Crispin wrote: is this patch correct and should be merged or is it a RFC ? http://patchwork.ozlabs.org/patch/431024/ Daniel found a mistake in the current code. I found another. This fixes both, so I

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-24 Thread Ben Mulvihill
I'm going to integrate that patch in the openwrt/14.04 branch. If you have a working patch for the BT Home Hub; I'd like to integrate it too. After that we can refresh the patches in the OpenWRT tree. Hi Daniel, Not yet I'm afraid. I still have some problems with ethernet and the nand

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-22 Thread John Crispin
is this patch correct and should be merged or is it a RFC ? http://patchwork.ozlabs.org/patch/431024/ ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-22 Thread Ben Mulvihill
On Thu, 2015-01-22 at 10:07 +0100, John Crispin wrote: is this patch correct and should be merged or is it a RFC ? http://patchwork.ozlabs.org/patch/431024/ Daniel found a mistake in the current code. I found another. This fixes both, so I guess it is a patch rather than an RFC. I understand

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-20 Thread Ben Mulvihill
On Tue, 2015-01-20 at 00:39 +0100, Ben Mulvihill wrote: On Mon, 2015-01-19 at 19:21 +0100, Ben Mulvihill wrote: On Mon, 2015-01-19 at 16:47 +0100, Daniel Schwierzeck wrote: 2015-01-19 15:44 GMT+01:00 Ben Mulvihill ben.mulvih...@gmail.com: On Mon, 2015-01-19 at 11:51 +, Conor O'Gorman

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-20 Thread Daniel Schwierzeck
2015-01-20 12:28 GMT+01:00 Ben Mulvihill ben.mulvih...@gmail.com: Some of the bitshifting in arch/mips/cpu/mips32/arx100/cgu.c is 1 out. A patch along these lines should fix it: yes, the code is wrong. I have prepared a patch. Thanks for fixing.

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-20 Thread Ben Mulvihill
On Tue, 2015-01-20 at 14:05 +0100, Daniel Schwierzeck wrote: 2015-01-20 12:28 GMT+01:00 Ben Mulvihill ben.mulvih...@gmail.com: Some of the bitshifting in arch/mips/cpu/mips32/arx100/cgu.c is 1 out. A patch along these lines should fix it: yes, the code is wrong. I have prepared a

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-20 Thread Daniel Schwierzeck
2015-01-20 15:44 GMT+01:00 Ben Mulvihill ben.mulvih...@gmail.com: On Tue, 2015-01-20 at 14:05 +0100, Daniel Schwierzeck wrote: 2015-01-20 12:28 GMT+01:00 Ben Mulvihill ben.mulvih...@gmail.com: Some of the bitshifting in arch/mips/cpu/mips32/arx100/cgu.c is 1 out. A patch along these lines

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-19 Thread Ben Mulvihill
On Mon, 2015-01-19 at 19:21 +0100, Ben Mulvihill wrote: On Mon, 2015-01-19 at 16:47 +0100, Daniel Schwierzeck wrote: 2015-01-19 15:44 GMT+01:00 Ben Mulvihill ben.mulvih...@gmail.com: On Mon, 2015-01-19 at 11:51 +, Conor O'Gorman wrote: On 19/01/15 10:46, Ben Mulvihill wrote:

[OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-19 Thread Ben Mulvihill
Hello, I am trying to build uboot-lantiq for the BT Home Hub 3A (lantiq ar9), and am wondering where to initialise the cgu, in the case of a ramboot image for uart booting. Normally the cgu is initialised in lowlevel_init, but that code is bypassed in ramboot images. The result is that the board

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-19 Thread Daniel Schwierzeck
Hi Ben, 2015-01-19 11:46 GMT+01:00 Ben Mulvihill ben.mulvih...@gmail.com: Hello, I am trying to build uboot-lantiq for the BT Home Hub 3A (lantiq ar9), and am wondering where to initialise the cgu, in the case of a ramboot image for uart booting. Normally the cgu is initialised in

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-19 Thread Ben Mulvihill
Hi Daniel, On Mon, 2015-01-19 at 14:57 +0100, Daniel Schwierzeck wrote: Hi Ben, 2015-01-19 11:46 GMT+01:00 Ben Mulvihill ben.mulvih...@gmail.com: Hello, I am trying to build uboot-lantiq for the BT Home Hub 3A (lantiq ar9), and am wondering where to initialise the cgu, in the case

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-19 Thread Ben Mulvihill
On Mon, 2015-01-19 at 11:51 +, Conor O'Gorman wrote: On 19/01/15 10:46, Ben Mulvihill wrote: Hello, I am trying to build uboot-lantiq for the BT Home Hub 3A (lantiq ar9), and am wondering where to initialise the cgu, in the case of a ramboot image for uart booting. Normally the cgu

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-19 Thread Daniel Schwierzeck
2015-01-19 15:44 GMT+01:00 Ben Mulvihill ben.mulvih...@gmail.com: On Mon, 2015-01-19 at 11:51 +, Conor O'Gorman wrote: On 19/01/15 10:46, Ben Mulvihill wrote: Hello, I am trying to build uboot-lantiq for the BT Home Hub 3A (lantiq ar9), and am wondering where to initialise the cgu,

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-19 Thread Conor O'Gorman
On 19/01/15 10:46, Ben Mulvihill wrote: Hello, I am trying to build uboot-lantiq for the BT Home Hub 3A (lantiq ar9), and am wondering where to initialise the cgu, in the case of a ramboot image for uart booting. Normally the cgu is initialised in lowlevel_init, but that code is bypassed in

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-19 Thread Ben Mulvihill
On Mon, 2015-01-19 at 16:47 +0100, Daniel Schwierzeck wrote: 2015-01-19 15:44 GMT+01:00 Ben Mulvihill ben.mulvih...@gmail.com: On Mon, 2015-01-19 at 11:51 +, Conor O'Gorman wrote: On 19/01/15 10:46, Ben Mulvihill wrote: Hello, I am trying to build uboot-lantiq for the BT Home Hub