[linux-cirrus] Re: u-boot_edb93xx-20060405.patch

  • From: "Dubb, Benjamin" <Benjamin.Dubb@xxxxxxx>
  • To: <linux-cirrus@xxxxxxxxxxxxx>
  • Date: Tue, 16 May 2006 14:54:28 -0400

> Thanks Cory.  Looks pretty good.  However one quirk
> I'm finding is "mtest" reporting errors as did the
> prototype u-boot Henk Stegeman passed to me about one
> year ago.  I would just dismiss it as flaky hardware
> on my side but Henk saw exactly the same mtest failure
> on his board which makes me suspicious:
> 
> 
> > EDB93xx> mtest
> >
> > Pattern 00000000  Writing...  Reading...
> >
> > Mem error @ 0x00000000: found 00200000, expected 00000000
>     <snip>
> 

The problem you are seeing has to do with how the SDRAM is configured on 
ep93xx. The memory space isn't linear. On my EDB9307, it's made of 2 32MB 
banks, and they are located at 0 and 0x400000. I'm not sure what 0x200000 is 
aliased into, perhaps 0. 

Put these in edb93xx.h or whatever your board config file is called, and then 
define SDRAM banks correctly in dram_init(). 

#define CONFIG_SETUP_MEMORY_TAGS 1
#define CONFIG_NR_DRAM_BANKS     2

Cheers,

 - Ben


DISCLAIMER:
Important Notice *************************************************
This e-mail may contain information that is confidential, privileged or 
otherwise protected from disclosure. If you are not an intended recipient of 
this e-mail, do not duplicate or redistribute it by any means. Please delete it 
and any attachments and notify the sender that you have received it in error. 
Unintended recipients are prohibited from taking action on the basis of 
information in this e-mail.E-mail messages may contain computer viruses or 
other defects, may not be accurately replicated on other systems, or may be 
intercepted, deleted or interfered with without the knowledge of the sender or 
the intended recipient. If you are not comfortable with the risks associated 
with e-mail messages, you may decide not to use e-mail to communicate with IPC. 
IPC reserves the right, to the extent and under circumstances permitted by 
applicable law, to retain, monitor and intercept e-mail messages to and from 
its systems.

Other related posts: