I downloaded the iwconfig project from hp. I can compile it in my CentOS using make, but I am thinking that is to run in CentOS.
What do I need to do so I can get the runtime code so I can copy to my MicroZed SD card to run in Petalinux?
I downloaded the iwconfig project from hp. I can compile it in my CentOS using make, but I am thinking that is to run in CentOS.
What do I need to do so I can get the runtime code so I can copy to my MicroZed SD card to run in Petalinux?
Hello hai.bi,
Is there a specific reason that you are using iwconifg? If not, you might want to consider switching over to iw instead:
https://wireless.wiki.kernel.org/en/users/documentation/iw
We use iw in the Getting Started Guide for our Wilink8 adapter board:
http://zedboard.org/sites/default/files/documentations/GSG-AES-PMOD-WILINK8-G-v1_6.pdf
This Xilinx discusses briefly this but you may find it easier to cross-compile with the Zynq toolchain that comes with SDK outside of PetaLinux:
http://forums.xilinx.com/t5/Embedded-Linux/How-to-add-wireless-tools-to-linux/td-p/440360
Regards,
-Kevin
Thanks Kevin for mentioning iw. I didn't use it because I didn't realize this replaced iwconfig. I will give it a try, but I am not familiar with the cross compile either.
I am working on CentOS host, and I looked at http://wiki.beyondlogic.org/index.php?title=Cross_Compiling_iw_wpa_supplicant_hostapd_rfkill_for_ARM for reference.
At first, I used arm-linux-gnueabi as --host param and the make/make install both worked for libnl, but the iw make failed. So I was thinking maybe I should use arm-Xilinx-linux-gnueabi
Then I changed libnl ./configure --host=arm-Xilinx-linux-gnueabi --prefix=/usr/arm-xilinx-linux-gnueabi, but the make install fail now. So what exact should I do to cross compile libnl and iw using CentOS? Is there anything I need to do to reverse make install first (which may not be using Xilinx compiler)?