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 Lan USB network adapter using the CARL9170, which is the correct one for the DWA-160.
 
Now the hard part is to crosscompile the firmware carl9170-1.fw for the 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 have a look at.
 
Now I am wondering HOW TO PROCEED and implement the build process 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