How can I replace kernel of lx2160a based lsdk2004, need to use linux RT kernel

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

How can I replace kernel of lx2160a based lsdk2004, need to use linux RT kernel

ソリューションへジャンプ
1,851件の閲覧回数
156614400
Contributor III

How can I replace kernel of lx2160a based lsdk2004, need to use linux RT kernel

1 need to run NR_PHY soft in linux system, so need RT (real time) kernel,  where I can get the linux RT kernel??

2  How to Configure RT kernel ??  use kernel .config of lsdk2004 ?? 

Thanks!

0 件の賞賛
返信
1 解決策
1,833件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

In LSDK 20.04, a separate branch “linux-4.19-rt” of Linux kernel is used for PREEMP RT, and PREEMP_RT patches have been applied in this kernel branch.

Build Preempt RT Kernel Image in LSDK with the following command.
$ flex-builder -c linux:linux:LSDK-20.04-V4.19-RT

To get PREEMP_RT Kernel source code with the following command.

$ git clone https://source.codeaurora.org/external/qoriq/qoriq-components/linux.git

$ git checkout -b linux-4.19-rt  origin/linux-4.19-rt

 

Enable “ CONFIG_PREEMPT_RT_FULL=y” in the kernel:
-> General setup
   ->Preemption Model (Fully Preemptible Kernel (RT)) --->

      (X) Fully Preemptible Kernel (RT)

By default, RT feature is enabled in the defconfigs of the LSDK kernel RT branch.

CONFIG_PREEMPT=y
CONFIG_PREEMPT_RT_FULL=y

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,834件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

In LSDK 20.04, a separate branch “linux-4.19-rt” of Linux kernel is used for PREEMP RT, and PREEMP_RT patches have been applied in this kernel branch.

Build Preempt RT Kernel Image in LSDK with the following command.
$ flex-builder -c linux:linux:LSDK-20.04-V4.19-RT

To get PREEMP_RT Kernel source code with the following command.

$ git clone https://source.codeaurora.org/external/qoriq/qoriq-components/linux.git

$ git checkout -b linux-4.19-rt  origin/linux-4.19-rt

 

Enable “ CONFIG_PREEMPT_RT_FULL=y” in the kernel:
-> General setup
   ->Preemption Model (Fully Preemptible Kernel (RT)) --->

      (X) Fully Preemptible Kernel (RT)

By default, RT feature is enabled in the defconfigs of the LSDK kernel RT branch.

CONFIG_PREEMPT=y
CONFIG_PREEMPT_RT_FULL=y

0 件の賞賛
返信
1,826件の閲覧回数
156614400
Contributor III

very good, thanks

0 件の賞賛
返信