All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Xeno3.0 latency no /dev/rtheap under 3.18 i.mx6
@ 2015-04-13 12:27 Hänel-Baas, Alexander
  2015-04-13 12:38 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: Hänel-Baas, Alexander @ 2015-04-13 12:27 UTC (permalink / raw)
  To: xenomai

Hi

when i start latency, i get the error:
Xenomai: /dev/rtheap is missing
(chardev, major=10 minor=254)

dmesg | grep Xeno shows:
[Xenomai] scheduling class idle registered.
[Xenomai] scheduling class rt registered.
I-pipe: head domain Xenomai registered.
[Xenomai] Cobalt v3.0-rc4 (Exact Zero)

cat /sys/module/xenomai/parameters/state
enabled

Always looks good, ore can I check more?

I have made this:

First I read the document: Installing Xenomai 3.x, because it is my first Xeno3 touch.

Than git clone  https://git.xenomai.org/ipipe-gch.git -b for-ipipe-3.18<https://git.xenomai.org/ipipe-gch.git%20-b%20for-ipipe-3.18>
Call /scripts/ipipe/genpatches
It generates the ipipe-core-3.18-arm-1.patches without any messages.

Get the vanilla 3.18 kernel
Prepare the kernel:
cd /platform-sm-arm/build-target/xenomai-"3.0-rc4" && \
                               scripts/prepare-kernel.sh --linux /platform-sm-arm/build-target/linux-3.18 \
                               --ipipe /platform-sm-arm/build-target/xenomai-"3.0-rc4"/kernel/cobalt/arch/arm/patches/ipipe-core-3.18-arm-1.patch \
                               --arch=arm

Make imx_v6_v7_defconfig (for the i.mx6 sabresd board)
Call kernel menuconfig and check the settings.
Make the kernel.
Make dtb for imx6q-sabresd board.

Than configure the Xenomai-lib with:

      CFLAGS="-march=armv7-a -mfpu=vfp3" \
      --host=arm-v7a-linux-gnueabi \
       --build=i686-host-linux-gnu  \
       --enable-shared \
       --with-core=cobalt \
       --enable-smp  \
       --disable-doc-install

make and install it.

Put all on the target, boot and try latency...
Xenomai: /dev/rtheap is missing

I don't know what is my mistake.

There is a message in dmesg:
=================================
[ INFO: inconsistent lock state ]
3.18.0 #1 Not tainted
---------------------------------
It is important about my problem?



With best regards,
Alexander


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

* Re: [Xenomai] Xeno3.0 latency no /dev/rtheap under 3.18 i.mx6
  2015-04-13 12:27 [Xenomai] Xeno3.0 latency no /dev/rtheap under 3.18 i.mx6 Hänel-Baas, Alexander
@ 2015-04-13 12:38 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 5+ messages in thread
From: Gilles Chanteperdrix @ 2015-04-13 12:38 UTC (permalink / raw)
  To: Hänel-Baas, Alexander; +Cc: xenomai

On Mon, Apr 13, 2015 at 12:27:08PM +0000, Hänel-Baas, Alexander wrote:
> Hi
> 
> when i start latency, i get the error:
> Xenomai: /dev/rtheap is missing
> (chardev, major=10 minor=254)
> 
> dmesg | grep Xeno shows:
> [Xenomai] scheduling class idle registered.
> [Xenomai] scheduling class rt registered.
> I-pipe: head domain Xenomai registered.
> [Xenomai] Cobalt v3.0-rc4 (Exact Zero)
> 
> cat /sys/module/xenomai/parameters/state
> enabled

You are running Xenomai 2.6 latency test with Xenomai 3.x, this can
not work. Sorry.

-- 
					    Gilles.


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

* [Xenomai] Xeno3.0 latency no /dev/rtheap under 3.18 i.mx6
@ 2015-04-13 14:17 Hänel-Baas, Alexander
  0 siblings, 0 replies; 5+ messages in thread
From: Hänel-Baas, Alexander @ 2015-04-13 14:17 UTC (permalink / raw)
  To: xenomai

Ok, you are right,

I have a problem with my build process.
I put the old xeno-2.6 binaries to the target, ... ups.

Thank you for this hint.
Alexander


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

* Re: [Xenomai] Xeno3.0 latency no /dev/rtheap under 3.18 i.mx6
  2015-04-13 12:52 Hänel-Baas, Alexander
@ 2015-04-13 13:02 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 5+ messages in thread
From: Gilles Chanteperdrix @ 2015-04-13 13:02 UTC (permalink / raw)
  To: Hänel-Baas, Alexander; +Cc: xenomai

On Mon, Apr 13, 2015 at 12:52:39PM +0000, Hänel-Baas, Alexander wrote:
> Ok, but in the documentation about Installing Xeno3.x
> under testing the installation is written :
> 
> "Testing the real-time system
> First run latency test"
> 
> (https://xenomai.org/installing-xenomai-3-x/)
> 
> Is there another test in Xeno3.x ?

No, the latency test exists. But you are not running it, you are
running Xenomai 2.6 one (the error /dev/rtheap is missing does not
exist with xenomai 3).

-- 
					    Gilles.


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

* [Xenomai] Xeno3.0 latency no /dev/rtheap under 3.18 i.mx6
@ 2015-04-13 12:52 Hänel-Baas, Alexander
  2015-04-13 13:02 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: Hänel-Baas, Alexander @ 2015-04-13 12:52 UTC (permalink / raw)
  To: xenomai

Ok, but in the documentation about Installing Xeno3.x
under testing the installation is written :

"Testing the real-time system
First run latency test"

(https://xenomai.org/installing-xenomai-3-x/)

Is there another test in Xeno3.x ?

Alexander


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

end of thread, other threads:[~2015-04-13 14:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-13 12:27 [Xenomai] Xeno3.0 latency no /dev/rtheap under 3.18 i.mx6 Hänel-Baas, Alexander
2015-04-13 12:38 ` Gilles Chanteperdrix
2015-04-13 12:52 Hänel-Baas, Alexander
2015-04-13 13:02 ` Gilles Chanteperdrix
2015-04-13 14:17 Hänel-Baas, Alexander

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.