Industrial Native Real-Time Linux OS Solution

Setup and Tuning Guide

ID Date Version Classification
634647 01/01/2021 1.0 Public
Document Table of Contents

EtherCAT Test

Note:For EtherCAT under Xenomai Linux, please double-check the “clockfreq” below.$ dmesg | grep tsc

[ 0.000000] tsc: Detected 2100.000 MHz processor[ 0.002890] tsc: Detected 2112.000 MHz TSC, current tsc:59868787892

If it shows offset between processor frequency and TSC frequency on your machine like the example, please edit “GRUB_​CMDLINE” in “/etc/default/grub” to add one more argument, “xenomai.clockfreq=[TSC Frequency]“, and then run “update-grub”, and reboot machine.

In this example, add “xenomai.clockfreq=2112000000" into kernel cmdline.

Then please refer to Section 3.4.4 for the introduction of EtherCAT test.