Hello all,
I've been trying to add wpa-supplicant to Linux-BSP build for iMX28 (L2.6.35_1.1.0_130130_source.tar.gz). It doesn't show up in LTIB build configuration menu.
I've tried to build manually with following command.
./ltib -m prep -p wpa_supplicant
It gave an error in unzipping the wpa_supplicant package. When I checked the pacakges directory in /opt/freescale, the size of the file is 1044 bytes, which doesn't see correct.
Where can I find the right source for wpa-supplicant package for iMx28 Linux-BSP? Or do I need to port it from x86 base wpa_supplicant from below link ?
Linux WPA Supplicant (IEEE 802.1X, WPA, WPA2, RSN, IEEE 802.11i)
Regards
Solved! Go to Solution.
I think you can compile the source code for ARM directly by using 'make' command.
for example: extract the package in the <ltib>/rpm/BUILD/ folder.
then :
export ARCH=arm
export CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-
Then you can use "make" to compile the package directly.
An even easier way is to enable the package in LTIB:
Open the packages.lkc file found in the /ltib/config/platform/imx folder.
Line 159:
config PKG_WPA_SUPPLICANT
bool "wpa_supplicant"
depends on PLATFORM = "imx31_3stack" || PLATFORM = "imx35_3stack" || PLATFORM = "imx37_3stack" || PLATFORM = "imx51_3stack" || PLATFORM = "imx51"
help
wpa_supplicant is an implementation of the WPA Supplicant component,
i.e., the part that runs in the client stations. It implements WPA key
negotiation with a WPA Authenticator and EAP authentication with
Authentication Server. In addition, it controls the roaming and IEEE
802.11 authentication/association of the wlan driver
Add: " || PLATFORM = "imx28" " to line 162.
launch ltib and select wpa_supplicant package from package list.
I think you can compile the source code for ARM directly by using 'make' command.
for example: extract the package in the <ltib>/rpm/BUILD/ folder.
then :
export ARCH=arm
export CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-
Then you can use "make" to compile the package directly.
Another way to compile manually without 'exporting', just enter to the ltib shell (./ltib -m shell) and then type 'make'
Leo