> From: Liu Dave-R63238 <r63...@freescale.com>
> To: Andre Schwarz <andre.schw...@matrix-vision.de>
> Cc: Wood Scott-B07421 <b07...@freescale.com>, ku...@theia.denx.de, Tabi 
> Timur-B04825 <b04...@freescale.com>, Phillips Kim-R1AAHA 
> <r1a...@freescale.com>, Gala <ga...@kernel.crashing.org>, U-Boot List 
> <u-boot@lists.denx.de>
> Date: 2010/11/15 17:58
> Subject: Re: [U-Boot] [PATCH] mpc83xx: Make it boot again
> Sent by: u-boot-boun...@lists.denx.de
>
> > The experts found an issue within init code and it looks like a proper
> > patch will be added to mainline shortly.
> > The discussion of the proper fix is right in this thread ...
>
> It should be timing issue in the SoC, software did not have a proper
> process to handle
> IMMR registers accessing.
>
> I agree Kumar on this.
> Adding the read back with load is needing for the LAW window changing.
> And something like sync/eieio instruction also need to be added between
> stw and lwz...
> to have a proper order accessing.

After adding some more stuff in start.S I find that a lwz isn't
enough. An extra isync fixes this though

 lwz r4, LBLAWAR1(r3)
 isync

So something is missing but what? I guess isync isn't it either but
it works for now.

 Jocke

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to