AnsweredAssumed Answered

RT Fully Preemptive Kernel configuration

Question asked by Marina Prital on Jul 28, 2019
Latest reply on Aug 4, 2019 by Yiping Wang

Hello all,

I am working with Yocto SDK 2.0 (and also tried 2.0-1703) with the p4080ds target

(www.nxp.com/support/developer-resources/run-time-software/linux-software-and-development-tools/linux-sdk-for-qoriq-processors:SDKLINUX).

Now I need to change the Kernel to be Fully Preemptive RT.

Is it enough only to turn on the "Fully Preemptive Kernel (RT)" in Kernel configuration, or RT patch should be loaded in addition?

If I only turn on the "Fully Preemtive Kernel (RT)", the system starts up with the message:

"Configuring network interfaces... BUG: sleeping function called from invalid context at rtmutex.c:917".

 

If I configure the local.conf with:

PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
COMPATIBLE_MACHINE_p4080ds = "p4080ds"

and run the command "bitbake fsl-image-core", this commands fails with errors: "udbg.c:164: undefined reference to `early_console' " and "core.c:301: undefined reference to `early_printk' ".

 

What is the correct way to enable the Fully Preemptive RT configuration?

 

Thanks in advance,

istbor

Outcomes