|
发表于 2014-8-12 20:33:12
27664 浏览 11 回复
4412 TF/SD 卡启动问题
按照手册上制作 TF/SD卡启动, 但是调试串口没有任何输出,没有启动起来, 试过 Kingston , Sandisk TF卡,试过 Samsung SD 卡,都不行, 拨码开关 测试相应电平没有问题,OM5->OM2 = 001
请问版主,你们这开发板 对TF/SD卡 容量大小 和 型号有要求吗, 还有 eMMC 和 TF/SD 卡的uboot镜像 是一样的吗?
|
|
|
|
|
|
|
|
你接上屏幕看看能启动么?
确认串口接对了,及时烧写出现错误,串口也是有输出的~ |
|
|
|
|
|
|
|
楼主|
发表于 2014-8-13 20:31:33
1.接的是COM3 从emmc是能启动的,这个系统是你们出厂时烧写好的, 现在按照你们写的用户手册,制作SD烧写卡,往SD/TF卡烧写了uboot 但是上电后串口没有任何信息。 你说的即使烧写出错,串口也有数据,这个数据是从哪里来的呢
2. 拨码开关 还有种组合 也是从EMMC 启动,但是 uboot 启动中途报错了 不知你们发现这个问题没有(OM[5:1] ===> 00100) |
|
|
|
|
|
|
|
发表于 2014-8-13 20:36:16
|
|
|
|
|
|
|
楼主|
发表于 2014-8-13 21:08:49
|
|
|
|
|
|
|
发表于 2014-8-14 08:59:17
|
|
|
|
|
|
|
楼主|
发表于 2014-8-14 20:33:34
量过,电平是对的,你们用过哪些SD/TF 卡做过实验啊 |
|
|
|
|
|
|
|
发表于 2014-8-15 09:10:35
|
|
|
|
|
|
|
楼主|
发表于 2014-8-19 21:19:33
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
UBOOT FORMAT TF/SD
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
iTOP-4412 #
iTOP-4412 #
iTOP-4412 #
iTOP-4412 # fdisk -c 1
.fdisk is completed
partion # size(MB) block start # block count partition_Id
1 5910 3402336 12105633 0x0C
2 1030 45567 2111271 0x83
3 304 2156838 622749 0x83
4 304 2779587 622749 0x83
iTOP-4412 # fatformat mmc 1:1
Start format MMC&d partition&d ...
Partition1: Start Address(0x33ea60), Size(0xb8b7a1)
................................size checking ...
Under 8G
write FAT info: 32
Fat size : 0x2e2d
..Erase FAT region...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
.Partition1 format complete.
iTOP-4412 # ext3format mmc 1:2
Start format MMC1 partition2 ....
** Partition2 is not ext2 file-system 1 **
Partition2: Start Address(0xb1ff), Size(0x203727)
Start ext2format...
Wirte 0/9block-group
Reserved blocks for jounaling : 8202
Start write addr : 0xb1ff
....................................................................Erase inode table(0) - 0xb41f..................
...............d_indirect_point:0xe30f
..Wirte 1/9block-group
Reserved blocks for jounaling : 8202
Start write addr : 0x4b1ff
....Erase inode table(1) - 0x4b41f..................
Wirte 2/9block-group
Reserved blocks for jounaling : 8202
Start write addr : 0x8b1ff
..Erase inode table(2) - 0x8b20f..................
Wirte 3/9block-group
Reserved blocks for jounaling : 8202
Start write addr : 0xcb1ff
....Erase inode table(3) - 0xcb41f..................
Wirte 4/9block-group
Reserved blocks for jounaling : 8202
Start write addr : 0x10b1ff
..Erase inode table(4) - 0x10b20f..................
Wirte 5/9block-group
Reserved blocks for jounaling : 8202
Start write addr : 0x14b1ff
....Erase inode table(5) - 0x14b41f..................
Wirte 6/9block-group
Reserved blocks for jounaling : 8202
Start write addr : 0x18b1ff
..Erase inode table(6) - 0x18b20f..................
Wirte 7/9block-group
Reserved blocks for jounaling : 8202
Start write addr : 0x1cb1ff
....Erase inode table(7) - 0x1cb41f..................
Wirte 8/9block-group
Reserved blocks for jounaling : 8202
Start write addr : 0x20b1ff
..Erase inode table(8) - 0x20b20f..................
iTOP-4412 #
iTOP-4412 #
iTOP-4412 # ext3format mmc 1:3
Start format MMC1 partition3 ....
** Partition3 is not ext2 file-system 1 **
Partition3: Start Address(0x20e926), Size(0x9809d)
Start ext2format...
Wirte 0/3block-group
Reserved blocks for jounaling : 4102
Start write addr : 0x20e926
.......................Erase inode table(0) - 0x20e9de............................
...........d_indirect_point:0x2123d6
..Wirte 1/3block-group
Reserved blocks for jounaling : 4102
Start write addr : 0x24e926
....Erase inode table(1) - 0x24e9de............................
Wirte 2/3block-group
Reserved blocks for jounaling : 4102
Start write addr : 0x28e926
..Erase inode table(2) - 0x28e936............................
iTOP-4412 #
iTOP-4412 #
iTOP-4412 #
iTOP-4412 #
iTOP-4412 # ext3format mmc 1:4
Start format MMC1 partition4 ....
** Partition4 is not ext2 file-system 1 **
Partition4: Start Address(0x2a69c3), Size(0x9809d)
Start ext2format...
Wirte 0/3block-group
Reserved blocks for jounaling : 4102
Start write addr : 0x2a69c3
.......................Erase inode table(0) - 0x2a6a7b............................
...........d_indirect_point:0x2aa473
..Wirte 1/3block-group
Reserved blocks for jounaling : 4102
Start write addr : 0x2e69c3
....Erase inode table(1) - 0x2e6a7b............................
Wirte 2/3block-group
Reserved blocks for jounaling : 4102
Start write addr : 0x3269c3
..Erase inode table(2) - 0x3269d3............................
iTOP-4412 #
iTOP-4412 #
iTOP-4412 #
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
FROM UBUNTU DOWN UBOOT IMAGE TO TF/SD
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
fsc@ubuntu:/media/samsung/samsung/uboot$ df -h
文件系统 容量 已用 可用 已用% 挂载点
/dev/sda1 7.5G 5.0G 2.2G 71% /
none 1003M 360K 1003M 1% /dev
none 1007M 264K 1007M 1% /dev/shm
none 1007M 300K 1007M 1% /var/run
none 1007M 0 1007M 0% /var/lock
none 1007M 0 1007M 0% /lib/init/rw
/dev/sdb1 79G 20G 56G 26% /media/samsung
/dev/sdc4 295M 17M 264M 6% /media/e5ba18c9-8495-f061-2270-8e3cc14a67d5
/dev/sdc2 1015M 34M 930M 4% /media/f77e634b-d017-3ce4-6ef2-dabe468bb357
/dev/sdc3 295M 17M 264M 6% /media/c0cdf3db-5fa8-91b6-fd82-694fd61b42e8
/dev/sdc1 5.8G 4.0K 5.8G 1% /media/0000-3333
fsc@ubuntu:/media/samsung/samsung/uboot$
fsc@ubuntu:/media/samsung/samsung/uboot$
fsc@ubuntu:/media/samsung/samsung/uboot$ sudo ./mkuboot /dev/sdc
[sudo] password for fsc:
Fuse iTOP-4412 trustzone uboot file into SD card
/dev/sdc reader is identified.
u-boot-iTOP-4412.bin fusing...
1029+1 records in
1029+1 records out
527104 bytes (527 kB) copied,9.66203 秒,54.6 kB/秒
u-boot-iTOP-4412.bin image has been fused successfully.
Eject SD card
|
|
|
|
|
|
|
|
发表于 2014-8-20 13:20:08
看你的log信息,操作都是正确的,烧写的是光盘的uboot,还是你自己编译的 |
|
|
|
|
|
|
登录或注册
扫一扫关注迅为公众号
|