From: Jack Mitchell <ml@communistcode.co.uk>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Building ath9k on a Linux machine and installing on a different one. Both machines run Fedora 12 but with different kernel versions
Date: Tue, 30 Aug 2011 16:01:30 +0100 [thread overview]
Message-ID: <4E5CFB4A.5040307@communistcode.co.uk> (raw)
In-Reply-To: <5EFC33E018C9694BB56C6EF5F871F97C03FDFE@CAM-BLA-211.paconsulting.com>
Could you look in the Make file to see the install procedure?
Jack.
On 30/08/2011 15:20, Fabio Tignanelli wrote:
> Hi,
> Thanks for your reply.
>
> My problem is not the cross compilation as both the target device and the control pc have exactly the same Fedora distribution. The only difference is that the target device cannot hold the kernel source code because of the small disk space it has.
>
> As result I would like to install the drivers using simple procedure\commands like "insmod drivername.ko" as opposed to using the "make install" command in wireless-compat.
>
> Any idea?
>
> Fabio
>
>
> -----Original Message-----
> From: Mohammed Shafi [mailto:shafi.wireless at gmail.com]
> Sent: 24 August 2011 17:26
> To: Fabio Tignanelli
> Cc: ath9k-devel at lists.ath9k.org; Felix Fietkau; Adrian Chadd; Adrian Chadd
> Subject: Re: [ath9k-devel] Building ath9k on a Linux machine and installing on a different one. Both machines run Fedora 12 but with different kernel versions
>
> On Wed, Aug 24, 2011 at 6:44 PM, Fabio Tignanelli
> <Fabio.Tignanelli@paconsulting.com> wrote:
>> Hi,
>> I am trying to use compact-wireless to update the driver for an ath9K.
>>
>> The reason why I am emailing you is that, despite trying to follow all the
>> guidelines on How To Ask Questions the Smart Way, I have got nowhere ending
>> up in all sort of dead corners.
>>
>> Current Issue
>> I need to update the driver for an ath9k device connected to an embedded
>> device. The OS on the device is a Fedora 12 but very cut down version (e.g.
>> no source code, or compiler) for space reasons. It's a
>> 2.6.31.5-127.fc12.686.PAE
>>
>> I have a Fedora 12 (2.6.32.26-175.fc12.686.PAE) running on a laptop and I
>> compiled the latest version of the ath9k driver using compact-wireless (v
>> 3.1-rc1-1). I have done that using the following command seeing that the
>> kernel version installed on the laptop is different from the one installed
>> on the embedded device but it actually contains also the source for
>> 2.6.31.5-127.fc12.686.PAE:
>
> I have little idea about this, as I have not tried cross compiling
> ath9k and using it on some embedded device.
> i heard that we need tool chains etc.
> you might be interested in
> https://openwrt.org/
> does some one has more info?
>
>>> make KLIB="lib/modules/2.6.31.5-127.fc12.686.PAE
>> This has generated a number of .o and .ko files.
>>
>> Now I cannot copy wireless-compat on the embedded device and do ">make
>> install" because of space reasons and it seems that even this operation
>> requires the source code of the kernel and a compiler.
>>
>> Question
>> Ideally I would like to copy across the created .ko modules to the embedded
>> device from the Linux laptop and run "insmod" or "modprobe" to install the
>> new drivers from command prompt.
>>
>> Is this doable? If yes, which files I should copy across?
>>
>>
>> Using support from Linux Wireless.
>> Being new to the Linux world I must say I have found the support section
>> very hard going. I was expecting a common form to fill in with the problem
>> and a preconfigured list of subjects or a easy-to-search archive with
>> existing threads.
>>
>> I subscribed to the mailing list of ath9k, but I am not sure if the right
>> way to ask for support is emails to ath9k-devel at lists.ath9k.org or directly
>> to digested or undigested member's email addr (whatever digested means).
>>
>> I tried to configure xchat on my fedora12 with no luck (the server id and
>> the channel do not seem to be sufficient to configure the client).
>>
>> I searched the Internet at great lengths.
>>
>> Etc....
>>
>> Apologies if my email is not what you would expect to receive. But I have
>> run out of options to solve this problem. Any help would be much
>> appreciated.
>>
>> Thanks
>>
>> Fabio
>>
>>
>> P Please consider the environment before printing this e-mail
>>
>>
>>
>> _______________________________________________
>> ath9k-devel mailing list
>> ath9k-devel at lists.ath9k.org
>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>
>>
>
>
prev parent reply other threads:[~2011-08-30 15:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-24 13:14 [ath9k-devel] Building ath9k on a Linux machine and installing on a different one. Both machines run Fedora 12 but with different kernel versions Fabio Tignanelli
2011-08-24 16:26 ` Mohammed Shafi
2011-08-30 14:20 ` Fabio Tignanelli
2011-08-30 15:01 ` Jack Mitchell [this message]
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=4E5CFB4A.5040307@communistcode.co.uk \
--to=ml@communistcode.co.uk \
--cc=ath9k-devel@lists.ath9k.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.