CheetahLeee 发表于 2023-12-6 10:40:21

RK3568 Secure Boot无法启动问题

各位大神,有没有遇到过rk3568的板子,误刷了开启Secure Boot的MiniLoaderAll.bin,现在使用SDK中提供的update.img 无法下载的问题?
板子上电默认就进到MASKROM模式,
串口log:
DDR Version V1.13 20220218
In
ddrconfig:15
DDR4, 324MHz
BW=32 Col=10 Bk=4 BG=2 CS0 Row=16 CS=1 Die BW=16 Size=2048MB
tdqss: cs0 dqs0: 24ps, dqs1: 24ps, dqs2: -96ps, dqs3: -96ps,

change to: 324MHz
clk skew:0x87
PHY drv:clk:37,ca:37,DQ:37,odt:0
vrefinner:50%, vrefout:50%
dram drv:34,odt:0

change to: 528MHz
clk skew:0x87
PHY drv:clk:37,ca:37,DQ:37,odt:139
vrefinner:50%, vrefout:61%
dram drv:34,odt:120

change to: 780MHz
clk skew:0x87
PHY drv:clk:37,ca:37,DQ:37,odt:139
vrefinner:50%, vrefout:61%
dram drv:34,odt:120

change to: 1560MHz(final freq)
clk skew:0x87
PHY drv:clk:37,ca:37,DQ:37,odt:139
vrefinner:50%, vrefout:61%
dram drv:34,odt:120
cs 0:
the read training result:
DQS0:0x2e, DQS1:0x2c, DQS2:0x26, DQS3:0x2f,
min: 0xd0xd0xd0xb0x20x50x40x2 , 0xd0xc0x20x80x80xa0x80xa ,
       0x30x50x90x70x40x20x30x3 , 0x70x80x70x10x70x80x80xa ,
mid:0x26 0x25 0x25 0x21 0x1a 0x1b 0x1d 0x18 ,0x24 0x24 0x18 0x1f 0x21 0x23 0x22 0x23 ,
      0x1b 0x1e 0x22 0x20 0x1c 0x1b 0x1a 0x1b ,0x23 0x21 0x20 0x1c 0x21 0x23 0x22 0x24 ,
max:0x3f 0x3d 0x3d 0x37 0x32 0x32 0x36 0x2f ,0x3b 0x3d 0x2f 0x37 0x3a 0x3d 0x3c 0x3d ,
      0x34 0x38 0x3c 0x3a 0x34 0x34 0x32 0x34 ,0x3f 0x3b 0x3a 0x37 0x3b 0x3e 0x3c 0x3e ,
range:0x32 0x30 0x30 0x2c 0x30 0x2d 0x32 0x2d ,0x2e 0x31 0x2d 0x2f 0x32 0x33 0x34 0x33 ,
      0x31 0x33 0x33 0x33 0x30 0x32 0x2f 0x31 ,0x38 0x33 0x33 0x36 0x34 0x36 0x34 0x34 ,
the write training result:
DQS0:0x8b, DQS1:0x8b, DQS2:0x74, DQS3:0x74,
min:0x75 0x73 0x78 0x74 0x69 0x68 0x6a 0x68 0x6e ,0x75 0x73 0x71 0x75 0x70 0x75 0x75 0x75 0x6c ,
      0x5d 0x64 0x65 0x66 0x5d 0x5c 0x59 0x5e 0x5d ,0x5d 0x5b 0x5d 0x5a 0x5b 0x5c 0x59 0x5d 0x59 ,
mid:0x90 0x8e 0x93 0x8e 0x82 0x82 0x85 0x81 0x89 ,0x8e 0x8e 0x86 0x8f 0x8b 0x8e 0x8f 0x8f 0x86 ,
      0x78 0x7e 0x7e 0x7e 0x76 0x75 0x73 0x77 0x76 ,0x78 0x75 0x77 0x73 0x75 0x77 0x74 0x76 0x74 ,
max:0xab 0xaa 0xaf 0xa9 0x9c 0x9d 0xa0 0x9a 0xa5 ,0xa8 0xaa 0x9b 0xa9 0xa6 0xa8 0xaa 0xa9 0xa0 ,
      0x94 0x98 0x97 0x96 0x90 0x8e 0x8d 0x91 0x8f ,0x93 0x8f 0x92 0x8d 0x90 0x93 0x90 0x90 0x90 ,
range:0x36 0x37 0x37 0x35 0x33 0x35 0x36 0x32 0x37 ,0x33 0x37 0x2a 0x34 0x36 0x33 0x35 0x34 0x34 ,
      0x37 0x34 0x32 0x30 0x33 0x32 0x34 0x33 0x32 ,0x36 0x34 0x35 0x33 0x35 0x37 0x37 0x33 0x37 ,
out
U-Boot SPL board init
U-Boot SPL 2017.09 (Sep 11 2023 - 10:45:32)
unknown raw ID phN
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
Card did not respond to voltage select!
mmc_init: -95, time 12
spl: mmc init failed with error: -95
Trying to boot from MMC1
SPL: A/B-slot: _a, successful: 0, tries-remain: 5
Trying fit image at 0x4000 sector
## Verified-boot: 1
sha256,rsa2048:dev-error!
Can't get hash value property for '' hash node in 'conf' config node
Failed to verify required signature 'key-dev'
## Verified-boot: 1
fit verify configure failed, ret=-1
Trying fit image at 0x5000 sector
## Verified-boot: 1
sha256,rsa2048:dev-error!
Can't get hash value property for '' hash node in 'conf' config node
Failed to verify required signature 'key-dev'
## Verified-boot: 1
fit verify configure failed, ret=-1
Trying fit image at 0x4000 sector
## Verified-boot: 1
sha256,rsa2048:dev-error!
Can't get hash value property for '' hash node in 'conf' config node
Failed to verify required signature 'key-dev'
## Verified-boot: 1
fit verify configure failed, ret=-1
Trying fit image at 0x5000 sector
## Verified-boot: 1
sha256,rsa2048:dev-error!
Can't get hash value property for '' hash node in 'conf' config node
Failed to verify required signature 'key-dev'
## Verified-boot: 1
fit verify configure failed, ret=-1
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
Reset the board to bootrom #

forqs 发表于 2023-12-6 11:23:34

按住板子上的K8 maskrom按键后上电,烧写工具识别到maskrom设备,选好update.img固件,再点升级,这样能烧写吗?

CheetahLeee 发表于 2023-12-6 11:51:54

forqs 发表于 2023-12-6 11:23
按住板子上的K8 maskrom按键后上电,烧写工具识别到maskrom设备,选好update.img固件,再点升级,这样能烧 ...
直接报Download Boot Fail

forqs 发表于 2023-12-6 11:58:15

换台电脑试下呢,或者试试用源码里默认的MiniLoaderAll.bin(rk356x_spl_loader_v1.15.112.bin)文件,在烧录工具的下载镜像界面,识别maskrom设备后,勾选强制按地址写,把MiniLoaderAll.bin写入地址0x0。

CheetahLeee 发表于 2023-12-6 13:33:09

forqs 发表于 2023-12-6 11:58
换台电脑试下呢,或者试试用源码里默认的MiniLoaderAll.bin(rk356x_spl_loader_v1.15.112.bin)文件,在烧 ...

还是下载Boot失败

forqs 发表于 2023-12-7 09:19:08

CheetahLeee 发表于 2023-12-6 13:33
还是下载Boot失败

这个购买当时联系的销售是哪位呢
页: [1]
查看完整版本: RK3568 Secure Boot无法启动问题