关于sbl的理解

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

关于sbl的理解

1,141 Views
944706426
Contributor III

之前自己写了个简单的二级bootloader,但没有验签,加解密的操作,最近看到有sbl和sfw的OTA方案,看了下sbl的代码,但好像没有看到验签和解密固件的代码,只有相关硬件的初始化。

944706426_0-1648170862665.png

说一下我项目的需求:由于我们自己有上位机,传输固件是通过串口ymodem协议来传输的,但是加解密这方面还没有加上,是否只需要参考sbl即可?谢谢!

0 Kudos
3 Replies

1,129 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
非常感谢使用NXP产品,很高兴为你提供技术支持!
1)是否只需要参考sbl即可?
-- 是的,你可以通过这篇文章加强理解。
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

1,119 Views
944706426
Contributor III

你好,感谢回复。我在参考  文档MCUOTASBLSFWUG.pdf  中的7.4.1.4 时,打开了 program_ocotp.bat      但是无法去设置路径 ,有什么方法可以解决吗?

944706426_1-1648279453823.png

 

944706426_0-1648279419805.png

944706426_2-1648279695652.png

还有是不是这个工具产生秘钥的错误问题,最终gen_hab_certs文件夹并没有生成文件

944706426_0-1648281475698.png

944706426_1-1648281491754.png

 

0 Kudos

1,089 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
1) 无法去设置路径 ,有什么方法可以解决吗?
-- 我不觉得是无法设置路径导致的问题,还是路径错误引发的问题,你电脑上安装的的MCUXpresso Secure Provisioning 版本是v3.1,这与guide给的例子是有出入的,需要开发者自己去调整的。
2) 还有是不是这个工具产生秘钥的错误问题,最终gen_hab_certs文件夹并没有生成文件
-- 从截图来说,生成密钥失败,建议参考MCUXpresso Secure Provisioning 手册看看是否操作步骤有误。

Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos