Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use upstream mcuboot repo #9

Closed
boraozgen opened this issue Apr 23, 2021 · 2 comments · Fixed by #11
Closed

Use upstream mcuboot repo #9

boraozgen opened this issue Apr 23, 2021 · 2 comments · Fixed by #11

Comments

@boraozgen
Copy link
Collaborator

boraozgen commented Apr 23, 2021

Hi George,

Thanks for the hard work on the port. Works like a charm on NUCLEO_F429ZI with an external SPI flash with minor changes. My main issue was that your mcuboot fork is outdated. I noticed that most of your changes are already merged to upstream. It also seems to work with upstream master. Would you like to update the lib file?

An issue with the outdated version is that EC256 signatures are not supported with MbedTLS. This was added later.

@AGlass0fMilk
Copy link
Owner

AGlass0fMilk commented Apr 23, 2021

@boraozgen Thanks! 😄

Yes, this demo originally required using some code that was not yet merged into upstream mcuboot. It should be updated to use the main mcuboot branch now.

One thing that prevents this currently is the use of the feature I implemented for MCUboot to get the version of the application (see mcu-tools/mcuboot#863)

This can be easily removed from the demo application and then the upstream mcuboot branch can be used. I would welcome you to contribute any updates to the MbedOS port of mcuboot directly to the mcuboot repository 😄 (eg: enabling EC256 and other features).

I am really busy right now working on Mbed-OS BLE FOTA updates using this, so I don't have the time at the moment to improve the mcuboot port.

@boraozgen
Copy link
Collaborator Author

The port itself works fine, also with EC256, when the latest Mcuboot branch is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants