嵌入式爱好者

查看: 8916|回复: 2

[Linux] SD卡启动失败

[复制链接]

1

主题

3

帖子

26

积分

i.MX6UL通行证XX18通行证

扫一扫,手机访问本帖
发表于 2018-6-4 21:28:52 | 显示全部楼层 |阅读模式
按照最新的资料OKxx18-C-Linux用户手册-V2.1-2018.04.24.pdf  第5.2章节的步骤进行操作,操作信息如下:


@ubuntu:~/OKxx18/mksdcard/4418$ sudo ./mksdcard4418.sh


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

This script will create a bootable SD card from custom or pre-built binaries.

The script must be run with root permissions and from the bin directory of
the SDK

Example:
$ sudo ./create-sdcard.sh

Formatting can be skipped if the SD card is already formatted and
partitioned properly.

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


Availible Drives to write images to:

#  major   minor    size   name
1:   8       16   15558144 sdb

Enter Device Number: 1


sdb was selected

Checking the device is unmounted
df: /mnt/hgfs: Protocol error
df: /mnt/hgfs: Protocol error
df: /mnt/hgfs: Protocol error

Would you like to re-partition the drive anyways [y/n] : y


Now partitioning sdb ...


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

                Now ** 1 partitions

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

1+0 records in
1+0 records out
1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00208383 s, 491 kB/s
DISK SIZE - 15931539456 bytes
sfdisk: unsupported unit 'M'

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

                Partitioning Boot

################################################################################
mkfs.fat 3.0.28 (2015-05-16)
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
/dev/sdb1: No such file or directory

Mount the partitions
mount: special device /dev/sdb1 does not exist

Emptying partitions

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

        Copying files now... will take minutes

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

Copying boot partition
Buring th sdfuse.bin to sdcard
628+1 records in
628+1 records out
322024 bytes (322 kB, 314 KiB) copied, 0.0573104 s, 5.6 MB/s

Syncing....


Un-mount the partitions
umount: boot: not mounted

Remove created temp directories

Operation Finished

@ubuntu:~/OKxx18/mksdcard/4418$

疑问如下:
1. 上述步骤是否正确?
2. 若正确的话,制作完后,未发现如何将文件拷贝到SD卡,没有对应的FAT32分区生成。
3. 尝试在windows系统下格式化SD卡,将指定的文件拷贝到SD卡中,插入开发板后,设置SD卡方式启动系统,发现串口无任何信息输出。

请问解决办法,谢谢!



回复

使用道具 举报

0

主题

177

帖子

321

积分

AM5718通行证AM335x通行证i.MX6UL通行证i.MX6Q通行证XX18通行证TCU通行证

发表于 2018-6-5 09:52:27 | 显示全部楼层
怀疑是你SD挂载没做好,建议重新格式化再做一遍,手册上的步骤都是正确的,一步步照着来就OK。最好在linux下做,另外windows下制作烧写卡我们没有特别对应的教程,如果有必要http://bbs.witech.com.cn/portal.php?mod=view&aid=161参照这个试下吧
点评回复 支持 反对

使用道具 举报

1

主题

3

帖子

26

积分

i.MX6UL通行证XX18通行证

 楼主| 发表于 2018-6-17 17:17:34 | 显示全部楼层
谢谢,问题已解决。

ubuntu操作系统由16.04更换为12.04就可以了。
点评回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-20 09:34

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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