在线时间2 小时
UID3433314
注册时间2017-10-23
NXP金币0
该用户从未签到
新手上路

- 积分
- 11
- 最后登录
- 2017-10-25
|
急求大虾解答!!我使用的是飞思卡尔官方板卡,型号为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
|
|