Does imx-6.1.55-2.2.0 support the bluetooth and wi-fi function(driver/firmware) in IW611 module?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Does imx-6.1.55-2.2.0 support the bluetooth and wi-fi function(driver/firmware) in IW611 module?

ソリューションへジャンプ
626件の閲覧回数
takeshi100
Contributor II

■ Question
Does imx-6.1.55-2.2.0 support the bluetooth and wi-fi function(driver/firmware) in IW611 module?

■background
bluetooth and wi-fi function didn't work.
I would like to check just to be sure because there is a possibility that it is not supported, as the article below.
https://community.nxp.com/t5/i-MX-Processors/Bluetooth-on-i-MX93-EVK/m-p/1732571?profile.language=ja

■supplement
・development environment:imx-6.1.55-2.2.0
---------------
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.55-2.2.0.xml
repo sync -j`nproc`
---------------
・SoC:imx8mm
https://www.nxp.jp/products/processors-and-microcontrollers/arm-processors/i-mx-applications-process...
・wifi/bt module:IW611
https://www.nxp.jp/products/wireless-connectivity/wi-fi-plus-bluetooth-plus-802-15-4/2-4-5ghz-dual-b...

ラベル(1)
0 件の賞賛
返信
1 解決策
609件の閲覧回数
Christine_Li
NXP TechSupport
NXP TechSupport

Hi, @takeshi100 

Yes,  imx-6.1.55-2.2.0 support the bluetooth and wi-fi function(driver/firmware) in IW611 module.

Are you using IW611 uSD module?

If you are using our NXP own I.MX8MM-EVK and IW611 uSD module and connect it through SDIO, please make sure you have changed the default dtb to imx8mm-evk-usd-wifi.dtb. Because on our own I.MX8MM-EVK, there is another default 88W8987 module. If you do not change dtb, it will load 88W8987 driver and FW in default.

And also, if you are using our own I.MX8MM-EVK, you can download our prebuilt image through here:i.MX 8M Mini EVK It is more convenient than building by yourself.

Best regards,

Christine.

元の投稿で解決策を見る

タグ(1)
0 件の賞賛
返信
9 返答(返信)
610件の閲覧回数
Christine_Li
NXP TechSupport
NXP TechSupport

Hi, @takeshi100 

Yes,  imx-6.1.55-2.2.0 support the bluetooth and wi-fi function(driver/firmware) in IW611 module.

Are you using IW611 uSD module?

If you are using our NXP own I.MX8MM-EVK and IW611 uSD module and connect it through SDIO, please make sure you have changed the default dtb to imx8mm-evk-usd-wifi.dtb. Because on our own I.MX8MM-EVK, there is another default 88W8987 module. If you do not change dtb, it will load 88W8987 driver and FW in default.

And also, if you are using our own I.MX8MM-EVK, you can download our prebuilt image through here:i.MX 8M Mini EVK It is more convenient than building by yourself.

Best regards,

Christine.

タグ(1)
0 件の賞賛
返信
606件の閲覧回数
takeshi100
Contributor II

Thank you for replying!!

I have another question.

"Firmware Init Failed" is happend, what could be the cause?

■dmesg

