全志R18 Tina3.0 重启后开机卡死问题解决方法

【复现现象】

全志R18 Tina3.0 重启后开机卡死,reboot重启或者按 rese键重启,较大概率卡在这里

FAT: Misaligned buffer address (4ac89eb8)

no misc partition is found

set next system normal

NAND_UbootExit

NB1 : N[684]

特别是烧写完之后第一次启动,几乎必现,具体log如下:

[684]HELLO! BOOT0 is starting!
[687]boot0 commit : a70c5bbb58695480b53507fd1f05a1b785c0038c
 
[725]special boot0, will not check key
[729]rsb_send_initseq: rsb clk 400Khz -> 3Mhz
[735]PMU: AXP81X
[737]set pll start
[742]set pll end
[743]rtc[3] value = 0x0000b00f
[746]DRAM driver version: V1.6
[749]the chip id is 0x000000bc
[752]the chip id is 0x000000bc
[755]the chip id is 0x000000bc
[758]the chip id is 0x000000bc
[761]the chip id is 0x000000bc
[764]DRAM Type = 3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
[769]DRAM clk = 672 MHz
[772]DRAM zq value: 003b3bbb
[777]DRAM init OK 
[779]DRAM size = 256 MB
[781]DRAM init ok
[783]dram size =256
[786]boot0:nand driver date:20171025
[789]NAND_ClkRequest, nand_index: 0x00000000
[793]Reg 0x01c20080: 0x80000000
[796]Reg 0x01c20060: 0x00006040
[799]Reg 0x01c202c0: 0x00006040
[802]NAND_SetClk, nand_index: 0x00000000
[806]Reg 0x01c20080: 0x80000000
[809]NB0 : nand phy init ok
[811]block from 2 to 41
[813]nand block 2 is bad
[816]load_toc1_from_nand err: the toc1 head magic is invalid
[822]nand block 4 is bad
[824]nand block 5 is bad
[827]nand block 6 is bad
[829]nand block 7 is bad
[832]current block is 8 and last block is 41.
[853]current block is 9 and last block is 41.
[873]current block is 10 and last block is 41.
[894]current block is 11 and last block is 41.
[915]current block is 12 and last block is 41.
[919]current block is 13 and last block is 41.
[940]current block is 14 and last block is 41.
[961]current block is 15 and last block is 41.
[982]current block is 16 and last block is 41.
[1043]The file stored in start block %u is perfect.
[1047]Entry_name        = u-boot
[1054]Entry_name        = monitor
[1058]Entry_name        = scp
[1065]set arisc reset to de-assert state
[1068]Entry_name        = logo
[1071]Entry_name        = soc-cfg
[1074]Entry_name        = dtb
[1077]Warning:can not find dtb--1 in toc1
[1080]default load dtb
[1083]Warning:can not find soc-cfg--1 in toc1
[1087]default load soc-cfg
[1090]Ready to disable icache.
*ィ@=鈼  Configuring SPC Controller
INFO:    sram test reg 0
NOTICE:  BL3-1: v1.0(debug):fb15456
NOTICE:  BL3-1: Built : 19:16:14, Dec  1 2017
NOTICE:  BL3-1 commit: fb15456f8e4ddc7b0c7e45acc3fb3d1acf9775a8

INFO:    BL3-1: Initializing runtime services
ERROR:   Error initializing runtime service tspd_fast
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x4a000000
INFO:    BL3-1: Next image spsr = 0x1d3


U-Boot 2014.07 (Sep 05 2018 - 18:23:59) Allwinner Technology 

uboot commit : 6f335f96edbddb169d77be8a94757dfd6a3984f7
 
normal mode: with secure monitor
I2C:   ready
rsb: secure monitor exist
[1.151]pmbus:   ready
[SCP] :sunxi-arisc driver begin startup 2
[SCP] :arisc version: [sun8iw5_v0.03.00-399-g9fac845]
[SCP] :sunxi-arisc driver v1.10 is starting
boot0 probe pmu_type = 0x11
[1.191]PMU: cpux 1008 Mhz,AXI=336 Mhz
PLL6=600 Mhz,AHB1=150 Mhz, APB1=75Mhz AHB2=150Mhz MBus=400Mhz
DRAM:  256 MiB
Relocation Offset is: 05e04000
gic: sec monitor mode
[1.256]power on cpu1
[cpu1]Battery Voltage=0, Ratio=0
[cpu1]STATE_SHUTDOWN_CHARGE
[1.267]power on cpu2
workmode = 0,storage type = 0
[cpu2]bmp lzma decode err
[1.267]NAND: NAND_UbootInit
NAND_UbootInit start
NB1 : enter NAND_LogicInit
nand : get id number_ctl from script:0x55aaaa55
uboot: nand version: 3 5020 20180528 16891444 
nand : get CapacityLevel from script, 55aaaa55
not burn nand partition table!
NB1 : nftl num: 1 
 init nftl: 0 
NB1 : NAND_LogicInit ok, result = 0x0 
NAND_UbootInit end: 0x0
reading ULI/factory/board_id.txt
** Unable to read file ULI/factory/board_id.txt **
-1 bytes read
Get boardid faile
check boardid faile,will used default soccfg and dtb!
get secure storage map err
sunxi secure storage is not supported
[1.565]usb burn from boot
delay time 0
[1.647]usb prepare ok
usb sof ok
[1.855]usb probe ok
[1.855]usb setup ok
set address 0x1e
set address 0x1e ok
[4.886]do_burn_from_boot usb : have no handshake
ab update mode
use bootA
use rootfsA
get secure storage map err
secure storage init fail
root_partition is rootfsA
--------fastboot partitions--------
-total partitions:9-
-name-        -start-       -size-      
UDISK       : 5740000       153bc00     
env         : 100000        100000      
bootA       : 200000        a00000      
rootfsA     : c00000        1e00000     
bootB       : 2a00000       a00000      
rootfsB     : 3400000       1e00000     
rootfs_data : 5200000       400000      
private     : 5600000       100000      
sgw_update  : 5700000       40000       
-----------------------------------
set root to /dev/nand0p4
reading ULI/factory/mac.txt
FAT: Misaligned buffer address (4ac89eb8)
no misc partition is found
set next system normal
NAND_UbootExit
NB1 : N[684]

【解决方法】

这个问题是因为设备本身没有电池,但是sys_config.fex没有设置设备是不用电池的,开机的时候就会一直在找电池,但是又找不到,就一直卡在那里了,把设置设为不使用电池就行了,修改的方法如下:

全志R18 Tina3.0 重启后开机卡死问题解决方法_第1张图片

 

你可能感兴趣的:(全志-FAQ,全志-Tina)