官方制卡工具做出来的启动卡报ERROR:   image size check fail! 
收藏回复举报
官方制卡工具做出来的启动卡报ERROR:   image size check fail! 
t('forum.solved') 已解决
发表于2024-06-25 13:23:39
0 查看

 新的200DK A2 开发板  20T算力版本,使用制卡工具制作,sd卡为128G 金士顿 ,启动后报

ERROR:   image size check fail! 

ERROR:   size check failed! 

ERROR:   tee check before verity fail! 

ERROR:   tee decrypt or cms verify failed. 

Image Auth Fail, 0xFFFFFFFF! 

使用以前能启动的卡

以下为串口启动报文。

ep/rc mode: 0 

Enable wdg. 

#1 

Pll Init ..pll[0] inited 

pll[2] inited 

pll[3] inited 

pll[4] inited 

pll[5] inited 

OK. 

reset src:0x00000001 

lsadc dreset ok 

lsadc0 init ok 

adc0in0:12 adc0in1:586 adc0in2:93 

adc1in2:91 adc1in3:588 

adc boardId:51150 

Load main hboot1_a 

Load main hilink25 

hboot1a hash b25711e0. 

Boot Entry. 

Load main hboot1_b 

[0.091] [BOOT_TRACE]1b start 

current[3], last[0] 

Dfx init l2 xloader done 

Hboot1_a point:[06] 01  02  05  06  11  15  21  65  28  95  198  11  00  128  209  137  96  117  49  220  

sfc set Qline. 

Device id: 0x3a25c2 

Qual mode status:[0x42] 

Quad Enable:0x44ee44ee 

Boot entry(123) 

Iso state: 0x0 

pll[6] inited 

pll[7] inited 

pll[8] inited 

pll[9] inited 

pll[10] inited 

 

Board info: 

sctrl pad info  : 0xd0940 

boardid         : 51150 

bootmode        : 5 

ep/rc mode      : 0 

pg info         : 0 

reset reason    : 0x1 

sfc mode        : 4byte 

secure boot     : 1 

 

current[4], last[0] 

[0.152] [BOOT_TRACE]Load main userbasecfg 

non-secure vef success! 

Cfg type-1 no cfg info. 

No info in userBaseConfig 

current[5], last[0] 

[0.164] [BOOT_TRACE]Load main sysbasecfg 

SyscfgProc [350|0|1] 

Update bitmap: 0xf 0x1 0x1 0x0 0x3 0x3 0x0 0x0 0x0 0x0 0x0 0x0 0x1 0x7 0xf 0x3f 

bitmap info update load success 

SyscfgProc [352|0|1] 

write share info ok 

write nosec share info ok 

current[6], last[0] 

[0.192] [BOOT_TRACE]Load main lpddr 

[0.226] [BOOT_TRACE]Dreset Ts OK 

current[7], last[0] 

[0.226] [BOOT_TRACE]Load main hsmtag 

done. 

current[8], last[0] 

[0.251] [BOOT_TRACE]Load main atf 

report atf info to ddr OK 

current[9], last[0] 

[0.292] [BOOT_TRACE]Load main hboot2 

report uefi info to ddr OK 

PCIE0/1/2/3 RC Config Preset OK. 

use macro setting from syscfg 

macro[0] protocols: 

    ds[0] : PCIE 

    ds[1] : PCIE 

    ds[2] : PCIE 

    ds[3] : PCIE 

macro[1] protocols: 

    ds[0] : PCIE 

    ds[1] : USB  

    ds[2] : USB  

    ds[3] : USB  

Macro[0] power up (time 442ms) 

Macro[1] power up (time 488ms) 

[0.226] [BOOT_TRACE] ddr init start 

swapType: 0x1 

Zq cal start 

Zq cal ok 

C0 R2 S800 M1,R36666 

C1 R2 S800 M1,R36666 

C2 R2 S800 M1,R36666 

C3 R2 S800 M1,R36666 

C4 R2 S800 M1,R36666 

C5 R2 S800 M1,R36666 

ChMap: 0x3f 

ddr freq: 2131 

iecc disable 

Rpt 0x3000, fb 0x800, msdw 0x3000 

[0.752] [BOOT_TRACE] ddr init end 

Dfx init ddr done 

Init bbox data region 

Copy cfg OK. 

Copy cfg OK. 

Copy ddr Cache done. 

current[10], last[0] 

[0.832] [BOOT_TRACE]finish image load. 

current[20]p to HSM... 

NOTICE:  socket 0 mp config 

NOTICE:  Gicd, its and mbigen dreset ok 

NOTICE:  Sata dreset ok 

NOTICE:  Aic dreset ok, state 0x0 

NOTICE:  Peri sub mbigen init ok 

NOTICE:  L3D sec space cfg...NOTICE:  ok 

NOTICE:  L3t lp icg module en cfg...NOTICE:  ok 

NOTICE:  MN init(ASIC/EMU) start 

NOTICE:  MN barrier 0x35b, dvm 0x31b 

NOTICE:  MN init ok 

NOTICE:  NIC/SATA/USB SMMU bypass ok 

NOTICE:  Smmu init(ASIC/EMU) ok 

NOTICE:  L2buf secure init ok 

NOTICE:  ErrRsp Config(ASIC/EMU) ok 

NOTICE:  switch 1.8V voltage for sd is ok 

NOTICE:  Booting Trusted Firmware 

NOTICE:  BL1:  

NOTICE:  BL1: Built :  

NOTICE:  BL1: Booting BL2 

NOTICE:  BL2:  

NOTICE:  BL2: Built :  

NOTINOTICE:  BL31:  

NOTICE:  BL31: Built :  

NOTICE:  mApeiTrustfirmwareStruc = 0x10602000  

NOTICE:  BL3-1: clean atf dcache 

NOTICE:  BL3-1: jump to prepi entry 

current keypoint[71], last keypoint[0]. 

[1.107] [BOOT_TRACE] auto boot. 

This is sd boot entry 

emmcsd init 

count(1) 

end 

SYS Enable:0x0, gpio:0x5 

recEnable:0x0, gpioStatus:0x0 

current keypoint[89], last keypoint[0]. 

start load os image 

try flag:0x0, reset count:0x0 

cpld val: 0x0. 

boot2 reset count:0x1 

Current start mode :0x0 not support. 

boot area main. 

1301 imgS. 

5173 imgE. 

[5.305] [BOOT_TRACE]  load image success. 

load crl from Storage media 

current keypoint[90], last keypoint[0]. 

waiting for hsm ready..OK 

[5.334] [BOOT_TRACE] Tee Load Start. 

ERROR:   image size check fail! 

ERROR:   size check failed! 

ERROR:   tee check before verity fail! 

ERROR:   tee decrypt or cms verify failed. 

Image Auth Fail, 0xFFFFFFFF! 

TEE Verify Fail, Size = 0x500000, status = 0xFFFFFFFF! 

TEE Load Failed, Status = Security Violation! 

Normal boot fail, Status = Security Violation. start to b . 

我要发帖子