[Etherlab-users] Cross compile the master fo ARM

Michael Graichen michael.graichen at hotmail.com
Tue Aug 3 14:57:22 CEST 2021


Hey, 

I've tried to cross-compile (ARM/i.MX7) the ec_master.ko and ec_generic.ko modules and copied that onto my device. 
I'm running Kernel 5.13.0-rt1 with the PREEMPT_RT patch.

After loading the module with insmod "insmod ec_master.ko main_devices=00:e0:4b:68:7f:cc" 
I can see the following messages in "dmesg"

[ 1497.798350] EtherCAT: Master driver 1.5.2 unknown
[ 1497.802642] EtherCAT: 0 masters waiting for devices.

that came from <source>/master/module.c => int __init ec_init_module(void)
I guess "int master_count" is set to zero by default but should be set to one instead.

Am i missing something? How is it set?

best regards & thanks
Michael



More information about the Etherlab-users mailing list