linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Using wireless-testing tree
@ 2009-11-21 16:45 Duy Nguyen
  2009-11-21 17:14 ` Larry Finger
  2009-11-22  4:16 ` Hin-Tak Leung
  0 siblings, 2 replies; 3+ messages in thread
From: Duy Nguyen @ 2009-11-21 16:45 UTC (permalink / raw)
  To: linux-wireless

Hi everyone, I downloaded and upgraded my kernel with wireless-testing
tree.  I have some questions.

1) I create my own git branch and modify only the mac80211 and
ath5k/ath9k.  How do I compile only these modules and test them
without having  to recompile and upgrade my whole kernel again.
Because of the repetitive nature of modifying and testing drivers, I
am trying to avoid this but is it possible?  Or compat-wireless is a
better alternative.

2) I have compat-wireless-2.6 tree in my wireless-testing tree.  I
still don't know how to create my own compat-wireless even after going
through the wiki online.
cd compat-wireless-2.6
make
but it complains about some errors.

I am just wondering if you could share your most efficient ways
working with wireless-testing tree.   Thanks.

Duy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using wireless-testing tree
  2009-11-21 16:45 Using wireless-testing tree Duy Nguyen
@ 2009-11-21 17:14 ` Larry Finger
  2009-11-22  4:16 ` Hin-Tak Leung
  1 sibling, 0 replies; 3+ messages in thread
From: Larry Finger @ 2009-11-21 17:14 UTC (permalink / raw)
  To: Duy Nguyen; +Cc: linux-wireless

On 11/21/2009 10:45 AM, Duy Nguyen wrote:
> Hi everyone, I downloaded and upgraded my kernel with wireless-testing
> tree.  I have some questions.
> 
> 1) I create my own git branch and modify only the mac80211 and
> ath5k/ath9k.  How do I compile only these modules and test them
> without having  to recompile and upgrade my whole kernel again.
> Because of the repetitive nature of modifying and testing drivers, I
> am trying to avoid this but is it possible?  Or compat-wireless is a
> better alternative.
> 
> 2) I have compat-wireless-2.6 tree in my wireless-testing tree.  I
> still don't know how to create my own compat-wireless even after going
> through the wiki online.
> cd compat-wireless-2.6
> make
> but it complains about some errors.
> 
> I am just wondering if you could share your most efficient ways
> working with wireless-testing tree.   Thanks.

I use the master branch of the wireless-testing git tree and introduce patches
from the mailing list and my own using quilt. That way patching and testing a
single driver usually entails only recompiling that driver and a 'sudo make
modules_install'. Furthermore, it is easy to back out the patches.

I also use wiggle to help with patches that do not apply cleanly, but needing it
is rare.

If you use the latest pull of wireless-testing, then compat-wireless is not
needed as you always have the latest from w-t.

Larry

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using wireless-testing tree
  2009-11-21 16:45 Using wireless-testing tree Duy Nguyen
  2009-11-21 17:14 ` Larry Finger
@ 2009-11-22  4:16 ` Hin-Tak Leung
  1 sibling, 0 replies; 3+ messages in thread
From: Hin-Tak Leung @ 2009-11-22  4:16 UTC (permalink / raw)
  To: Duy Nguyen; +Cc: linux-wireless

On Sat, Nov 21, 2009 at 4:45 PM, Duy Nguyen <dnlove@gmail.com> wrote:

> 2) I have compat-wireless-2.6 tree in my wireless-testing tree.  I
> still don't know how to create my own compat-wireless even after going
> through the wiki online.
> cd compat-wireless-2.6
> make
> but it complains about some errors.

Updating compat-wireless is explained in one of the linuxwireless
pages: In a nutshell, do something like this: (substituting the
GIT_TREE value with your local wireless-testing checkout).

export GIT_TREE="/home/Hin-Tak/git-stuff/wireless-testing/"
./script/admin-refresh.sh

I don't know if using compat-wireless against wireless-testing kernel
works... (they should be identical). But I know it is convenient to
just build some drivers, so I hope it works.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-22  4:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-21 16:45 Using wireless-testing tree Duy Nguyen
2009-11-21 17:14 ` Larry Finger
2009-11-22  4:16 ` Hin-Tak Leung

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).