LLDP build with RT kernel

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

LLDP build with RT kernel

100 Views
ranga_yn
Contributor III

Hello NXP team,

i wanted to build the LLDP for LX2160 ARDB with RT kernel enabled - let me know the steps for the same.

 

Thanks.

R

0 Kudos
Reply
1 Reply

68 Views
yipingwang
NXP TechSupport
NXP TechSupport

I assume that you are using lf-5.15.71 release.

1. $ bitbake virtual/kernel -c patch -f

Go to Kernel source code folder build_lx2160ardb-rev2/tmp/work/lx2160ardb_rev2-fsl-linux/linux-qoriq/5.15.71+gitAUTOINC+95448dd0dc-r0/git, 

$ git checkout -b lf-5.15.71-rt-2.2.0 lf-5.15.71-rt-2.2.0

2. $ bitbake virtual/kernel -c configure

Go to Kernel build folder build_lx2160ardb-rev2/tmp/work/lx2160ardb_rev2-fsl-linux/linux-qoriq/5.15.71+gitAUTOINC+95448dd0dc-r0/build, run the following command

$ bitbake ARCH=arm64 menuconfig

Enable CONFIG_PREEMPT_RT

3. Rebuild Linux Kernel 

$ bitbake virtual/kernel

For LLDP 6.x Linux Kernel, RT Kernel branches are not created.

0 Kudos
Reply