From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from optimeas.de ([78.46.18.2]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1ToDGD-0003Qn-4I for ptxdist@pengutronix.de; Thu, 27 Dec 2012 14:12:34 +0100 Received: from [192.168.178.22] (krlh-d9be63eb.pool.mediaWays.net [217.190.99.235]) by optimeas.de (Postfix) with ESMTPSA id 412F84207A56 for ; Thu, 27 Dec 2012 14:12:27 +0100 (CET) From: "Dr. Patrick Langfeld" Date: Thu, 27 Dec 2012 13:12:28 +0000 Content-Type: multipart/mixed; boundary="------=_MB0A8A28DE-EFEB-4FE5-A91A-F19A58BEF484" Message-Id: Mime-Version: 1.0 Subject: [ptxdist] Crosscompile a WIFI USB stick firmware with ptxdist Reply-To: ptxdist@pengutronix.de, "Dr. Patrick Langfeld" List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" --------=_MB0A8A28DE-EFEB-4FE5-A91A-F19A58BEF484 Content-Type: multipart/alternative; boundary="------=_MB312E195E-2AD6-49C9-A031-5CDC67E51BF6" --------=_MB312E195E-2AD6-49C9-A031-5CDC67E51BF6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; format=flowed; charset=utf-8 Hello everyone, I want to use an WIFI USB adapter D-Link DWA-160 with my ARM iMX53. My kernel is already configured with the wireless LAN components for=20 80211 and the driver in Lan USB network adapter using the CARL9170,=20 which is the correct one for the DWA-160. Now the hard part is to crosscompile the firmware carl9170-1.fw for the=20 USB network adapter. The sources can be found in a git repository https://github.com/chunkeey/carl9170fw.git and come with an autogen.sh script file, which I attached for you to=20 have a look at. Now I am wondering HOW TO PROCEED and implement the build process of=20 autogen.sh in ptxdist and which package type is appropriate. Is it a=20 ./ptx newpackage target or a src-cmake-prog as the autogen.sh makes use=20 of cmake. In the readme file is written, that to build the firmware one would need= =20 a SH-2 toolchain. Is this also true for cross-compilation? Do I really=20 need to build this toolchain first? Best regards Patrick --------=_MB312E195E-2AD6-49C9-A031-5CDC67E51BF6 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Hello everyone,
I want to use an WIFI USB adapter D-Link DWA-160 with my ARM iMX53.
 
My kernel is already configured with the wireless LAN components for= 80211 and the driver in L= an USB network adapter using the CARL9170, which is the correct one for = the DWA-160.
 
Now the hard part is to crosscompile the firmware carl= 9170-1.fw for the USB network adapter. The sources can be found in = a git repository
 
and come with an autogen.sh script file, which I attached for= you to have a look at.
 
Now I am wondering HOW TO PROCEED and implement the build proces= s of autogen.sh in ptxdist and which package type is appropriate. Is it = a ./ptx newpackage target or a src-cmake-prog as the autogen.sh makes= use of cmake.
In the readme file is written, that to build the firmware one= would need a SH-2 toolchain. Is this also true for cross-compilation? Do= I really need to build this toolchain first?
 
Best regards
 Patrick
 
 
 
 
 
 
 
--------=_MB312E195E-2AD6-49C9-A031-5CDC67E51BF6-- --------=_MB0A8A28DE-EFEB-4FE5-A91A-F19A58BEF484 Content-Disposition: attachment; filename=autogen.sh Content-Transfer-Encoding: base64 Content-Type: application/octet-stream; name=autogen.sh IyEvYmluL2Jhc2gKCnNldCAtZQoKY2FzZSAiJDEiIGluCgljb25maWcpCgkJZWNobyAiQ29uZmln dXJpbmcuLi4iCgkJcHVzaGQgY29uZmlnCgkJY21ha2UgLgoJCW1ha2UKCQlwb3BkCgkJY29uZmln L2NvbmYgS2NvbmZpZwoJCWNtYWtlIC4KCTs7CgoJY29tcGlsZSkKCQllY2hvICJDb21waWxlIHRp bWUuLi4iCgkJbWFrZQoJOzsKCglpbnN0YWxsKQoJCWlmIFsgISAtZSAuY29uZmlnIF07IHRoZW4K CQkJZXhpdCAxCgkJZmkKCgkJLiAuLy5jb25maWcKCQltYWtlCgoJCWVjaG8gLW4gIkluc3RhbGxp bmcgZmlybXdhcmUuLi4iCgkJaWYgWyAiJENPTkZJR19DQVJMOTE3MEZXX0JVSUxEX1RPT0xTIiA9 ICJ5IiBdICYmCgkJICAgWyAiJENPTkZJR19DQVJMOTE3MEZXX0JVSUxEX01JTklCT09UIiA9ICJ5 IiBdOyB0aGVuCgkJCWVjaG8gLW4gIkFwcGx5IG1pbmlib290Li4uIgoJCQl0b29scy9zcmMvbWlu aWJvb3QgYSBjYXJsZncvY2FybDkxNzAuZncgbWluaWZ3L21pbmlib290LmZ3CgkJZmkKCgkJc3Vk byBpbnN0YWxsIC1tIDY0NCBjYXJsZncvY2FybDkxNzAuZncgXAoJCQkvbGliL2Zpcm13YXJlL2Nh cmw5MTcwLSRDT05GSUdfQ0FSTDkxNzBGV19SRUxFQVNFX1ZFUlNJT04uZncKCQllY2hvICJkb25l LiIKCTs7CgoJKikKCQkkMCBjb25maWcKCQkkMCBjb21waWxlCgk7OwoKCmVzYWMK --------=_MB0A8A28DE-EFEB-4FE5-A91A-F19A58BEF484 Content-Disposition: attachment; filename=CMakeLists.txt Content-Transfer-Encoding: base64 Content-Type: text/plain; name=CMakeLists.txt; charset=iso-8859-1 Y21ha2VfbWluaW11bV9yZXF1aXJlZChWRVJTSU9OIDIuOC40KQoKcHJvamVjdChjYXJsOTE3MCkK CiNpZiB5b3UgZG9uJ3Qgd2FudCB0aGUgZnVsbCBjb21waWxlciBvdXRwdXQsIHJlbW92ZSB0aGUg Zm9sbG93aW5nIGxpbmUKI3NldChDTUFLRV9WRVJCT1NFX01BS0VGSUxFIE9OKQoKaW5jbHVkZSgi Y29uZmlnLmNtYWtlIikKCmFkZF9zdWJkaXJlY3RvcnkoY2FybGZ3KQoKaWYgKENPTkZJR19DQVJM OTE3MEZXX0JVSUxEX01JTklCT09UKQoJYWRkX3N1YmRpcmVjdG9yeShtaW5pZncpCmVuZGlmIChD T05GSUdfQ0FSTDkxNzBGV19CVUlMRF9NSU5JQk9PVCkKCmlmIChDT05GSUdfQ0FSTDkxNzBGV19C VUlMRF9UT09MUykKCWFkZF9zdWJkaXJlY3RvcnkodG9vbHMpCmVuZGlmIChDT05GSUdfQ0FSTDkx NzBGV19CVUlMRF9UT09MUykKCg== --------=_MB0A8A28DE-EFEB-4FE5-A91A-F19A58BEF484 Content-Disposition: attachment; filename=README Content-Transfer-Encoding: base64 Content-Type: application/octet-stream; name=README Q29tbXVuaXR5IEFSOTE3MCBMaW51eCBmaXJtd2FyZQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQoK VGhpcyBpcyB0aGUgZmlybXdhcmUgZm9yIHRoZSBBdGhlcm9zIGFyOTE3MCA4MDIuMTFuIGRldmlj ZXMuCgpUbyBidWlsZCB0aGUgZmlybXdhcmUgeW91IHdpbGwgbmVlZCBhbiBTSC0yIHRvb2xjaGFp bi4KWW91IGNhbiBidWlsZCB5b3VyIG93biB0b29sY2hhaW46CgptYWtlIC1DIHRvb2xjaGFpbgoK YnV0IGJlIGF3YXJlIHRoYXQgdGhpcyB3aWxsIHRha2Ugc29tZSB0aW1lIGFuZCByZXF1aXJlcwph Ym91dCAyLjQgR2lCIGRpc2sgc3BhY2UuCgpUaGUgcmVzdWx0aW5nIGZpcm13YXJlLCBjYXJsOTE3 MC5mdywgY2FuIGJlIHVzZWQgb25seQp3aXRoIHRoZSBjYXJsOTE3MCBMaW51eCBkcml2ZXIuCgpB ZnRlciBnZXR0aW5nIGEgdG9vbGNoYWluLCB5b3Ugd2lsbCBuZWVkIHRvIGdldCBtb3JlCnRvb2xz ICYgbGliczoKCiAqIGdjYyA0LjcrCgogKiBncGVyZiwgYmlzb24vZmxleAoKICogY21ha2UgMi44 LjQrCgphZnRlcndhcmRzLCBzaW1wbHkgZXhlY3V0ZToKCmF1dG9nZW4uc2gKCnRvIHN0YXJ0IHRo ZSBjb25maWd1cmF0aW9uIGFuZCBidWlsZCBwcm9jZXNzLgoKaWYgeW91IHdhbnQgdG8gImluc3Rh bGwiIHlvdXIgb3duIGZpcm13YXJlLCB5b3UgY2FuIGVpdGhlcgpkbyB0aGlzIG1hbnVhbGx5LCBv ciBieSBleGVjdXRpbmc6CiAKYXV0b2dlbi5zaCBpbnN0YWxsCgpUaGlzIHdpbGwgcGxhY2UgYSBj b3B5IHdpdGggdGhlIHJpZ2h0IGZpbGVuYW1lIFthZGRzIEFQSSByZXZdCmludG8gL2xpYi9maXJt d2FyZS9bdGhlIGRlZmF1bHQgcGF0aCBvbiBtb3N0IERpc3RyaWJ1dGlvbnNdLgoK --------=_MB0A8A28DE-EFEB-4FE5-A91A-F19A58BEF484 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --------=_MB0A8A28DE-EFEB-4FE5-A91A-F19A58BEF484--