挂载sd卡的时候报错非法参数
mount: mounting /dev/mmcblk2p1 on /mnt failed: Invalid argument
原因通过
fdisk -l 命令知道sd卡类型是ntfs类型,linux kernel没有开启。
内核配置
File systems --->
DOS/FAT/NT Filesystems
exFAT fs support
NTFS file system support
编译后烧录到开发板
# fdisk -l
Disk /dev/mmcblk2: 15 GB, 15931539456 bytes, 31116288 sectors
1936 cylinders, 255 heads, 63 sectors/track
Units: sectors of 1 * 512 = 512 bytes
Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type
/dev/mmcblk2p1 * 0,32,33 1023,254,63 2048 31050751 31048704 14.8G 7 HPFS/NTFS
/d