Signed application image in lwip_httpsrv_ota_freertos demo on EVK-MIMXRT1064

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

Signed application image in lwip_httpsrv_ota_freertos demo on EVK-MIMXRT1064

Jump to solution
1,653 Views
ulivinico1
Contributor II

I need to know which is the mcuboot_opensource example referred in the readme.txt of the demo lwip_httpsrv_ota_freertos .

I'm testing the demo lwip_httpsrv_ota_freertos on EVK-MIMXRT1064.
I run the demo successfully, I give the command 'jump ResetISR' and the terminal displays the following:
Initializing PHY...

************************************************
mbedSSL HTTPS Server example
************************************************
IPv4 Address : 192.168.0.102
IPv4 Subnet mask : 255.255.255.0
IPv4 Gateway : 192.168.0.100
************************************************

Then with a web browser I connect to https://192.168.0.102 and I see the main web page of the example and I can upload a bin file. 

But after this, the message I read is:

store_update_image: upload complete
Image validation failed

I read in readme.txt that I should

2. Prepare signed image of the application from raw binary as described in the mcuboot_opensource readme

but I don't understand where is this mcuboot_opensource and the documentation.

May someone help me with a link or detailed indications in order to achieve a signed image of my application? Thank you

0 Kudos
Reply
1 Solution
1,620 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @ulivinico1 ,

You lack the code, it should be caused by you didn't select all the middleware when you generate the SDK:

https://mcuxpresso.nxp.com/en/builder?hw=EVK-MIMXRT1064

kerryzhou_0-1651714925338.png

 

Please select ALL, then download the package again.

You will find it.

 

Wish it helps you!

Best Regards,

kerry

 

View solution in original post

5 Replies
1,640 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @ulivinico1 

  Which SDK version you are using now?

This one?

kerryzhou_0-1651222670937.png

 

About the bootloader, you need to refer to this one:

SDK_2_11_1_EVK-MIMXRT1064\boards\evkmimxrt1064\mcuboot_opensource\readme, you need to use the tool to download the signed image, more details, check the demo readme.txt.

 

Best Regards,

kerry

 

 

0 Kudos
Reply
1,636 Views
ulivinico1
Contributor II

Hi @kerryzhou 

"Which SDK version you are using now?"

I'm using 2.11.1

ulivinico1_0-1651224268925.png

 

0 Kudos
Reply
1,634 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @ulivinico1 ,

  Check the bootloader code:

SDK_2_11_1_EVK-MIMXRT1064\boards\evkmimxrt1064\mcuboot_opensource\readme, you need to use the tool to download the signed image, more details, check the demo readme.txt.

read the readme.txt, follow it, it needs to use the tool to download it.

 

Best Regards,

Kerry

0 Kudos
Reply
1,632 Views
ulivinico1
Contributor II

@kerryzhou 

It looks like mcuboot_opensource folder is missing in my package, tha't why I don't understand how to refer to it.

ulivinico1_0-1651237687619.png

 

0 Kudos
Reply
1,621 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @ulivinico1 ,

You lack the code, it should be caused by you didn't select all the middleware when you generate the SDK:

https://mcuxpresso.nxp.com/en/builder?hw=EVK-MIMXRT1064

kerryzhou_0-1651714925338.png

 

Please select ALL, then download the package again.

You will find it.

 

Wish it helps you!

Best Regards,

kerry