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.

Linux/WL1831MOD: How to apply patches and set dts file for imx6 kernel

Part Number: WL1831MOD
Other Parts Discussed in Thread: WL1831

Tool/software: Linux

Hi,

          I am interfacing WL1831 wifi with imx6 kernel version 3.14.52.

Where I will get TI WL1831 patches for this kernel and where I have to do setting for dts and what should be config option in configuration file.

How to set interrupt pin in dts file for WL1831.

With Regards,

VIVEK TOL

  • Hi Vivek,

    Please note that we support linux kernels running on TI devices only. IMX6 devices are not TI products.
    Please refer to the corresponding vendor support team.

    Best Regards,
    Yordan
  • Dear Yordan,
    Thanks for your reply.

    I have download ti wl18xx patches from --
    git clone git://git.ti.com/wilink8-wlan/build-utilites.git

    I have seen many patches are available as per kernel version.

    Also some script files are provided.

    My doubt is that if I apply these patches to my kernel and then build the kernel then is it sufficient for me to up wifi and BT ?
    Or need I also run build_wl18xx.sh scripts ?

    Please guide.

    With Regards,
    VIVEK TOL
  • Hi,

    For your device (imx6) the kernel patches should be enough. Then you should build the kernel as per the guidelines in the imx6 sdk (I am not familiar with it).

    The build_wl18xx.xh scripts provide instructions to build for TI devices:
    make -j${PROCESSORS_NUMBER} zImage
    make -j${PROCESSORS_NUMBER} am335x-evm.dtb
    make -j${PROCESSORS_NUMBER} am335x-evm-wow.dtb
    make -j${PROCESSORS_NUMBER} am335x-bone.dtb
    make -j${PROCESSORS_NUMBER} am335x-boneblack.dtb
    make -j${PROCESSORS_NUMBER} am335x-boneblack-e14-wl1837.dtb
    make -j${PROCESSORS_NUMBER} am335x-boneblack-su-audio.dtb
    make -j${PROCESSORS_NUMBER} am335x-boneblack-wl1835.dtb
    make -j${PROCESSORS_NUMBER} modules

    Best Regards,
    Yordan
  • Dear Yordan,
    Thanks for your reply.

    I have applied TI WL18xx patches to my kernel version 3.14.52 manually.

    When I boot the linux os on my board. I cant get any wlan0 interface after typing iconfig or iwconfig.

    Is there any patches available which are doing changes in rootfile systems.

    Please guide.

    With Regards,
    VIVEK TOL
  • Is there any patches available which are doing changes in rootfile systems.


    Not that I know of. But you can create init scripts to start your wlan0 & configure it upon boot up.

    Best Regards,
    Yordan