嵌入式爱好者

查看: 10252|回复: 0

[Linux] sd卡分区

[复制链接]

4

主题

8

帖子

33

积分

AM5718通行证i.MX6UL通行证

扫一扫,手机访问本帖
发表于 2021-3-22 22:58:46 | 显示全部楼层 |阅读模式
sd卡分区后,执行脚本 mksdcard.sh 出现警告:
################################################################################

        **********WARNING**********

        Selected Device is greater then 16GB
        Continuing past this point will erase data from device
        Double check that this is the correct SD Card

################################################################################

错误:
unmounting device '/dev/sdb1'
unmounting device '/dev/sdb2'
unmounting device '/dev/sdb3'
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB) copied, 0.707706 s, 1.5 MB/s
Disk /dev/sdb doesn't contain a valid partition table
DISK SIZE - 31914983424 bytes
mksdcard.sh: 151: [: 0: unexpected operator
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mke2fs 1.42.9 (4-Feb-2014)
mksdcard.sh: 167: [: 0: unexpected operator


请问:如果从sd卡启动,超过16G的卡是不是不能用,另外贵公司能否提供SD卡分区的脚本用作参考



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-4-27 07:32

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表