public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Default LAWBAR mapping at reset for mpc85xx?
@ 2012-05-02 19:04 Joakim Tjernlund
  2012-05-02 19:34 ` Scott Wood
  0 siblings, 1 reply; 9+ messages in thread
From: Joakim Tjernlund @ 2012-05-02 19:04 UTC (permalink / raw)
  To: u-boot


Still trying to wrap my head around the P2010 cpu and its boot sequence(NOR)
We can run the full u-boot it we use the BDI emulator but without emulator it
won't boot.
We have 64 MB NOR flash and have based out design on the P1020RDB and we boot from NOR.
Using the emulator but with minimal config we cannot get past the switch_as part in start.S
if we define a LAWBAR for our flash space in the emulator, u-boot will boot correctly.

We don't understand how the initial routing of addresses to CS0 work without an
LAWBAR mapping(all LAWBARS are invalid at reset). Is there some HW default at work
here we have yet to see?

Other observations
1) why not map initial stack to L2SRAM instead of cache? That would make early debugging
   much simpler as the memory would stay when stepping with gdb.

2) RDB has its CCSRBAR defined to 0xffe00000 which is not the default ccsrbar(0xff700000)
   this looks like a typo, and if it is, does u-boot work on RDB boards if changed
   to the default? I suspect RDB could end up in the same trap we are stuck in.

 Jocke

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-05-03 13:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-02 19:04 [U-Boot] Default LAWBAR mapping at reset for mpc85xx? Joakim Tjernlund
2012-05-02 19:34 ` Scott Wood
2012-05-02 20:09   ` Joakim Tjernlund
2012-05-02 20:50     ` Scott Wood
2012-05-03  8:46     ` Schneider, Kolja
2012-05-03 12:24       ` Joakim Tjernlund
2012-05-03 12:44         ` Joakim Tjernlund
2012-05-03 13:11         ` Wolfgang Denk
2012-05-03 13:38           ` Joakim Tjernlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox