嵌入式爱好者

查看: 2869|回复: 5

[Linux] RK3568 Secure Boot无法启动问题

[复制链接]

1

主题

3

帖子

12

积分

RK3568通行证

扫一扫,手机访问本帖
发表于 2023-12-6 10:40:21 | 显示全部楼层 |阅读模式
各位大神,有没有遇到过rk3568的板子,误刷了开启Secure Boot的MiniLoaderAll.bin,现在使用SDK中提供的update.img 无法下载的问题?
板子上电默认就进到MASKROM模式,
串口log:
  1. DDR Version V1.13 20220218
  2. In
  3. ddrconfig:15
  4. DDR4, 324MHz
  5. BW=32 Col=10 Bk=4 BG=2 CS0 Row=16 CS=1 Die BW=16 Size=2048MB
  6. tdqss: cs0 dqs0: 24ps, dqs1: 24ps, dqs2: -96ps, dqs3: -96ps,

  7. change to: 324MHz
  8. clk skew:0x87
  9. PHY drv:clk:37,ca:37,DQ:37,odt:0
  10. vrefinner:50%, vrefout:50%
  11. dram drv:34,odt:0

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

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

  22. change to: 1560MHz(final freq)
  23. clk skew:0x87
  24. PHY drv:clk:37,ca:37,DQ:37,odt:139
  25. vrefinner:50%, vrefout:61%
  26. dram drv:34,odt:120
  27. cs 0:
  28. the read training result:
  29. DQS0:0x2e, DQS1:0x2c, DQS2:0x26, DQS3:0x2f,
  30. min  : 0xd  0xd  0xd  0xb  0x2  0x5  0x4  0x2 , 0xd  0xc  0x2  0x8  0x8  0xa  0x8  0xa ,
  31.        0x3  0x5  0x9  0x7  0x4  0x2  0x3  0x3 , 0x7  0x8  0x7  0x1  0x7  0x8  0x8  0xa ,
  32. mid  :0x26 0x25 0x25 0x21 0x1a 0x1b 0x1d 0x18 ,0x24 0x24 0x18 0x1f 0x21 0x23 0x22 0x23 ,
  33.       0x1b 0x1e 0x22 0x20 0x1c 0x1b 0x1a 0x1b ,0x23 0x21 0x20 0x1c 0x21 0x23 0x22 0x24 ,
  34. max  :0x3f 0x3d 0x3d 0x37 0x32 0x32 0x36 0x2f ,0x3b 0x3d 0x2f 0x37 0x3a 0x3d 0x3c 0x3d ,
  35.       0x34 0x38 0x3c 0x3a 0x34 0x34 0x32 0x34 ,0x3f 0x3b 0x3a 0x37 0x3b 0x3e 0x3c 0x3e ,
  36. range:0x32 0x30 0x30 0x2c 0x30 0x2d 0x32 0x2d ,0x2e 0x31 0x2d 0x2f 0x32 0x33 0x34 0x33 ,
  37.       0x31 0x33 0x33 0x33 0x30 0x32 0x2f 0x31 ,0x38 0x33 0x33 0x36 0x34 0x36 0x34 0x34 ,
  38. the write training result:
  39. DQS0:0x8b, DQS1:0x8b, DQS2:0x74, DQS3:0x74,
  40. min  :0x75 0x73 0x78 0x74 0x69 0x68 0x6a 0x68 0x6e ,0x75 0x73 0x71 0x75 0x70 0x75 0x75 0x75 0x6c ,
  41.       0x5d 0x64 0x65 0x66 0x5d 0x5c 0x59 0x5e 0x5d ,0x5d 0x5b 0x5d 0x5a 0x5b 0x5c 0x59 0x5d 0x59 ,
  42. mid  :0x90 0x8e 0x93 0x8e 0x82 0x82 0x85 0x81 0x89 ,0x8e 0x8e 0x86 0x8f 0x8b 0x8e 0x8f 0x8f 0x86 ,
  43.       0x78 0x7e 0x7e 0x7e 0x76 0x75 0x73 0x77 0x76 ,0x78 0x75 0x77 0x73 0x75 0x77 0x74 0x76 0x74 ,
  44. max  :0xab 0xaa 0xaf 0xa9 0x9c 0x9d 0xa0 0x9a 0xa5 ,0xa8 0xaa 0x9b 0xa9 0xa6 0xa8 0xaa 0xa9 0xa0 ,
  45.       0x94 0x98 0x97 0x96 0x90 0x8e 0x8d 0x91 0x8f ,0x93 0x8f 0x92 0x8d 0x90 0x93 0x90 0x90 0x90 ,
  46. range:0x36 0x37 0x37 0x35 0x33 0x35 0x36 0x32 0x37 ,0x33 0x37 0x2a 0x34 0x36 0x33 0x35 0x34 0x34 ,
  47.       0x37 0x34 0x32 0x30 0x33 0x32 0x34 0x33 0x32 ,0x36 0x34 0x35 0x33 0x35 0x37 0x37 0x33 0x37 ,
  48. out
  49. U-Boot SPL board init
  50. U-Boot SPL 2017.09 (Sep 11 2023 - 10:45:32)
  51. unknown raw ID phN
  52. unrecognized JEDEC id bytes: 00, 00, 00
  53. Trying to boot from MMC2
  54. Card did not respond to voltage select!
  55. mmc_init: -95, time 12
  56. spl: mmc init failed with error: -95
  57. Trying to boot from MMC1
  58. SPL: A/B-slot: _a, successful: 0, tries-remain: 5
  59. Trying fit image at 0x4000 sector
  60. ## Verified-boot: 1
  61. sha256,rsa2048:dev-  error!
  62. Can't get hash value property for '' hash node in 'conf' config node
  63. Failed to verify required signature 'key-dev'
  64. ## Verified-boot: 1
  65. fit verify configure failed, ret=-1
  66. Trying fit image at 0x5000 sector
  67. ## Verified-boot: 1
  68. sha256,rsa2048:dev-  error!
  69. Can't get hash value property for '' hash node in 'conf' config node
  70. Failed to verify required signature 'key-dev'
  71. ## Verified-boot: 1
  72. fit verify configure failed, ret=-1
  73. Trying fit image at 0x4000 sector
  74. ## Verified-boot: 1
  75. sha256,rsa2048:dev-  error!
  76. Can't get hash value property for '' hash node in 'conf' config node
  77. Failed to verify required signature 'key-dev'
  78. ## Verified-boot: 1
  79. fit verify configure failed, ret=-1
  80. Trying fit image at 0x5000 sector
  81. ## Verified-boot: 1
  82. sha256,rsa2048:dev-  error!
  83. Can't get hash value property for '' hash node in 'conf' config node
  84. Failed to verify required signature 'key-dev'
  85. ## Verified-boot: 1
  86. fit verify configure failed, ret=-1
  87. SPL: failed to boot from all boot devices
  88. ### ERROR ### Please RESET the board ###
  89. Reset the board to bootrom #
