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.

MMC_test fail

Other Parts Discussed in Thread: DM3730

I try run mmc_test on my custom board with DM3730.

I use filesystem from DVSDK-4.6.

I build kernel with mmc_test. when I start test it stop on case 11.

Trying to claim card mmc0:0001 from driver mmcblk
[  316.804107] mmc_test mmc0:0001: Card claimed for testing.
WARNING: Card mmc0:0001 will be overwritten!
Hit <ENTER> to continue; <CTRL-C> to abort

[  320.639251] mmc0: Starting tests of card mmc0:0001...
[  320.644897] mmc0: Test case 1. Basic write (no data verification)...
[  320.653381] mmc0: Result: OK
[  320.656402] mmc0: Test case 2. Basic read (no data verification)...
[  320.664123] mmc0: Result: OK
[  320.667144] mmc0: Test case 3. Basic write (with data verification)...
[  321.254577] mmc0: Result: OK
[  321.317901] mmc0: Test case 4. Basic read (with data verification)...
[  321.386169] mmc0: Result: OK
[  321.449859] mmc0: Test case 5. Multi-block write...
[  321.532592] mmc0: Result: OK
[  321.594268] mmc0: Test case 6. Multi-block read...
[  321.661132] mmc0: Result: OK
[  321.724670] mmc0: Test case 7. Power of two block writes...
[  322.267303] mmc0: Result: UNSUPPORTED (by card)
[  322.330841] mmc0: Test case 8. Power of two block reads...
[  322.395294] mmc0: Result: UNSUPPORTED (by card)
[  322.458862] mmc0: Test case 9. Weird sized block writes...
[  322.523559] mmc0: Result: UNSUPPORTED (by card)
[  322.587127] mmc0: Test case 10. Weird sized block reads...
[  322.651794] mmc0: Result: UNSUPPORTED (by card)
[  322.715393] mmc0: Test case 11. Badly aligned write...
[  323.262542] DMA misaligned error with device 61


eMMC connect to MMC0

uSD connect to MMC1

system boot from MMC1

What does this error mean?

If test doesn't pass can I trust this driver?

  • Hi,

    I am new to device drivers, currently I am booting my board from sd-card, may I know how to run mmc_test currently it is not included in building the BSP how to enable building of mmc_test.c and how to run the mmc_test? If I want to run mmc_test do I need to boot my board from NAND? becase mmc_test is going to do read and write test's will it affect my image in sd-card, if I boot the board from sd-card and run mmc_test? Quick response will be very much helpful.

    Thanks & Regards.

    Narendra Kumar.

  • Hi Narendra ,
    Could you please create a new post for your question, since you are following the old threads and you may not get intervention for this such a old thread unless follow up required by post creator.

    Thanks for your understanding.