[imx8mp]How could I make the kernel config of "Fully Preemptible Kernel (RT)" configurable?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

[imx8mp]How could I make the kernel config of "Fully Preemptible Kernel (RT)" configurable?

1,516件の閲覧回数
curly_sun
Contributor I

Hi there,

forgive my poor English.

 

=====Here is the situation=====

I'm using the imx8mp-lpddr4-evk board and Yocto 4.0 kirkstone for some work.

Basicly,  I'm working with the imx-image-full recipe and there is linux-imx recipe in there.

When I check the linux kernel config with "$ bitbake linux-imx -c menuconfig", I found that there is no "Preemption Model -> Fully Preemptible Kernel (RT)" option to select.

 

====Here is my questions=====

Did I use the wrong image recipe or linux recipe? I saw some posts there, they used recipe like imx8mpevk-real-time-edge. But I can't find it in my Yocot Project.

Should I use some patches? I also saw some posts there, they used some patches which I even didn't know where to get them.

Are there some documents to tell you how to do it? Or some posts. I checked some documents from NXP(not all), but nothing found. Did I miss something important?

 

Thanks for your help.

0 件の賞賛
返信
4 返答(返信)

1,495件の閲覧回数
khang_letruong
Senior Contributor III

Hi @curly_sun ,

When I check the linux kernel config with "$ bitbake linux-imx -c menuconfig", I found that there is no "Preemption Model -> Fully Preemptible Kernel (RT)" option to select.

> It is because the feature has some dependency. When you are in the menuconfig, you could hit the / key and enter the keyword PREEMPT_RT for example to see its dependency list.

Suppose that you expect to use the iMX8MP for some realtime task, you could take a look at here : https://www.nxp.com/design/software/development-software/real-time-edge-software:REALTIME-EDGE-SOFTW...

And the relevant Yocto project: https://github.com/nxp-real-time-edge-sw/yocto-real-time-edge

Also, associated kernel's defconfig of above Yocto project could be found here : https://github.com/nxp-real-time-edge-sw/real-time-edge-linux/blob/linux_5.10.y/arch/arm64/configs/i...

Regards,
Khang

0 件の賞賛
返信

1,479件の閲覧回数
curly_sun
Contributor I

Hi @khang_letruong 

Thanks for your help and so many useful informations!

These informations of nxp-real-time-edge-sw/yocto-real-time-edge you just tell me is exactly what I needed.

I will start with the documents about Real-Time Edge and try those new things for me in my works.

Thanks again!

0 件の賞賛
返信

1,467件の閲覧回数
khang_letruong
Senior Contributor III

Hi @curly_sun ,

Hope that the Real-Time Edge resolves your issue.

Regards,
Khang

0 件の賞賛
返信

1,491件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Good!

0 件の賞賛
返信