This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA744: about the SDIO DMA problem

Part Number: DRA744

I insmod the bcmdhd.ko,when wifi scan or send other command,sdio DMA driver print the log:omap_hsmmc 480d1000.mmc: MMC start dma failure

I found the issue apper in the code below:

static int omap_hsmmc_setup_dma_transfer(struct omap_hsmmc_host *host, struct mmc_request *req){

......

......

/* Sanity check: all the SG entries must be aligned by block size. */
 for (i = 0; i < data->sg_len; i++) {
  struct scatterlist *sgl;

  sgl = data->sg + i;
  if (sgl->length % data->blksz)
            return -EINVAL;

 }

........

}

what is the reason of the problem?And how to fix it?

  • Hi,

    Can you please provide the following additional information?

    1. Which SDK version are you using?
    2. Are you running this on a TI EVM?
    3. Do you have any other changes to the kernel/SDK or you are using the default SDK?

    Regards

    Karthik

  • Hi:

    The SDK version is Linux 4.4.117(Android 8.1), I run this on the DRA7X board which is designed by us . We made some changes tothe kernel to adjust the hardware design, and everthing is running well. We changed the wifi module this time, and I found the problem when I insmod the wifi driver.