CPU ISOLATION LS2088

cancel
Showing results for 
Search instead for 
Did you mean: 

CPU ISOLATION LS2088

266 Views
Contributor II

Hello NXP,

we want the ISOLATE the CPU  for LS2088   CPU -0 for kernel 1-7 for application.

we tried to set the BOOT parameter but its resetting when rebooted. could you let us know how to set the same . we are using SD board method for LSDK 18.09.

regards,

ranga

0 Kudos
3 Replies

37 Views
NXP TechSupport
NXP TechSupport

Hello Ranganatha YN,

Please add "isolcpus=1-7" in bootargs, then run "saveenv" to save bootargs in SD card.

The parameter "isolcpus" insures that Linux Kernel doesn't use these CPUs for scheduling its tasks - that prevents context switching of any application running on these cores.

Thanks,

Yiping

0 Kudos

37 Views
Contributor II

Hello Yiping,

we try to execute the same setps when we booted from SD:

=>isolcpu=1-7

=>saveenv

=> run bootcmd

Once the kernel boots cat /proc/cmdline   -is not displaying the isolCPU.  do we need to set the 

CONFIG_NO_HZ=y, NO_HZ_IDLE=y  or any parameter in kernel menu configs. 
Thanks,
Ranga
0 Kudos

37 Views
NXP TechSupport
NXP TechSupport

Hello Ranga, 

Please add  "isolcpus=1-7" in bootargs in u-boot , for example

=>setenv bootargs "console=ttyS0,115200 root=/dev/mmcblk1p4 rw rootwait earlycon=uart8250,mmio,0x21c050 isolcpus=1-7"

=>saveenv

Thanks,

Yiping

0 Kudos