Can you provide the script to sign the OTA image?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can you provide the script to sign the OTA image?

692件の閲覧回数
shengs
Contributor II

i.MX-RT1180 MCUXpresso-IDE MCUXpresso-SDK MCUBOOT 

Hi,  I am evaluating the MCUBOOT example, and need your help to provide the script to sign the OTA image.

MCUXpresso IDE v11.10.0

MIMXRT1180-EVK board (SCH-50577 REV C3)

SDK v2.16.000

I import "evkmimxrt1180_mcuboot_opensource_cm33" and "evkmimxrt1180_ota_mcuboot_server_enet_cm33" using default settings.

I tried several time refer to the readme.md, but failed to load OTA image.

0 件の賞賛
返信
5 返答(返信)

612件の閲覧回数
BrettLee
Contributor I

To sign the OTA image in your MCUBOOT project, locate the sign_script.py in the MCUBOOT tools directory. This script is used to generate the signed image. Follow the detailed steps in the readme.md file to ensure proper usage. If issues persist, verify the settings in your project to match those required by the script and MCUBOOT configuration.

Best Wishes dgme paystub
0 件の賞賛
返信

577件の閲覧回数
shengs
Contributor II

Thanks. But I can not find sign_script.py.

0 件の賞賛
返信

627件の閲覧回数
shengs
Contributor II

Solved by local FAE.

0 件の賞賛
返信

686件の閲覧回数
shengs
Contributor II

Which *.pem file does the "evkmimxrt1180_mcuboot_opensource_cm33" used?

Which *.pem file should the imgtool.py use?

Below is my script. I copied "mcuboot_opensource" from SDK to "workspace\evkmimxrt1180_ota_mcuboot_server_enet_cm33\scripts"

python imgtool.py sign --key ../enc-rsa2048-priv.pem --align 4 --header-size 0x400 --pad-header --slot-size 0x200000 --version "2.0" ..\..\..\Release/evkmimxrt1180_ota_mcuboot_server_enet_cm33.bin ..\..\..\Release/evkmimxrt1180_ota_mcuboot_server_enet_cm33_SIGNED.bin

signed successfully.

shengs_0-1723453542849.png

Write it to board with start address 0x28040000.

shengs_5-1723453823376.png

But MCUBOOT reports "Unable to find bootable image".

shengs_4-1723453635739.png

 

0 件の賞賛
返信

358件の閲覧回数
Sam_Gao
NXP Employee
NXP Employee

Hi  @shengs 

My apologies for the delayed response, Please update if need.

It seems this issue was fixed from  Failed in building signed application binary

 

0 件の賞賛
返信