This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
WL1831MOD: Bluetooth interface not found under Linux 4.9
Part Number: WL1831MOD
1. TI Wireless Tools on ti.com runs on the Windows operating system. Are there any wireless tools for the Linux operating system?That is, how to search the nearby network on the Linux system, set the AP name and password according to different encryption methods, dynamically or statically assign ip methods, connect existing connections / disconnect wifi and other application operations through what application software ?2. Before these applications can be used, what configuration operations do we need to perform on the kernel to support the wifi function of the sdio interface and the Bluetooth function of the uart interface? No relevant documentation was found. Does it only need to configure the kernel to drive the wifi and Bluetooth functions of this chip? Do I need other drivers?
We need Linux Version is 4.9.37.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to user5707026:
TI wireless tools only runs on windows OS. Following link has details on how to run scripts to start AP role , Station role etc:
You may use in-tree wl8 kernel drivers for kernel 4.9.x . As for any SoC , your dts file should have right configurations . example of wl18xxMOD dts file :
In reply to Saurabh N:
I got an error message as following when using the "./build_wl18xx.sh init " command to download the source(the reference link is:https://processors.wiki.ti.com/index.php/WL18xx_System_Build_Scripts):
python-m2crypto is missingPlease use 'sudo apt-get install python-m2crypto'Do you want to install it now [y/n] ? (requires sudo) y ===>here still can't apt-get install this module successfully
So, how can I get the python-m2crypto module?
In reply to user6342559:
It is difficult to comment on it since Linux distributions can have different ways to install modules . This is out of scope of our driver support. Normally apt-get is sufficient to install such modules.
when setting CROSS_COMPILE to aarch64-himix100-linux- and ARCH to arm64 int the setup-env file, and then start to build using " ./build_wl18xx.sh" command, there is an error says "configure: error: /bin/sh build-aux/config.sub arm64 failed". Can we use arm64 to compile them? The following is the print out message:
making install in tools...make: Entering directory '/home/xkm/project/wifi/wl8-build/build-utilites/src/openssl/tools'make: Leaving directory '/home/xkm/project/wifi/wl8-build/build-utilites/src/openssl/tools'installing libcrypto.ainstalling libssl.acp libcrypto.pc /home/xkm/project/wifi/wl8-build/fs/usr/local/ssl/lib/pkgconfigchmod 644 /home/xkm/project/wifi/wl8-build/fs/usr/local/ssl/lib/pkgconfig/libcrypto.pccp libssl.pc /home/xkm/project/wifi/wl8-build/fs/usr/local/ssl/lib/pkgconfigchmod 644 /home/xkm/project/wifi/wl8-build/fs/usr/local/ssl/lib/pkgconfig/libssl.pccp openssl.pc /home/xkm/project/wifi/wl8-build/fs/usr/local/ssl/lib/pkgconfigchmod 644 /home/xkm/project/wifi/wl8-build/fs/usr/local/ssl/lib/pkgconfig/openssl.pc****** *******libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.libtoolize: copying file 'build-aux/ltmain.sh'libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.libtoolize: copying file 'm4/libtool.m4'libtoolize: copying file 'm4/ltoptions.m4'libtoolize: copying file 'm4/ltsugar.m4'libtoolize: copying file 'm4/ltversion.m4'libtoolize: copying file 'm4/lt~obsolete.m4'configure.ac:51: installing 'build-aux/compile'configure.ac:49: installing 'build-aux/missing'lib/Makefile.am: installing 'build-aux/depcomp'libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.libtoolize: copying file 'build-aux/ltmain.sh'libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.libtoolize: copying file 'm4/libtool.m4'libtoolize: copying file 'm4/ltoptions.m4'libtoolize: copying file 'm4/ltsugar.m4'libtoolize: copying file 'm4/ltversion.m4'libtoolize: copying file 'm4/lt~obsolete.m4'configure.ac:51: installing 'build-aux/compile'configure.ac:49: installing 'build-aux/missing'lib/Makefile.am: installing 'build-aux/depcomp'checking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for arm64-strip... nochecking for strip... stripchecking for a thread-safe mkdir -p... /usr/bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether make supports nested variables... yeschecking whether make supports nested variables... (cached) yeschecking for style of include used by make... GNUchecking for arm64-gcc... aarch64-himix100-linux-gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... yeschecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether aarch64-himix100-linux-gcc accepts -g... yeschecking for aarch64-himix100-linux-gcc option to accept ISO C89... none neededchecking whether aarch64-himix100-linux-gcc understands -c and -o together... yeschecking dependency style of aarch64-himix100-linux-gcc... gcc3checking for arm64-ar... aarch64-himix100-linux-archecking the archiver (aarch64-himix100-linux-ar) interface... archecking for arm64-gcc... (cached) aarch64-himix100-linux-gccchecking whether we are using the GNU C compiler... (cached) yeschecking whether aarch64-himix100-linux-gcc accepts -g... (cached) yeschecking for aarch64-himix100-linux-gcc option to accept ISO C89... (cached) none neededchecking whether aarch64-himix100-linux-gcc understands -c and -o together... (cached) yeschecking dependency style of aarch64-himix100-linux-gcc... (cached) gcc3checking build system type... x86_64-pc-linux-gnuchecking host system type... Invalid configuration `arm64': machine `arm64' not recognizedconfigure: error: /bin/sh build-aux/config.sub arm64 failed/bin/sh ./config.status --recheckrunning CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/home/xkm/project/huawei/wifi/wl8-build/fs --host=arm CC=aarch64-himix100-linux-gcc AR=aarch64-himix100-linux-ar host_alias=arm PKG_CONFIG_PATH=/home/xkm/project/huawei/wifi/wl8-build/fs/lib/pkgconfig --no-create --no-recursionchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yes
We haven't used arm64 CC on build utilities . Can't confirm if it will work or not
We suspect we did not download the whole code at Step 3. But my PC can not install the Linux system to download it. Can you kindly help download and send it to me via email? My email Address is Elsa.email@example.com
We have pending here for a long time, so urgent to solve this problem. Thanks a lot for your strong support.
"init" is one time process and will download all sources . It clones multiple repos on local machine . We are not able to zip the source and email .
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.