2
votes

I am trying to build linux kernel "3.18.20" for the beaglebone black using xenomai "2.6.4" and buildroot "2015.08.1" to compile it. I compile and run successful the kernel using the patch-3.18.20-arm and the buildroot config

BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.18.20"
BR2_LINUX_KERNEL_PATCH="~/beagleboneblack/linux-patches"
BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
BR2_LINUX_KERNEL_ZIMAGE=y
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-boneblack"

BR2_PACKAGE_XENOMAI=y
BR2_PACKAGE_XENOMAI_VERSION="2.6.4"
BR2_PACKAGE_XENOMAI_TESTSUITE=y

but when I run latency or xeno-test I get the following error:

Xenomai: /dev/rtheap is missing
(chardev, major=10 minor=254)

I used this version because it is the last stable version at the moment and here said that The I-pipe patches are meant for mainline Linux kernels, not for Linux kernel forks

I am looking for a working kernel/patch version for beaglebone black and xenomai but I can't find it, can you point me in the right direction?

I find this but they don't use the mainline kernel repository, they use this

2
Check in the kernel log if xenomai is indeed started: dmesg | grep -i xeno - Arnout
I get no output in dmesg, I haven't any module loaded and in the kernel-menuconfig there aren't any option tu enable xenomai support in the kernel or like a module - Simon Puente
tried # mknod /dev/rtheap c 10 254 ? - Francis Straccia

2 Answers

0
votes

You didn't enable the kernel part of Xenomai. You have to enable BR2_LINUX_KERNEL_EXT_XENOMAI in the "Linux kernel extensions" menu of the kernel.

-1
votes