Hi Gilles,

you don't feel like to repeat.
I'm trying all the things that you told me and i will do all the missing test that you told me.

And now this is the result of latency that i ran. It seems correct.
root@AXC25:/usr/xenomai/bin# ./latency
== Sampling period: 1000 us
== Test mode: periodic user-mode task
== All results in microseconds
warming up...
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| 67.263| 77.203| 85.458| 0| 0| 67.263| 85.458 RTD| 67.293| 77.203| 100.240| 0| 0| 67.263| 100.240 RTD| 67.413| 77.203| 88.360| 0| 0| 67.263| 100.240 RTD| 67.323| 77.233| 86.661| 0| 0| 67.263| 100.240 RTD| 66.676| 77.187| 85.849| 0| 0| 66.676| 100.240 RTD| 67.353| 77.233| 87.172| 0| 0| 66.676| 100.240 RTD| 67.203| 77.368| 217.323| 0| 0| 66.676| 217.323 RTD| 67.609| 77.172| 87.022| 0| 0| 66.676| 217.323 RTD| 66.796| 77.218| 86.030| 0| 0| 66.676| 217.323 RTD| 67.714| 77.172| 85.368| 0| 0| 66.676| 217.323 RTD| 67.263| 77.233| 87.263| 0| 0| 66.676| 217.323 RTD| 67.022| 77.172| 85.684| 0| 0| 66.676| 217.323 RTD| 67.669| 77.248| 83.894| 0| 0| 66.676| 217.323 RTD| 67.969| 77.172| 86.736| 0| 0| 66.676| 217.323 RTD| 66.827| 77.187| 87.383| 0| 0| 66.676| 217.323 RTD| 67.097| 77.263| 119.909| 0| 0| 66.676| 217.323 RTD| 67.022| 77.308| 183.548| 0| 0| 66.676| 217.323 RTD| 66.616| 77.187| 84.902| 0| 0| 66.616| 217.323 RTD| 67.353| 77.187| 91.338| 0| 0| 66.616| 217.323 RTD| 67.022| 77.233| 83.278| 0| 0| 66.616| 217.323 RTD| 67.037| 77.248| 87.022| 0| 0| 66.616| 217.323
RTT|  00:00:22  (periodic user-mode task, 1000 us period, priority 99)
RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worst RTD| 67.037| 77.157| 86.796| 0| 0| 66.616| 217.323 RTD| 66.902| 77.263| 125.383| 0| 0| 66.616| 217.323 RTD| 67.548| 77.187| 87.894| 0| 0| 66.616| 217.323 RTD| 67.338| 77.248| 86.255| 0| 0| 66.616| 217.323 RTD| 67.157| 77.218| 87.157| 0| 0| 66.616| 217.323 RTD| 67.308| 77.233| 84.180| 0| 0| 66.616| 217.323 RTD| 67.684| 77.203| 86.631| 0| 0| 66.616| 217.323 RTD| 67.578| 77.187| 89.368| 0| 0| 66.616| 217.323 RTD| 66.917| 77.203| 86.691| 0| 0| 66.616| 217.323 RTD| 66.992| 77.218| 86.616| 0| 0| 66.616| 217.323 RTD| 67.142| 77.218| 87.097| 0| 0| 66.616| 217.323 RTD| 67.248| 77.187| 90.180| 0| 0| 66.616| 217.323 RTD| 67.368| 77.233| 87.939| 0| 0| 66.616| 217.323 RTD| 67.413| 77.187| 89.503| 0| 0| 66.616| 217.323 RTD| 67.684| 77.233| 87.368| 0| 0| 66.616| 217.323 RTD| 67.428| 77.157| 87.203| 0| 0| 66.616| 217.323 RTD| 67.248| 77.157| 91.368| 0| 0| 66.616| 217.323 RTD| 67.233| 77.368| 215.879| 0| 0| 66.616| 217.323 RTD| 67.428| 77.323| 178.857| 0| 0| 66.616| 217.323 RTD| 66.917| 77.187| 92.075| 0| 0| 66.616| 217.323
---|-----------|-----------|-----------|--------|------|-------------------------
RTS| 66.616| 77.218| 217.323| 0| 0| 00:00:41/00:00:41

Il 12/04/2012 19:40, Gilles Chanteperdrix ha scritto:
On 04/12/2012 06:58 PM, Roberto Bielli wrote:
Hi Gilles,

you tell me that you are working on imx.
Do you know if there is a working xenomai on imx (any kernel or imx
version) ?
I have tested Xenomai  on imx31, imx51, imx53, imx6q. It works on these
platforms. Now, what you are doing is in fact porting xenomai on imx25,
nobody did that before you, and you are faced with a peculiarity of the
timer on this platform. What you should do is:
- try to reproduce the problem with an unpatched linux with
CONFIG_HIGH_RES_TIMERS
- or try and look at the timers registers value at the time when the bug
happens to see what is going wrong.

Also, the first thing to do when running xenomai on a new platform is to
run the "latency" test. Have you run this test?

I feel like I am starting to repeat myself, I do not know if I should
continue trying and answering you.



--
+------------------------------------------------------------------------------------------------+
                                                        
Roberto Bielli
Sviluppo Software                                       
Axel S.r.l.                                     
                                                        
Via Del Cannino, 3                              
21020 Crosio Della Valle                        
Varese - Italy                                  
                                                        
Telefono: +39 0332 949600                       
Fax:      +39 0332 969315                       
                                                        
E-mail:   roberto.bie...@axelsw.it      
Web Site: www.axelsw.it

+------------------------------------------------------------------------------------------------+

Si precisa che le informazioni contenute in questo messaggio sono riservate e 
ad uso esclusivo del destinatario.
Qualora il messaggio in parola Le fosse pervenuto per errore, La preghiamo di 
eliminarlo senza copiarlo e di non inoltrarlo a terzi,
dandocene gentilmente comunicazione. Grazie.
Informativa sul trattamento dei dati personali (D. Lgs. 196/2003).
I dati utilizzati per la spedizione del presente messaggio sono utilizzati da 
Axel S.r.l., titolare del trattamento,
per l'invio delle comunicazioni dei diversi settori aziendali, non essendo 
autorizzata la divulgazione a terzi.
Potrete rivolgere alla seguente mail richieste di verifica, rettifica o 
cancellazione dei Vostri dati: i...@axelsw.it

This e-mail and any attachments is confidential and may contain privileged 
information
intended for the addressee(s) only. Dissemination, copying, printing or use by 
anybody
else is unauthorised. If you are not the intended recipient,
please delete this message and any attachments and advise the sender
by return e-mail.Thank you.                     
                                                        
+------------------------------------------------------------------------------------------------+


_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to