I download the 2.6.20 kernel(montavista), But there's a problem.
     In the arch/arm/kernel/head.S, when open the MMU, mcr  p15, 0, r0, c1,
c0, 0,    where r0 is 0x00053177,   the kernel is down.
    The PC value in the current code position(opening MMU) is  0x80008074.
And  the  the page table is at 0x80004000,  and in the address 0x80006000,
code has filled a value 0x80000c1e.   This is so called identity mapping.

    relative code:
         mcr  p15, 0, r5, c3, c0, 0     @ r5 is 0x0000001f     set access
domain
         mcr  p15, 0, r4, c2, c0, 0     @ r4 is 0x80004000    set  page
table base addr

         mcr  p15, 0, r0, c1, c0, 0     @ r0 is 0x00053177    open the MMU

    0x80000c1e has filled  in the physical address 0x80006000. (Identity
mapping a 1 MB space).  And when open the MMU,  the  pc value is
0x80008074,  which doesn't beyond the 1MB space.

      Does other reason leads to failure?   Thanks?




RichardLiu
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to