[U-Boot] Boot failure with a AT91RM9200 based custom board

Andreas Bießmann andreas at biessmann.org
Wed Aug 17 13:03:34 CEST 2016


Hi Peter,

On 2016-08-17 11:31, Peter Kardos wrote:
> On Mon, Aug 15, 2016 at 10:43 PM, Andreas Bießmann
> <andreas at biessmann.org> wrote:
> 
>> Dear Peter,
>> 
>> On 12.08.16 02:24, Peter Kardos wrote:

<snip>

>>> RAM Configuration:
>>> Bank #0: 20000000 64 MiB
>>> 
>>> DRAM:  64 MiB
>>> initcall: 1000b424
>>> New Stack Pointer is: 23f23ed0
>>> initcall: 1000b6ac
>>> initcall: 1000b640
>>> Relocation Offset is: 13f84000
>>> Relocating to 23f84000, new gd at 23f23ef0, sp at 23f23ed0
>> 
>> Could you please check, if the RAM initialisation is working
>> properly?
>> AFAIR there was some problem with the u-boot RAM initialisation
>> for this
>> board but never fixed (shame on me). Some set of known data and
>> read
>> back before relocation should do the check.
> 
> Yeah, this is my guess as well, as things seem to work up to this
> point (continue exec from RAM).
> 
> Thanks for the pointer, i'll have a look at the init magic and compare
> it with the old from v1.1.4.

Would be great if you come with a solution, so I could fix the 
at91rm9200ek board too.

> I guess the easiest way would be to mod the relocation routine and
> read back what was written...

sounds good as a quick test

Andreas


More information about the U-Boot mailing list