Discussion:
include the Xenomai in kernel linux
Adriano Campos
2011-11-22 18:56:53 UTC
Permalink
hello,
I'm trying to include the Xenomai in kernel linux with buildroot but I have
not been successful.
I apply the adeos patch and then compile the kernel with buildroot but the
image is always equal and ADEOS / Xenomai not appear. Where should I paste
the folder Xenomai?

Best regards,
Adriano Campos
Thomas Petazzoni
2011-11-22 20:15:31 UTC
Permalink
Le Tue, 22 Nov 2011 18:56:53 +0000,
Post by Adriano Campos
I'm trying to include the Xenomai in kernel linux with buildroot but
I have not been successful.
I apply the adeos patch and then compile the kernel with buildroot
but the image is always equal and ADEOS / Xenomai not appear. Where
should I paste the folder Xenomai?
We have support for Xenomai in Buildroot, so you don't have to patch
your kernel manually. See Kernel -> Linux Kernel Extensions ->
Adeos/Xenomai. Of course, you must select a kernel version that is
supported by Xenomai for your particular architecture.

Note that this is not available in 2011.08, only in the current
2011.11-rcX versions or the Git version of Buildroot. It will be part
of the upcoming 2011.11 release.

Don't hesitate to let us know if you have problems using this.

Best regards,

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
Adriano Campos
2011-11-28 12:24:42 UTC
Permalink
hello,

I am developing a project you need to create an image of the Linux kernel and
a small file system running on the emulator QEMU.

In the 2011-08 version of buildroot works correctly using the configuration
file "buildroot-2011-08 \ config \ qemu_arm_versatile_defconfig" supplied
with the buildroot. However I need to apply the patch and Xenomai is not
possible in this version so I'm now using the buildroot version 2011-11-rc3,
but is not working. With the same configuration file, the generated image does
not run under QEMU. Can you help?

Best regards,
Adriano Campos
Thomas Petazzoni
2011-11-28 12:39:33 UTC
Permalink
Le Mon, 28 Nov 2011 12:24:42 +0000,
Post by Adriano Campos
In the 2011-08 version of buildroot works correctly using the configuration
file "buildroot-2011-08 \ config \ qemu_arm_versatile_defconfig" supplied
with the buildroot. However I need to apply the patch and Xenomai is not
possible in this version so I'm now using the buildroot version 2011-11-rc3,
but is not working.
"is not working" is not precise enough to help you. Could you provide
some details ?
Post by Adriano Campos
With the same configuration file, the generated image does not run under
QEMU. Can you help?
I'm not sure you realize that Xenomai is a patch against the kernel and
that this patch is therefore only available for *certain* kernel
versions. The kernel version used in qemu_arm_versatile_defconfig has
no Xenomai patch available. If you want to use Xenomai, you *have* to
use a kernel version that is explicitly supported by Xenomai, and the
version supported by Xenomai depend on the architecture.

Best regards,

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
Adriano Campos
2011-11-30 10:36:27 UTC
Permalink
Le Mon, 28 Nov 2011 12:24:42 +0000,
Adriano Campos <adrianoribeirocampos at gmail.com> a écrit :
Hi,
I have another question about buildroot and qemu. I try buildroor with
config file "qemu_arm_versatile_defconfig" and this work with QEMU
(emuling arm versatilepb), but config file "integrator926_defconfig"
dont work with QEMU (emuling arm integrator). Does this file is the
configuration for the card and not for the qemu virtual machine. Who
makes these files?Anyone can help me to create a configuration file
for "QEMU_integrator926_defconfig."
best regads
Adriano Campos
Post by Adriano Campos
In the 2011-08 version of buildroot works correctly using the configuration
file "buildroot-2011-08 \ config \ qemu_arm_versatile_defconfig" supplied
with the buildroot. However I need to apply the patch and Xenomai is not
possible in this version so I'm now using the buildroot version 2011-11-rc3,
but is not working.
"is not working" is not precise enough to help you. Could you provide
some details ?
Post by Adriano Campos
With the same configuration file, the generated image does not run under
QEMU. Can you help?
I'm not sure you realize that Xenomai is a patch against the kernel and
that this patch is therefore only available for *certain* kernel
versions. The kernel version used in qemu_arm_versatile_defconfig has
no Xenomai patch available. If you want to use Xenomai, you *have* to
use a kernel version that is explicitly supported by Xenomai, and the
version supported by Xenomai depend on the architecture.

Best regards,

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
Loading...