Hi,<br><br>i pepper some "L4_KDB_Enter" in "linux/kernel/arch/l4/kernel/main.c" and the details are:<br>==================================================<br>int<br>main(int argc, char **argv)<br>{<br>         int r;
<br><strong>L4_KDB_Enter("In main");</strong><br>         /* Start a new thread */<br>         assert(argc > 0 && argv[0] != NULL);<br>         strlcpy(saved_command_line, argv[1], COMMAND_LINE_SIZE);<br><strong>
L4_KDB_Enter("Before SetThreadName");</strong><br>         L4_KDB_SetThreadName(L4_Myself(), "L_timer");<br><strong>L4_KDB_Enter("Before create_priority");</strong>        <br>         r = thread_create_priority(99, &main_thread);
<br>         assert (r != 0);<br><strong>L4_KDB_Enter("Before SetThreadName for main thread");</strong><br>         timer_thread = L4_Myself();<br>         L4_KDB_SetThreadName(main_thread, "L_syscall");<br>
<strong>L4_KDB_Enter("Before L4_Start_SpIp");</strong><br>         /* Setup our TLS as well */<br>         setup_tls(0);<br>         L4_Start_SpIp(main_thread, <br> (L4_Word_t) &main_stack[STACK_SIZE-1],
<br>                 (L4_Word_t) start_kernel);<br><strong>L4_KDB_Enter("Before interrupt_loop");</strong><br>         /* Now we go and do the timer stuff */<br>         interrupt_loop();<br>         return 0;
<br>}<br><br><br>and each time when i get in l4_kdb, i show the schedule queue to know the threads' information.<br><br>the following is the message i got:<br>========================<br><strong>PXA25X OS Timer driver starting...
<br>PXA25X wrap handler installed<br>Using FFUART--- KD# User: In main ---<br>> showqueue<br><br>[255]: (roottask) (IRQ 28) (IRQ 27)<br>[242]: (tmr_wrap)<br>[240]: (ig_timer)<br>[200]: (ig_namin)<br>[100]: ig_seria vmlinux
<br>idle : idle<br><br>> go<br><br>--- KD# User: Before SetThreadName ---<br>> showqueue<br><br>[255]: (roottask) (IRQ 28) (IRQ 27)<br>[242]: (tmr_wrap)<br>[240]: (ig_timer)<br>[200]: (ig_namin)<br>[100]: ig_seria vmlinux
<br>idle : idle<br><br>> go<br>.<br><br>Backed --- KD# User: Before create_priority ---<br>> showqueue<br><br>[255]: (roottask) (IRQ 28) (IRQ 27) (IRQ 22)<br>[242]: (tmr_wrap)<br>[240]: (ig_timer)<br>[200]: (ig_namin)
<br>[100]: ig_seria L_timer<br>idle : idle<br>> go<br>(STOP HERE)</strong><br><br>but i am not sure this stopping is due to which thread or it's just hardware error...<br> can you give me some suggestions about this situation?
<br>or what should i do to bring you more information?<br> <br>thanks for your answering.<br><br><br><div><span class="gmail_quote">2007/9/20, Carl van Schaik <<a href="mailto:carl@ok-labs.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
carl@ok-labs.com</a>>:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
To me it looks like the UART server is starting up and reconfigures the<br>UART etc. At this point, the uart fifo empties and it seems that no<br>further writes happen. This is probably because you are not getting<br>interrupts. Either the serial driver registers the wrong interrupt
<br>number or the driver is misconfiguring the UART.<br><br>regards,<br>Carl<br><br>Ben Leslie wrote:<br>> On Wed Sep 05, 2007 at 17:15:09 +0800, kashin Lin wrote:<br>><br>>> Hi,<br>>><br>>> i build okl4 for pxa270 using following machine configuration:
<br>>> vbase is 0x1302000, vend is 0xcfffffff<br>>> addr is 0x1302000, vbase is 0x1302000<br>>> PXA25X OS Timer driver starting...<br>>> PXA25X wrap handler installed<br>>> Using FFUA *(STOP HERE)
<br>>> ========================================<br>>><br>>> can anyone give me some suggestions about what may be the cause of this<br>>> status<br>>> and how can i fix it?<br>>><br>>
<br>> I'm not sure what the cause is. Are you able to enter the kernel<br>> debugger at this point to try and get some further information?<br>><br>> Cheers,<br>><br>> Ben<br>><br>> _______________________________________________
<br>> Developer mailing list<br>> <a href="mailto:Developer@okl4.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Developer@okl4.org</a><br>> <a href="https://lists.okl4.org/mailman/listinfo/developer" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://lists.okl4.org/mailman/listinfo/developer</a><br> ><br>><br><br></blockquote></div><br>