MCUBoot memory layout for FOTA for cpuapp and cpuflpr

Hello,

one of our devices moved from using the nRF52832 to using the nRF54L15.

I created new board files and got the old software to run, after some adjustments.

The application uses MCUBoot and the devices are supposed to be updated over FOTA. If I am not mistaken we have to determine the memory layout for the immutable bootloader, before we can move to production (or even just further testing).
The new chip obviously opens up new possibilities - like using TF-M for more security and the fplr for parrallel processing. Both being part of the memory layout though. So I want to prepare the memory layout in a way that allows me to use them later if needed.

I think TF-M worked by just building with the corresponding board target.
Regarding the flpr, I am very lost.
Is it possible to update the flpr image with MCUBoot as well?
I read that the partition manager is about to be deprecated and would like to use the dts approach.
I started with the sysbuild Nordic Academy exercise for the flpr. (I have nRF54L15DK available for testing). After that I just enabled MCUBoot and it still builds succesfull and could probably update the cpuapp application, but since it was just the defaults MCUBoot settings and MCUBoot just takes the board target from my main application it only includes nrf54l15_cpuapp_ns_partition.dtsi in its final zephyr.dts and does not know about the flpr partition of nrf54l15dk_nrf54l15_cpuflpr.dts. (which also has the be split for the switch move algorithm)
Would I add the flpr image to the cpuapp devicetree as slot2_partition and slot3_partition as described in https://docs.mcuboot.com/readme-zephyr?
And then set the following in sysbuild.conf:

SB_CONFIG_PARTITION_MANAGER=n
SB_CONFIG_BOOTLOADER_MCUBOOT=y
SB_CONFIG_MCUBOOT_MODE_SINGLE_APP=n
SB_CONFIG_MCUBOOT_EXTRA_IMAGES=1



Additional questions:
If enabled via the snippet does the flpr get started from the cpuapp image after it was started by the bootloader or would it be started directly by the bootloader as well?

The flpr cpu does not support TF-M since its an Arm specification, correct? And following this I should not put sensitive information in the flpr image.

Is there a sample for the nRF54L15DK that uses cpuapp, cpuflpr and MCUBoot with the ability to update both?

After the building process is there a file with the generated memory layout MCUBoot uses as reference? (Like the old pm-static.yaml)
flash_layout.h is mentioned in nrf54l15_cpuapp_ns_partition.dtsi, but I can't find it in my build.



Kind regards
Jonathan Lange

Parents Reply Children
No Data
Related