zlyny 发表于 2014-12-23 23:47:57

CubieBoard3板子使用卡系统后,nand系统丢失

本帖最后由 ahha007 于 2018-3-2 13:19 编辑

nand为android v3固件,卡刷百度盘上的cubieez固件,每次进入cubieez系统后,拔掉tf卡,android系统就进不去了
串口输出如下HELLO! BOOT0 is starting!
boot0 version : 3.0.0
dram size =2048
sum=0x65176209
src_sum=0x65176209
Ready to disable icache.
Jump to secend Boot.
[      0.130]

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.247]PMU: AXP209
[      0.250]PMU: AXP20x found
[      0.253]PMU: bat ratio = 100
[      0.257]after set, dcdc2 =1450mv
[      0.260]PMU: dcdc2 1450
[      0.263]PMU: pll1 912 Mhz
boot_clock = 912
dcdc2_vol = 1450
[      0.271]after set, dcdc2 =1450mv
dcdc3_vol = 1300
ldo2_vol = 3000
ldo3_vol = 2800
ldo4_vol = 2800
power_start = 1
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:2 GiB
relocation Offset is: 75b23000
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=11
[      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
[      8.275]nand init fail
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
[      8.313]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#是我操作有误么?



@allen 发表于 2014-12-24 10:37:06

本帖最后由 @allen 于 2015-6-15 09:55 编辑


正解:

#mount /dev/mmcblk0p1 /mnt
#cd /mnt
#bin2fex script.bin script.fex
#vi script.fex
将 'nand_used=1' 改为 'nand_used=0'
#fex2bin script.fex script.bin
#cd
#umount /mnt
#reboot

重新刷NAND FLASH ,卡系统以后不会破坏NAND 的系统了。
http://docs.cubieboard.org/tutor ... oid/lubuntu_dual_os



daiyoko 发表于 2015-3-31 20:44:24

從上面錯誤看,應該是 nand 未準備好,一直都是在用 TF 卡。

NB1 : enter NAND_LogicInit
nand : get id_number_ctl from script, 3
not burn nand partition table!
NB1 : nand_info_init fail
[      8.275]nand init fail
fail to find part named env

cool-fire 发表于 2015-5-20 20:54:29

怎么解决啊,小白同求!!

klauszong 发表于 2015-6-15 09:23:19

@allen 发表于 2014-12-24 10:37 static/image/common/back.gif
http://docs.cubieboard.org/tutorials/cb2/development/how_to_use_android/lubuntu_dual_os

买回来郁闷了好几天,就是出这问题,终于找到了你的解决办法,希望能管用,晚上回去试试
页: [1]
查看完整版本: CubieBoard3板子使用卡系统后,nand系统丢失