root@imx6qsabresd:~# insmod wl12xx.ko root@imx6qsabresd:~# insmod wl12xx_sdio.ko [ 103.975062] add wake up source irq 103 [ 103.998955] wl1271: loaded [ 104.002694] wl1271: initialized root@imx6qsabresd:~# insmod wl12xx_sdio_test.ko root@imx6qsabresd:~# dmesg [ 93.888878] mmc0: starting CMD18 arg 000b9000 flags 000000b5 [ 93.888909] mmc0: blksz 512 blocks 104 flags 00000200 tsac 400 ms nsac 1000 [ 93.888932] mmc0: CMD12 arg 00000000 flags 0000049d [ 93.888991] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 93.889041] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 93.891363] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0000000a [ 93.891394] sdhci [sdhci_data_irq()]: mmc0: DMA base 0x4a000000, transferred 0x080000 bytes, next 0x4a080000 [ 93.891442] mmc0: req done (CMD18): 0: 00000900 00000000 00000000 00000000 [ 93.891464] mmc0: 53248 bytes transferred: 0 [ 93.891483] mmc0: (CMD12): 0: 00000000 00000000 00000000 00000000 [ 93.892624] mmc0: starting CMD18 arg 000b9068 flags 000000b5 [ 93.892650] mmc0: blksz 512 blocks 160 flags 00000200 tsac 400 ms nsac 1000 [ 93.892671] mmc0: CMD12 arg 00000000 flags 0000049d [ 93.892721] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 93.892766] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 93.894929] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0000000a [ 93.894955] sdhci [sdhci_data_irq()]: mmc0: DMA base 0x4a000000, transferred 0x080000 bytes, next 0x4a080000 [ 93.895001] mmc0: req done (CMD18): 0: 00000900 00000000 00000000 00000000 [ 93.895022] mmc0: 81920 bytes transferred: 0 [ 93.895041] mmc0: (CMD12): 0: 00000000 00000000 00000000 00000000 [ 93.896587] mmc0: starting CMD18 arg 000b9108 flags 000000b5 [ 93.896614] mmc0: blksz 512 blocks 184 flags 00000200 tsac 400 ms nsac 1000 [ 93.896634] mmc0: CMD12 arg 00000000 flags 0000049d [ 93.896682] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 93.896731] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 93.899127] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0000000a [ 93.899154] sdhci [sdhci_data_irq()]: mmc0: DMA base 0x4a000000, transferred 0x080000 bytes, next 0x4a080000 [ 93.899197] mmc0: req done (CMD18): 0: 00000900 00000000 00000000 00000000 [ 93.899219] mmc0: 94208 bytes transferred: 0 [ 93.899237] mmc0: (CMD12): 0: 00000000 00000000 00000000 00000000 [ 94.280733] mmc0: starting CMD25 arg 00346030 flags 000000b5 [ 94.280763] mmc0: blksz 512 blocks 16 flags 00000100 tsac 1600 ms nsac 4000 [ 94.280787] mmc0: CMD12 arg 00000000 flags 0000049d [ 94.280844] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 94.280891] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 94.281156] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000008 [ 94.281185] sdhci [sdhci_data_irq()]: mmc0: DMA base 0x4fb80000, transferred 0x080000 bytes, next 0x4fc00000 [ 94.285434] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000002 [ 94.285477] mmc0: req done (CMD25): 0: 00000900 00000000 00000000 00000000 [ 94.285499] mmc0: 8192 bytes transferred: 0 [ 94.285518] mmc0: (CMD12): 0: 00000000 00000000 00000000 00000000 [ 94.285564] mmc0: starting CMD13 arg 00010000 flags 00000195 [ 94.285624] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 94.285664] mmc0: req done (CMD13): 0: 00000900 00000000 00000000 00000000 [ 94.285917] mmc0: starting CMD25 arg 00346040 flags 000000b5 [ 94.285944] mmc0: blksz 512 blocks 8 flags 00000100 tsac 1600 ms nsac 4000 [ 94.285964] mmc0: CMD12 arg 00000000 flags 0000049d [ 94.286010] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 94.286054] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 94.286208] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000008 [ 94.286233] sdhci [sdhci_data_irq()]: mmc0: DMA base 0x4fb80000, transferred 0x080000 bytes, next 0x4fc00000 [ 94.287030] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000002 [ 94.287069] mmc0: req done (CMD25): 0: 00000900 00000000 00000000 00000000 [ 94.287088] mmc0: 4096 bytes transferred: 0 [ 94.287107] mmc0: (CMD12): 0: 00000000 00000000 00000000 00000000 [ 94.287149] mmc0: starting CMD13 arg 00010000 flags 00000195 [ 94.287202] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 94.287239] mmc0: req done (CMD13): 0: 00000900 00000000 00000000 00000000 [ 103.968665] mmc0: starting CMD18 arg 000bd000 flags 000000b5 [ 103.968694] mmc0: blksz 512 blocks 32 flags 00000200 tsac 400 ms nsac 1000 [ 103.968716] mmc0: CMD12 arg 00000000 flags 0000049d [ 103.968775] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 103.968824] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 103.972082] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0000000a [ 103.972114] sdhci [sdhci_data_irq()]: mmc0: DMA base 0x4a000000, transferred 0x080000 bytes, next 0x4a080000 [ 103.972163] mmc0: req done (CMD18): 0: 00000900 00000000 00000000 00000000 [ 103.972183] mmc0: 16384 bytes transferred: 0 [ 103.972205] mmc0: (CMD12): 0: 00000000 00000000 00000000 00000000 [ 103.973848] mmc1: starting CMD52 arg 80022000 flags 00000195 [ 103.973918] sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00000001 [ 103.973959] mmc1: req done (CMD52): 0: 00001000 00000000 00000000 00000000 [ 103.974013] mmc1: starting CMD52 arg 80022202 flags 00000195 [ 103.974076] sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00000001 [ 103.974112] mmc1: req done (CMD52): 0: 00001002 00000000 00000000 00000000 [ 103.974210] mmc1: starting CMD52 arg 80042000 flags 00000195 [ 103.974271] sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00000001 [ 103.974306] mmc1: req done (CMD52): 0: 00001000 00000000 00000000 00000000 [ 103.974346] mmc1: starting CMD52 arg 80042202 flags 00000195 [ 103.974400] sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00000001 [ 103.974433] mmc1: req done (CMD52): 0: 00001002 00000000 00000000 00000000 [ 103.975062] add wake up source irq 103 [ 103.981479] mmc0: starting CMD18 arg 003ab860 flags 000000b5 [ 103.981519] mmc0: blksz 512 blocks 8 flags 00000200 tsac 400 ms nsac 1000 [ 103.981553] mmc0: CMD12 arg 00000000 flags 0000049d [ 103.981616] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 103.981677] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 103.982410] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0000000a [ 103.982443] sdhci [sdhci_data_irq()]: mmc0: DMA base 0x4a000000, transferred 0x080000 bytes, next 0x4a080000 [ 103.982500] mmc0: req done (CMD18): 0: 00000900 00000000 00000000 00000000 [ 103.982523] mmc0: 4096 bytes transferred: 0 [ 103.982544] mmc0: (CMD12): 0: 00000000 00000000 00000000 00000000 [ 103.983485] mmc0: starting CMD18 arg 003c11f0 flags 000000b5 [ 103.983511] mmc0: blksz 512 blocks 8 flags 00000200 tsac 400 ms nsac 1000 [ 103.983535] mmc0: CMD12 arg 00000000 flags 0000049d [ 103.983604] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 103.983654] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 103.984332] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0000000a [ 103.984360] sdhci [sdhci_data_irq()]: mmc0: DMA base 0x4a000000, transferred 0x080000 bytes, next 0x4a080000 [ 103.984403] mmc0: req done (CMD18): 0: 00000900 00000000 00000000 00000000 [ 103.984423] mmc0: 4096 bytes transferred: 0 [ 103.984442] mmc0: (CMD12): 0: 00000000 00000000 00000000 00000000 [ 103.984976] mmc0: starting CMD18 arg 003bb1f8 flags 000000b5 [ 103.985015] mmc0: blksz 512 blocks 8 flags 00000200 tsac 400 ms nsac 1000 [ 103.985044] mmc0: CMD12 arg 00000000 flags 0000049d [ 103.985104] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 103.985164] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 103.985829] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0000000a [ 103.985856] sdhci [sdhci_data_irq()]: mmc0: DMA base 0x4a000000, transferred 0x080000 bytes, next 0x4a080000 [ 103.985897] mmc0: req done (CMD18): 0: 00000900 00000000 00000000 00000000 [ 103.985916] mmc0: 4096 bytes transferred: 0 [ 103.985936] mmc0: (CMD12): 0: 00000000 00000000 00000000 00000000 [ 103.987020] mmc0: starting CMD18 arg 003be480 flags 000000b5 [ 103.987048] mmc0: blksz 512 blocks 8 flags 00000200 tsac 400 ms nsac 1000 [ 103.987074] mmc0: CMD12 arg 00000000 flags 0000049d [ 103.987128] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 103.987177] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 103.987845] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0000000a [ 103.987874] sdhci [sdhci_data_irq()]: mmc0: DMA base 0x4a000000, transferred 0x080000 bytes, next 0x4a080000 [ 103.987917] mmc0: req done (CMD18): 0: 00000900 00000000 00000000 00000000 [ 103.987938] mmc0: 4096 bytes transferred: 0 [ 103.987956] mmc0: (CMD12): 0: 00000000 00000000 00000000 00000000 [ 103.998955] wl1271: loaded [ 104.002694] wl1271: initialized [ 109.568692] mmc0: starting CMD18 arg 000c1000 flags 000000b5 [ 109.568722] mmc0: blksz 512 blocks 40 flags 00000200 tsac 400 ms nsac 1000 [ 109.568745] mmc0: CMD12 arg 00000000 flags 0000049d [ 109.568806] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 109.568854] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001 [ 109.570223] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x0000000a [ 109.570252] sdhci [sdhci_data_irq()]: mmc0: DMA base 0x4a000000, transferred 0x080000 bytes, next 0x4a080000 [ 109.570353] mmc0: req done (CMD18): 0: 00000900 00000000 00000000 00000000 [ 109.570374] mmc0: 20480 bytes transferred: 0 [ 109.570394] mmc0: (CMD12): 0: 00000000 00000000 00000000 00000000 [ 109.572154] mmc1: starting CMD52 arg 80022000 flags 00000195 [ 109.572225] sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00000001 [ 109.572270] mmc1: req done (CMD52): 0: 00001000 00000000 00000000 00000000 [ 109.572327] mmc1: starting CMD52 arg 80022202 flags 00000195 [ 109.572378] sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00000001 [ 109.572417] mmc1: req done (CMD52): 0: 00001002 00000000 00000000 00000000 root@imx6qsabresd:~#