Hi guys
I post Adeos+xenomai to S3C6410 SOC with Linux-2.6.35.9, and the Linux
kernel and Xenomai are ok when system boot(according the printed
information when system boot). When I run "xeno latency" in console, the
output is
RTT| 00:00:-01 (periodic user-mode task, 1000 us period, priority 99)
RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat
worst
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
RTD| 0.000| 0.000| 0.000| 0| 0|
900568.258|-900568.259
all data is 0. According the source code of latecny.c, I found that the
"main" function started 2 task(latency_task and display_task). The
latency_task is to update the value of timing variables, and the
display_task is to display the upated values. I found there was only one
task (display_task) was always active.
How to start other task? with timer interrupt or other ways? thanks
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai