1 Reply Latest reply on Dec 21, 2017 8:12 AM by mifo

    Type 1DX and brcmfmac fails

    gustav.grape_2927636

      Hi all,

       

      I'm experiencing issues starting up a Type 1DX module using brcmfmac and kernel 4.9. The module is correctly connected and the init sequence seems to be ok, but the driver fails with error -84:

       

      [ 1712.232664] mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz

      [ 1712.281195] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)

      [ 1712.302272] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)

      [ 1712.322297] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)

      [ 1712.344189] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)

      [ 1712.362343] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)

      [ 1712.383124] mmc0: queuing unknown CIS tuple 0x80 (6 bytes)

      [ 1712.533017] mmc0: new high speed SDIO card at address 0001

      [ 1712.595940] brcmfmac: brcmf_sdiod_regrw_helper: failed to read data F1@0x0c000, err: -84

      [ 1712.620770] brcmfmac: brcmf_chip_cores_check: CPU core not detected

      [ 1712.627092] brcmfmac: brcmf_sdio_probe_attach: brcmf_chip_attach failed!

      [ 1712.660870] brcmfmac: brcmf_sdio_probe: brcmf_sdio_probe_attach failed

      [ 1712.671702] brcmfmac: brcmf_ops_sdio_probe: F2 error, probe failed -19...

       

      more detailed dmesg output where the error -84 is introduced:

       

      [ 1712.589630] mmc0: starting CMD53 arg 15000004 flags 000001b5

      [ 1712.589638] mmc0:     blksz 4 blocks 1 flags 00000200 tsac 1000 ms nsac 0

      [ 1712.589670] omap_hsmmc 481d8000.mmc: mmc0: CMD53, argument 0x15000004

      [ 1712.589810] omap_hsmmc 481d8000.mmc: IRQ Status is 2

      [ 1712.589823] mmc0: req done (CMD53): 0: 00000000 00000000 00000000 00000000

      [ 1712.589828] mmc0:     4 bytes transferred: 0

      [ 1712.589864] mmc0: starting CMD53 arg 1501f804 flags 000001b5

      [ 1712.589871] mmc0:     blksz 4 blocks 1 flags 00000200 tsac 1000 ms nsac 0

      [ 1712.589890] omap_hsmmc 481d8000.mmc: mmc0: CMD53, argument 0x1501f804

      [ 1712.590032] omap_hsmmc 481d8000.mmc: IRQ Status is 2

      [ 1712.590049] mmc0: req done (CMD53): 0: 00000000 00000000 00000000 00000000

      [ 1712.590054] mmc0:     4 bytes transferred: 0

      [ 1712.590116] mmc0: starting CMD52 arg 92001400 flags 00000195

      [ 1712.590132] omap_hsmmc 481d8000.mmc: mmc0: CMD52, argument 0x92001400

      [ 1712.590291] omap_hsmmc 481d8000.mmc: IRQ Status is 1

      [ 1712.590304] mmc0: req done (CMD52): 0: 00001000 00000000 00000000 00000000

      [ 1712.590342] mmc0: starting CMD52 arg 92001610 flags 00000195

      [ 1712.590355] omap_hsmmc 481d8000.mmc: mmc0: CMD52, argument 0x92001610

      [ 1712.590568] omap_hsmmc 481d8000.mmc: IRQ Status is 1

      [ 1712.590583] mmc0: req done (CMD52): 0: 00001010 00000000 00000000 00000000

      [ 1712.590661] mmc0: starting CMD52 arg 92001814 flags 00000195

      [ 1712.590675] omap_hsmmc 481d8000.mmc: mmc0: CMD52, argument 0x92001814

      [ 1712.590832] omap_hsmmc 481d8000.mmc: IRQ Status is 1

      [ 1712.590846] mmc0: req done (CMD52): 0: 00001014 00000000 00000000 00000000

      [ 1712.590889] mmc0: starting CMD53 arg 15800004 flags 000001b5

      [ 1712.590897] mmc0:     blksz 4 blocks 1 flags 00000200 tsac 1000 ms nsac 0

      [ 1712.590928] omap_hsmmc 481d8000.mmc: mmc0: CMD53, argument 0x15800004

      [ 1712.591059] omap_hsmmc 481d8000.mmc: IRQ Status is 208000

      [ 1712.591071] omap_hsmmc 481d8000.mmc: MMC IRQ 0x208000 : ERRI DCRC

      [ 1712.591097] mmc0: req done (CMD53): 0: 00000000 00000000 00000000 00000000

      [ 1712.591102] mmc0:     0 bytes transferred: -84

      [ 1712.593255] mmc0: starting CMD53 arg 15800004 flags 000001b5

      [ 1712.593271] mmc0:     blksz 4 blocks 1 flags 00000200 tsac 1000 ms nsac 0

      [ 1712.593320] omap_hsmmc 481d8000.mmc: mmc0: CMD53, argument 0x15800004

      [ 1712.593454] omap_hsmmc 481d8000.mmc: IRQ Status is 208000

      [ 1712.593467] omap_hsmmc 481d8000.mmc: MMC IRQ 0x208000 : ERRI DCRC

      [ 1712.593503] mmc0: req done (CMD53): 0: 00000000 00000000 00000000 00000000

      [ 1712.593509] mmc0:     0 bytes transferred: -84

      [ 1712.595651] mmc0: starting CMD53 arg 15800004 flags 000001b5

      [ 1712.595665] mmc0:     blksz 4 blocks 1 flags 00000200 tsac 1000 ms nsac 0

      [ 1712.595715] omap_hsmmc 481d8000.mmc: mmc0: CMD53, argument 0x15800004

      [ 1712.595851] omap_hsmmc 481d8000.mmc: IRQ Status is 208000

      [ 1712.595864] omap_hsmmc 481d8000.mmc: MMC IRQ 0x208000 : ERRI DCRC

      [ 1712.595897] mmc0: req done (CMD53): 0: 00000000 00000000 00000000 00000000

      [ 1712.595903] mmc0:     0 bytes transferred: -84

      [ 1712.670780] SDIO: Disabling device mmc0:0001:2...

       

      Have anyone encountered this behaviour before? I would really appreciate some help with this.

       

      Thanks in advance!

       

      Regards,

      Gustav