Other Parts Discussed in Thread: TMDXEVM3358,
Tool/software: Linux
Since I am using the TMDXEVM3358 along with the WL1835modcom8b, and doing the complete build/install/integrate/verify WiFi functionality
thing for the first time. And also because I am posting this after trying a number of things first on my own end, this mail is long.
It first explains all that I tried and the problems I faced.
And then asks the questions that I need to have an answer to.
Please bear, and help.
All that was tried
Building and installation of Platform Linux SDK on EVM was done.
Setup.sh was run as per the links:
- http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_Installer
- http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_Setup_Script
Our expectation was that with the WL1835modcom8b inserted into the slot of EVM, and above setup.sh already carried out,
power up of the EVM should show us the "wlan0" interface in the "ifconfig" output.
That did not happen.
Then we figured out that the wlcore.ko, wlcore_sdio.ko and wl18xx.ko images in the directory structure under "board-support/...." were
more recent than those in the directory structure under "targetNFS/....". (We had opted for NFS in the setup.sh execution).
Therefore, we copied these .ko files from "board-support/...." to "targetNFS/.....".
This time around on power up we got to see the "wlan0" interface.
But then we couldn't figure out how to configure an AP/STA/mesh on this.
We did try a "wl" command for creation of "virtual wireless interface". It gave an error, based upon which we ran the hostapd daemon, using a .conf file "/etc/hostapd.conf".
However, even after this we could not succeed in creating a "virtual wireless interface".
After this we moved over to following the instructions of below two links, thinking that perhaps this might be the missing thing:
- http://processors.wiki.ti.com/index.php/WL18xx_Platform_Integration_Guide
- http://processors.wiki.ti.com/index.php/WL18xx_System_Build_Scripts
We first did Platform integration instructions and then picked up system build scripts.
Currently we are stuck in system build scripts.
The following step:
./build_wl18xx.sh update R8.7_SP2
fails with an error:
"Can't locate strict.pm in @INC (you may need to install the module strict)"
Queries part
Here are my queries:
- My main purpose being just getting to see the functionality of WiFi on an EVM with WL1835modcom8b module installed,
- Wasn't the build and install of Processor Linux SDK enough?
- Am I right to expect to see a wlan0 interface on power up of EVM if everything is right?
- Am I right to expect to be able to create a virtual interface over this wlan0 (I assume wlan0 is the PHY)?
- What will be the CLI commands/scripts that can be run to achieve the functionality of an AP/mesh/Adhoc operation/an STA?
- Was it at all required to go in for carrying out the steps mentioned in the following links. My understanding from documentation elsewhere is that one of these is required for integration of WL18xx on non-EVM platforms, and the other one is required in case I wish to use some other version of the WiLink drivers than those available in the Processor Linux SDK build? The links being:
- If yes:
- Then what is the correct order of execution of the instructions mentioned in these two links? First Integration and then build scripts or vice-versa?
- How do I overcome this problem of "you might need to install strict.pm" mentioned above?
Regards,
Neeraj Sallh