Skip to main content

Test Execution

Complete Build & Setup and wait 5 minutes for PTP convergence before proceeding.

1. Configure Peer MAC Addresses

Each device’s YAML config must point GenericL2Destination at the peer’s end0 MAC address — not its own. Get each device’s MAC:
Then update the config on each device:

2. Run the Test

Start mirror first, then reference: On the mirror device:
On the reference device (after mirror.sh has started):
Each script runs flow.sh end0 which applies taprio/XDP setup and pins NAPI/IRQ threads to CPU 6, sleeps 30 seconds, then launches the mirror or reference binary in the background.

3. Check Results

Log files:

4. Success Criterion

After the initial warm-up period, there must be zero new outliers:
  • OpcUaRttOutliers — must not increase after warm-up
  • OpcUaOnewayOutliers — must not increase after warm-up
The first 64 RTT outliers at test start are a known, structural XDP TX-ring warm-up artifact and are not a failure. Any outliers after this initial burst indicate a problem.

Known Issue — Exclusivity Flag Error

If you see the following error when running mirror.sh or ref.sh:
Resolution: Reboot the device. This occurs when the scripts are run again without rebooting between runs. Always reboot before re-running the test.

Build & Setup

Build, boot verification, postboot, PTP setup

Reference Files

postboot.sh, ptp.sh, and gPTP config full source

RTC Benchmarks IQ9

Platform benchmark results

RTC Testbench

Back to overview