About MMU setting in MPC8245

From: <hidden>
Date: 2006-01-12 06:45:43

Hi, Mark,
    Thanks for your information.
    
Are you in PCI host mode?  If so, the first sentence of chapter 3--
Address Maps of the 8245 manual states:
"The MPC8245 in PCI host mode supports an address mapping
configuration that is designated as address map B."
Map B == CHRP mapping.
Yes, my CPU is in PCI host mode, and my address is use Map B.

I'm figure out my problem.

My kernel seems work fine until it calling run_init_process("/sbin/init").

run_init_process("/sbin/init")
   |
   v
..wait until the file got from NFS .....     
   |
   v 
 load_elf_binary()
   |
   v
 flush_old_exec()
   |
   v
 exec_mmap()
   |
   v
 activate_mm() ---> After this function is called any virtual memory operations
                    (access address out of my physical dram range), will let kernel jump into exception mode.
"Oops: kernel access of bad area, sig: 11 [#2]"


So I guess the problem is relative to mmu setting.
Would you give me any idea which part I need to check?

Thanks.

/Wen
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help