Apply RT PREEMPT On NXP P2041RDB-PC DEV BRD

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Apply RT PREEMPT On NXP P2041RDB-PC DEV BRD

1,734 Views
isaaclambert
Contributor II


I am wondering what a good resource would be to help achieve this goal or if anyone had any input themselves; as I am having difficulty locating resources that focus on how to apply RT PREEMPT on this type of system.

Thank you for your time and help,

Isaac

Tags (2)
7 Replies

1,370 Views
pro-supportengi
NXP Employee
NXP Employee

Hi Isaac,

there are tools provided by SDK 2.0 that evaluates real-time jitter and latency for the PREEMPT_RT.  For instance, the cyclictest is available and can be run against teh PREEMPT_RT.

I'm asking NXP or anyone who knows, how to build these in SDK 2.0.  What is the package, yocto defiinition, or whatever build instructions are needed to build the rt-tools and add them to rootfs.  I am asking, because looking at supported packages one can add to local.conf, rt-tools is not listed.  Also, prefer to avoid guessing but will diff the SDK 2.0 to see if I can find what needs to be enabled, it might be in menuconfig.  But this should be spelled out in the document above. Not sure why it isn't.

thx,

Tracy

0 Kudos

1,370 Views
isaaclambert
Contributor II

Hi Tracy,

Thank you for the clarification.

Isaac

0 Kudos

1,370 Views
pro-supportengi
NXP Employee
NXP Employee

The document below has the following:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-5E34A886-778F-470E-8C9B-5...

RT-tests suit contains various test applications like
cyclictest, hackbench, etc to measure latencies and induce various test loads.

How do we build the RT-tests as a package in yocto and build it into the rootfs?  We do not see a support package for the RT patch local.conf when building.  What enables the yoct RT-test package in yocto?

0 Kudos

1,370 Views
isaaclambert
Contributor II

Hello,

Are you asking me those questions or Platon? I am not sure I understand your post completely.

Thank you,

Isaac

0 Kudos

1,370 Views
bpe
NXP Employee
NXP Employee

SDK kernels do already have this patch applied, so you do not have to download and apply it. However,  the features it introduces are disabled in SDK default configurations for all platforms.   The link below points to a short article  that explains how to enable it:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-5E34A886-778F-470E-8C9B-5...

More information can be found at RT_Linux Wiki:

https://rt.wiki.kernel.org/index.php/Main_Page

Note that your processor/development board is not in the list of officially supported platforms for

relatime extension:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-02A20F2B-801C-4DB5-A838-5...

That does not mean, of course, that realtime features will inevitably fail or crash the kernel,

but we did not verify them on the device you are working with. Advanced support can be

provided via the SDK premium support program:

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/qoriq-arm-processors/free...


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,370 Views
isaaclambert
Contributor II

Hi Platon,

I went to the Real Time Application Note link and this file does not exist /usr/src/linux/.config

Should I not be using the make menuconfig command or I'm I doing this the incorrect way? I am trying to enable the RT patch on the board.

Thanks,

Isaac

0 Kudos

1,370 Views
bpe
NXP Employee
NXP Employee

The document I suggested does not  mention  /usr/src/linux/ anywhere.

Please keep in mind that QorIQ SDK is a cross-platform build  tool that is to be installed on an x86-based PC. It uses non-standard paths to install kernel sources and other necessary components. Please study  QorIQ SDK Getting Started guide to avoid misunderstandings.

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-E19DF47A-0188-4032-8975-B...

Detailed instructions on reconfiguring the kernel with QorIQ SDK can be found here:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-8C4D9C9C-BC81-488D-B2E8-B...

Target deployment instructions can be found here:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-8614BB82-5CE6-4E4C-971B-F...