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: Are there any wireless tools for the Linux operating system?

Part Number: WL1831MOD

Hi,

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?

Thanks

BRs

Elsa Duan

  • Dears

    We need Linux Version is 4.9.37.

    Thanks

  • Hi ,

    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 :

    Thanks

    Saurabh

  • Hi Saurabh,

    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 missing
    Please 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?

     

  • Hi ,

    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.

    Thanks

    Saurabh

  • Hi Saurabh,

    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[1]: Entering directory '/home/xkm/project/wifi/wl8-build/build-utilites/src/openssl/tools'
    make[1]: Leaving directory '/home/xkm/project/wifi/wl8-build/build-utilites/src/openssl/tools'
    installing libcrypto.a
    installing libssl.a
    cp libcrypto.pc /home/xkm/project/wifi/wl8-build/fs/usr/local/ssl/lib/pkgconfig
    chmod 644 /home/xkm/project/wifi/wl8-build/fs/usr/local/ssl/lib/pkgconfig/libcrypto.pc
    cp libssl.pc /home/xkm/project/wifi/wl8-build/fs/usr/local/ssl/lib/pkgconfig
    chmod 644 /home/xkm/project/wifi/wl8-build/fs/usr/local/ssl/lib/pkgconfig/libssl.pc
    cp openssl.pc /home/xkm/project/wifi/wl8-build/fs/usr/local/ssl/lib/pkgconfig
    chmod 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 -c
    checking whether build environment is sane... yes
    checking for arm64-strip... no
    checking for strip... strip
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether make supports nested variables... (cached) yes
    checking for style of include used by make... GNU
    checking for arm64-gcc... aarch64-himix100-linux-gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... yes
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether aarch64-himix100-linux-gcc accepts -g... yes
    checking for aarch64-himix100-linux-gcc option to accept ISO C89... none needed
    checking whether aarch64-himix100-linux-gcc understands -c and -o together... yes
    checking dependency style of aarch64-himix100-linux-gcc... gcc3
    checking for arm64-ar... aarch64-himix100-linux-ar
    checking the archiver (aarch64-himix100-linux-ar) interface... ar
    checking for arm64-gcc... (cached) aarch64-himix100-linux-gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether aarch64-himix100-linux-gcc accepts -g... (cached) yes
    checking for aarch64-himix100-linux-gcc option to accept ISO C89... (cached) none needed
    checking whether aarch64-himix100-linux-gcc understands -c and -o together... (cached) yes
    checking dependency style of aarch64-himix100-linux-gcc... (cached) gcc3
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... Invalid configuration `arm64': machine `arm64' not recognized
    configure: error: /bin/sh build-aux/config.sub arm64 failed
    /bin/sh ./config.status --recheck
    running 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-recursion
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes

    Thanks

  • Hi ,

    We haven't used arm64 CC on  build utilities . Can't confirm if it will work or not

    Thanks

    Saurabh

  • Hi Saurabh,

    https://processors.wiki.ti.com/index.php/WL18xx_System_Build_Scripts#Step_3:_Download_the_source

    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.duan@arrow.com

    We have pending here for a long time, so urgent to solve this problem. Thanks a lot for your strong support.

    BRs

    Elsa Duan

  • Hi ,

    "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 .

    Thanks

    Saurabh