Re: Adding the cp210x module to the NAO kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@xxxxxxxxx>, Bill Ryder <bryder@xxxxxxx>, Kuba Ober <kuba@xxxxxxxxxxxxxxx>
> 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@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] 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/

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux