On 04/20/2012 06:17 PM, Gilles Chanteperdrix wrote:
> On 04/20/2012 06:06 PM, Michael Trimarchi wrote:
>> During clock test it stuck for a while and then start again 
> 
> Have you read tip #4 in the "Tips and tricks" section of the porting
> I-pipe to ARM linux document?
> 

gettimeoffset?

> http://www.xenomai.org/index.php/I-pipe:ArmPorting#Tips_and_tricks.
> 

btw this is another potential bug... I will send as a separate patch

        if (timer_is_v1()) {
                tsc_info.u.counter_paddr = phys + MX1_2_TCN;
-               tsc_info.counter_vaddr =(unsigned long)(phys + MX1_2_TCN);
+               tsc_info.counter_vaddr = (unsigned long)(timer_base + MX1_2_TCN)
        } else {
                tsc_info.u.counter_paddr = phys + V2_TCN;
                tsc_info.counter_vaddr = (unsigned long)(timer_base + V2_TCN);

Michael

_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main

Reply via email to