All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Read TSC results in bus error (ARM iMX25)
@ 2009-10-28 14:34 Henri Roosen
  2009-10-28 14:45 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 7+ messages in thread
From: Henri Roosen @ 2009-10-28 14:34 UTC (permalink / raw)
  To: xenomai

Hi,

I'm trying to bringup Xenomai 2.4.9.1 on a freescale iMX25 board and
linux kernel 2.6.28. Until now all was straightforward by following
the ArmPorting page on the Xenomai website and because the iMX25 is
very similar to the already supported iMX3. The kernel boots and the
xenomai timer is running.

However the testsuite apps (latency) are not working because the
rt_timer_tsc() call results in a Bus error: 'Unhandled fault: external
abort on non-linefetch (0x008) at 0x4001f024)'.

I verified at the xeno_arm_features_check() call the physical address
of the GPT1 counter register is correct (0x53f90024 which matches the
datasheet). The mmap call succeeds and the virtual address is at
0x4001f024. However, when de-referencing that pointer in the
__xn_rdtsc() call the bus error occurs.

Anyone have an idea what I am missing?

Thanks,
Henri


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-10-28 17:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-28 14:34 [Xenomai-help] Read TSC results in bus error (ARM iMX25) Henri Roosen
2009-10-28 14:45 ` Gilles Chanteperdrix
     [not found]   ` <b88603c30910280753uea312e1p3d5f62012814d355@domain.hid>
     [not found]     ` <4AE860FB.4090903@domain.hid>
2009-10-28 15:25       ` Henri Roosen
2009-10-28 15:28         ` Gilles Chanteperdrix
2009-10-28 16:17           ` Henri Roosen
2009-10-28 16:42             ` Gilles Chanteperdrix
2009-10-28 17:34               ` Henri Roosen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.