Multi Image Updates on NRF5340 Zephyr

I am working on a project that uses nRF5340.

We are now looking into designing software update mechanism. As a part of this, on the app core I am planning to move slot1_partition to external flash, as we are tight on space on internal flash. Using immutable MCUBoot on APP core. 

I have setup slot1_partition on external flash successfully, with slot0_partition on internal flash.

For the net core update, I am planning to use b0n bootloader, with slot1_partition on external flash, with slot0_partition on internal flash.

My question is, how can I make MCUBoot on APP core understand the partitions on NET core?

Do I need to change NET core's slot0/slot1 to slot2/slot3?

I keep getting missing partitions errors and it looks like it is looking for slot2 partition and not finding it.

Where should I define slot2 and slot3 partitions, in static PM file? Or in the netcore dts file?

I am also trying to figure out a way to test run a software update where an update image saved in SLOT1_PARTITION(external flash) is moved into SLOT0_PARTITION.

Also, if there is an application note(or web page) that shows an example of how to modify Zephyr’s MCUBoot configs to validate and move update image from SLOT1_PARTITION to SLOT0_PARTITION, please let me know.

Any other suggestions with respect to multi-image software updates for both APP core and NET core are welcome!

Thanks,

GT

Parents Reply Children
No Data
Related