linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Can not access memory after turning MMU on
@ 2001-05-07 20:41 Freddy Lugo
  2001-05-07 20:56 ` Paul White
  2001-05-07 22:00 ` Dan Malek
  0 siblings, 2 replies; 3+ messages in thread
From: Freddy Lugo @ 2001-05-07 20:41 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

After turning the MMU (turn_on_mmu) the next memory
access instruction (stwu) can not be translated, the
memory can not be accessed and the system halt.  I
check the list archives and there are references to
set the Debug Enable Register (DER) to an
"appropriate" value.  I am working with the MPC750 and
in the Users Manual I can't find any reference to such
register.  Also I checked my bdi2000 (in case it was a
register on the bdi) and I didn't found anything.

This register exists or has its counterpart on the
MPC750?  Besides the DER value, there are other
methods to work and find the problem?

Thanks,

Freddy Lugo

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

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

* Re: Can not access memory after turning MMU on
  2001-05-07 20:41 Can not access memory after turning MMU on Freddy Lugo
@ 2001-05-07 20:56 ` Paul White
  2001-05-07 22:00 ` Dan Malek
  1 sibling, 0 replies; 3+ messages in thread
From: Paul White @ 2001-05-07 20:56 UTC (permalink / raw)
  To: Freddy Lugo, linuxppc-embedded


Hi Freddy,

What address is it trying to address next?  It needs to be sure its in the
range of the BATS setup by initial_bats, which maps the first 16Meg of
memory to KERNELBASE.
After turning MMU on, it should finish relocating the kernel.  Is this the
part thats failing?

I'm referencing arch/ppc/kernel/head.S above.

Paul W.

At 01:41 PM 5/7/2001 -0700, Freddy Lugo wrote:
>
>Hi,
>
>After turning the MMU (turn_on_mmu) the next memory
>access instruction (stwu) can not be translated, the
>memory can not be accessed and the system halt.  I
>check the list archives and there are references to
>set the Debug Enable Register (DER) to an
>"appropriate" value.  I am working with the MPC750 and
>in the Users Manual I can't find any reference to such
>register.  Also I checked my bdi2000 (in case it was a
>register on the bdi) and I didn't found anything.
>
>This register exists or has its counterpart on the
>MPC750?  Besides the DER value, there are other
>methods to work and find the problem?
>
>Thanks,
>
>Freddy Lugo
>
>
-------------------------------------------------------------
Network Robots, Inc.         /--\               Paul H. White
                           / ____ \
4695 Chabot Dr. #200      / ( oo ) \       Software Developer
Pleasanton, CA 94588     /   ----   \             Engineering
(925) 924-8600           \   ----   /          (925) 580-4883
                          \  V--V  /
                           \      /
                             \--/

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

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

* Re: Can not access memory after turning MMU on
  2001-05-07 20:41 Can not access memory after turning MMU on Freddy Lugo
  2001-05-07 20:56 ` Paul White
@ 2001-05-07 22:00 ` Dan Malek
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Malek @ 2001-05-07 22:00 UTC (permalink / raw)
  To: Freddy Lugo; +Cc: linuxppc-embedded


Freddy Lugo wrote:

> This register exists or has its counterpart on the
> MPC750?  Besides the DER value, there are other
> methods to work and find the problem?

You are way, way, way lost...........You can't be building MPC8xx
code and expecting it to run on the 750.  You need to select a
kernel configuration that enables 6xx/7xx/74xx processors and
a CHRP reference design.


	-- Dan

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

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

end of thread, other threads:[~2001-05-07 22:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-07 20:41 Can not access memory after turning MMU on Freddy Lugo
2001-05-07 20:56 ` Paul White
2001-05-07 22:00 ` Dan Malek

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).