Re: [Etherlab-users] Cross compile the master fo ARM

2021-08-03 Thread Fontana Nicola
Il giorno mar, 03/08/2021 alle 12.57 +, Michael Graichen ha scritto: > 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

[Etherlab-users] Cross compile the master fo ARM

2021-08-03 Thread Michael Graichen
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

Re: [Etherlab-users] Configuring EL7047 stepper driver

2021-08-03 Thread Gavin Lambert
On 3 August 2021 6:07 pm, quoth Fontana Nicola: > This, although a bit mind twisting, is functionally equivalent to the current > one, i.e. both `ecrt_slave_config_pdos` and `autoregister_pdos` are called > for all modules but the EK1100. You're correct of course; I guess my brain was skidding

Re: [Etherlab-users] Configuring EL7047 stepper driver

2021-08-03 Thread Fontana Nicola
Il giorno mar, 03/08/2021 alle 06.39 +, Gavin Lambert ha scritto: > ... > My point was that for more flexibility, > you could make a per-slave "process_image_t" rather than a global one -- > combined with actually using the offset/pointer for the first PDO in each SM, > you can make each

Re: [Etherlab-users] Configuring EL7047 stepper driver

2021-08-03 Thread Fontana Nicola
Il giorno lun, 02/08/2021 alle 23.37 +, Gavin Lambert ha scritto: > Yes, you're calling both now.  Previously you had the "else-if" structured > such that it wouldn't, though. That snippet is a git repository. The original code (commit 433715bdd304) is: if (layout->syncs != NULL &&