Anders,

Am 15.12.2012 um 20:49 schrieb Anders Wallin:

>> make LDFLAGS="-ludev "
>> 
> 
> Testing on 12.04lts with 3.2.21-xenomai+ ( gcc 4.6.3 and ld 2.22)
> 
> "make LDFLAGS="-ludev " does add -ludev to the linking command, but the
> order of libraries seems to be wrong for me.
> I can get the usermode-pci branch to compile by modifying
> emc2-dev/src/rtapi/Submakefile on line 76 to
>    $(CXX) -rdynamic $(LDFLAGS) -o $@ $^ -ldl -ludev $(shell $(XENO_CONFIG)
> --ldflags)

thanks, will be integrated

> 
> 
>> known-to-work configs are: 5i20.ini and 5i25.ini
>> 
> 
> trying the 5i20 config with a 3x20 I get:
> 
> LINUXCNC - 2.5.1
> Machine configuration directory is
> '/home/anders/Desktop/emc2-dev/configs/hm2-servo'
> Machine configuration file is '5i20.ini'
> Starting LinuxCNC...
> hm2: loading Mesa HostMot2 driver version 0.15
> hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
> Device Node Path: /devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:04.0
> check_device_id
> PCI_ID: 10B5:9056 10B5:3427
> RTAPI_PCI: DeviceID: 10B5 9056 10B5 3427
> RTAPI_PCI: Calling driver probe function
> RTAPI_PCI: Enabling Device 0000:02:04.0
> Resource 0: 0xfe920000 0xfe9201ff 00040200
> Resource 1: 0xe100 0xe1ff 00040101
> Resource 2: 0xe000 0xe0ff 00040101
> Resource 3: 0xfe910000 0xfe91ffff 00040200
> Resource 4: (nil) (nil) 00000000
> Resource 5: (nil) (nil) 00000000
> hm2_pci: discovered 3x20-1.0M at 0000:02:04.0
> RTAPI_PCI: Map BAR 3
> Could not locate firmware "//lib/firmware/hm2/5i20/SVST8_4.BIT". (No such
> file or directory)
> hm2/hm2_3x20.0: firmware hm2/5i20/SVST8_4.BIT not found
> hm2/hm2_3x20.0: install the package containing the firmware.
> hm2_3x20.0: board fails HM2 registration
> 
> The 3x20 seems to be identified correctly - I hope that's a good sign!

oh, most definitely!

> 
> Does anyone know if the 5iXX configs and bit-files can be made to work on
> the 3x20 ? The FPGA is a 1M Spartan-3, which should be similar to some of
> the 5iXX cards(?).
> 
> also, the error-messages that follow seem to indicate I don't have the
> separate deb-package installed that contains the BIT-files for the mesa
> cards.
> Can the mesa firmware deb-package for 10.04lts/rtai be installed on
> 12.04lts/xenomai ?

Gut feeling: yes, but I cant tell

I tried to locate one to look at it. I failed to locate it anywhere on wiki, 
website, buildbot, repo or wherever this is. Fail.

Any pointers?

- Michael


> 
> Anders
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to