WLAN with the onboard Marvell W8997-M1216

  • Hello,

    we have the mx8x on the starter kit. So far with the provided documentation, we didn't find out how to activate the WLAN module. Are some settings in uboot required?

    1. lspci -k 

    is empty and so is

    1. iw list

    Passing the country code to mwifiex doesn't help either, and the output of dmesg stays empty unless passing invalid option to mwifiex_pcie.

    We run the default setup on the board:

    1. $ uname -a
    2. Linux fsimx8x 4.14.98-F+S #1 SMP PREEMPT Fri Jul 10 11:25:37 UTC 2020 aarch64 GNU/Linux

    Any hints are appreciated, thanks!


    Fabian Nowak

  • Hello,

    could you post the output of the following command?

    1. dmesg | grep pcie

    My guess is that either the module does not get loaded or that the imx6q-pcie driver does not get a link up.

    Also, are there manually attached wires around the CPU chip and WLAN chip? Those are the hardware fixes regarding the WLAN / PCIe for the revision 1.00 of the efusMX8X and should be present.

    Your F&S support team

  • Thanks a lot for the quick reply. Here is the output:

    1. root@fsimx8x:~# dmesg |grep pcie
    2. [ 1.024953] imx6q-pcie 5f010000.pcie: 5f010000.pcie supply epdev_on not found, using dummy regulator
    3. [ 1.034088] OF: PCI: host bridge /pcie@0x5f010000 ranges:
    4. [ 1.039239] OF: PCI: No bus range found for /pcie@0x5f010000, using [bus 00-ff]
    5. [ 1.059945] imx6q-pcie 5f010000.pcie: pcie phy pll is locked.
    6. [ 1.270525] imx6q-pcie 5f010000.pcie: phy link never came up
    7. [ 1.275861] imx6q-pcie 5f010000.pcie: failed to initialize host
    8. [ 1.281755] imx6q-pcie 5f010000.pcie: unable to add pcie port.
    9. [ 1.287818] imx6q-pcie: probe of 5f010000.pcie failed with error -110
    10. root@fsimx8x:~#

    There are two additional wires on the module.

    I wonder whether there might be a DIP switch to disable PCIe in favor of WLAN or the like?

  • The communication with the WLAN chip runs over PCIe. The kernel module does not load because the initialization of the PCIe fails with the message "phy link never came up". Problems with the link is usually a hardware fault. Most likely a wire from the hardware fix loosened and came off or a contact does not fit.

    The best would be to send the board in via our RMA, so we can correct the hardware.


    Your F&S support team