Welcome to Firefly
Switch language
Firefly Docsss
Last Updated: 2026-08-27 07:36:09

EtherCAT Rockchip Platform Support

Rockchip Platform Support

8.1 Supported Platforms

The following platforms are supported:

SoCReference kernelIgH masterRockchip real-time stmmacTSN extension
RK3588Linux 5.10SupportedSupportedSupported
RK3576Linux 6.1SupportedSupportedSupported
RK3568Linux 5.10SupportedSupportedNot supported
RK3506Linux 6.1SupportedSupportedNot supported

Whether a particular development board exposes a compatible GMAC, which PHY it uses, its device-tree configuration, and whether its SDK contains the required patches must still be confirmed for each product.

8.2 Rockchip Software Architecture

The Rockchip solution consists of four layers: the real-time kernel, master and drivers, user space, and the application. The relevant files are listed below:

PartFileFunction
Real-time kernelPREEMPT_RT kernelReduces scheduling and interrupt latency
IgH masterec_master.koEtherCAT master core
Platform network driverec_stmmac.koRockchip stmmac driver adapted for GMAC real-time communication
Dependency modulesphylink.ko, pcs-xpcs.koProvide PHY Link, PCS/XPCS, and other network interface support
User spaceethercat, libethercat.soDebugging tools and application API
ApplicationSDK demo or product applicationServo, I/O, and application control
Product application / ethercat tool


           libethercat.so


            ec_master.ko


            ec_stmmac.ko


 Rockchip GMAC / PHY → EtherCAT slaves

Compared with the generic ec_generic, ec_stmmac directly adapts the platform GMAC data path and is suitable for scenarios with stricter cycle and jitter requirements. The two drivers cannot occupy the same physical interface simultaneously.

8.3 SDK File Location

Source directory:

SDK/external/ethercat_igh

On this page