查看: 3238|回复: 1

[求助] imx6 Sabre-AI sd卡无法启动Uboot

[复制链接]

该用户从未签到

1

主题

2

帖子

0

新手上路

Rank: 1

积分
11
最后登录
2017-10-25
发表于 2017-10-23 16:06:06 | 显示全部楼层 |阅读模式
急求大虾解答!!我使用的是飞思卡尔官方板卡,型号为imx6q sabre AI,
按照“i.MX_6Dual6Quad_Sabre-AI_Linux_User's_Guide.pdf”
制作从sd卡启动uboot,遇到的问题是,插上sd卡后,串口无打印信息。
因为这张sd卡在前一时刻都可以启动uboot,甚至image、rootfs,由于运行程序
有问题,我想从新制作一次sd卡启动,制作完毕后,便无法启动了。

可以排除硬件问题,启动设置问题,串口连接问题。分析应该是烧写问题,
但以前都是这个步骤制作的uboot、uimage、rootfs到sd卡,一直都没问题,
但这次制作却无法启动,而且我把手上的另外4张sd卡也试过,全都连Uboot
也无法启动。急求这可能是哪里的问题啊??
我的制作步骤如下:

$ cat /proc/partitions
major minor #blocks name
8 0 78125000 sda
8 1 75095811 sda1
8 2 1 sda2
8 5 3028221 sda5
8 32 488386584 sdc
8 33 488386552 sdc1
8 16 3921920 sdb
8 18 3905535 sdb1

$ sudo dd if=u-boot-mx6q-sabreauto.bin of=/dev/sdb bs=512 seek=2 skip=2 conv=fsync

$ sudo dd if=uImage of=/dev/sdb bs=512 seek=2048 conv=fsync

$ sudo fdisk /dev/sdb

u [switch the unit to sectors instead of cylinders]
d [repeat this until no partition is reported by the 'p' command ]
n [create a new partition]
p [create a primary partition]
1 [the first partition]
16384 [starting at offset sector #16384, i.e. 8MB, which leaves enough space for the
kernel, the boot loader and its configuration data]
<enter> [using the default value will create a partition that spans to the last sector
of the medium]
w [ this writes the partition table to the medium and fdisk exits]

$ sudo mkfs.ext3 /dev/sdb1
$ mkdir /home/user/mountpoint
$ sudo mount /dev/sdb1 /home/user/mountpoint

$ cd /home/user/rootfs
$ sudo cp -a * /home/user/mountpoint
$ sudo umount /home/user/mountpoint


我知道答案 目前已有1人回答
回复

使用道具 举报

该用户从未签到

1

主题

2

帖子

0

新手上路

Rank: 1

积分
11
最后登录
2017-10-25
 楼主| 发表于 2017-10-23 17:04:45 | 显示全部楼层
帮忙顶一下吧
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /3 下一条

Archiver|手机版|小黑屋|恩智浦技术社区

GMT+8, 2025-7-20 09:13 , Processed in 0.086754 second(s), 22 queries , MemCache On.

Powered by Discuz! X3.4

Copyright © 2001-2024, Tencent Cloud.

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