wizardoz 发表于 2014-5-4 14:06:50

新买的板子烧写系统到nand flash以后无法重启

本帖最后由 wizardoz 于 2014-5-4 14:26 编辑

同样的镜像,同样的tf卡,旧的cubieboard都可以正常烧写。但是最近新买了几个板子,发现烧写后都无法启动。
旧板的CPU:

提示错误为:HELLO! BOOT0 is starting!
boot0 version : 3.0.0
dram size =1024
sum=0x01be1e34
src_sum=0x01be1e34
Ready to disable icache.
Jump to secend Boot.
[      0.131]

U-Boot 2011.09-rc1-00003-ge89ab14-dirty (Jan 03 2014 - 12:57:33) Allwinner Technology

[      0.140]version: 1.1.0
[      0.143]pmbus:   ready
[      0.248]PMU: AXP209
[      0.251]PMU: AXP20x found
[      0.254]PMU: bat ratio = 100
[      0.257]after set, dcdc2 =1400mv
[      0.260]PMU: dcdc2 1400
[      0.263]PMU: pll1 912 Mhz
boot_clock = 912
dcdc2_vol = 1400
[      0.271]after set, dcdc2 =1400mv
dcdc3_vol = 1250
ldo2_vol = 3000
ldo3_vol = 2800
ldo4_vol = 2800
power_start = 0
storage_type = -1
usb_recovery = 1
find power_sply to end
fel key old mode
run key detect
no key found
no key input
dram_para_set start
dram_para_set end
[      0.307]DRAM:1 GiB
relocation Offset is: 35b23000
donn't initialize ther user_gpio (main_key:boot_init_gpio)
DRV_DISP_Init: opened
[      0.521]boot_disp.output_type=2
[      0.525]boot_disp.output_mode=5
[      0.528]boot_disp.auto_hpd=1
workmode = 0
[      1.832]NAND: NAND_UbootInit
NB1 : enter NAND_LogicInit
nand : get id_number_ctl from script, 3
not burn nand partition table!
NB1 : nand_info_init fail
[      5.061]nand init fail
set to recovery
try sprite_led_gpio config
sprite_led_gpio start
sunxi sprite begin
screen_width = 800
screen_height = 480
bar x1: 200 y1: 200
bar x2: 600 y2: 280
read mbr failed
sprite update error: no data part found
read mbr failed
sprite update error: read image start error
sprite update error: current card sprite failed
now hold the machine
fail to find part named env
Using default environment

In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
mbr not exist
base bootcmd=run setargs_nand boot_normal
bootcmd set setargs_nand
key 0
recovery key high 6, low 4
cant find fstbt value
no misc partition is found
to be run cmd=run setargs_nand boot_normal
the part isn't exist
WORK_MODE_BOOT
WORK_MODE_BOOT
[      5.154]Hit any key to stop autoboot:0
cant find part named boot
sunxi_flash - sunxi_flash sub-system

Usage:
sunxi_flash read command parmeters :
parmeters 0 : addr to load(hex only)
parmeters 1 : the name of the part to be load
: the number of bytes to be load(hex only)
if not exist, the number of bytes to be load is the size of the part indecated on partemeter 1
boota: bad boot image magic, maybe not a boot.img?
sunxi#

cubieplayer 发表于 2014-5-28 09:58:14

这个问题已经解决了,用cubian-nandinstall 1.1.1

wkloh 发表于 2014-6-7 16:25:57

cubieplayer 发表于 2014-5-28 09:58 static/image/common/back.gif
这个问题已经解决了,用cubian-nandinstall 1.1.1

cubieplayer版主,你好!

我现在用的cubieboard A20 RevB, cubian 桌面版 TF卡。 用 “apt-cache policy cubian-nandinstall”显示 cubian-nandinstall 1.1-4,更新后写入nand flash,nand flash依旧不能启动。

是我用cubian-nandinstall版本不对吗?HELLO! BOOT0 is starting!
boot0 version : 3.0.0
dram size =1024
sum=0x01be1e3a
src_sum=0x01be1e3a
Ready to disable icache.
Jump to secend Boot.
[      0.131]

U-Boot 2011.09-rc1-00003-ge89ab14-dirty (Jan 03 2014 - 12:57:33) Allwinner Technology