[ 68.575414] Bluetooth: hci0: FW Download Timeout.
[ 106.215891] audit: type=1334 audit(1677838659.548:10): prog-id=11 op=LOAD
[ 106.216164] audit: type=1334 audit(1677838659.548:11): prog-id=12 op=LOAD
[ 106.604233] audit: type=1006 audit(1677838659.936:12): pid=714 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[ 106.604259] audit: type=1300 audit(1677838659.936:12): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffee1feb00 a2=1 a3=0 items=0 ppid=1 pid=714 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
[ 106.604272] audit: type=1327 audit(1677838659.936:12): proctitle="(systemd)"
[ 106.635476] audit: type=1334 audit(1677838659.964:13): prog-id=13 op=LOAD
[ 106.635960] audit: type=1300 audit(1677838659.964:13): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffca6afa98 a2=90 a3=0 items=0 ppid=1 pid=714 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="systemd" exe="/lib/systemd/systemd" key=(null)
[ 106.635978] audit: type=1327 audit(1677838659.964:13): proctitle="(systemd)"
[ 106.635991] audit: type=1334 audit(1677838659.968:14): prog-id=13 op=UNLOAD
[ 106.636000] audit: type=1334 audit(1677838659.968:15): prog-id=14 op=LOAD
[ 133.471801] wlan: Loading MWLAN driver
[ 133.472782] wlan: Register to Bus Driver...
[ 133.479041] vendor=0x0471 device=0x0205 class=0 function=1
[ 133.479144] Attach moal handle ops, card interface type: 0x109
[ 133.479154] rps set to 0 from module param
[ 133.479918] SDIW612: init module param from usr cfg
[ 133.480001] card_type: SDIW612, config block: 0
[ 133.480013] cfg80211_wext=0xf
[ 133.480017] max_vir_bss=1
[ 133.480023] cal_data_cfg=none
[ 133.480027] ps_mode = 1
[ 133.480031] auto_ds = 1
[ 133.480039] host_mlme=enable
[ 133.480044] fw_name=nxp/sduart_nw61x_v1.bin.se
[ 133.480073] SDIO: max_segs=128 max_seg_size=65535
[ 133.480080] rx_work=1 cpu_num=4
[ 133.480088] Enable moal_recv_amsdu_packet
[ 133.480119] Attach mlan adapter operations.card_type is 0x109.
[ 133.480562] wlan: Enable TX SG mode
[ 133.480568] wlan: Enable RX SG mode
[ 133.483557] Request firmware: nxp/sduart_nw61x_v1.bin.se
[ 134.214562] Wlan: FW download over, firmwarelen=998324 downloaded 911924
[ 134.616808] WLAN FW is active
[ 134.616819] on_time is 134613435875
[ 134.617284] cmd53 read error=-84
[ 134.617311] wlan: cmd53 read regs failed: -1 port=0 retry=0
[ 134.617366] cmd53 read error=-84
[ 134.617386] wlan: cmd53 read regs failed: -1 port=0 retry=1
[ 134.617438] cmd53 read error=-84
[ 134.617459] wlan: cmd53 read regs failed: -1 port=0 retry=2
[ 134.617484] wlan: Fail to read mp_regs
[ 134.636564] cmd53 read error=-84
[ 134.636593] wlan: cmd53 read regs failed: -1 port=0 retry=0
[ 134.636648] cmd53 read error=-84
[ 134.636672] wlan: cmd53 read regs failed: -1 port=0 retry=1
[ 134.636725] cmd53 read error=-84
[ 134.636747] wlan: cmd53 read regs failed: -1 port=0 retry=2
[ 134.636774] wlan: Fail to read mp_regs
[ 139.743771] Timeout cmd id (139.740383) FUNC_INIT [0xa9], act = 0x0
[ 139.743809] a9
[ 139.743816] 00
[ 139.743822] 08
[ 139.743829] 00
[ 139.743836] 01
[ 139.743844] 00
[ 139.743851] 00
[ 139.743858] 00
[ 139.743867] 00
[ 139.743872] 00
[ 139.743879] 00
[ 139.743886] 00
[ 139.743893] 00
[ 139.743900] 00
[ 139.743907] 00
[ 139.743914] 00

[ 139.743928] BSS type = 0 BSS role= 0
[ 139.743935] ------------Dump info-----------
[ 139.743940] Commmand Timeout
[ 139.743947] pending command id: 0x242 ioctl_buf=0000000000000000
[ 139.743954] pending command id: 0x3 ioctl_buf=0000000000000000
[ 139.743958] No pending scan command
[ 139.743963] mlan_processing =0
[ 139.743969] main_lock_flag =0
[ 139.743976] main_process_cnt =3
[ 139.743982] delay_task_flag =0
[ 139.743989] mlan_rx_processing =0
[ 139.743994] rx_pkts_queued=0
[ 139.744002] more_task_flag = 0
[ 139.744009] num_cmd_timeout = 1
[ 139.744016] last_cmd_index = 1
[ 139.744024] last_cmd_id =
[ 139.744030] 0x0
[ 139.744038] 0xa9
[ 139.744045] 0x0
[ 139.744053] 0x0
[ 139.744060] 0x0
[ 139.744067] 0x0
[ 139.744074] 0x0
[ 139.744081] 0x0
[ 139.744089] 0x0
[ 139.744096] 0x0

