4 Replies Latest reply on Nov 3, 2016 10:28 AM by stefan.rousseau_1911211

    Trouble getting Murata Type ZP working on i.MX 6SoloLite EVK

    stefan.rousseau_1911211

      I am trying to evaluate a Murata Type ZP wireless module on a i.MX 6SoloLite EVK.

      I follow instructions in the Quick Start but when I enter the modprobe command, I get no response at all. I have no idea of how to start troubleshooting this.

       

      I did interrupt boot to enter:

      setenv fdt_file imx6sl-evk-btwifi.dtb

      saveenv

      boot

       

      Please let me know if you have any suggestions. - Thank you.

       

      Here is a log:

       

      imx6slevk login: root

      root@imx6slevk:~# modprobe bcmdhd firmware_path=/lib/firmware/bcm/ZP_BCM4339/fw_bcmdhd.bin nvram_path=/lib/firmware/bcm/ZP_BCM4339/bcmdhd.ZP.SDIO.cal dhd_msg_level=0x1

      root@imx6slevk:~# modprobe bcmdhd firmware_path=/lib/firmware/bcm/ZP_BCM4339/fw_bcmdhd.bin nvram_path=/lib/firmware/bcm/ZP_BCM4339/bcmdhd.ZP.SDIO.cal dhd_msg_level=0x1

      root@imx6slevk:~# printenv

      HZ=100

      SHELL=/bin/sh

      TERM=vt100

      HUSHLOGIN=FALSE

      USER=root

      PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin

      PWD=/home/root

      EDITOR=vi

      PS1=\u@\h:\w\$

      SHLVL=1

      HOME=/home/root

      LOGNAME=root

      _=/usr/bin/printenv

      root@imx6slevk:~# lsmod

      Module Size  Used by

      galcore 226477  2

      root@imx6slevk:~#

        • 1. Re: Trouble getting Murata Type ZP working on i.MX 6SoloLite EVK
          vens

          1) Have you gotten the Murata documentation that is listed here. If please get the same.

          2) Look at the kernel logs and  you should see some messages from the driver when the module is being loaded.

           

          OpenSource release of bcmdhd 141.88

           

          Murata Documentation

           

          Murata has good documentation on its modules. It would be useful to get this documentation if you are using Murata modules.   To get these documents you need to be registered. When you purchase the Murata modules (from Mouser) it comes with an activation code and this activation code enables access to these docs.

           

          Below are the titles of some of the docs:

          Murata Wi-Fi BT EVK for i.MX6 Quick Start Guide (Linux) 3.0

          Murata Wi-Fi BT EVK for i.MX6 Linux User Manual 3.0

          Murata Wi-Fi BT EVK for i.MX6 Hardware User Manual 1.0

          • 2. Re: Trouble getting Murata Type ZP working on i.MX 6SoloLite EVK
            mifo

            Per vens's note, register with My.Murata here: my Murata - Home

             

            They have very good documentation available.

             

            ghouse

            • 3. Re: Trouble getting Murata Type ZP working on i.MX 6SoloLite EVK
              stefan.rousseau_1911211

              Thank you for the links.  I do have these documents and I have followed the Quick Start guide for Linux and I believe I have the latest SD card image programmed.  It shows that I am running Linux version  4.1.15-2.0.0 from Sept 16, 2016.

               

              My problem remains that the modprobe command returns but gives no feedback or error code when you run it.  I also ran the suggested insmod command, but it cannot load the bcmdhd.ko file, because the "wireless" sub-directory does not exist inside the "net" directory.

               

              1) When I look at the startup log, I see:

                   reading imx6sl-evk-btwifi.dtb

              This indicates that the setenv commands did take effect.

               

              2)  Something is odd with the wifi initialization though:

              wifi_platform_get_mac_addr

              CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211)

              wl_create_event_handler(): thread:wl_event_handler:5e started

              CFG80211-ERROR) wl_event_handler : tsk Enter, tsk = 0xa850143c

              dhd_attach(): thread:dhd_watchdog_thread:5f started

              dhd_attach(): thread:dhd_dpc:60 started

              dhd_deferred_work_init: work queue initialized

              Dongle Host Driver, version 1.141.92 (r)

              Compiled in drivers/net/wireless/bcmdhd

              Register interface [wlan0]  MAC: 00:90:4c:11:22:33

              CFG80211-ERROR) wl_event_handler : was terminated

              wl_destroy_event_handler(): thread:wl_event_handler:5e terminated OK

               

              3) During init I see what could be regulator measurements that are not OK:

              anatop_regulator 20c8000.anatop:regulator-vddcore@140: Failed to read a valid default voltage selector.

              anatop_regulator: probe of 20c8000.anatop:regulator-vddcore@140 failed with error -22

              anatop_regulator 20c8000.anatop:regulator-vddsoc@140: Failed to read a valid default voltage selector.

              anatop_regulator: probe of 20c8000.anatop:regulator-vddsoc@140 failed with error -22

               

              4) I also see    

              EXT3-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (240)

              EXT2-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (244)

              EXT4-fs (mmcblk1p2): recovery complete

               

              5) And

              Populating dev cache

              tar: dev/disk/by-label/Bootx20imx6sl: Cannot stat: No such file or directory

              tar: Exiting with failure status due to previous errors

              udev-cache: update failed!

               

              I am not sure which of the above errors are critical for the Type ZP module's operation.

               

              Thank you.

              • 4. Re: Trouble getting Murata Type ZP working on i.MX 6SoloLite EVK
                stefan.rousseau_1911211

                The problem was that I was given the 4.1.15-2 image for the SD card.  The 3.14.52 version of the SD card image, which is the one described in the quick Start Guide version 3.0, does actually work.

                1 of 1 people found this helpful