PpcBoot running but not the linux kernel?

Wolfgang Denk wd at denx.de
Wed Nov 8 10:26:18 EST 2000


*** Please:
*** Send PPCBoot related messages to the PPCBoot mailing lists.

In message <585D9BAABBE7D211A2B00000F8050AAF759A09 at thebrain.drs.ca>
Utku Karaaslan wrote:
>
> I have ported the ppcboot to our custom board and everything runs correctly
> except

Congratulations.

> the linux kernel :). Basically, it fails to start (no output, just hangs)
> and upon checking
> with the BDM debugger (Lauterbach) I found out that it was failing right
> after the mmu
> initialization (in head.S). The IMMR location given in the kernel matches

Please see the "Linux for PowerPC Embedded Systems HOWTO", especially
http://members.nbci.com/_XMCM/greyhams/linux/PowerPC-Embedded-HOWTO-18.html#ss18.1

Most probably you need to set DER to a value that allows Linux to use
the MMU without causing debug events; 0x2002000f  is  a  pretty  good
value to use.


Also, please note that AFAIK the Lauterbach debugger does not support
the MMU. It will not be helpful to debug Linux kernel or driver code.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"A complex system that works is invariably found to have evolved from
a simple system that worked."             - John Gall, _Systemantics_

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





More information about the Linuxppc-embedded mailing list