From mboxrd@z Thu Jan 1 00:00:00 1970 From: sanjay.ankur@gmail.com (Ankur Sinha) Date: Thu, 16 Aug 2012 12:47:03 +1000 Subject: Adding the cp210x module to the NAO kernel In-Reply-To: <1345078371.2135.20.camel@ankur.pc> References: <1345011887.4711.0.camel@ankur.pc> <1345078371.2135.20.camel@ankur.pc> Message-ID: <1345085223.2135.26.camel@ankur.pc> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 at 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 at ankur aldebaran-linux-aldebaran-68edb2f]$ pwd > /home/ankur/Documents/work/code/NAO/OS/aldebaran-linux-aldebaran-68edb2f > [ankur at 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 at 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 at kroah.com, 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 at ankur ~]# !chroot > chroot /run/media/ankur/OpenNao-system/ > bash: /dev/null: Permission denied > root at ankur [0] / $ modinfo /lib/modules/2.6.29.6-rt24-aldebaran-rt/kernel/drivers/usb/serial/ > ftdi_sio.ko usbserial.ko > root at 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 at kroah.com, 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 at 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/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120816/86f87d60/attachment.bin