All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] arm imx6 and hardware FPU
@ 2014-04-11 11:44 Paolo Minazzi
  2014-04-11 11:49 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 8+ messages in thread
From: Paolo Minazzi @ 2014-04-11 11:44 UTC (permalink / raw)
  To: xenomai

Hi to all,
I'm trying to test my imx6 with xenomai 2.6.3.
I use the linaro cross-compiler that uses the hardware floating point.

I made a simple floating point test.

If I use two non-realtime user-space tasks the test works OK and I have 
no errors in calculations.
This means that compiler and hardware works well.

But I I use two realtime user-space tasks I have errors in calculations.
Real-time tasks are created with rt_task_create(&demo, "demo", 0, 99, 
T_FPU);


This is my kernel config
============================================
...
#
# Machine
#
CONFIG_IPIPE_WANT_PREEMPTIBLE_SWITCH=y
CONFIG_IPIPE_WANT_ACTIVE_MM=y
CONFIG_XENO_HW_FPU=y
CONFIG_XENO_HW_UNLOCKED_SWITCH=y
...
#
# At least one emulation must be selected
#
CONFIG_VFP=y
CONFIG_VFPv3=y
CONFIG_NEON=y
CONFIG_VFP_3_2_BACKPORT=y
...
============================================

Is it possible to use ***hardware floating point*** with realtime 
user-space tasks ?

Regards,
Paolo Minazzi



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

end of thread, other threads:[~2014-04-18  9:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-11 11:44 [Xenomai] arm imx6 and hardware FPU Paolo Minazzi
2014-04-11 11:49 ` Gilles Chanteperdrix
2014-04-11 12:15   ` Paolo Minazzi
2014-04-11 12:24     ` Gilles Chanteperdrix
     [not found]       ` <5347E0E1.3020807@mitrol.it>
     [not found]         ` <5347E3DA.6010106@xenomai.org>
     [not found]           ` <5347E8AB.7020908@mitrol.it>
     [not found]             ` <5347EB00.7060203@xenomai.org>
2014-04-17 12:20               ` Paolo Minazzi
2014-04-17 13:33                 ` Gilles Chanteperdrix
2014-04-18  8:47                   ` [Xenomai] arm imx6 and hardware FPU [SOLVED] Paolo Minazzi
     [not found]                     ` <5350E9C7.7010904@optusnet.com.au>
2014-04-18  9:38                       ` Paolo Minazzi

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.