iMX6 WiFi on SDIO

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

iMX6 WiFi on SDIO

跳至解决方案
7,647 次查看
qlx-mcleod
Contributor II

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.

标签 (2)
标记 (3)
0 项奖励
回复
1 解答
3,391 次查看
qlx-mcleod
Contributor II

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

在原帖中查看解决方案

0 项奖励
回复
2 回复数
3,391 次查看
weidong_sun
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
3,392 次查看
qlx-mcleod
Contributor II

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

0 项奖励
回复