Hi,
I'm trying to enable wifi in my imx6ull board. I'm using the Murata 1DX module(BT+WiFi).
As per Murata datasheet, I followed below commands to enable wifi,
stty rows 80 cols 132
export TERM=ansi
echo /lib/firmware/bcm/1DX_BCM4343W/fw_bcmdhd.bin > /sys/module/bcmdhd/parameters/firmware_path
echo /lib/firmware/bcm/1DX_BCM4343W/bcmdhd.1DX.SDIO.cal > /sys/module/bcmdhd/parameters/nvram_path
ifconfig wlan0 up ->for this below log is recieved,
Dongle Host Driver, version 1.141.92 (r)
Compiled in drivers/net/wireless/bcmdhd
wl_android_wifi_on in
mmc0: Error resetting SDIO communications (-110)
failed to power up wifi chip, retry again (4 left) **
mmc0: Error resetting SDIO communications (-110)
WLREG_ON pin is High.
How to resolve this issue?
Hi mathew_k_t
one can check if correct dts files are used:
imx6ull-14x14-evk-btwifi.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel
imx6ul-evk-btwifi.dtsi\dts\boot\arm\arch - linux-imx - i.MX Linux kernel
use linux wifi quick start guide from:
wireless.murata.com/eng/products/rf-modules-1/wi-fi-bluetooth-for-freescale-i-mx.html
In L4.9.88 kernel The CONFIG_BCM4339 performance optimization option is not
enabled by the default kernel, as mentioned in attached Release Notes p.19.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
The .dts files are correct except the wlreg_on GPIO.
I hope for bringing up wifi OOB patches are not required.
regulators {
wlreg_on: fixedregulator@100 {
compatible = "regulator-fixed";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-name = "wlreg_on";
gpio = <&gpio1 4 0>;
startup-delay-us = <100>;
enable-active-high;
};
};
bcmdhd_wlan_0: bcmdhd_wlan@0 {
compatible = "android,bcmdhd_wlan";
wlreg_on-supply = <&wlreg_on>;
};
};
&iomuxc {
imx6ul-evk-murata-v2 {
pinctrl_wifi: wifigrp {
fsl,pins = <
MX6UL_PAD_GPIO1_IO04__GPIO1_IO04 0x4001b0b0
>;
};
};
};
®_sd1_vmmc {
regulator-always-on;
};
&usdhc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_wifi>;
no-1-8-v;
non-removable;
cd-post;
pm-ignore-notify;
wifi-host; /* add hook for SD card detect mechanism for BCMDHD driver */
};
Can you find any errors in this configuration....?
Hi mathew_k_t
what bsp used in the case, could you try with L4.1.15 where Murata 1DX
is default wifi driver.
Best regards
igor