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.

access micro SD card on omapl-138 under Linux OS

Hi,

I am trying to figure out how to access micro SD card. The board is logicPD experimenter kit and software is TI's dvdsk_ompal138_evm_04_03_00_06/psp. The board boot up through NFS, that is, the uSD card is not part of booting processing. After log in, a "ls /dev/mm*" shows /dev/mmcblk0    /dev/mmcblk0p1  /dev/mmcblk0p2. while the uSD is in its sockket. If the uSD is not in the socket, the command only shows /dev/mmcblk0. Therefore, I guess the /dev/mmcblk0p1 and p2 refer to my uSD card. So, I try to mount /dev/mmcblk0p2 to /mnt/uSD, but I see it is empty. Actually the uSD has many files.

If I used "fdisk -l" it shows

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 321300  4594589  2136645 b   W95 FAT32
/dev/mmcblk0p2 4594590 7807589 1606500 83  Linux

If I issued "cp somefile.txt /dev/dev/mmcblk0p2", I can see this somefile.txt is in /meadia/card.  That meaning I can write something to this uSD card, but why I cannot see other files on this uSD card. More interesting thing is after I remove this uSD card from its socket, and reboot, I still can see the somefile.txt file at  /meadia/card. Is it due to the boards' file system is on my host PC? As I followed TI's DVSDK installation instruction, the target file system was created on my work station. So, do I just copy somefile.txt to the work station?

I just don't know how to access this uSD card such as read the contents on the uSD card, or write something to there. I am looking forward to see your help. Thank you in advance.

Joe