[etherlab-users] Etherlab Master on a Raspberry PI

Mike O'Connor mike at oeg.com.au
Thu Mar 7 06:20:52 CET 2013


Hi All

I have a very small program I want to control, which does not need a lot
of performance, I was hoping to use a Raspberry PI (wifi for uplink and
lan for ethercat)

I've compiled everything and actual got very few warnings, but the
modules will not load.

root at PITest:/opt/latproc/scripts# modprobe ec_master
main_devices=b8:27:eb:f8:43:f2
ERROR: could not insert 'ec_master': Exec format error
root at PITest:/opt/latproc/scripts#

I've check that they are in the correct format by running 'file' on them
and things like depmod do not complain.

Building on the PI is hard because the source and headers are not
currently packaged so can not be installed via an apt command. And the
kernel is 3.2.27 which might also be a problem

I've tried both 1.5.2 and HEAD from the online code.

Any ideas on what I should look at next would be great.

Mike




More information about the etherlab-users mailing list