Schlägl Manfred jun. wrote: > Am Montag, den 02.04.2007, 08:52 +0200 schrieb Richard Cochran: > >>>This is needed for machines where the hardware timer is based on a >>>decrementer. But for machines with a free-running counter and a match >>>register, reading the value of the free-running counter is >>>simpler. IXP425 is in the "free-running counter and match register >>>category". So, its implementation should look like the one of the PXA. >> >>The IXP425 does not have a match register, AFAICT. >> >>It does have four 32-bit counters clocked at 66.66 MHz: a watch dog, a >>free-running timestamp, and two general purpose timers. >> >>The general purpose timers may be used either as one-shot timers >>(count down to zero and stop) or as periodic times (count down, >>automatically reload, and keep going). >> >>I already have xenomai running on the IXP425, but I will have to take >>a closer look at the timer code. >> >>Richard > > > Then you have to implement it like I described. > > Take a look at the implementation for integrator-platforms. > (Timer with wraparound)
I have tried to put together on Xenomai wiki some ideas on porting the ARM I-pipe patch on a new platform. I have not explained the case of the integrator, in the hope that others who know better could modify the howto. http://www.xenomai.org/index.php/I-pipe:ArmPorting -- Gilles Chanteperdrix _______________________________________________ Adeos-main mailing list [email protected] https://mail.gna.org/listinfo/adeos-main
