How to attach and build a Kernel with PREEMPT_RT patch for the I.MX6Q-SABRE?

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

How to attach and build a Kernel with PREEMPT_RT patch for the I.MX6Q-SABRE?

1,622 Views
sooyeonkang
Contributor I

I am trying to attach and build a kernel (3.0.35)  with PREEMPT_RT patch for my imx6q-sabre.

I use BSP "L3.0.35_4.0.0_130424_source". And I use Embedded Linux with LTIB.

I am wondering how to attach PREEMPT_RT and how to build a Kernel with PREEMPT_RT patch.

(PREEMPT_RT = https://rt.wiki.kernel.org/index.php/Main_Page)

Thanks in advance for any help you can give.

Labels (2)
Tags (1)
0 Kudos
2 Replies

814 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sooyeon

please look at link where this was solved

Yocto and kernel 3.0.35 with patch preempt-rt ?

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

814 Views
sooyeonkang
Contributor I

Thank you for answer.

But the link describe about Yocto. I use LTIB.

It's different Yocto and LTIB.

Let me introduce my steps and resuilt.

[Steps]

1. Download patch-3.0.35-rt56.patch.(https://www.kernel.org/pub/linux/kernel/projects/rt/3.0/older/patch-3.0.35-rt56.patch.bz2)

2. Be expanded patch-3.0.35-rt56.patch to ./ltib/rpm/BUILD/linux-3.0.35 forder.

3. Run the patch.(command : $patch -p1 patch-3.0.35-rt56.patch)

4. Modify config file.

( Add below setting values

CONFIG_PREEMPT_RT_BASE=y

CONFIG_PREEMPT_RT_FULL=y

)

5. set config file.(command : $make imx6_defconfig)

6. Run build.(command : $make uImage)

[Resuilt]

build error

Are these steps  correct???

0 Kudos