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.

SD Insert/Removal on DM365

Dear All:

 

The file system of the mounted SD will be hanged after remove the SD card.

We need to recover the system after accidental SD card removal.

 

In http://processors.wiki.ti.com/index.php/DaVinci_PSP_03.01_GA_%28r37%29_Release_Notes#Known_Issues,

there is an issue:

 

MMC/SD: DM355/DM365: When the MMC or SD card is unplugged while mmcblock device mounted, the device hangs and device cannot not recover even after plugging back the card

  • Workaround: Always unmount the MMC/SD card before unplugging.

 

It seems to be a problem of Linux kernel itself.

However, is there any better solution or workaround on DM365?

Any suggestion will be welcomed.

 

Best regards,

 

Ray

 

  • cwchang,

    When this occurs you may try to insert the SD card into a linux host machine and run "fsck" to correct some of the disk errors.

    fsck /dev/<mmcInstance>

    Marcus

  • Dear Marcus:

     

    I am sorry. What I mean is to recover DM365 linux system.

    Our DM365 machine will hang or crash after remove and insert the SD card,

    when the SD card is mounted and encoded video is saved into the SD card.

     

    Our main problem is not to recover the SD card, but the DM365 system.

    For some reasons, we can not reset or power down the DM365 system.

     

    Best regards,

     

    Ray

  • I'm also meet this problem. In writing data to SD Card process, I remove SD card. The terminal show write data error, and the insert SD Card, kernel cannot identify it.

    BTW, I can get the signal of remove SD Card,  Have any way to clearup the cache buffer of memory and exist program fastly.

    Thanks