[Xenomai] Cobalt core and Yocto

Steve Pavao stevep at korgrd.com
Tue Dec 19 17:51:00 CET 2017


Hello -

How should I adapt my Yocto poky recipes to make sure that Cobalt core boots?  Right now, the only relevant information that appears on dmesg is:

"Interrupt pipeline (release #4)”

Here are my recipes, which work fine, but Cobalt core does not boot.  I must need something else in my recipe(s).

For I-PIPE Patch, my recipe file is linux-intel_4.9.bbappend:

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://ipipe-core-4.9.51-x86-4.patch"


For Xenomai 3 user libs, my recipe file is xenomai_3.0.6.bb:

DESCRIPTION = "Provides userspace xenomai support and libraries needed to for \
real-time applications using the xenomai RTOS implementation (v3)"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://include/COPYING;md5=79ed705ccb9481bf9e7026b99f4e2b0e"
SECTION = "xenomai"
HOMEPAGE = "http://www.xenomai.org/"
PR = "r0"

SRC_URI = "http://xenomai.org/downloads/xenomai/stable/latest/xenomai-3.0.6.tar.bz2"

S = "${WORKDIR}/xenomai-${PV}"

inherit autotools pkgconfig

includedir = "/usr/include/xenomai"

#Fixes QA Issues: non debug package contains .debug directory
#FILES_${PN}-dbg += "/usr/bin/regression/posix/.debug"
#FILES_${PN}-dbg += "/usr/bin/regression/native/.debug"
#FILES_${PN}-dbg += "/usr/bin/regression/native+posix/.debug"
#FILES_${PN}-dbg += "/usr/demo/.debug/*"

#Fixes QA Error - Non-dev package contains symlink .so
FILES_${PN}-dev += "/usr/lib/*.se"

#Add directories to package for shipping
FILES_${PN} += "/dev"
FILES_${PN} += "/dev/*"
FILES_${PN} += "/usr/bin/*"
FILES_${PN} += "/usr/lib/*"
FILES_${PN} += "/usr/sbin/*"
FILES_${PN} += "/usr/include/*"
FILES_${PN} += "/usr/lib/*"
FILES_${PN} += "/usr/share/doc/*"
FILES_${PN} += "/usr/share/man/*"
FILES_${PN} += "/usr/demo/*"

SRC_URI[md5sum] = "6017203d0992bb5334498c196bf6f25d"
SRC_URI[sha256sum] = "2c0dd3f0e36e4a10f97e0028989bb873e80f4d1ce212ac55fd3b28857c464f94"

TARGET_CC_ARCH += "${LDFLAGS}” 


Thanks for any ideas.  Hopefully, I am pretty close with these recipes.

- Steve Pavao
Korg R&D


















More information about the Xenomai mailing list