[ 139.744108] last_cmd_act =
[ 139.744113] 0x0
[ 139.744120] 0x0
[ 139.744125] 0x0
[ 139.744130] 0x0
[ 139.744136] 0x0
[ 139.744141] 0x0
[ 139.744146] 0x0
[ 139.744151] 0x0
[ 139.744157] 0x0
[ 139.744162] 0x0

[ 139.744173] last_cmd_resp_index = 0
[ 139.744178] last_cmd_resp_id =
[ 139.744183] 0x0
[ 139.744188] 0x0
[ 139.744193] 0x0
[ 139.744199] 0x0
[ 139.744204] 0x0
[ 139.744209] 0x0
[ 139.744214] 0x0
[ 139.744219] 0x0
[ 139.744225] 0x0
[ 139.744230] 0x0

[ 139.744240] last_event_index = 0
[ 139.744246] last_event =
[ 139.744250] 0x0
[ 139.744256] 0x0
[ 139.744261] 0x0
[ 139.744266] 0x0
[ 139.744271] 0x0
[ 139.744277] 0x0
[ 139.744282] 0x0
[ 139.744287] 0x0
[ 139.744292] 0x0
[ 139.744298] 0x0

[ 139.744308] num_data_h2c_failure = 0
[ 139.744313] num_cmd_h2c_failure = 0
[ 139.744319] num_data_c2h_failure = 0
[ 139.744325] num_cmdevt_c2h_failure = 0
[ 139.744330] num_int_read_failure = 2
[ 139.744336] last_int_status = 0
[ 139.744341] num_alloc_buffer_failure = 0
[ 139.744347] num_pkt_dropped = 0
[ 139.744353] num_no_cmd_node = 0
[ 139.744358] num_event_deauth = 0
[ 139.744363] num_event_disassoc = 0
[ 139.744369] num_event_link_lost = 0
[ 139.744374] num_cmd_deauth = 0
[ 139.744380] num_cmd_assoc_success = 0
[ 139.744385] num_cmd_assoc_failure = 0
[ 139.744391] num_cons_assoc_failure = 0
[ 139.744396] cmd_resp_received=0
[ 139.744402] event_received=0
[ 139.744407] max_tx_buf_size=4096
[ 139.744413] tx_buf_size=2048
[ 139.744419] curr_tx_buf_size=2048
[ 139.744424] data_sent=1 cmd_sent=1
[ 139.744431] ps_mode=1 ps_state=0
[ 139.744437] wakeup_dev_req=0 wakeup_tries=0 wakeup_timeout=0
[ 139.744443] hs_configured=0 hs_activated=0
[ 139.744449] pps_uapsd_mode=0 sleep_pd=0
[ 139.744455] tx_lock_flag = 0
[ 139.744461] scan_processing = 0
[ 139.744466] scan_state = 0x0
[ 139.744472] bypass_pkt_count=0
[ 139.744477] mp_rd_bitmap=0x0 curr_rd_port=0x0
[ 139.744483] mp_wr_bitmap=0x0 curr_wr_port=0x0
[ 139.744489] mp_data_port_mask = 0xffffffff
[ 139.744495] last_recv_rd_bitmap=0x0 mp_invalid_update=0
[ 139.744502] last_recv_wr_bitmap=0x0 last_mp_index=0
[ 139.744509] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[ 139.744517] 0x00
[ 139.744522] 0x00
[ 139.744527] 0x00
[ 139.744533] 0x00
[ 139.744538] 0x00
[ 139.744543] 0x00
[ 139.744548] 0x00
[ 139.744555] 0x00
[ 139.744561] 0x00
[ 139.744566] 0x00
[ 139.744573] 0x00
[ 139.744579] 0x00
[ 139.744586] 0x00
[ 139.744591] 0x00
[ 139.744598] 0x00
[ 139.744604] 0x00

[ 139.744615] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[ 139.744622] 0x00
[ 139.744627] 0x00
[ 139.744635] 0x00
[ 139.744640] 0x00
[ 139.744647] 0x00
[ 139.744654] 0x00
[ 139.744662] 0x00
[ 139.744669] 0x00
[ 139.744676] 0x00
[ 139.744681] 0x00
[ 139.744687] 0x00
[ 139.744692] 0x00
[ 139.744700] 0x00
[ 139.744705] 0x00
[ 139.744713] 0x00
[ 139.744720] 0x00

