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:27:26 +1000 [thread overview]
Message-ID: <1345076846.2135.15.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:
> Hi Ankur :)
Hi Mulyadi,
Thanks for your reply!
<snip>
>
> Just a quick test, what happen if you do:
> insmod -f /path/to/the/module.ko
> ?
I didn't try the -f switch. (The man page I have in Fedora doesn't even
mention it). Unfortunately, the robot is maintained by another
laboratory: we need to take permission and make an appointment to use
it. I'll try this the next time I have an appointment.
>
> IMHO, quite likely the message you saw happened since you compile the
> kernel module with different version of gcc and/or different gcc
> parameter, that somehow yield binary incompatibility.
Probably :/ . The manufacturers haven't mentioned what version of gcc
etc. they used. I used the one I had available:
> gcc-4.7.0-5.fc17.x86_64
>
> Another thought, what arch do you use when you compile that kernel
> module? AMD Geode too?
>
No. I compiled it on my system, which is an x86_64 using the ARCH
parameter to the make command:
make ARCH=i386 ... (I got this from here[1])
The system they provide (the Geode), along with their file system etc.
has no development tools at all, so I can't build the module there
(unless I first compile gcc etc from source, like LFS?). It seems to use
a live persistent USB (which has a data and system partition), although
none of the partitions are marked bootable. I'm guessing it has a
bootloader on-board, but again, no info on that either.
[1]
http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/ch05s04.html
-------------- 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/f24ce6ab/attachment.bin
next prev parent reply other threads:[~2012-08-16 0:27 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 [this message]
2012-08-16 0:52 ` Ankur Sinha
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=1345076846.2135.15.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).