linuxppc embedded boot problems.

Brendan Simon bsimon at ctam.com.au
Thu Dec 16 09:56:41 EST 1999


Dan Malek wrote:

> Brian Kuschak wrote:
>
> > Other potential problem, which has bitten me, is to
> > make sure you don't have any lines locked in cache
> > before you jump to the kernel loader.
>
> This is all part of the documented steps necessary to
> properly initialize the 8xx after power up........things
> a boot rom should perform.

I'm going to jump back a step or two so I can clarify a few things.

In the mbxboot directory, the code basically copies the kernel to
0x100000, uncompresses the kernel and then jumps to the kernel starup
code.  I take it this is known as the "kernel loader" ?
This code has statements to invalidate the cache before jumping to the
kernel. Is this the same as making sure lines are not "locked" in the
cache ?

I have boot code which does basic initialisation of the 860
(chipselects, DRAM, etc).  This code will eventually jump to the start
of the "kernel loader".  Do I also have to invalidate the caches just
before jumping to the kernel loader ?  This currently isn't done.  BTW.
All caches are disabled at this stage so I guess it shouldn't matter.

Brendan Simon.


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





More information about the Linuxppc-embedded mailing list