All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* RE: [PATCH] 8xx: fix initialation bug/race condition between u-bo ot & linux
@ 2003-06-18 15:55 Wells, Charles
  0 siblings, 0 replies; only message in thread
From: Wells, Charles @ 2003-06-18 15:55 UTC (permalink / raw
  To: 'Pantelis Antoniou'; +Cc: Linuxppc-Embedded


Pantelis,

We've developed several custom 8xx-based devices here at work.  The
application images are either VxWorks or Linux and the boot loader is my
own.  I had similar problems during early development of the boot loader.

I found the following statement in the MPC850UM (p. 18-9):

					NOTE:
  The entire dual-port RAM should be cleared as the first step in
  system initialization.  This step should be followed by issuing a
  CPM reset using CPCR.  Only after these two steps should the dual-
  port RAM be programmed for specific functions.

I tried to get a more detailed description of what might happen if this
wasn't followed through my Mot. factory contact without success.  So, in
order to do it "by the book", my boot loader follows the above procedure in
two places: 0) At the beginning (after setting up SDRAM and before enabling
Ethernet), and 1) At the end (just before the boot loader jumps to the
target image).  We haven't seen the symptoms since.

I have no idea if this is applicable to other 8xx family members (I could
not find a similar statement in the MPC860UM).  At the time, I needed to get
past the loader and on with the real work; so I took a conservative
approach.  When we do our next design, I'll take the same approach when I
port our boot loader.

Just a thought.
Charlie

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-18 15:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-18 15:55 [PATCH] 8xx: fix initialation bug/race condition between u-bo ot & linux Wells, Charles

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.