SecureBoot and Encryption - Firmware OTA help
-
I'm stuck trying to update the firmware on a board which I have running with SecureBoot and Encryption. I'm trying to make sense of the OTA instructions at the bottom of the docs page (https://docs.pycom.io/advance/encryption/), but I don't see the bin.enc_0x10000 or bin.enc_0x1A0000 files in the build release and pycom.ota_slot() returns a value different to either 0x10000 and 0x1A0000.
How can I update the firmware OTA with a SecureBoot and Encrypted set up? Is this possible?
-
Solved the problem. Boot partitions with the new firmware are different 0x10000 and 0x210000 and the bin.enc files produced are bin.enc and bin.enc_0x210000. Would be good if the docs page could be updated.
Also for OTA (Device) (https://docs.pycom.io/updatefirmware/ota/) Method B works for unencrypted flash images with the file name appimage.bin. Would it be useful to update this FTP method to look for two image files names appimage.enc.bin and appimage.enc_0x210000 with the assumption that when these files are found in /flash/sys the board is running with secureBoot and Encryption enabled and updates the firmware accordingly?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login