* Compilation ath10k
@ 2014-03-19 17:27 Vu Hai NGUYEN
2014-03-20 5:54 ` Kalle Valo
0 siblings, 1 reply; 4+ messages in thread
From: Vu Hai NGUYEN @ 2014-03-19 17:27 UTC (permalink / raw)
To: ath10k
Hello guys,
I'm new to the driver ath10k. Is there any way to compile only the driver ath10k in the directory /ath / drivers / net / wireless / ath / ath10k ?
I was able to compile all the project by the command "make menuconfig" in the directory /ath but it appears a menu of configuration only. So I have to
config that menu in other to compile the driver ath10k? or I can compile separately the driver?
Thanks in advance for your response.
NGUYEN Vu Hai
Acita-Sodielec
Route de Mayres - B.P. 9
12100 St GEORGES DE LUZENCON
FRANCE
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compilation ath10k
2014-03-19 17:27 Compilation ath10k Vu Hai NGUYEN
@ 2014-03-20 5:54 ` Kalle Valo
2014-03-20 10:30 ` RE : " Vu Hai NGUYEN
0 siblings, 1 reply; 4+ messages in thread
From: Kalle Valo @ 2014-03-20 5:54 UTC (permalink / raw)
To: Vu Hai NGUYEN; +Cc: ath10k
Hi,
Vu Hai NGUYEN <vh.nguyen@actiasodielec.fr> writes:
> I'm new to the driver ath10k. Is there any way to compile only the
> driver ath10k in the directory /ath / drivers / net / wireless / ath /
> ath10k ? I was able to compile all the project by the command "make
> menuconfig" in the directory /ath but it appears a menu of
> configuration only. So I have to config that menu in other to compile
> the driver ath10k? or I can compile separately the driver?
I think this is a case of an XY problem. It's easier to help when you
describe the actual problem instead of the solution which you think will
help.
http://meta.stackoverflow.com/questions/66377/what-is-the-xy-problem
I'm guessing that your problem is that you want to run latest ath10k on
an older kernel like 3.5. For that backports is the best solution:
https://backports.wiki.kernel.org/index.php/Main_Page
If I guessed wrong, please describe why you want to compile the driver
separately.
--
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE : Compilation ath10k
2014-03-20 5:54 ` Kalle Valo
@ 2014-03-20 10:30 ` Vu Hai NGUYEN
2014-03-25 7:31 ` Kalle Valo
0 siblings, 1 reply; 4+ messages in thread
From: Vu Hai NGUYEN @ 2014-03-20 10:30 UTC (permalink / raw)
To: Kalle Valo; +Cc: ath10k
[-- Attachment #1: Type: text/plain, Size: 2422 bytes --]
Thak you Valo for your response, i'm doing an internship and my mission is replacing
the module wifi WLE350NX (used chipset of Atheros and satisfied the standard 802.11n) by the new one
WLE900VX to satisfy the standard 802.11ac for a router. Our actual driver is bought from Atheros (Driver Aquila)
and i have to replace that driver by ath10k. I tried to compile it from the menuconfig of our code but it has many errors (you can see from the attached file).
Then I try to compile in backport as you said, I was on the step 8 (http://wireless.kernel.org/en/users/Drivers/ath10k/backports) and get this error but I don't really understand it:
/--------------
| You shouldn't run make in the backports tree, but only in
| the generated output. This here is only the skeleton code
| copied into the output directory. To use the backport system
| from scratch, go into the top-level directory and run
| ./gentree.py /path/to/linux-next/ /tmp/output
| and then make menuconfig/... in the output directory. See
| ./gentree.py --help
| for more options.
\--
make[1]: *** [modules] Error 1
make: *** [default] Error
NGUYEN Vu Hai
Acita-Sodielec
Route de Mayres - B.P. 9
12100 St GEORGES DE LUZENCON
FRANCE
________________________________________
De : Kalle Valo [kvalo@qca.qualcomm.com]
Date d'envoi : jeudi 20 mars 2014 06:54
À : Vu Hai NGUYEN
Cc : ath10k
Objet : Re: Compilation ath10k
Hi,
Vu Hai NGUYEN <vh.nguyen@actiasodielec.fr> writes:
> I'm new to the driver ath10k. Is there any way to compile only the
> driver ath10k in the directory /ath / drivers / net / wireless / ath /
> ath10k ? I was able to compile all the project by the command "make
> menuconfig" in the directory /ath but it appears a menu of
> configuration only. So I have to config that menu in other to compile
> the driver ath10k? or I can compile separately the driver?
I think this is a case of an XY problem. It's easier to help when you
describe the actual problem instead of the solution which you think will
help.
http://meta.stackoverflow.com/questions/66377/what-is-the-xy-problem
I'm guessing that your problem is that you want to run latest ath10k on
an older kernel like 3.5. For that backports is the best solution:
https://backports.wiki.kernel.org/index.php/Main_Page
If I guessed wrong, please describe why you want to compile the driver
separately.
--
Kalle Valo
[-- Attachment #2: Screenshot from 2014-03-20 11:23:27.png --]
[-- Type: image/png, Size: 375475 bytes --]
[-- Attachment #3: Type: text/plain, Size: 146 bytes --]
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: RE : Compilation ath10k
2014-03-20 10:30 ` RE : " Vu Hai NGUYEN
@ 2014-03-25 7:31 ` Kalle Valo
0 siblings, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2014-03-25 7:31 UTC (permalink / raw)
To: Vu Hai NGUYEN; +Cc: ath10k
Vu Hai NGUYEN <vh.nguyen@actiasodielec.fr> writes:
> Thak you Valo for your response, i'm doing an internship and my mission is replacing
> the module wifi WLE350NX (used chipset of Atheros and satisfied the standard 802.11n) by the new one
> WLE900VX to satisfy the standard 802.11ac for a router. Our actual driver is bought from Atheros (Driver Aquila)
> and i have to replace that driver by ath10k. I tried to compile it from the menuconfig of our code but it has many errors (you can see from the attached file).
> Then I try to compile in backport as you said, I was on the step 8 (http://wireless.kernel.org/en/users/Drivers/ath10k/backports) and get this error but I don't really understand it:
> /--------------
> | You shouldn't run make in the backports tree, but only in
> | the generated output. This here is only the skeleton code
> | copied into the output directory. To use the backport system
> | from scratch, go into the top-level directory and run
> | ./gentree.py /path/to/linux-next/ /tmp/output
> | and then make menuconfig/... in the output directory. See
> | ./gentree.py --help
> | for more options.
> \--
> make[1]: *** [modules] Error 1
> make: *** [default] Error
Normal users should not run gentree.py, instead it's recommended to take
official backports releases. I noticed that the wiki page was a bit
confusing and I tried to improve it a bit:
Here are simple instructions how to install ath10k from a backports release:
----------------------------------------------------------------------
Download latest backports release and unpack it.
Run defconfig for ath10k:
make defconfig-ath10k
Compile backports:
make
Install backports:
sudo make install
Reboot system and ath10k should load automatically.
See backports documentation for more info.
----------------------------------------------------------------------
http://wireless.kernel.org/en/users/Drivers/ath10k/backports#ath10k_backports_releases
--
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-03-25 7:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-19 17:27 Compilation ath10k Vu Hai NGUYEN
2014-03-20 5:54 ` Kalle Valo
2014-03-20 10:30 ` RE : " Vu Hai NGUYEN
2014-03-25 7:31 ` Kalle Valo
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.