We have an iMX6 based development kit (iWave Q7), and LTIB bsp. Our SDIO WiFi is from CSR.
The problem we are having is that the OS does not seem to detect when a SDIO card is inserted. I would expect at least a line or two in dmesg, but there is nothing.
Solved! Go to Solution.
Thank you Weidong,
The problem turned out to be a default setting in u-boot for the device. The specific device is an iWave Q7 development board. To fix the issue, the following setting had to be added to the bootargs to disable the internal wifi card:
setenv bootargs_base console=ttymxc1,115200n8 wifi_active=off
-Rory
Hello, Rory,
I tested a wifi module based on BCM4330, configuration and log for you as a reference:
(1)Configurations in BSP
...
#define QCOREIN_WIFI_DET IMX_GPIO_NR(1, 4)
...
/*SD2 is for WIFI & BT and working at 4 bit mode*/
static const struct esdhc_platform_data mx6q_qcorein_sd2_data __initconst = {
.cd_gpio = QCOREIN_WIFI_DET,
.keep_power_at_suspend = 1,
.support_8bit = 0,
.delay_line = 0,
.cd_type = ESDHC_CD_CONTROLLER,
.runtime_pm = 1,
};
/* in board init function */
...
imx6q_add_sdhci_usdhc_imx(1, &mx6q_qcorein_sd2_data);
...
(2)linux booting logs
...
mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
mmc2: queuing unknown CIS tuple 0x80 (6 bytes)
mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
...
mmc2: new high speed SDIO card at address 0001
...
Regards,
Weidong
Thank you Weidong,
The problem turned out to be a default setting in u-boot for the device. The specific device is an iWave Q7 development board. To fix the issue, the following setting had to be added to the bootargs to disable the internal wifi card:
setenv bootargs_base console=ttymxc1,115200n8 wifi_active=off
-Rory