Monday, July 21, 2008

The problem of Linux cross compiled drivers

I managed to get the cm15a driver to load on the ORC but I'm now getting the following:

Jul 20 14:10:14 (none) kernel: usbcore: registered new interface driver cm15a
Jul 20 14:11:20 (none) kernel: usb 1-2: new low speed USB device using ohci_hcd and address 2
Jul 20 14:11:20 (none) kernel: usb 1-2: configuration #1 chosen from 1 choice
Jul 20 14:11:20 (none) kernel: cm15a: probe of 1-2:1.0 failed with error -12
Jul 20 14:11:20 (none) kernel: usb 1-2: device_add(1-2:1.0) --> -12

Error -12 translates into 'Cannot allocate memory'. I'm not sure why it works on servers and desktop machine and not the embedded machine but I'm looking into it. I may have to recompile the entire kernel, busybox and various tools to test this out. Or I could spend $500 on the SDK for the embedded system (not likely). Oh well, more work to do, but this is not a bad thing. :-)

2008/07/22 - Dang just found this post is broken. I'm working on it ...


Post a Comment

<< Home