[ 139.744732] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[ 139.744740] 0x00
[ 139.744744] 0x00
[ 139.744751] 0x00
[ 139.744756] 0x00
[ 139.744764] 0x00
[ 139.744771] 0x00
[ 139.744776] 0x00
[ 139.744782] 0x00
[ 139.744791] 0x00
[ 139.744796] 0x00
[ 139.744803] 0x00
[ 139.744810] 0x00
[ 139.744817] 0x00
[ 139.744824] 0x00
[ 139.744829] 0x00
[ 139.744836] 0x00

[ 139.744848] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[ 139.744856] 0x00
[ 139.744861] 0x00
[ 139.744868] 0x00
[ 139.744874] 0x00
[ 139.744881] 0x00
[ 139.744888] 0x00
[ 139.744893] 0x00
[ 139.744900] 0x00
[ 139.744908] 0x00
[ 139.744913] 0x00
[ 139.744918] 0x00
[ 139.744924] 0x00
[ 139.744929] 0x00
[ 139.744934] 0x00
[ 139.744940] 0x00
[ 139.744947] 0x00

[ 139.744962] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[ 139.744971] 0x00
[ 139.744978] 0x00
[ 139.744983] 0x00
[ 139.744990] 0x00
[ 139.744996] 0x00
[ 139.745002] 0x00
[ 139.745009] 0x00
[ 139.745014] 0x00
[ 139.745020] 0x00
[ 139.745027] 0x00
[ 139.745033] 0x00
[ 139.745038] 0x00
[ 139.745044] 0x00
[ 139.745051] 0x00
[ 139.745056] 0x00
[ 139.745063] 0x00

[ 139.745075] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[ 139.745082] 0x00
[ 139.745087] 0x00
[ 139.745094] 0x00
[ 139.745102] 0x00
[ 139.745109] 0x00
[ 139.745115] 0x00
[ 139.745121] 0x00
[ 139.745128] 0x00
[ 139.745135] 0x00
[ 139.745141] 0x00
[ 139.745146] 0x00
[ 139.745151] 0x00
[ 139.745158] 0x00
[ 139.745166] 0x00
[ 139.745173] 0x00
[ 139.745180] 0x00

[ 139.745191] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[ 139.745200] 0x00
[ 139.745205] 0x00
[ 139.745211] 0x00
[ 139.745218] 0x00
[ 139.745226] 0x00
[ 139.745232] 0x00
[ 139.745239] 0x00
[ 139.745248] 0x00
[ 139.745253] 0x00
[ 139.745259] 0x00
[ 139.745266] 0x00
[ 139.745273] 0x00
[ 139.745280] 0x00
[ 139.745286] 0x00
[ 139.745293] 0x00
[ 139.745299] 0x00

[ 139.745311] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[ 139.745320] 0x00
[ 139.745325] 0x00
[ 139.745332] 0x00
[ 139.745340] 0x00
[ 139.745347] 0x00
[ 139.745354] 0x00
[ 139.745362] 0x00
[ 139.745369] 0x00
[ 139.745375] 0x00
[ 139.745380] 0x00
[ 139.745385] 0x00
[ 139.745393] 0x00
[ 139.745399] 0x00
[ 139.745406] 0x00
[ 139.745411] 0x00
[ 139.745419] 0x00

[ 139.745433] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[ 139.745442] 0x00
[ 139.745447] 0x00
[ 139.745452] 0x00
[ 139.745457] 0x00
[ 139.745463] 0x00
[ 139.745471] 0x00
[ 139.745478] 0x00
[ 139.745485] 0x00
[ 139.745491] 0x00
[ 139.745501] 0x00
[ 139.745506] 0x00
[ 139.745514] 0x00
[ 139.745521] 0x00
[ 139.745528] 0x00
[ 139.745535] 0x00
[ 139.745543] 0x00

[ 139.745557] mp_wr_bitmap: 0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0
[ 139.745566] 0x00
[ 139.745571] 0x00
[ 139.745576] 0x00
[ 139.745583] 0x00
[ 139.745590] 0x00
[ 139.745596] 0x00
[ 139.745601] 0x00
[ 139.745607] 0x00
[ 139.745614] 0x00
[ 139.745619] 0x00
[ 139.745624] 0x00
[ 139.745630] 0x00
[ 139.745635] 0x00
[ 139.745643] 0x00
[ 139.745648] 0x00
[ 139.745653] 0x00

