SD Card

The development board has loaded the SD card driver by default,After inserting the SD card, the node /dev/mmcblk0p1 will appear in the system (if the TF has multiple partitions, multiple /dev/mmcblk0px will appear).At the same time, it supports standard microSD memory card and fat, ext and other file systems. The corresponding interface of TF card of development board is located in J4.

The SD card mounting operation is as follows:
Insert the SD card into the card slot, and the system will prompt the following information.

Pop up the SD card, and the system will give the following prompt:

  1. Enter the ls /dev/mmcblk1* command to print the device node mmcblk1 identified by this TF card, and you can see that there is a partition mmcblkp1.
    View the device nodes in the /dev/ directory as follows:

  1. Enter df -h to view the mounting path and mounting information of TF card. The default mounting path is “/sdcard”.

  1. you can mount the SD card through the ‘mount’ command
mount /dev/mmcblk1p1 /sdcard
  1. View SD card files

    ls /sdcard

  2. Copy SD card files

cp /sdcard/abc.txt /usr/
  1. Uninstall the SD card before unplugging it
umount /sdcard
文档更新时间: 2021-07-30 15:18   作者:Aeeditor