Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-27 Thread Wojciech Dubowik
On 06/27/2012 04:11 PM, Luka Perkov wrote: Hi Wojciech, On Wed, Jun 27, 2012 at 02:17:32PM +0200, Wojciech Dubowik wrote: I have tested it on iconnect and it works from NAND. Older version used to work from openocd but new one doesn't. Can you please explain how did you test old version with O

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-27 Thread Luka Perkov
Hi Wojciech, On Wed, Jun 27, 2012 at 02:17:32PM +0200, Wojciech Dubowik wrote: > I have tested it on iconnect and it works from NAND. Older version > used to work from openocd but new one doesn't. Can you please explain how did you test old version with OpenOCD? > Maybe there is problem somewher

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-27 Thread Wojciech Dubowik
On 06/15/2012 12:41 AM, Luka Perkov wrote: On Tue, Jun 12, 2012 at 12:34:55AM +0200, Martin Mueller wrote: DockStar> printenv baudrate=115200 bootargs=console=ttyS0,115200 mtdparts=orion_nand:1M(u-boot),4M@2M(kernel),32M@4M(rootfs),219M@37M(data) rw root=/dev/mtdblock2 rw rootfstype=jffs2 boot

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-23 Thread Daniel Golle
On 23/06/12 22:52, Tim Fletcher wrote: > Confirmed working on my iConnect, flashed to NAND. > > uboot 2012.04.01 boots OpenWRT from NAND, I've also tested tftp and usb > booting and they have worked. > > My notes about installing OpenWRT trunk on my iConnect can be found here: > > http://blog.n

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-23 Thread Tim Fletcher
On 08/06/12 02:32, Luka Perkov wrote: Board owners please test this patch and give feedback for the boards: * sheevaplug * dockstar * iconnect You can use kwboot tool like this (run as root): ./bin/kirkwood/u-boot-kwboot/kwboot -b bin/kirkwood/openwrt-kirkwood-ib62x0-u-boot.kwb -p /dev/

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-14 Thread Luka Perkov
On Tue, Jun 12, 2012 at 12:34:55AM +0200, Martin Mueller wrote: > DockStar> printenv > baudrate=115200 > bootargs=console=ttyS0,115200 > mtdparts=orion_nand:1M(u-boot),4M@2M(kernel),32M@4M(rootfs),219M@37M(data) rw > root=/dev/mtdblock2 rw rootfstype=jffs2 > bootargs_root=ubi.mtd=1 root=ubi0:root

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-11 Thread Martin Mueller
On Mon, Jun 11, 2012 at 11:44:33PM +0200, Luka Perkov wrote: > On Mon, Jun 11, 2012 at 11:29:53PM +0200, Martin Mueller wrote: > > Hi Luka, > > > > On Mon, Jun 11, 2012 at 10:37:15PM +0200, Luka Perkov wrote: > > > > > > Do you have printenv output from old uboot? > > > > Yes, so everything is f

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-11 Thread Luka Perkov
On Mon, Jun 11, 2012 at 11:29:53PM +0200, Martin Mueller wrote: > Hi Luka, > > On Mon, Jun 11, 2012 at 10:37:15PM +0200, Luka Perkov wrote: > > > > Do you have printenv output from old uboot? > > Yes, so everything is fine. After restoring my old environment the > dockstar boots it's old image a

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-11 Thread Martin Mueller
Hi Luka, On Mon, Jun 11, 2012 at 10:37:15PM +0200, Luka Perkov wrote: > > Do you have printenv output from old uboot? Yes, so everything is fine. After restoring my old environment the dockstar boots it's old image again. I guess I was just confused by the ubi-stuff. > You should have uboot env

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-11 Thread Luka Perkov
On Mon, Jun 11, 2012 at 08:19:18PM +0200, Martin Mueller wrote: > > This is how I flash my kirkwood device (0x62118 is the size of loaded > > binary): > > > > tftpboot 0x080 u-boot.kwb > > nand erase 0x0 0x7 ; nand write 0x080 0x0 0x62118 > > > > You should flash it on the beginning o

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-11 Thread Martin Mueller
On Mon, Jun 11, 2012 at 07:25:25PM +0200, Luka Perkov wrote: > On Mon, Jun 11, 2012 at 06:30:31PM +0200, Martin Mueller wrote: > > > And can you please also flash it on the device? As I understand you have > > > loaded it over JTAG only... > > > > Yes, that should be the same as loading it via ser

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-11 Thread Luka Perkov
On Mon, Jun 11, 2012 at 06:30:31PM +0200, Martin Mueller wrote: > > And can you please also flash it on the device? As I understand you have > > loaded it over JTAG only... > > Yes, that should be the same as loading it via serial to RAM. I'm > relucant to flash the bootloader, as I have never fla

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-11 Thread Martin Mueller
Hi Luka, On Mon, Jun 11, 2012 at 05:49:07PM +0200, Luka Perkov wrote: > > And can you please also flash it on the device? As I understand you have > loaded it over JTAG only... Yes, that should be the same as loading it via serial to RAM. I'm relucant to flash the bootloader, as I have never fla

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-11 Thread Luka Perkov
Hi Martin, On Mon, Jun 11, 2012 at 05:47:29PM +0200, Martin Mueller wrote: > > On 11/06/12 18:21, Martin Mueller wrote: > > > Here is the output: > > > > > > U-Boot 2012.04.01 (Jun 08 2012 - 13:05:57) > > > Seagate FreeAgent DockStar > > > > > > SoC: Kirkwood 88F6281_A0 > > > DRAM: 128 MiB >

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-11 Thread Luka Perkov
Hi Martin, On Mon, Jun 11, 2012 at 06:41:56PM +0300, Daniel Golle wrote: > > Here is the output: > > > > U-Boot 2012.04.01 (Jun 08 2012 - 13:05:57) > > Seagate FreeAgent DockStar > > > > SoC: Kirkwood 88F6281_A0 > > DRAM: 128 MiB > > WARNING: Caches not enabled > > NAND: 256 MiB > > NAND rea

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-11 Thread Martin Mueller
Hi Daniel, On Mon, Jun 11, 2012 at 06:41:56PM +0300, Daniel Golle wrote: > Hi Martin! > > On 11/06/12 18:21, Martin Mueller wrote: > > Here is the output: > > > > U-Boot 2012.04.01 (Jun 08 2012 - 13:05:57) > > Seagate FreeAgent DockStar > > > > SoC: Kirkwood 88F6281_A0 > > DRAM: 128 MiB > >

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-11 Thread Daniel Golle
Hi Martin! On 11/06/12 18:21, Martin Mueller wrote: > Here is the output: > > U-Boot 2012.04.01 (Jun 08 2012 - 13:05:57) > Seagate FreeAgent DockStar > > SoC: Kirkwood 88F6281_A0 > DRAM: 128 MiB > WARNING: Caches not enabled > NAND: 256 MiB > NAND read from offset 6 failed -74 > *** Warn

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-11 Thread Martin Mueller
Hi Luka, On Fri, Jun 08, 2012 at 03:32:58AM +0200, Luka Perkov wrote: > Board owners please test this patch and give feedback for the boards: > > * dockstar It seems to work fine on the dockstar. The serial didn't work for me either, so I had to test today with jtag. I loaded the image.bin into

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-09 Thread Tim Fletcher
On 09/06/12 19:48, Daniel Golle wrote: On 09/06/12 15:43, Tim Fletcher wrote: If I understood the process right you need to tftp it to 0x80 and then go from 0x800200 Again, loading it to 0x80 cannot work with that patch. The address to tftp-load the u-boot bin (or kwb) depends on what i

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-09 Thread Daniel Golle
On 09/06/12 15:43, Tim Fletcher wrote: > If I understood the process right you need to tftp it to 0x80 and > then go from 0x800200 Again, loading it to 0x80 cannot work with that patch. The address to tftp-load the u-boot bin (or kwb) depends on what is defined as TEXT_BASE, either see mv-

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-09 Thread Tim Fletcher
On 09/06/12 16:32, Luka Perkov wrote: On Sat, Jun 09, 2012 at 01:43:18PM +0100, Tim Fletcher wrote: Full envreset and without the ath9k pcie card still produce the same results, even with know good uboot binaries I guess either the iconnect is duff or I'm missing some obvious. uboot has nothing

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-09 Thread Luka Perkov
On Sat, Jun 09, 2012 at 01:43:18PM +0100, Tim Fletcher wrote: > >>Full envreset and without the ath9k pcie card still produce the same > >>results, even with know good uboot binaries I guess either the > >>iconnect is duff or I'm missing some obvious. > >uboot has nothing to do what is connected to

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-09 Thread Tim Fletcher
On 09/06/12 13:37, Luka Perkov wrote: Hi, On Sat, Jun 09, 2012 at 01:31:35PM +0100, Tim Fletcher wrote: Full envreset and without the ath9k pcie card still produce the same results, even with know good uboot binaries I guess either the iconnect is duff or I'm missing some obvious. uboot has no

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-09 Thread Luka Perkov
Hi, On Sat, Jun 09, 2012 at 01:31:35PM +0100, Tim Fletcher wrote: > Full envreset and without the ath9k pcie card still produce the same > results, even with know good uboot binaries I guess either the > iconnect is duff or I'm missing some obvious. uboot has nothing to do what is connected to pc

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-09 Thread Tim Fletcher
On 09/06/12 13:12, Tim Fletcher wrote: On 09/06/12 12:00, Luka Perkov wrote: On Fri, Jun 08, 2012 at 08:50:46PM +0100, Tim Fletcher wrote: On 08/06/12 02:32, Luka Perkov wrote: Board owners please test this patch and give feedback for the boards: * sheevaplug * dockstar * iconnect You

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-09 Thread Tim Fletcher
On 09/06/12 12:00, Luka Perkov wrote: On Fri, Jun 08, 2012 at 08:50:46PM +0100, Tim Fletcher wrote: On 08/06/12 02:32, Luka Perkov wrote: Board owners please test this patch and give feedback for the boards: * sheevaplug * dockstar * iconnect You can use kwboot tool like this (run as ro

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-09 Thread Luka Perkov
On Fri, Jun 08, 2012 at 08:50:46PM +0100, Tim Fletcher wrote: > On 08/06/12 02:32, Luka Perkov wrote: > >Board owners please test this patch and give feedback for the boards: > > > > * sheevaplug > > * dockstar > > * iconnect > > > >You can use kwboot tool like this (run as root): > > > >./bin/k

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-08 Thread Daniel Golle
On 08/06/12 22:50, Tim Fletcher wrote: > If I try and tftpboot the bin file I get the following: > > Marvell>> tftp 0x80 iconnect/openwrt-kirkwood-iconnect-u-boot.bin > Using egiga0 device > TFTP from server 192.168.1.1; our IP address is 192.168.1.10 > Filename 'iconnect/openwrt-kirkwood-icon

Re: [OpenWrt-Devel] [PATCH v2][RFC] uboot-kirkwood: upgrade to 2012.04.01

2012-06-08 Thread Tim Fletcher
On 08/06/12 02:32, Luka Perkov wrote: Board owners please test this patch and give feedback for the boards: * sheevaplug * dockstar * iconnect You can use kwboot tool like this (run as root): ./bin/kirkwood/u-boot-kwboot/kwboot -b bin/kirkwood/openwrt-kirkwood-ib62x0-u-boot.kwb -p /dev/