[ 139.745665] bss_index = 0, tx_pkts_queued = 0 tx_pause
[ 139.745671] -------- Dump info End---------
[ 139.746301] SDIO Func0 (0x0-0x9): 43 03 02 02 03 00 00 02 03 00
[ 139.746464] SDIO Func1 (0x10-0x17): 00 00 00 00 ff ff ff ff
[ 139.746721] SDIO Func1: (0x8) c3 (0x58) 00 (0x5c) 48 (0x5d) 00 (0x60) 87 (0x61) 0c (0x62) 00 (0x64) 10 (0x65) 00 (0x66) 00 (0x68) 00 (0x69) 00 (0x6a) 00
[ 139.747173] SDIO Func1 (0xe8-0xff): dc fe 65 00 02 00 3d 00 24 14 70 c8 ab 12 80 00 00 00 00 00 01 00 00 00
[ 139.849321] SDIO Func1 (0xe8-0xff): dc fe 32 00 0c 00 3d 00 24 14 70 c8 ab 12 80 00 00 00 00 00 01 00 00 00
[ 139.849471] woal_request_fw failed
[ 139.849476] Firmware Init Failed
[ 139.852035] Free module params
[ 139.852051] woal_add_card failed
[ 139.852126] wlan_sdio: probe of mmc1:0001:1 failed with error -1
[ 139.852318] wlan: Register to Bus Driver Done
[ 139.852324] wlan: Driver loaded successfully
root@imx8mm-lpddr4-evk:~#

0 件の賞賛
返信
575件の閲覧回数
Christine_Li
NXP TechSupport
NXP TechSupport

Hi, @takeshi100 

Thanks for your feedback and shared us dmesg logs.

From your given logs, I see "cmd53 read error=-84" , this error usually related to SDIO communication.

I suspect the SDIO on your side doesn't work well.

And also if I am correct you are using our I.MX8MM-lpddr4-evk, so can you let me know you are using IW611-EVK or module? which partner's module? Can you let me know the module's name and model?

Are you using M.2 interface or Micro-SD(SDIO) interface?

Besides, please also provide me your full dmesg log so that I check what the SDIO card is detected to.

Best regards,

Christine.

タグ(1)
0 件の賞賛
返信
565件の閲覧回数
takeshi100
Contributor II

And also if I am correct you are using our I.MX8MM-lpddr4-evk, so can you let me know you are using IW611-EVK or module?
> I use moudule. And, I don't use imx8mm evk board, use custom board. I develop in an imx8mm-evk based environment.

which partner's module? Can you let me know the module's name and model?
> murata, LBEE5PL2DL

Are you using M.2 interface or Micro-SD(SDIO) interface?
> module have M.2 interface. but it convert to sdio interface and connect imx8mm.

0 件の賞賛
返信
514件の閲覧回数
Christine_Li
NXP TechSupport
NXP TechSupport

Hi, @takeshi100 

When you are using M.2, it converts to sdio interface to connect to 8MM.

So which usdhc interface are you using? usdhc1 or usdhc2?

Can you please provide me your dts file to check?

You can refer to our i.mx8mm-evk.usd-wifi.dts to modify your dts file.

Attach our imx8mm-evk-usd-wifi.dts file for your reference.

And also, please confirm the voltage for your module, it is 1.8v suggested.

 

Best regards,

Christine.

タグ(1)
0 件の賞賛
返信
510件の閲覧回数
Christine_Li
NXP TechSupport
NXP TechSupport
 
タグ(1)
0 件の賞賛
返信
488件の閲覧回数
Christine_Li
NXP TechSupport
NXP TechSupport

Hi, @takeshi100 

Any updates on this issue?

Anything else I can do for you?

 

Best regards,

Christine.

タグ(1)
0 件の賞賛
返信
485件の閲覧回数
takeshi100
Contributor II

Thanks for a lot.

It seemed like the wiring on the custom board was bad.
For example, aerial wiring.

I plugged wifi/bt module directly into the SD slot on the imx8mm-evk board and it worked.

0 件の賞賛
返信
478件の閲覧回数
Christine_Li
NXP TechSupport
NXP TechSupport

Hi, @takeshi100 

Thanks for your feedback and your test.

Then I will close this case for now.

Please check the customer board, if need anything from our side, please feel free to create a new case to us. 

Have a nice day~

Best regards,

Christine.

タグ(1)