On Thu, 2012-08-16 at 10:52 +1000, Ankur Sinha wrote: > Is there a way I can compile this module for the GEODE on another > system > (Cross compile?)? I also seem to have gotten the wrong kernel version > (rt24 vs rt31). I'll go find the correct kernel version from their > git[1] and retry. Hi folks, It seems I'm a little out of luck :/ I downloaded the correct version kernel source, and it appears to not contain the cp210x module at all: > [ankur@ankur aldebaran-linux-aldebaran-68edb2f]$ find . -name "*cp21*" -print > ./drivers/net/irda/mcp2120-sir.c > ./drivers/usb/serial/cp2101.o > ./drivers/usb/serial/.cp2101.o.cmd > ./drivers/usb/serial/cp2101.c > [ankur@ankur aldebaran-linux-aldebaran-68edb2f]$ pwd > /home/ankur/Documents/work/code/NAO/OS/aldebaran-linux-aldebaran-68edb2f > [ankur@ankur aldebaran-linux-aldebaran-68edb2f]$ How do I proceed? Can i take the module source from a newer kernel and build it with this one? Or will I have to just use a newer kernel tree altogether and replace the kernel they ship? On a positive note, I do seem to have built the other modules correctly (vermagic is same to the actual kernel modules now): > [ankur@ankur aldebaran-linux-aldebaran-68edb2f]$ modinfo drivers/usb/serial/usbserial.ko > filename: /home/ankur/Documents/work/code/NAO/OS/aldebaran-linux-aldebaran-68edb2f/drivers/usb/serial/usbserial.ko > license: GPL > description: USB Serial Driver core > author: Greg Kroah-Hartman, greg@xxxxxxxxx, http://www.kroah.com/linux/ > depends: > vermagic: 2.6.29.6-rt24-aldebaran-rt preempt mod_unload modversions > parm: debug:Debug enabled or not (bool) > It misses a "GEODE" at the end though. What does that imply? Actual kernel modules: > [root@ankur ~]# !chroot > chroot /run/media/ankur/OpenNao-system/ > bash: /dev/null: Permission denied > root@ankur [0] / $ modinfo /lib/modules/2.6.29.6-rt24-aldebaran-rt/kernel/drivers/usb/serial/ > ftdi_sio.ko usbserial.ko > root@ankur [0] / $ modinfo /lib/modules/2.6.29.6-rt24-aldebaran-rt/kernel/drivers/usb/serial/usbserial.ko > filename: /lib/modules/2.6.29.6-rt24-aldebaran-rt/kernel/drivers/usb/serial/usbserial.ko > license: GPL > description: USB Serial Driver core > author: Greg Kroah-Hartman, greg@xxxxxxxxx, http://www.kroah.com/linux/ > depends: > vermagic: 2.6.29.6-rt24-aldebaran-rt preempt mod_unload modversions GEODE > parm: debug:Debug enabled or not (bool) > root@ankur [0] / $ -- Thanks again, Warm regards, Ankur: "FranciscoD" Please only print if necessary. Looking to contribute to Fedora? Look here: https://fedoraproject.org/wiki/Fedora_Join_SIG http://fedoraproject.org/wiki/User:Ankursinha http://dodoincfedora.wordpress.com/
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies