title: compiling linux kernel for the beaglebone black using xenomai and buildroot
body: <p>I am trying to build linux kernel &quot;3.18.20&quot; for the beaglebone black using xenomai &quot;2.6.4&quot; and buildroot &quot;2015.08.1&quot; to compile it.
  I compile and run successful the kernel using the <a href="http://xenomai.org/downloads/ipipe/v3.x/arm/ipipe-core-3.18.20-arm-6.patch" rel="nofollow noreferrer">patch-3.18.20-arm</a> and the buildroot config</p>
  <pre><code>BR2_LINUX_KERNEL=y
  BR2_LINUX_KERNEL_CUSTOM_VERSION=y
  BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=&quot;3.18.20&quot;
  BR2_LINUX_KERNEL_PATCH=&quot;~/beagleboneblack/linux-patches&quot;
  BR2_LINUX_KERNEL_DEFCONFIG=&quot;omap2plus&quot;
  BR2_LINUX_KERNEL_ZIMAGE=y
  BR2_LINUX_KERNEL_DTS_SUPPORT=y
  BR2_LINUX_KERNEL_INTREE_DTS_NAME=&quot;am335x-boneblack&quot;
  
  BR2_PACKAGE_XENOMAI=y
  BR2_PACKAGE_XENOMAI_VERSION=&quot;2.6.4&quot;
  BR2_PACKAGE_XENOMAI_TESTSUITE=y
  </code></pre>
  <p>but when I run latency or xeno-test I get the following error:</p>
  <pre><code>Xenomai: /dev/rtheap is missing
  (chardev, major=10 minor=254)
  </code></pre>
  <p>I used this version because it is the last stable version at the moment and <a href="http://article.gmane.org/gmane.linux.real-time.xenomai.users/23303/match=beaglebone+black" rel="nofollow noreferrer">here</a> said that The I-pipe patches are meant for mainline Linux kernels, not for Linux kernel forks</p>
  <p>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?</p>
  <p>I find <a href="http://brunosmartins.info/xenomai-on-the-beaglebone-black-in-14-easy-steps/" rel="nofollow noreferrer">this</a> but they don't use the mainline kernel repository, they use <a href="https://github.com/RobertCNelson/bb-kernel" rel="nofollow noreferrer">this</a></p>