[U-Boot] mpc8313 SPL, relocate_code, large page NAND

Peter Vollmer pvollmer-u-boot at innominate.com
Tue Apr 20 11:12:52 CEST 2010


On Tue, 20 Apr 2010 10:36:08 +0200, Peter Vollmer  
<pvollmer-u-boot at innominate.com> wrote:


> I then inserted 8 pairs of lwzu/stwu inside the loop to see when exactly
> the problem occurs:
>
> 1: lwzu    r0,4(r8)
>     stwu    r0,4(r7)
>     lwzu    r0,4(r8)
>     stwu    r0,4(r7)
>     ...
>     lwzu    r0,4(r8)
>     stwu    r0,4(r7)
>     bdnz    1b
>
> and the last breakpoint location that would get hit is after 6 times of
> lwzu/stwu.

Further testing showed that after 7 consecutive stwu r0,4(r7) instructions  
alone the problem already occurs, i.e. it seems to have nothing to do with  
the local bus controller, but with DDR RAM access, right ?


-- 
Peter Vollmer
Innominate Security Technologies AG
Berlin / Germany


More information about the U-Boot mailing list