I am using a Toradex Verdin iMX8M Plus Quad 4GB Wi-Fi / BT IT V1.0D on a Toradex Verdin Development Board V1.1D and am looking to isolate one of the Cortex A53 processors from the kernel to be used for real time DSP.
I have been attempting to use the isolcpus kernel command line option, but as of yet I have been unable to determine where/how I set this parameter.
I am hoping someone will be able to give me some advice regarding this configuration, as well as any info on other methods of achieving the same outcome, should they be preferred.
I am using TorizonCore with PREEMPT_RT 5.7.0+build.17 verdin-imx8mp-07154614 ttymxc2
I have been able to achieve the outcome I was after using torizon core builder.
This article provided me with the information I was looking for.
I adjusted the tcbuild.yaml file to include my custom kernel arguments and built a custom image from that. After loading the custom image, I have confirmed the core I set has indeed been isolated.
No, I’m not trying to do this myself, but you should include at least the section where you added your custom kernel arguments to this for completeness. The next poor schmoe to stumble onto this will probably be a first timer and having that snippet in the thread can save them days of trying to find you or get someone else to explain it. I was only following this because it sounded like something that might come up for me in the future.
I definitely appreciate what you’re saying as, many times in the past I have been that first timer trying to figure something out.
This is exactly why I included the link to “Customizing Kernel Arguments in Torizon”, which I believe provides all the info someone would need to achieve the same thing I have (including where to add the custom kernel arguments).