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 10:52:51 +1000	[thread overview]
Message-ID: <1345078371.2135.20.camel@ankur.pc> (raw)
In-Reply-To: <CAGdaadZxk+85o315HATRx_vyxwtLZBKqDD8ez4+GYFJ6pwJFUQ@mail.gmail.com>

On Wed, 2012-08-15 at 20:08 +0700, Mulyadi Santosa wrote:
> Another thought, what arch do you use when you compile that kernel
> module? AMD Geode too?


Hi Mulyadi,

I think this might be the issue. I chrooted into the usb and checked the
modinfos for the various modules:

The cp210x.ko module is what I've built, and the vermagic is completely
different compared to the other modules. 

> root at ankur [err 130] serial $ for i in `ls`; do modinfo "$i" | sed "/alias/ d"; echo ; done
> filename:       cp210x.ko
> license:        GPL
> version:        v0.09
> description:    Silicon Labs CP210x RS232 serial adaptor driver
> srcversion:     AABC22BCCBD49828BA2AE5A
> depends:
> vermagic:       2.6.33.9-rt31 SMP mod_unload 686 4KSTACKS
> parm:           debug:Enable verbose debugging messages (bool)
> 
> filename:       ftdi_sio.ko
> license:        GPL
> description:    USB FTDI Serial Converters Driver
> author:         Greg Kroah-Hartman <greg@kroah.com>, Bill Ryder <bryder@sgi.com>, Kuba Ober <kuba@mareimbrium.org>
> depends:        usbserial
> vermagic:       2.6.29.6-rt24-aldebaran-rt preempt mod_unload modversions GEODE
> parm:           debug:Debug enabled or not (bool)
> parm:           vendor:User specified vendor ID (default=0x0403) (ushort)
> parm:           product:User specified product ID (ushort)
> 
> filename:       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] serial $
> 

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.

[1] https://github.com/aldebaran/linux-aldebaran/tree/release-1.12/geode

-- 
Thanks, 
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/894a03e1/attachment.bin 

  parent reply	other threads:[~2012-08-16  0:52 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 [this message]
2012-08-16  2:47     ` Ankur Sinha
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=1345078371.2135.20.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).