2

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

Community
  • 1
  • 1
Simon Puente
  • 451
  • 1
  • 8
  • 21

2 Answers2

0

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.

Arnout
  • 2,927
  • 16
  • 24
  • Could you explain a bit more how this is done? I think a lot of people are like me, and patching linux for the first time. – Steve Heim Jan 03 '18 at 13:49
  • You do 'make menuconfig' to configure Buildroot, you go to the Linux Kernel menu, you go to the Linux kernel externsions menu, and you select the Xenomai extension. – Arnout Feb 07 '18 at 12:35
-1

You could use mainline Linux kernel as TI now supports it: http://www.ti.com/lsds/ti/tools-software/mainlinelinux_sw.page

Francis Straccia
  • 894
  • 1
  • 7
  • 20