High resolution timer support in 2.6.24+ for MPC831x?
Leon Woestenberg
leon.woestenberg at gmail.com
Sat Feb 16 23:44:29 EST 2008
Hello,
On Feb 15, 2008 9:49 PM, Leon Woestenberg <leon.woestenberg at gmail.com> wrote:
> On Thu, Feb 14, 2008 at 9:51 PM, Scott Wood <scottwood at freescale.com> wrote:
> > Leon Woestenberg wrote:
> > > My platform is a MPC8313E-RDB, and I suspect no high res clock source
> > > implementation exists for it in 2.6.24, because
> > > clock_getres(CLOCK_REALTIME,) gives me 1/HZ.
> > >
I found that 2.6.24 needs the patch "[PATCH] Fix powerpc vdso
clock_getres()" posted February 8th on linuxppc-dev (which I missed,
sorry for the noise).
That seems to fix it in a quick test:
root at mpc8313e-rdb:~$ /timers
Clock resolution (clockid 0): 0.000000001
Clock resolution (clockid 1): 0.000000001
Regards,
--
Leon
More information about the Linuxppc-embedded
mailing list