Hi,
We're using i.MX RT 1060 EVK and practicing authentication and encryption on that. We use MCUXpresso Secure Provisioning Tool version 1.0.1 from NXP website, which internally uses CST 3.2.0. When we tried to sign the image, the following error has occured.
INFO: Build image - operation started at 2020-03-09 18:14:27
INFO: Build script generated: build_image_lnx.sh
INFO: Build script generated: build_image_win.bat
INFO: Build script generated: build_image_mac.sh
### SCRIPT: Building image: D:\Project\SecureProvision_workspace\build_image_win.bat
elftosb -f imx -V -c D:\Project\SecureProvision_workspace\bd_files\imx_application_gen_win.bd -o D:\Project\SecureProvision_workspace\bootable_images\evkmimxrt1060_hello_world_nonxip_secure.bin "d:\project\xip and non xip image\evkmimxrt1060_hello_world_nonxip_secure.s19"
error: line 11: syntax error
Undefined error
Section: 0x14
Section: 0x15
Section: 0x16
Section: 0x18
Section: 0x19
Section: 0x1a
Section: 0x1f
Section: 0x21
error: failed to run code signing tool
elftosb failed
### RESULT of the script `Building image`: FAILURE (return code = ExitCode.ERROR)
INFO: Status of the operation: FAILED: Building image
Kindly help us solving the issue!
Thanks in advance.
Hello,
Could you please confirm that you followed all the steps mentioned in section 6.7 of the User Manual - MCUXpresso Secure Provisioning Tools?
Regards,
Victor.
Hi victorjimenez ,
Thanks for your response!
We're following 'User Manual - MCUXpresso Secure Provisioning Tools' and the error we mentioned above occur while implementing 6.7.4 (Build image) with Non-XIP input.
To confirm, I just tried in other PC (Win 10 - x64) and got the same error message.
Hello,
Thanks for sharing more information. Just to confirm when you say "Non-XIP", do you mean that you generated the image to run from the internal RAM?
Best Regards,
Victor
Hi, Support
I have same issue using EVK_RT1024, image is compiled with XIP_BOOT_HEADER_ENABLE=0, and choose HAB, and ends up same error.
Tried unsigned , and it works even with XIP_BOOT_HEADER_ENABLE=1.
Help please.
Ping