[etherlab-users] Etherlab Master on a Raspberry PI
Ben Yehuda, Raz
RBenYehuda at manz.com
Fri Mar 8 18:59:13 CET 2013
I used the raspberry as well. Please note that the BCM chip uses usb 2 lan as it does not have any real ethernet interface.
________________________________________
From: Mike O'Connor [mike at oeg.com.au]
Sent: Friday, March 08, 2013 10:01 AM
To: Raz
Cc: etherlab-users at etherlab.org
Subject: Re: [etherlab-users] Etherlab Master on a Raspberry PI
Hi Raz
After the comple of the kernel source (which took 13 hours) finished
building, I rebuild the etherlab master and now it the modules load. IE
ec_master and ec_generic.
I've just tested our ClockWork system on a EK1814 which worked correctly
using about 3% cpu load.
Cheers
Mike
On 8/03/13 5:42 PM, Raz wrote:
> can you insert ec_generic ?
>
> On Fri, Mar 8, 2013 at 12:01 AM, Mike O'Connor <mike at oeg.com.au
> <mailto:mike at oeg.com.au>> wrote:
>
> Hi Matt
>
> That's what I though also, but the modules seem ok.
>
>
> root at PITest:~# modinfo iptable_nat
> filename:
> /lib/modules/3.2.27+/kernel/net/ipv4/netfilter/iptable_nat.ko
> alias: � � � � �ip_nat
> license: � � � �GPL
> srcversion: � � 3A3DD184C3F85CF4FFF9C46
> depends: � � �
> �x_tables,ip_tables,nf_conntrack_ipv4,nf_nat,nf_conntrack
> intree: � � � � Y
> vermagic: � � � 3.2.27+ preempt mod_unload modversions ARMv6
>
>
> root at PITest:~# modinfo ec_master
> filename: � � � /lib/modules/3.2.27+/ethercat/master/ec_master.ko
> version: � � � �devel af21f0bdc7c9
> license: � � � �GPL
> description: � �EtherCAT master driver module
> author: � � � � Florian Pose <fp at igh-essen.com
> <mailto:fp at igh-essen.com>>
> srcversion: � � 34E5E37DB8FEB442D2FC537
> depends:
> vermagic: � � � 3.2.27+ preempt mod_unload modversions ARMv6
> parm: � � � � � main_devices:MAC addresses of main devices (array
> of charp)
> parm: � � � � � backup_devices:MAC addresses of backup devices
> (array of
> charp)
> parm: � � � � � debug_level:Debug level (uint)
>
> Mike
>
> On 8/03/13 1:59 AM, Matthieu Bec wrote:
> > Hello Mike,
> >
> > This kind of message may show when your build and runtime
> versions mismatch.
> > Check vermagic from modinfo ec_master against uname -r ?
> >
> > Regards,
> > Matthieu
> >
> >
> > On 3/6/13 9:20 PM, Mike O'Connor wrote:
> >> 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
> >>
> >>
> >> _______________________________________________
> >> etherlab-users mailing list
> >> etherlab-users at etherlab.org <mailto:etherlab-users at etherlab.org>
> >> http://lists.etherlab.org/mailman/listinfo/etherlab-users
> >>
>
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org <mailto:etherlab-users at etherlab.org>
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>
>
>
>
> --
> https://sites.google.com/site/ironspeedlinux/
_______________________________________________
etherlab-users mailing list
etherlab-users at etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users
More information about the Etherlab-users
mailing list