[okl4-developer] booting fails on pxa270

kashin Lin kashin08 at gmail.com
Mon Sep 24 21:30:53 EST 2007


Hi,

i pepper some "L4_KDB_Enter" in "linux/kernel/arch/l4/kernel/main.c" and the
details are:
==================================================
int
main(int argc, char **argv)
{
      int r;
*L4_KDB_Enter("In main");*
      /* Start a new thread */
      assert(argc > 0 && argv[0] != NULL);
      strlcpy(saved_command_line, argv[1], COMMAND_LINE_SIZE);
* L4_KDB_Enter("Before SetThreadName");*
      L4_KDB_SetThreadName(L4_Myself(), "L_timer");
*L4_KDB_Enter("Before create_priority");*
      r = thread_create_priority(99, &main_thread);
      assert (r != 0);
*L4_KDB_Enter("Before SetThreadName for main thread");*
      timer_thread = L4_Myself();
      L4_KDB_SetThreadName(main_thread, "L_syscall");
*L4_KDB_Enter("Before L4_Start_SpIp");*
      /* Setup our TLS as well */
      setup_tls(0);
      L4_Start_SpIp(main_thread,
                           (L4_Word_t) &main_stack[STACK_SIZE-1],
                           (L4_Word_t) start_kernel);
*L4_KDB_Enter("Before interrupt_loop");*
      /* Now we go and do the timer stuff */
      interrupt_loop();
      return 0;
}


and each time when i get in l4_kdb, i show the schedule
queue to know the threads' information.

the following is the message i got:
========================
*PXA25X OS Timer driver starting...
PXA25X wrap handler installed
Using FFUART--- KD# User: In main ---
> showqueue

[255]: (roottask) (IRQ 28) (IRQ 27)
[242]: (tmr_wrap)
[240]: (ig_timer)
[200]: (ig_namin)
[100]: ig_seria vmlinux
idle : idle

> go

--- KD# User: Before SetThreadName ---
> showqueue

[255]: (roottask) (IRQ 28) (IRQ 27)
[242]: (tmr_wrap)
[240]: (ig_timer)
[200]: (ig_namin)
[100]: ig_seria vmlinux
idle : idle

> go
.

Backed --- KD# User: Before create_priority ---
> showqueue

[255]: (roottask) (IRQ 28) (IRQ 27) (IRQ 22)
[242]: (tmr_wrap)
[240]: (ig_timer)
[200]: (ig_namin)
[100]: ig_seria L_timer
idle : idle
> go
(STOP HERE)*

but i am not sure this stopping is due to which thread or it's just
hardware error...
can you give me some suggestions about this situation?
or what should i do to bring you more information?

thanks for your answering.


2007/9/20, Carl van Schaik < carl at ok-labs.com>:
>
> To me it looks like the UART server is starting up and reconfigures the
> UART etc. At this point, the uart fifo empties and it seems that no
> further writes happen. This is probably because you are not getting
> interrupts. Either the serial driver registers the wrong interrupt
> number or the driver is misconfiguring the UART.
>
> regards,
> Carl
>
> Ben Leslie wrote:
> > On Wed Sep 05, 2007 at 17:15:09 +0800, kashin Lin wrote:
> >
> >> Hi,
> >>
> >> i build okl4 for pxa270 using following machine configuration:
> >> vbase is 0x1302000, vend is 0xcfffffff
> >> addr is 0x1302000, vbase is 0x1302000
> >> PXA25X OS Timer driver starting...
> >> PXA25X wrap handler installed
> >> Using FFUA *(STOP HERE)
> >> ========================================
> >>
> >> can anyone give me some suggestions about what may be the cause of this
> >> status
> >> and how can i fix it?
> >>
> >
> > I'm not sure what the cause is. Are you able to enter the kernel
> > debugger at this point to try and get some further information?
> >
> > Cheers,
> >
> > Ben
> >
> > _______________________________________________
> > Developer mailing list
> > Developer at okl4.org
> > https://lists.okl4.org/mailman/listinfo/developer
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20070924/d6f435cc/attachment-0001.htm 


More information about the Developer mailing list