>>Probably, yeah.Where have you put swapper_pg_dir, >>and what exactly does your 
>virtual memory map look >>like?

 I am putting the swapper page dir at 0xc0024000. I am using 2.4.7 with bluemug-2.4.2 
patch.forward ported.
I am moving .init.data section to c0039000 and .data section to c0040000.
 1-to-1 mappings for flash bank 2 from where kernel is executing have been created.
 The kernel comes up and puts up a shell prompt (if i comment out the tlb flushing 
line in proc-arm720.S under cpu_arm720_set_pgd ).But i am not able to execute any 
instruction probably because the hardware cache points to previous process(shell) 
pte's.
 If tlb flush line is not commented the kernel hangs while execing the shell during 
switch_mm.
 Where will the process page tables get created during a process execution.Is the 
.data or.data.init section in dram getting overwritten or something like that?
 Also if i try to move the .init.data area immediatley after c0028000 i am getting a 
kernel oops at virtual address 0x00000000(I guess this is where the trap vectors are 
set up).Why is this so?
 
TIA
Anand 

 




_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to