the MiniLoaderAll.bin singed by signed tool on linux cann't boot succufully.

99 views
Skip to first unread message

Yuming Ma

unread,
Jul 2, 2018, 3:15:01 AM7/2/18
to linux-rockchip
Dear ALL.


I signed the MiniLoaderAll.bin by the tool named SecureBootConsole on linux. the commad was form Rockchip. flash the signed MiniLoaderALL.bin into the rk3399 loader parition. the rk3399 can't boot.  the other signed images do  and boot sucessfully. so How to do it?
the commad: ./SecureBootConsole -p  -slxb  privateKey.bin publicKey.bin /home/mayuming/code/v3399/new3399/rockdev/Image-rk3399_firefly_box/MiniLoaderAll.bin 

the boot log:
Boot1: 2017-06-09, version: 1.09
CPUId = 0x0
ChipType = 0x10, 1903
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=7456MB
FwPartOffset=2000 , 100000
SdmmcInit=0 20
StorageInit ok = 66652
powerOn 478986
DDR Version 1.08 20170320
In
soft reset
SRX
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel 1: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x20
ch 1 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x32817281, stride = 0x9
Boot1: 2017-06-09, version: 1.09
CPUId = 0x0
ChipType = 0x10, 1901
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=7456MB
FwPartOffset=2000 , 100000
SdmmcInit=0 20
StorageInit ok = 66694
powerOn 479026
DDR Version 1.08 20170320
In
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel 1: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x20
ch 1 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x32817281, stride = 0x9
OUT
Boot1: 2017-06-09, version: 1.09
CPUId = 0x0
ChipType = 0x10, 1831
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=7456MB
FwPartOffset=2000 , 100000
SdmmcInit=0 20
StorageInit ok = 65880
SEC = 1
SecureInit 4 66091
secure head flag:0x0
SecureInit 404 66862
secure head flag:0x0
SecureInit 804 67580
secure head flag:0x0
SecureInit c04 68297
secure head flag:0x0
SecureInit 1004 69026
secure head flag:0x0
SecureInit 1404 69752
secure head flag:0x0
SecureInit 1804 70396
secure head flag:0x0
SecureInit 1c04 71039
secure head flag:0x0
SecureInit 2004 71680
secure head flag:0x0
SecureInit 2404 72321
secure head flag:0x0
SecureInit 2804 72956
secure head flag:0x0
SecureInit 2c04 73599
secure head flag:0x0
SecureInit 3004 74245
secure head flag:0x0
SecureInit 3404 74890
secure head flag:0x0
SecureInit 3804 75532
secure head flag:0x0
SecureInit 3c04 76174
secure head flag:0x0
check key error
powerOn 48904
Reply all
Reply to author
Forward
0 new messages