[okl4-developer] Test_libs=all error

Nelson Tam nelson at ok-labs.com
Mon Apr 14 15:00:52 EST 2008


Hi Gabi,

On 14/04/2008, at 12:14 PM, Gabi Voiculescu wrote:
>
> I have gotten past the previous errors (the previous messages placed  
> on this mailing list) and now I can start OKL4 + Iguana + the  
> test_libs=all suite on my board.
>
> However it hangs, with the following output captured from the console.
>
> Can anybody tell me what does the THRD1200 test do? What does it  
> verify?
> I see it works on the Gumstix simulated platform.
>
> Did anybody to a successful test_libs=all on an ARM11 board?


Answering your questions in reverse order:

We routinely run test_libs=all on an ARM1136-based board.  It's under  
platforms/imx31.  However it sounds like you're using an ARM1176-based  
board.

I'm not sure whether there are any intricate differences between the  
two platform ports that is making the test libs fail on your board.  I  
don't think that is likely, though.

What THRD1200 does is to spawn a number of threads, each give them a  
4K stack, and make them run the worker() function.  The worker()  
function in turn writes data onto the stack and reads them back to  
make sure the values are sane.  The worker() threads are then killed  
at the end.

So this test case tests both thread creation and mapping.

My suggestions:

  - try recompiling with DEBUG_TRACE=5 to see if you see any  
additional error messages.
  - decreasing the value of N_THREADS.
  - checking whether the memory layout for the arm11-based board  
you're porting to is sane.

--
(nt)

Nelson Tam

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1560 bytes
Desc: not available
Url : http://lists.okl4.org/pipermail/developer/attachments/20080414/bdf3ad19/attachment.bin 


More information about the Developer mailing list