Commit 88b28657 authored by Jamie McCrae's avatar Jamie McCrae Committed by Jamie
Browse files

doc: design: Add updated information on data sharing



Adds additional information on the new BOOTINFO data sharing
functionality

Signed-off-by: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
parent 97d18797
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -1360,7 +1360,12 @@ specific data using the same shared data area as for the measured boot. For
this, the target must provide a definition for the `boot_save_shared_data()`
this, the target must provide a definition for the `boot_save_shared_data()`
function which is declared in `boot/bootutil/include/bootutil/boot_record.h`.
function which is declared in `boot/bootutil/include/bootutil/boot_record.h`.
The `boot_add_data_to_shared_area()` function can be used for adding new TLV
The `boot_add_data_to_shared_area()` function can be used for adding new TLV
entries to the shared data area.
entries to the shared data area. Alternatively, setting the
`MCUBOOT_DATA_SHARING_BOOTINFO` option will provide a default function for
this which saves information such as the maximum application size, bootloader
version (if available), running slot number, if recovery is part of MCUboot
and the signature type. Details of the TLVs for this information can be found
in `boot/bootutil/include/bootutil/boot_status.h` with `BLINFO_` prefixes.


## [Testing in CI](#testing-in-ci)
## [Testing in CI](#testing-in-ci)