Skip to content

Commit 7fd6163

Browse files
michalek-nonordicjm
authored andcommitted
[nrf fromtree] doc: imgtool: importance of clear flag
factory-programming procedure. Signed-off-by: Mateusz Michalek <mateusz.michalek@nordicsemi.no> Signed-off-by: Anna Wojdylo <anna.wojdylo@nordicsemi.no> (cherry picked from commit 9e72eb3)
1 parent b5d6e6c commit 7fd6163

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/encrypted_images.md

+8
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,14 @@ the status area just before starting the upgrade process, because it
147147
would be very hard to determine this information when an interruption
148148
occurs and the information is spread across multiple areas.
149149

150+
## [Factory-programing requirement](#factory-programing-requirement)
151+
152+
It is important to have updates without any voids in encryption.
153+
Therefore, from the very beginning, flags and TLV's must be set accordingly.
154+
Perform the first flashing with an image signed by imgtool with encryption settings
155+
intended for DFU.
156+
Append it with the `--clear` flag to keep the image unencrypted and ready for use.
157+
150158
## [Creating your keys with imgtool](#creating-your-keys-with-imgtool)
151159

152160
`imgtool` can generate keys by using `imgtool keygen -k <output.pem> -t <type>`,

0 commit comments

Comments
 (0)