Jetson Tx2 with PREEMTP_RT patch & EtherCAT

Hello

I am trying to develop a mobile manipulator robot for research based on the Jetson Tx2.

The PREEMPT_RT patch was performed with reference to the following.
nvidia-jetson-rt/README.03-realtime.md at master · kozyilmaz/nvidia-jetson-rt · GitHub

In addition, I need to run the following commands in the grub environment.

the Kernel command-line in grub:
linux /boot/vmlinuz-4.19.0-16-rt-amd64 cpuidle.off=1
linux /boot/vmlinuz-4.19.0-16-rt-amd64 cpufreq.off=1
linux /boot/vmlinuz-4.19.0-16-rt-amd64 isolcpus=3

However, Jetson Tx2 is a uboot environment.

Q1. What should I do to perform the same function as the above command in the uboot environment?
Q2. Which CPU index is good for isolcpu?

I tried another way,
“CONFIG_CPU_IDLE is not set”, “CONFIG_CPU_FREQ is not set” was changed during kernel compilation.
As a result, failed start the nvpmodel

I think I found the answer to the first question myself!

A1.
linux /boot/vmlinuz-4.19.0-16-rt-amd64 cpuidle.off=1
→ echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state0/disable
→ cpu0 ~ cpu5 and state0 ~ state1

linux /boot/vmlinuz-4.19.0-16-rt-amd64 cpufreq.off=1
→ echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

linux /boot/vmlinuz-4.19.0-16-rt-amd64 isolcpus=3
→ sudo vi /boot/extlinux/extlinux.conf
→ edit isolcpus=1-2 change isolcpus=3

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Sorry for the late response, is this still an issue to support? Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.