You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -31,14 +31,14 @@ If signing and encryption keys are not stored in flash alongside MCUboot, the Sk
31
31
32
32
## :gear: How
33
33
### Switch to MCUboot
34
-
* Run this [Sketch](https://github.com/arduino/ArduinoCore-mbed/blob/master/libraries/STM32H747_System/examples/STM32H747_updateBootloader/STM32H747_updateBootloader.ino) to upload the latest released binary into your board
34
+
* Run this [Sketch](https://github.com/arduino/ArduinoCore-mbed/blob/master/libraries/STM32H747_System/examples/STM32H747_manageBootloader/STM32H747_manageBootloader.ino) to upload the latest released binary into your board
35
35
* Flash the bootloader binary file with your preferred debugger @ flash address `0x08000000`
36
36
37
37
### Enable signature and encryption
38
38
By default signature verification and encryption support are disabled. To enable them you have to write your signature and encryption keys inside your board.
39
39
In this project MCUboot is configured to support `ecdsa-p256` keys for both signature and encryption.
40
40
41
-
To write the default keys in flash you can use this [Sketch](https://github.com/arduino/ArduinoCore-mbed/blob/master/libraries/STM32H747_System/examples/STM32H747_updateBootloader/STM32H747_updateBootloader.ino)
41
+
To write the default keys in flash you can use this [Sketch](https://github.com/arduino/ArduinoCore-mbed/blob/master/libraries/STM32H747_System/examples/STM32H747_manageBootloader/STM32H747_manageBootloader.ino)
42
42
43
43
:warning: WARNING :warning: The default keys are public therefore is not safe to use them for production, they are included only for evaluation purpose.
44
44
@@ -58,7 +58,7 @@ To get this data from the generated pem files with imgtool:
58
58
imgtool getpub -k ecsdsa-p256-signing-key.pem
59
59
imgtool getpriv -k ecsdsa-p256-encrypt-key.pem
60
60
```
61
-
Copy and paste the key data in this [Sketch](https://github.com/arduino/ArduinoCore-mbed/blob/master/libraries/STM32H747_System/examples/STM32H747_updateBootloader/STM32H747_updateBootloader.ino) and run it to flash the keys alongside the bootloader.
61
+
Copy and paste the key data in this [Sketch](https://github.com/arduino/ArduinoCore-mbed/blob/master/libraries/STM32H747_System/examples/STM32H747_manageBootloader/STM32H747_manageBootloader.ino) and run it to flash the keys alongside the bootloader.
62
62
63
63
### Create a signed and encrypted update Sketch
64
64
To create a signed and encrypted Sketch an additional step is needed after the Sketch binary is generated. This additional step is done passing the binary through `imgtool`. The flags used by the board to create a secure Sketch are defined [here](https://github.com/arduino/ArduinoCore-mbed/blob/fa628e35011a92fb7e54fa6bfd9a69be33173bf8/boards.txt#L79-L86). The resulting command resembles as follows:
0 commit comments