[coldfire-gnu-discuss] CodeSourcery sprite + usbdevfs
Maxim Kuvyrkov
maxim at codesourcery.com
Fri Oct 1 05:44:40 UTC 2010
On 9/29/10 6:03 PM, Matt Wilbur wrote:
> I'm trying to use the CodeSourcery G++ Lite with a Freescale
> MCF51CN128 tower kit. Right now, the m68k-elf-sprite segfaults,
> thought I'm note quite sure why. However, what I can say for sure is
> that it's obviously using the old usbdevfs to access the devices
> files. I see, with strace, that sprite doesn't find what it needs
> from the device that I know is for the OSBDM because the ioctl
> fails.
>
> I'll see if there's an option to support usbdevfs it in the 2.6.32
> kernel configuration, but is there a plan to phase this out?
The sprite uses libosbdmJM.so to communicate with the OSBDM probe, it
does not use USB interface directly. AFAIK, the OSBDM driver uses
libusb for low-level USB interface, so, possibly, this segfault is due
to mismatch between the kernel and libusb versions.
--
Maxim Kuvyrkov
CodeSourcery
maxim at codesourcery.com
(650) 331-3385 x724
More information about the coldfire-gnu-discuss
mailing list