Skip to content

Commit e53f1bf

Browse files
Riksu9000JF002
authored andcommitted
Summarize updating-softare
1 parent 88e55b2 commit e53f1bf

1 file changed

Lines changed: 15 additions & 13 deletions

File tree

doc/gettingStarted/updating-software.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
## Firmware, InfiniTime, Bootloader, Recovery firmware, OTA, DFU... What is it?
22

3-
You might have already seen these words by reading the announcement, release notes, or [the wiki guide](https://wiki.pine64.org/wiki/Upgrade_PineTime_to_InfiniTime_1.0.0) and, you may find them confusing if you're not familiar with the project.
3+
You may have already encountered these words by reading the announcement, release notes, or [the wiki guide](https://wiki.pine64.org/wiki/Upgrade_PineTime_to_InfiniTime_1.0.0) and you may find them confusing if you're not familiar with the project.
44

5-
Basically, a **firmware** is just a software running on the embedded hardware of a device, the PineTime in this case.
6-
**InfiniTime OS** is based on 3 distinct **firmwares**:
7-
- **[InfiniTime](https://github.com/InfiniTimeOrg/InfiniTime)** itself, this is the *application firmware* running on the PineTime. This is the main firmware which provides most of the functionalities you'll use on a daily basis : bluetooth low-energy (BLE) connectivity, applications, watchfaces,...
8-
- **[The bootloader](https://github.com/JF002/pinetime-mcuboot-bootloader)** is responsible for safely applying **updates** of the *application firmware*, reverting them in case of issues and load the recovery firmware when requested.
9-
- **The recovery firmware** is a specific *application firmware* than can be loaded by the bootloader on user request. This firmware can be useful in case of serious issue, when the main application firmware cannot perform an OTA update correctly. Currently, this recovery firmware is based on [InfiniTime 0.14.1](https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/0.14.1).
5+
A **firmware** is software running on the embedded hardware of a device.
106

11-
**OTA** and **DFU** refer to the update of the firmware over BLE (**B**luetooth **L**ow **E**nergy). **OTA** means **O**ver **T**he **A**ir, this is a functionality that allows the user to update the firmware how their device using a wireless communication like BLE. When we talk about **DFU** (**D**evice **F**irmware **U**pdate), we refer to the file format and protocol used to send the update of the firmware to the watch over-the-air. InfiniTime implement the (legacy) DFU protocol from Nordic Semiconductor (NRF).
7+
InfiniTime has three distinct firmwares:
8+
9+
- **[InfiniTime](https://github.com/InfiniTimeOrg/InfiniTime)** is the operating system.
10+
- **[The bootloader](https://github.com/JF002/pinetime-mcuboot-bootloader)** is responsible for safely applying firmware updates and runs before booting into InfiniTime.
11+
- **The recovery firmware** is a special *application firmware* than can be loaded by the bootloader on user request. This firmware can be useful in case of serious issue, when the main application firmware cannot perform an OTA update correctly.
12+
13+
**OTA** (**O**ver **T**he **A**ir) refers to updating of the firmware over BLE (**B**luetooth **L**ow **E**nergy). This is a functionality that allows the user to update the firmware on their device wirelessly.
14+
15+
**DFU** (**D**evice **F**irmware **U**pdate) is the file format and protocol used to send the update of the firmware to the watch over-the-air. InfiniTime implement the (legacy) DFU protocol from Nordic Semiconductor (NRF).
1216

1317
## How to check the version of InfiniTime and the bootloader?
1418

@@ -18,7 +22,7 @@ You can check the InfiniTime version by first swiping right on the watchface to
1822

1923
PineTimes shipped after June 2021 will be flashed with the [new version of the bootloader](https://github.com/JF002/pinetime-mcuboot-bootloader/releases/tag/1.0.0), the [recovery firmware](https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/0.14.1) and [InfiniTime 1.0](https://github.com/InfiniTimeOrg/InfiniTime/releases/tag/1.0.0).
2024

21-
The bootloader only runs when the watch starts (from an empty battery, for example) or after a reset (after a successful OTA or a manual reset - long push on the button).
25+
The bootloader is run right before booting to InfiniTime.
2226

2327
The bootloader is easily recognizable with its white pine cone that is progressively drawn in green. It also displays its own version on the bottom (1.0.0 as of now).
2428

@@ -30,9 +34,7 @@ To update your PineTime, you can use one of the compatible companion application
3034

3135
The updating process differs slightly on every companion app, so you'll need to familiarize yourself with the companion app of your choice.
3236

33-
All releases of InfiniTime are available on the [release page of the GitHub repo](https://github.com/InfiniTimeOrg/InfiniTime/releases).
34-
35-
Release files are available under the *Assets* button.
37+
All releases of InfiniTime are available on the [release page of the GitHub repo](https://github.com/InfiniTimeOrg/InfiniTime/releases) under assets.
3638

3739
To update the firmware, you need to download the DFU of the firmware version that you'd like to install, for example `pinetime-mcuboot-app-dfu-1.6.0.zip`, and flash it with your companion app.
3840

@@ -43,14 +45,14 @@ We have prepared instructions for flashing InfiniTime with Gadgetbridge and NRFC
4345

4446
### Firmware validation
4547

46-
The bootloader requires a manual validation of the firmware. If the watch reset with an updated firmware that was not validated, the bootloader will consider it as non-functioning and will revert to the previous version of the firmware. This is a safety feature to prevent bricking your device with a faulty firmware.
48+
Firmware updates must be manually validated. If the firmware isn't validated and the watch resets, the watch will revert to the previous firmware. This is a safety feature to prevent bricking your device with faulty firmware.
4749

4850
You can validate your updated firmware on InfiniTime >= 1.0 by following this simple procedure:
4951

5052
- From the watchface, swipe **right** to display the *quick settings menu*
5153
- Open settings by tapping the cogwheel on the bottom right
5254
- Swipe up until you find an entry named **Firmware** and tap on it
53-
- This app shows the version that is currently running. If the firmware is not validated yet, you can either validate the running firmware, or reset and revert to the previous firmware version
55+
- If the firmware is not validated yet, you can either validate the running firmware, or reset and revert to the previous firmware version
5456

5557
## Bootloader
5658

0 commit comments

Comments
 (0)