This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MCU-PLUS-SDK - AM243X:引导加载程序_verifyMulticoreImage 在使用定制闪存时失败

Guru**** 2454880 points
Other Parts Discussed in Thread: SYSCONFIG

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1496295/mcu-plus-sdk-am243x-bootloader_verifymulticoreimage-fails-with-custom-flash

器件型号:MCU-PLUS-SDK AM243X
主题中讨论的其他器件:SysConfig

工具与软件:

您好!

 

我正在尝试通过引导加载程序/DMSC 运行应用程序映像验证。

一些 必要条件:

  • 使用适用于 AM243x 9.2.0.50的 MCU+ SDK
  • 使用 SysConfig 1.20.0
  • 使用定制闪存 W25Q64JV。
  •  在定制硬件上使用 AM2432BSFFHIALXR Sitara。

问题是:

  • 如果我 设置了 "禁用应用程序映像的验证"设置、则它将按预期工作。
  • 但是、如果我取消选中此设置、那么 Bootloader_parseMultiCoreAppImage()内的 Bootloader_verifyMulticoreImage()将 失败。
  • 但是、我假设应用程序映像已由 makefile_ccs_bootimage_gen 正确签名。

我已经附上了一个包含3个工程(引导加载程序、系统映像和应用程序映像)的至少示例。 用户可以在那里检查我的闪存设置。 我还附加了我的 devconfig.mak。

我还尝试了一些方法、例如将"app_degenerateKey.pem"切换为"rom_degenerateKey.pem"或"custMpk_am64x_am243x.pem"、反之亦然。以及将 GP 切换为 HS、但没有成功。

如果有人能够浏览我的项目、我将不胜感激。 我尝试使它们尽可能靠近原始示例项目。

谢谢你。

 

此致、

Martin