AnsweredAssumed Answered

Yocto and kernel 3.0.35 with patch preempt-rt ?

Question asked by maurice on Dec 5, 2014
Latest reply on Feb 16, 2015 by Pooja B

Hello,

 

How can I have with yocto the patch preempt-rt with the kernel 3.0.35?

 

I used the branch Dora in https://github.com/Freescale/fsl-community-bsp-platform to have the kernel 3.0.35 but the patch preemt-rt is not there.

 

On the contrary, the branch Dizzy has the patch preempt-rt but not the kernel 3.0.35.

 

My target is imx6q sd.

Conf.file

 

DORA branch

 

MACHINE ??= 'imx6qsabresd'

DISTRO ?= 'poky'

PACKAGE_CLASSES ?= "package_rpm"

EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-dropbear ssh-server-openssh"

USER_CLASSES ?= "buildstats image-mklibs image-prelink"

PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\

    STOPTASKS,${TMPDIR},1G,100K \

    STOPTASKS,${DL_DIR},1G,100K \

    STOPTASKS,${SSTATE_DIR},1G,100K \

    ABORT,${TMPDIR},100M,1K \

    ABORT,${DL_DIR},100M,1K \

    ABORT,${SSTATE_DIR},100M,1K"

CONF_VERSION = "1"

 

BB_NUMBER_THREADS = '8'

PARALLEL_MAKE = '-j 8'

 

DL_DIR ?= "${BSPDIR}/downloads/"

ACCEPT_FSL_EULA = ""

CORE_IMAGE_EXTRA_INSTALL += "libgomp libgomp-dev libgomp-staticdev"

PREFERRED_VERSION_linux-imx = "3.0.35"

PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"

COMPATIBLE_MACHINE_mx6qsabresd=  "imx6qsabresd"

 

 

DIZZY branch

MACHINE ??= 'imx6qsabresd'

DISTRO ?= 'poky'

PACKAGE_CLASSES ?= "package_rpm"

EXTRA_IMAGE_FEATURES = "debug-tweaks  ssh-server-dropbear ssh-server-openssh"

USER_CLASSES ?= "buildstats image-mklibs image-prelink"

PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\

    STOPTASKS,${TMPDIR},1G,100K \

    STOPTASKS,${DL_DIR},1G,100K \

    STOPTASKS,${SSTATE_DIR},1G,100K \

    ABORT,${TMPDIR},100M,1K \

    ABORT,${DL_DIR},100M,1K \

    ABORT,${SSTATE_DIR},100M,1K"

PACKAGECONFIG_append_pn-qemu-native = " sdl"

PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"

ASSUME_PROVIDED += "libsdl-native"

CONF_VERSION = "1"

 

BB_NUMBER_THREADS = '8'

PARALLEL_MAKE = '-j 8'

 

DL_DIR ?= "${BSPDIR}/downloads/"

ACCEPT_FSL_EULA = "1"

CORE_IMAGE_EXTRA_INSTALL += "libgomp libgomp-dev libgomp-staticdev"

PREFERRED_VERSION_linux-imx = "3.0.35"

PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"


Thank you

Maurice

Outcomes