Re: debug with mcuboot


David Brown
 

On Wed, Aug 22, 2018 at 01:46:18AM -0700, robert.konc@controlmatik.eu wrote:

How could I create image that will be signed that mcuboot will recognise it as
valid image.
I wuild like to sign image with imgtool.py in ninja script after build (target
all) was succesfull.
This seems to have gone unanswered.

For my use, I've always had an "outer" makefile that invokved the
cmake and ninja build on the Zephyr target (as well as mcuboot), and
then used imgtool.py and possibly assemble.py to make my resulting
image.

This probably could be added to the Zephyr build, at least the signing
part, but solving the multi-image build is possibly more an area for
something like West to solve.

This will become even more of an issue with multiple images beyond
just the bootloader, such as multiple CPUs or a trusted execution
environment (TF-M style).

David

Join devel@lists.zephyrproject.org to automatically receive all group messages.