kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: sanjay.ankur@gmail.com (Ankur Sinha)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Adding the cp210x module to the NAO kernel
Date: Thu, 16 Aug 2012 12:47:03 +1000	[thread overview]
Message-ID: <1345085223.2135.26.camel@ankur.pc> (raw)
In-Reply-To: <1345078371.2135.20.camel@ankur.pc>

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 

  reply	other threads:[~2012-08-16  2:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-15  6:24 Adding the cp210x module to the NAO kernel Ankur Sinha
2012-08-15 13:08 ` Mulyadi Santosa
2012-08-16  0:27   ` Ankur Sinha
2012-08-16  0:52   ` Ankur Sinha
2012-08-16  2:47     ` Ankur Sinha [this message]
2012-08-16  4:50       ` Mulyadi Santosa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1345085223.2135.26.camel@ankur.pc \
    --to=sanjay.ankur@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).