I am running Pinetime 0.10 and the bootloader that shows 1.2.3. I installed the RC4 loader and the dfu-0.11 recovery firmware. Both seem to work fine. The bootloader now shows 1.0.0. I noticed three logos during this process. The large Pinetime logo, which fills with one of three colours, a smaller Pinetime logo which fills with blue, and an Infinitime logo with a gradually increasing bar beneath. Can you explain what the last two logos mean.
Hugh
02-01-2021, 08:15 AM
(This post was last modified: 02-01-2021, 08:30 AM by danielt.)
The little blue pine logo sounds like the reloader application.
The reloader is an application (e.g. a payload booted by mcuboot) that will overwrite the old bootloader with a new one. Most importantly the reloader never sets the flag that tells mcuboot there is a successful boot... so after it has rewriten the bootloader and the device is rebooted then new bootloader will immediately returns favour and overwrites the reloader application and restore Infinitime.
It sounds a little complex but the main purpose of the reloader is to be all or nothing. Either we pass some checksum tests and overwrite the bootloader or we fail and don't attempt to overwrite anything at all. If is (hopefully... and assuming the battery is fully charged) very unlikely that the reloader will fail part way through and brick the watch.
PS I'm not 100% sure but I suspect the third logo is from the tool JF wrote to program the recovery slot.
Thanks for the information.
I also tested three of the testfw... firmware versions, the big version, the random version and the no-validate no-watchdog version. All worked correctly, I got back to my current firmware without getting bricked. I didn't try the remaining version since your description says it seems to brick the watch until the battery runs out.
I used Gadgetbridge (version 0.50.0) and my Pixel3A phone to do the updates. I noticed that the Gadgetbridge firmware update page says "Pinetime firmware (unknown version)." Later on the page it says "hardware (unknown)". Is it possible to supply the firmware version information and which hardware the firmware is for to Gadgetbridge? It would make last minute mistakes less likely.
When doing the OTA uploads the uploads failed several times for each testfw. Eventually I got them loaded. This has happened before when loading newer versions of the firmware. Any idea what the problem is when it takes several tries to upload a new version of the firmware
Hugh