Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Quick Start with iMX6 Ultralite EVK and Mass Market Modules

Quick Start with iMX6 Ultralite EVK and Mass Market Modules

Not applicable

Quick Start with iMX6 Ultralite EVK and Mass Market Modules

1) Download  L3.14.52_1.1.0-ga_images_MX6UL.tar.gz  from Freescale website using the link below.


2) L3.14.52_1.1.0-ga_images_MX6UL.tar.gz contains the file fsl-image-gui-x11-imx6ul.rootfs.sdcard.bz2

    Unzip this file using:   bzip2 -d fsl-image-gui-x11-imx6ul.rootfs.sdcard.bz2

    Write this to an SD card using

     sudo dd if=<fsl image name>.sdcard of=/dev/mmcblkX bs=1M && sync

3) Copy bcm_imx_<date>.tar.gz  to /home/root/ on the root partition of SD card. ( Note that this is attached to this post, scroll down  below to see the attachments)

4) Plugin in the SD card and power up  iMX.

5) Once iMX boots to the shell.

  # extract the archive

  cd /home/root && tar -zxvf bcm_imx_<date>.tar.gz

  #copy firmware, tools, etc

  cd /home/root/bcm_imx && ./install.sh  <CHIP>

6) Reboot iMX and stop it at u-boot prompt and set the fdt_file environment variable

  => setenv fdt_file imx6ul-14x14-evk-btwifi.dtb

  => saveenv

  => reset (causes platform to boot kernel)

7) Once the  iMX reboots and gets to the Linux shell, insert the bcmdhd kernel modules by

  executing the insmod script


   To use AP mode firmware use : /home/root/bcm_imx/scripts/insmod_dhd.sh -ap

😎 At this point you should be able to execute wl ver which shows the dhd and firmware version

9) Refer to the logs.txt in bcm_imx_<date>.tar.gz for the console outputs from insmod and wl ver

Not applicable

Using DHD in SoftAP mode


Load driver using : /home/root/bcm_imx/scripts/insmod_dhd.sh -ap

Use wl commands like below to configure in AP mode.

wl down

wl up

ifconfig wlan0 up

wl bss -C 1 up

wl -i wl0.1 bss down

wl -i wl0.1 wsec 4

wl -i wl0.1 wpa_auth 128

wl -i wl0.1 set_pmk 12345678

wl -i wl0.1 ssid vs-imx

Not applicable

You can list the contents of the root partition from u-boot using:

=> fatls mmcdev 1

  6037200   zimage

    34368   imx6ul-14x14-evk.dtb

    34364   imx6ul-14x14-evk-csi.dtb

    34807   imx6ul-14x14-evk-btwifi.dtb

4 file(s), 0 dir(s)


Not applicable

Here would be the demo image which uses the 4.1.15 kernel.


Not applicable

The image from Step 2) Contains firmware images too. So you can skip the rest of the steps and load using the firmware that is already in image. Below is an example of doing it for 4343W.




insmod $DHD firmware_path=$FW nvram_path=$NVRAM dhd_msg_level=0x1

After loading the module if you like to try out the WPA supplicant to connect to an AP you could use.

1) Overwrite the supplicant configuration with your AP settings. An example is

root@imx6ulevk:~# cat /etc/wpa_supplicant.conf









2) Restart supplicant

killall wpa_supplicant

sleep 1

wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf -D nl80211

Not applicable

Hi Sir,

Do you have any patch file for L4.1.15_2.0.0 BSP version ?