Re: [U-Boot] [PATCH 2/2] edb93xx sdram: fix initialization

2010-02-17 Thread Alessandro Rubini
Hello Matthias. > i found some more information about the precharge workaround: > [...] > please test the below patch on your board when you get a chance. it > should be pretty much the same sequence that worked for you, i just > removed the *workaround* that makes my boards hang and restructured

Re: [U-Boot] [PATCH 2/2] edb93xx sdram: fix initialization

2010-02-16 Thread Matthias Kaehlcke
Hi Alessandro, El Sat, Feb 13, 2010 at 12:01:34AM +0100 Alessandro Rubini ha dit: > I'm sorry I can't test before wednesday as I'll be offline. > > I am doubtful, as usually precharge is done before setting mode, but > your chips are clearly different from mine, I now expect that no > sequence w

Re: [U-Boot] [PATCH 2/2] edb93xx sdram: fix initialization

2010-02-12 Thread Alessandro Rubini
Hello Matthias. I'm sorry I can't test before wednesday as I'll be offline. I am doubtful, as usually precharge is done before setting mode, but your chips are clearly different from mine, I now expect that no sequence works for both of them. /alessandro __

Re: [U-Boot] [PATCH 2/2] edb93xx sdram: fix initialization

2010-02-12 Thread Matthias Kaehlcke
hi alessandro, El Fri, Feb 12, 2010 at 10:23:58AM +0100 Matthias Kaehlcke ha dit: > El Fri, Feb 12, 2010 at 08:01:26AM +0100 Alessandro Rubini ha dit: > > > > i gave my ack after a visual review of the patch, without having > > > tested it. i just installed a patched u-boot on one of my boards a

Re: [U-Boot] [PATCH 2/2] edb93xx sdram: fix initialization

2010-02-12 Thread Matthias Kaehlcke
El Fri, Feb 12, 2010 at 08:01:26AM +0100 Alessandro Rubini ha dit: > > i gave my ack after a visual review of the patch, without having > > tested it. i just installed a patched u-boot on one of my boards and > > it doesn't boot :( > > Oh. The opposite of my board. > > Then, since I don't have a

Re: [U-Boot] [PATCH 2/2] edb93xx sdram: fix initialization

2010-02-11 Thread Alessandro Rubini
> i gave my ack after a visual review of the patch, without having > tested it. i just installed a patched u-boot on one of my boards and > it doesn't boot :( Oh. The opposite of my board. Then, since I don't have a 9315A but only a similar one, it's better to drop the patch. I'll have a differe

Re: [U-Boot] [PATCH 2/2] edb93xx sdram: fix initialization

2010-02-11 Thread Matthias Kaehlcke
Hi Alessandro, El Thu, Feb 11, 2010 at 09:46:50PM +0100 Alessandro Rubini ha dit: > The configuration of SDRAM needs two more writel() operations, > otherwise some boards won't be able to boot. These additional writes > are present in vendor assembly code but were forgotten during the > rewriting

[U-Boot] [PATCH 2/2] edb93xx sdram: fix initialization

2010-02-11 Thread Alessandro Rubini
The configuration of SDRAM needs two more writel() operations, otherwise some boards won't be able to boot. These additional writes are present in vendor assembly code but were forgotten during the rewriting in C. Signed-off-by: Alessandro Rubini Acked-by: Matthias Kaehlcke --- board/edb93xx/sd