12-27-2020, 10:31 AM
(12-27-2020, 10:16 AM)wibble Wrote: I've not done anything with the PineTime in a while, so this is as good an excuse as any The Pi I was using for building and flashing has been repurposed since, so I might have a bit to do before I can test. Do you have links to the procedures you want testing, or did I miss something in the readme?
I'm happy to provide you with an excuse to work on your PineTime !
The installation procedure is in the release note.
To install the bootloader, you'll first need to run on InfiniTime (0.7.1 or 0.9.0, for example). Then, you have 2 options:
- Using SWD : flash bootloader.bin at offset 0x00, reset, done.
- Using OTA : use NRFConnect or gadgetbridge to OTA a specific firmware that upgrades the bootloader : reloader-mcuboot.zip. When the transfert is complete, your device will reset, the bootloader will be updated, the device will reset again on the new bootloader.
You can have a look at the video listed in the release note to have an overview of the procedure : https://video.codingfield.com/videos/wat...a466957169
From there, you can test the revert and recovery functionalities.
Revert :
- OTA a new version of InfiniTime and validate it.
- Reset the PineTime (long push on the button).
- When you see a pinecone, press the button until the cone is drawn in blue.
- Wait for the revert to be applied
- and voilà, you're running the previous version of your firmware.
- Reset the PineTime (long push on the button).
- When you see a pinecone, press the button until the cone is drawn in red.
- Wait for the recovery firmware to be installed.
- Your Pinetime should reboot and display the InfiniTime logo. That's it, you're running the recovery firmware. You can try to OTA any version of InfiniTime you like (>= 0.7.1).
Working on InfiniTime, the FOSS firmware for the PineTime: https://github.com/InfiniTimeOrg/InfiniTime
Mastodon : https://mastodon.codingfield.com/@JF
Twitter : https://twitter.com/codingfield
Matrix : @JF002:matrix.org
Mastodon : https://mastodon.codingfield.com/@JF
Twitter : https://twitter.com/codingfield
Matrix : @JF002:matrix.org