1738 views|0 replies

230

Posts

2

Resources
The OP
 

[Project source code] Mount the FAT32 file system partition of the mirrored SD card to Linux [Copy link]

 

This article and design code were written by FPGA enthusiast Xiao Meige. Without the author's permission, this article is only allowed to be copied and reproduced on online forums, and the original author must be indicated when reprinting.


First, use the fdisk –l command to view the partition information of the SD card.

As you can see, the sd card has three partitions. The first partition is a FAT32 system, which mainly stores kernel img files and dtb files. The second partition is a Linux system partition. The third partition format is unknown, which is actually the partition where the Uboot image is stored.
Mount the FAT32 partition to the system.
First, create a folder to mount the partition
mkdir /sdcard
and then use the mount command to mount the partition to the sdcard path
mount –t vfat /dev/mmcblk0p1 /sdcard
and then use the ls command to view the path, where you can see the existing files.

This post is from Altera SoC
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list