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.

How to support the MMC/SD for TMS320DM36x DVRRD Rev2.1B board?

Hi,

I wanted to use the SD feature on TMS320DM36x DVRRD Rev2.1B board.

The board has not the SD slot. I expanded the SD slot to SD0 interface. (The SD0/1 has not the detect pin.)

I used the DM368_DVRRDK_v2.1 package. The UBL and U-boot of SD boot card could run from the expanded SD slot.

But Linux kernel could not discover the SD card. I found the SD/MMC is not support from build log.

How to modify SW or HW for SD enable?

  • I'm not familiar with the TMS320DM36x and which version of Linux it uses. Most versions I've seen allow a couple of ways to ignore the detect pin. The driver assumes that the SD card is always there. Similarly for the write protect pin. Some versions of the mmc driver,  a flag is passed in via platform data. This causes the driver to not use the specified gpios. Other versions, the mmc driver calls board specific functions that return the state of those pins. You would change those functions to always return 0 or 1 as appropriate. Usually such functions would read gpios.