linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MMU issue on mpc8270
@ 2006-11-24  4:13 Lei Sun
  2006-11-24 15:11 ` Dan Malek
  0 siblings, 1 reply; 4+ messages in thread
From: Lei Sun @ 2006-11-24  4:13 UTC (permalink / raw)
  To: linuxppc-embedded

Hi all:
    While trying to bring up the kernel-2.4.30, my debugger failed to
show memory content after MMU is turned on. So I added some debug
serial_putc() function copied from u-boot. (since u-boot has
intialized the UART). The code did printed out the debug message
untill it reached "mapin_ram()" function.  To be precise, in
map_page() funcion, after pte_alloc() , serial_putc() doesn't work
anymore.

My questions are :

1. in mapin_ram() function, since it uses "bat_mapin_ram()" , why does
it still map in page?
2. why would pte_alloc() affect my serial debug output ?

Rigth now, my kernel does seems to be running, but i just couldn't see
anything on the serial console, I have examined the serial console
portion of the code for many times, couldn't seems any thing wrong.
The worst is that i can't set break point with MMU turned on.

Any suggestion?

Thanks
lei

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

end of thread, other threads:[~2006-11-24 20:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-24  4:13 MMU issue on mpc8270 Lei Sun
2006-11-24 15:11 ` Dan Malek
2006-11-24 18:28   ` Lei Sun
2006-11-24 20:52     ` 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).