porting linux ppc on custom board, stuck in timer loop ?
Xavier;
I am having/had the exact same problem on a Xilinx VI based system and 2.6.12-2.6.14.2
I was eventually able to resolve it by removing MSR_ME from MSR_KERNEL. After that I have been able to successfully boot through to starting init where I am hanging now. I beleive I do not have a working timer and that may be related to the problem with Machine Check Exceptions.
Were you ever able to resolve your problem aside from switching to 2.4.20, and if so what solution did you come up with ?
Quoted 25 lines
Hi !
I still try to port linux ppc on our ppc405 based hardware, after a look at
xilinx_ml300.cfile that gives the list of function calls I wait for a call tostart_kernelbut I found thatstart_kernelis never reached... In fact the code inhead_4xx.Sjumps to0x00001000which is Decrementer exception :/* Now turn on the MMU for real! */
lis r4,MSR_KERNEL at h <https://ozlabs.org/mailman/listinfo/linuxppc-dev>
ori r4,r4,MSR_KERNEL at l <https://ozlabs.org/mailman/listinfo/linuxppc-dev>
lis r3,start_kernel at h <https://ozlabs.org/mailman/listinfo/linuxppc-dev>
ori r3,r3,start_kernel at l <https://ozlabs.org/mailman/listinfo/linuxppc-dev>
mtspr SPRN_SRR0,r3
mtspr SPRN_SRR1,r4
rfi /* enable MMU and jump tostart_kernel*/
b . /* prevent prefetch past rfi */Is this my hardware implementation that is incorrect ? Or I missed something in my kernel configuration ?
Thanks in advance for any answer...
xavier