Tool/software: Linux
Hi,
Previously I was bringing up the mmc3 interface (for wifi module) in dra77x with kernel version 4.4 processor sdk linux automotive v5_00_00_01 and was successful in it.
On porting to v4.14, I find some trouble in bringing it up on applying the previous changes of device tree file here.
On inserting the driver the following messages comes up,
wlan: Loading MWLAN driver [ 48.754770] vendor=0x02DF device=0x9135 class="0" function=1 [ 48.755562] SDIO: max_segs=128 max_seg_size=65536 [ 48.755569] rx_work=1 cpu_num=2 [ 48.759056] wlan: Enable TX SG mode [ 48.759062] wlan: Enable RX SG mode [ 48.772731] Request firmware: mrvl/sduart8887_combo_a2.bin [ 49.911609] mmc2: Timeout waiting for hardware interrupt. [ 49.911616] mmc2: sdhci: ============ SDHCI REGISTER DUMP =========== [ 49.911624] mmc2: sdhci: Sys addr: 0xae0e0010 | Version: 0x00003302 [ 49.911631] mmc2: sdhci: Blk size: 0x00000100 | Blk cnt: 0x00000001 [ 49.911637] mmc2: sdhci: Argument: 0x92000100 | Trn mode: 0x00000003 [ 49.911643] mmc2: sdhci: Present: 0x01f00506 | Host ctl: 0x00000002 [ 49.911649] mmc2: sdhci: Power: 0x0000000f | Blk gap: 0x00000000 [ 49.911655] mmc2: sdhci: Wake-up: 0x00000000 | Clock: 0x00000c07 [ 49.911660] mmc2: sdhci: Timeout: 0x00000007 | Int stat: 0x00000000 [ 49.911666] mmc2: sdhci: Int enab: 0x027f010b | Sig enab: 0x027f010b [ 49.911672] mmc2: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000 [ 49.911677] mmc2: sdhci: Caps: 0x25e10080 | Caps_1: 0x00000f77 [ 49.911683] mmc2: sdhci: Cmd: 0x0000353a | Max curr: 0x00000000 [ 49.911688] mmc2: sdhci: Resp[0]: 0x00002000 | Resp[1]: 0x00000000 [ 49.911694] mmc2: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [ 49.911699] mmc2: sdhci: Host ctl2: 0x00000000 [ 49.911703] mmc2: sdhci: ============================================ [ 49.911803] cmd53 write error=-110 [ 49.911973] WLAN: FW download, write iomem (0) failed @ 0 [ 49.912263] wlan_dnld_fw fail ret=0xffffffff [ 49.912270] WLAN: Fail download FW with nowwait: 0 [ 49.915065] SDIO Func0 (0x0-0x9): 43 03 02 02 03 00 00 02 03 00 [ 49.917225] SDIO Func1 (0x10-0x17): 00 00 00 00 00 00 00 00 [ 49.920754] SDIO Func1: (0x8) 00 (0x58) 00 (0x5c) 0d (0x5d) 00 (0x60) 01 (0x61) 00 (0x62) 00 (0x64) 10 (0x65) 01 (0x66) 00 (0x68) 00 (0x69) 00 (0x6a) 00 [ 49.923840] SDIO Func1 (0x90-0x9a): 00 00 00 00 00 00 00 00 00 00 00 [ 50.026560] SDIO Func1 (0x90-0x9a): 00 00 00 00 00 00 00 00 00 00 00 [ 50.026626] woal_request_fw failed [ 50.026629] Firmware Init Failed [ 50.031862] woal_add_card failed [ 50.032403] wlan_sdio: probe of mmc2:0001:1 failed with error -1 [ 50.033512] wlan: Driver loaded successfully
What changes might be required in this version of kernel ?
I tried applying the exact changes from dra7.dtsi, dra76-evm.dts and dra76x-mmc-iodelay.dtsi from prev. version to the latest version, but still couldnt find any hope.
Regards,
Padmesh