SD card access from Xillinux

Questions and discussions about Xillinux

SD card access from Xillinux

Postby dragutinv »

Hi, I am trying to access SD card from using opencv or cpp on Xillinux, but I can't find way to access SD card. Can you help me with this?
dragutinv
 
Posts: 1
Joined:

Re: SD card access from Xillinux

Postby support »

Hello,

The SD card appears in Xillinux as /dev/mmcblk0, with the two partitions as /dev/mmcblk0p1 and /dev/mmcblk0p2. The latter is referred to as /dev/root in the mount table, and mounted as /. /dev/mmcblk0p1 is the small FAT partition of the SD card. You can mount it, for example, by creating a directory called /mnt/card:

mkdir /mnt/card

and then mount it with

mount /dev/mmcblk0p1 /mnt/card/

And then access the files under /mnt/card

Regards,
Eli
support
 
Posts: 802
Joined:


Return to Xillinux (Linux distribution for Zynq-7000)

cron