linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* start_kernel does not get called on Virtex 4 FX 12 ppc 405
@ 2007-06-21 12:33 Thomas Glanzmann
  0 siblings, 0 replies; only message in thread
From: Thomas Glanzmann @ 2007-06-21 12:33 UTC (permalink / raw)
  To: linuxppc-embedded

Hello,
I still have the problem that embedded kernel boot loader "load_kernel"
is working but "start_kernel" is never reached AFAIT.  The last message
that I see is: "Now booting the kernel".

So I turned some LEDs on the Development board off in "load_kernel" and
tried to turn them back on in "start_kernel" I would like to know if
that still works. Or is not possible because the IO addresses are not
mapped via the MMU at the time. When I try to turn them back on in
"start_kernel"?

I used the following code:

*(volatile unsigned int *) (0x40000000 + 4) = 0x0;
__asm__ volatile ("eieio");
*(volatile unsigned int *) (0x40000000 + 0) = 0x0;
__asm__ volatile ("eieio");

First memory mapped io is direction register and the second call turns the leds
on/off. It works in the "load_kernel" routine.

        Thomas

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

only message in thread, other threads:[~2007-06-21 12:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-21 12:33 start_kernel does not get called on Virtex 4 FX 12 ppc 405 Thomas Glanzmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).