[      0.140]version: 1.1.0
[      0.143]pmbus:   ready
[      0.248]PMU: AXP209
[      0.251]PMU: AXP20x found
[      0.254]PMU: bat ratio = 100
[      0.257]after set, dcdc2 =1400mv
[      0.261]PMU: dcdc2 1400
[      0.263]PMU: pll1 912 Mhz
boot_clock = 912
dcdc2_vol = 1400
[      0.271]after set, dcdc2 =1400mv
dcdc3_vol = 1250
ldo2_vol = 3000
ldo3_vol = 2800
ldo4_vol = 2800
power_start = 0
storage_type = -1
usb_recovery = 1
find power_sply to end
fel key old mode
run key detect
no key found
no key input
dram_para_set start
dram_para_set end
[      0.307]DRAM:1 GiB
relocation Offset is: 35b23000
donn't initialize ther user_gpio (main_key:boot_init_gpio)
DRV_DISP_Init: opened
[      0.521]boot_disp.output_type=4
[      0.525]boot_disp.output_mode=4
[      0.528]boot_disp.auto_hpd=1
workmode = 0
[      1.832]NAND: NAND_UbootInit
NB1 : enter NAND_LogicInit
nand : get id_number_ctl from script, 3
not burn nand partition table!
NB1 : nand_info_init fail
[      4.346]nand init fail
set to recovery
try sprite_led_gpio config
sprite_led_gpio start
sunxi sprite begin
screen_width = 800
screen_height = 480
bar x1: 200 y1: 200
bar x2: 600 y2: 280
read mbr failed
sprite update error: no data part found
read mbr failed
sprite update error: read image start error
sprite update error: current card sprite failed
now hold the machine
fail to find part named env
Using default environment

In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
mbr not exist
base bootcmd=run setargs_nand boot_normal
bootcmd set setargs_nand
key 0
recovery key high 6, low 4
cant find fstbt value
no misc partition is found
to be run cmd=run setargs_nand boot_normal
the part isn't exist
WORK_MODE_BOOT
WORK_MODE_BOOT
[      4.440]Hit any key to stop autoboot:0
cant find part named boot
sunxi_flash - sunxi_flash sub-system

Usage:
sunxi_flash read command parmeters :
parmeters 0 : addr to load(hex only)
parmeters 1 : the name of the part to be load
: the number of bytes to be load(hex only)
if not exist, the number of bytes to be load is the size of the part indecated on partemeter 1
boota: bad boot image magic, maybe not a boot.img?
sunxi#

cubieplayer 发表于 2014-6-12 10:17:47

wkloh 发表于 2014-6-7 16:25 static/image/common/back.gif
cubieplayer版主,你好!

我现在用的cubieboard A20 RevB, cubian 桌面版 TF卡。 用 “apt-cache polic ...

回头我把我的nand的头1M数据发给你,你dd一下看能不能解决,估计是头部有magic code

cubieplayer 发表于 2014-6-12 10:17:51

wkloh 发表于 2014-6-7 16:25 static/image/common/back.gif
cubieplayer版主,你好!

我现在用的cubieboard A20 RevB, cubian 桌面版 TF卡。 用 “apt-cache polic ...

回头我把我的nand的头1M数据发给你,你dd一下看能不能解决,估计是头部有magic code

wkloh 发表于 2014-6-13 08:19:46

谢谢,等待中。。。

应为接触了cubian,才开始学习linux,请问 dd是不是这样设置:
dd if=/dev/zero of=/dev/nanda bs=1k count=1024 //清空 uboot 1M空间
dd if=1M.bin of=/dev/nanda bs=1024 seek=8 //倒入 1M数据

cubieplayer 发表于 2014-6-13 10:05:17

本帖最后由 cubieplayer 于 2014-6-13 10:07 编辑

wkloh 发表于 2014-6-13 08:19 static/image/common/back.gif
谢谢,等待中。。。

应为接触了cubian,才开始学习linux,请问 dd是不是这样设置:

设备应该是/dev/nand而不是/dev/nandadd if=/dev/zero of=/dev/nand bs=1k count=1024 //清空 uboot 1M空间这个不需要seek=8,你这个命令原来的意思是从1M.bin导入数据,但是跳过头部的8k,我们不许要这么做,直接用下面命令即可dd if=1M.bin of=/dev/nand bs=1024 //倒入 1M数据

wkloh 发表于 2014-6-13 10:57:23

cubieplayer 发表于 2014-6-13 10:05 static/image/common/back.gif
设备应该是/dev/nand而不是/dev/nanda这个不需要seek=8,你这个命令原来的意思是从1M.bin导入数据,但是跳 ...

我是参考soloforce版主的“2013.12.28更新:构建教程,支持CB2、CT] 构建自己的Debian Linux”http://forum.cubietech.com/forum.php?mod=viewthread&tid=1108&extra=page%3D1的文档,还是误解了dd命令的用法,谢谢版主提点。

版主你可以把数据发到我的邮箱wahkiangloh@hotmail.com吗?

测试后再回来报告进展。

wkloh 发表于 2014-6-16 20:59:03

cubieplayer 发表于 2014-6-12 10:17 static/image/common/back.gif
回头我把我的nand的头1M数据发给你,你dd一下看能不能解决,估计是头部有magic code ...

cubieplayer版主,请问可以发你的nand的头1M数据给我做测试吗?这个1M数据可以用在cubietruck的nand 吗。

aaron 发表于 2014-6-17 12:35:20

wkloh 发表于 2014-6-16 20:59 static/image/common/back.gif
cubieplayer版主,请问可以发你的nand的头1M数据给我做测试吗?这个1M数据可以用在cubietruck的nand 吗。 ...

问题解决了么,亲
页: [1] 2 3
查看完整版本: 新买的板子烧写系统到nand flash以后无法重启