CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 7659|回复: 6

TF卡上的系统移植到NAND后,启动失败

[复制链接]
发表于 2015-3-6 14:34:21 | 显示全部楼层 |阅读模式
我的板子是Cubieboard2。

因为想要一个Server版的系统,所以安装了linaro server

但是此固件是TF卡固件,我就先刷到卡里,然后通过 Cubieboard安装Debian在Nand中 这个教程,将sd卡里的系统同步到NAND

现在去掉sd卡无法启动。



通过串口看到的启动信息是:

?HELLO! BOOT0 is starting!
boot0 version : 2.0.0?
read dram para.
dram driver version: 1.15
dram size =1024MB
0xffffffff
super_standby_flag = 0
Succeed in opening nand flash.
block from 2 to 6
deal block 2
Succeed in reading Boot1 file head.
The size of Boot1 is 0x00068000.
The file stored in 0x00000000 of block 2 is perfect.
Check is correct.
Ready to disable icache.
Succeed in loading Boot1.
Jump to Boot1.
[       0.144] boot1 version : 2.0.0
[       0.144] script installed early ok
[       0.145] pmu type = 3
[       0.249] bat vol = 0 mv
[       0.263] axi:ahb:apb=4:2:2
[       0.263] set dcdc2=1450mv, clock=912M successed
[       0.265] key
[       0.278] no key found
[       0.278] flash init start
[       0.278] NB1 : enter NFB_Init
[       0.281] NB1 : enter phy init
[       0.284] [NAND] nand driver(b) version: 0x0x00000002, 0x0x00000012, data: 0x20130627
[       0.292] get the good blk ratio from hwscan : 944
[       0.297] NB1 : nand phy init ok
[       1.072] _RepairLogBlkTbl start
[       1.074] Log Block Index 0x00000000, LogicBlockNum: 0x000000a1, LogBlockType: 0x00000000
[       1.078] log0: 0x0000004c, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.085] datablock: 0x0000008b, lastusedpage: 0x00000049
[       1.092] Log Block Index 0x00000001, LogicBlockNum: 0x00000090, LogBlockType: 0x00000000
[       1.099] log0: 0x00000095, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.105] datablock: 0x00000042, lastusedpage: 0x00000004
[       1.113] Log Block Index 0x00000002, LogicBlockNum: 0x0000009c, LogBlockType: 0x00000000
[       1.119] log0: 0x000000a1, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.126] datablock: 0x0000009c, lastusedpage: 0x00000004
[       1.134] Log Block Index 0x00000003, LogicBlockNum: 0x0000009e, LogBlockType: 0x00000000
[       1.140] log0: 0x000000a2, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.147] datablock: 0x0000003e, lastusedpage: 0x00000020
[       1.154] Log Block Index 0x00000004, LogicBlockNum: 0x000000a8, LogBlockType: 0x00000000
[       1.161] log0: 0x000000ad, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.167] datablock: 0x000000a0, lastusedpage: 0x00000001
[       1.175] Log Block Index 0x00000005, LogicBlockNum: 0x000000a9, LogBlockType: 0x00000000
[       1.181] log0: 0x000000ae, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.188] datablock: 0x00000069, lastusedpage: 0x00000002
[       1.196] Log Block Index 0x00000006, LogicBlockNum: 0x00000001, LogBlockType: 0x00000000
[       1.202] log0: 0x000000b2, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.208] datablock: 0x00000099, lastusedpage: 0x0000002f
[       1.216] Log Block Index 0x00000007, LogicBlockNum: 0x000000ad, LogBlockType: 0x00000000
[       1.222] log0: 0x000000b3, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.229] datablock: 0x000000a4, lastusedpage: 0x00000001
[       1.236] Log Block Index 0x00000008, LogicBlockNum: 0x000000b2, LogBlockType: 0x00000000
[       1.243] log0: 0x000000b7, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.250] datablock: 0x000000b8, lastusedpage: 0x000000c6
[       1.258] Log Block Index 0x00000009, LogicBlockNum: 0x00000085, LogBlockType: 0x00000000
[       1.264] log0: 0x0000008a, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.270] datablock: 0x00000310, lastusedpage: 0x00000001
[       1.278] Log Block Index 0x0000000a, LogicBlockNum: 0x00000000, LogBlockType: 0x00000000
[       1.284] log0: 0x000000af, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.291] datablock: 0x00000333, lastusedpage: 0x00000067
[       1.298] Log Block Index 0x0000000b, LogicBlockNum: 0x00000009, LogBlockType: 0x00000000
[       1.305] log0: 0x0000009d, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.312] datablock: 0x00000344, lastusedpage: 0x0000002e
[       1.319] Log Block Index 0x0000000c, LogicBlockNum: 0x000001aa, LogBlockType: 0x00000000
[       1.326] log0: 0x000000a3, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.332] datablock: 0x00000367, lastusedpage: 0x00000041
[       1.340] Log Block Index 0x0000000d, LogicBlockNum: 0x00000201, LogBlockType: 0x00000000
[       1.346] log0: 0x00000370, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.353] datablock: 0x00000041, lastusedpage: 0x00000028
[       1.360] Log Block Index 0x0000000e, LogicBlockNum: 0x000001a0, LogBlockType: 0x00000000
[       1.367] log0: 0x00000396, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.373] datablock: 0x0000039c, lastusedpage: 0x0000001d
[       1.381] Log Block Index 0x0000000f, LogicBlockNum: 0x00000008, LogBlockType: 0x00000000
[       1.387] log0: 0x000003ed, Log1: 0x0000ffff, WriteIndex: 0x00000000
[       1.394] datablock: 0x00000035, lastusedpage: 0x00000006
[       1.400] _RepairLogBlkTbl end
[       1.418] get mbr error
[       1.418] NB1 : init ok
[       1.418] flash init finish
[       1.422] mbr magic softw311 is not correct
[       1.425] fs init fail
[       1.428] fs init fail, jump to fel


回复

使用道具 举报

发表于 2015-3-14 14:51:39 | 显示全部楼层
提供下uboot源码。
回复 支持 反对

使用道具 举报

发表于 2015-3-14 21:34:44 | 显示全部楼层
[       1.418] get mbr error
[       1.418] NB1 : init ok
[       1.418] flash init finish
[       1.422] mbr magic softw311 is not correct
[       1.425] fs init fail
[       1.428] fs init fail, jump to fel
分区表不对。
回复 支持 反对

使用道具 举报

发表于 2015-3-14 21:39:31 | 显示全部楼层
dd bs=4096 if=cubie_nand_uboot_partition_image.bin of=/dev/nand    #更新板载MBR
DD完成后请等待至少30秒,然后重启系统,进行其他步骤的操作。

应该是这一步出问题了
回复 支持 反对

使用道具 举报

发表于 2015-3-16 12:39:25 | 显示全部楼层
你好,请问这个问题解决了不?
回复 支持 反对

使用道具 举报

发表于 2015-6-22 17:11:21 | 显示全部楼层
今天也想把TF卡的OS刷到NAND中,试试看行不行
回复 支持 反对

使用道具 举报

发表于 2015-6-24 10:08:13 | 显示全部楼层
关注中,楼主回来分享下成果吧
回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-5-9 22:57 , Processed in 0.023832 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部