iMX6 WiFi on SDIO

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
7,046件の閲覧回数
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 解決策
2,790件の閲覧回数
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 返答(返信)
2,790件の閲覧回数
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 件の賞賛
返信
2,791件の閲覧回数
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 件の賞賛
返信