Skip to content

Commit 30276d5

Browse files
romainreignierpennam
authored andcommittedSep 7, 2022
Update bootloader management sketch link
The sketch has been renamed in [this commit](arduino/ArduinoCore-mbed@95ceb2d).
1 parent a828baf commit 30276d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ If signing and encryption keys are not stored in flash alongside MCUboot, the Sk
3131

3232
## :gear: How
3333
### 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
3535
* Flash the bootloader binary file with your preferred debugger @ flash address `0x08000000`
3636

3737
### Enable signature and encryption
3838
By default signature verification and encryption support are disabled. To enable them you have to write your signature and encryption keys inside your board.
3939
In this project MCUboot is configured to support `ecdsa-p256` keys for both signature and encryption.
4040

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)
4242

4343
:warning: WARNING :warning: The default keys are public therefore is not safe to use them for production, they are included only for evaluation purpose.
4444

@@ -58,7 +58,7 @@ To get this data from the generated pem files with imgtool:
5858
imgtool getpub -k ecsdsa-p256-signing-key.pem
5959
imgtool getpriv -k ecsdsa-p256-encrypt-key.pem
6060
```
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.
6262

6363
### Create a signed and encrypted update Sketch
6464
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

Comments
 (0)
Please sign in to comment.