复制代码


回复

使用道具 举报

0

主题

124

帖子

668

积分

A40i/T3/T507/T527通行证i.MX6Q通行证i.MX6UL通行证i.MX8MM通行证i.MX8MP通行证RK3568通行证RK3399通行证LS1028A通行证LS1012A通行证LS1043A\46A通行证TCU通行证FDU产品通行证FCU1401通行证FCU1301通行证FCU11xx通行证FCU1201通行证FCU2201通行证FCU2301/FCU2302通行证FCU2401通行证5G转接卡通行证FCU3001通行证AM5718通行证Hi3519A通信证AM335x通行证i.MX RT通行证XX18通行证

发表于 2023-12-6 11:23:34 | 显示全部楼层
按住板子上的K8 maskrom按键后上电,烧写工具识别到maskrom设备,选好update.img固件,再点升级,这样能烧写吗?

点评

直接报Dowlolad Boot Fail  详情 回复 发表于 2023-12-6 11:51
点评回复 支持 反对

使用道具 举报

1

主题

3

帖子

12

积分

RK3568通行证

 楼主| 发表于 2023-12-6 11:51:54 | 显示全部楼层
forqs 发表于 2023-12-6 11:23
按住板子上的K8 maskrom按键后上电,烧写工具识别到maskrom设备,选好update.img固件,再点升级,这样能烧 ...

直接报Download Boot Fail
点评回复 支持 反对

使用道具 举报

0

主题

124

帖子

668

积分

A40i/T3/T507/T527通行证i.MX6Q通行证i.MX6UL通行证i.MX8MM通行证i.MX8MP通行证RK3568通行证RK3399通行证LS1028A通行证LS1012A通行证LS1043A\46A通行证TCU通行证FDU产品通行证FCU1401通行证FCU1301通行证FCU11xx通行证FCU1201通行证FCU2201通行证FCU2301/FCU2302通行证FCU2401通行证5G转接卡通行证FCU3001通行证AM5718通行证Hi3519A通信证AM335x通行证i.MX RT通行证XX18通行证

发表于 2023-12-6 11:58:15 | 显示全部楼层
换台电脑试下呢,或者试试用源码里默认的MiniLoaderAll.bin(rk356x_spl_loader_v1.15.112.bin)文件,在烧录工具的下载镜像界面,识别maskrom设备后,勾选强制按地址写,把MiniLoaderAll.bin写入地址0x0。

点评

还是下载Boot失败  详情 回复 发表于 2023-12-6 13:33
点评回复 支持 反对

使用道具 举报

1

主题

3

帖子

12

积分

RK3568通行证

 楼主| 发表于 2023-12-6 13:33:09 | 显示全部楼层
forqs 发表于 2023-12-6 11:58
换台电脑试下呢,或者试试用源码里默认的MiniLoaderAll.bin(rk356x_spl_loader_v1.15.112.bin)文件,在烧 ...

还是下载Boot失败

点评

这个购买当时联系的销售是哪位呢  详情 回复 发表于 2023-12-7 09:19
点评回复 支持 反对

使用道具 举报

0

主题

124

帖子

668

积分

A40i/T3/T507/T527通行证i.MX6Q通行证i.MX6UL通行证i.MX8MM通行证i.MX8MP通行证RK3568通行证RK3399通行证LS1028A通行证LS1012A通行证LS1043A\46A通行证TCU通行证FDU产品通行证FCU1401通行证FCU1301通行证FCU11xx通行证FCU1201通行证FCU2201通行证FCU2301/FCU2302通行证FCU2401通行证5G转接卡通行证FCU3001通行证AM5718通行证Hi3519A通信证AM335x通行证i.MX RT通行证XX18通行证

发表于 2023-12-7 09:19:08 | 显示全部楼层

这个购买当时联系的销售是哪位呢
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-12-20 17:56

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表