TF-Card
TF卡接口介绍
TF 卡(TransFlash Card),也称为 MicroSD 卡,是一种小型闪存存储卡,广泛用于移动设备(如手机、平板电脑、相机、无人机等)以及嵌入式设备(如开发板、单板计算机等)。TF 卡以其小巧的体积、较大的存储容量和较高的性价比,成为便携式设备中最常用的存储介质之一。
TF卡图:

开发板上有一个TF卡槽,支持TF卡热插拔

挂载TF卡
如果插入了TF卡,可以按以下步骤挂载:
1.查看设备节点:
root@linaro-alip:/# fdisk -l
···
Disk /dev/mmcblk1: 29.72 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 23000000-0000-4C4A-8000-699000005ABB
2.创建挂载点并挂载设备:
mkdir /mnt/TF_Card
mount /dev/sda1 /mnt/TF_Card
3.查看挂载结果:
root@linaro-alip:/# df -h
Filesystem Size Used Avail Use% Mounted on
...
/dev/mmcblk1 30G 2.1G 28G 7% /mnt/TF_Card
4.查看TF卡存储内容
root@linaro-alip:/# ls -l mnt/TF_Card/
total 2154976
-rwxr-xr-x 1 root root 0 Oct 29 13:29 BOOT
-rwxr-xr-x 1 root root 25777653 Oct 29 13:29 boot.1-of-2.gz
-rwxr-xr-x 1 root root 30566 Oct 29 13:29 boot.2-of-2.gz
-rwxr-xr-x 1 root root 830 Oct 29 13:29 boot.cmd
-rwxr-xr-x 1 root root 1290 Oct 29 13:29 boot_emmc-boot.cmd
-rwxr-xr-x 1 root root 1362 Oct 29 13:29 boot_emmc-boot.scr
-rwxr-xr-x 1 root root 1463 Oct 29 13:29 boot_emmc.cmd
-rwxr-xr-x 1 root root 1315 Oct 29 13:29 boot_emmc-data.cmd
5.卸载设备:
umount /mnt/TF_Card