install: Improve formating, add links and other good stuff
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
parent
c3d9e3a0a2
commit
9c9a508580
1 changed files with 78 additions and 34 deletions
112
docs/install.rst
112
docs/install.rst
|
@ -27,14 +27,13 @@ operating systems. By selling a watch with the intention that it be hacked
|
||||||
every which way from Sunday then we get a bigger stronger community focused on
|
every which way from Sunday then we get a bigger stronger community focused on
|
||||||
the PineTime. There is a strong support forum, multiple different OS developers
|
the PineTime. There is a strong support forum, multiple different OS developers
|
||||||
(who share ideas and knowledge even if hacking on very different code bases)
|
(who share ideas and knowledge even if hacking on very different code bases)
|
||||||
combined with a reasonable set of hardware documentation.
|
combined with a `reasonable set of hardware documentation <https://wiki.pine64.org/index.php/PineTime>`_.
|
||||||
|
|
||||||
There's definitely a lot of fun to be had buying something off-the-shelf and
|
There's definitely a lot of fun to be had buying something off-the-shelf and
|
||||||
hacking it to become something the manufacturer never intended. We know
|
hacking it to become something the manufacturer never intended. We know this
|
||||||
this because we've done it! However the hackable devices are sold for
|
because we've done it! However hackable devices are often only sold for short
|
||||||
relatively short periods and may experience undocumented technical changes
|
periods and may experience undocumented technical changes between manufacturing
|
||||||
between manufacturing runs. This makes it hard for a community to form
|
runs. This makes it hard for a community to form around any particular device.
|
||||||
around any particular device.
|
|
||||||
|
|
||||||
Thus the second criteria it to think about your own needs and abilities.
|
Thus the second criteria it to think about your own needs and abilities.
|
||||||
If you want to enjoy the social and community aspects of open source
|
If you want to enjoy the social and community aspects of open source
|
||||||
|
@ -43,15 +42,15 @@ watch development then you should look very closely at the PineTime.
|
||||||
Pine64 PineTime (developer edition)
|
Pine64 PineTime (developer edition)
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Pine64 PineTime is a square smart watch based on an nRF52832 SoC and
|
`Pine64 PineTime <https://www.pine64.org/pinetime/>`_ is a square smart watch
|
||||||
includes a 240x240 colour display with touch screen, a step counter and
|
based on an nRF52832 SoC and includes a 240x240 colour display with touch
|
||||||
a heart rate sensor.
|
screen, a step counter and a heart rate sensor.
|
||||||
|
|
||||||
The developer edition comes pre-programmed with a test firmware that
|
The `developer edition <https://store.pine64.org/?product=pinetime-dev-kit>`_
|
||||||
is used as part of the factory testing. Both the wasp-bootloader and
|
comes pre-programmed with a test firmware that is used as part of the factory
|
||||||
the main OS image can be installed onto a developer edition PineTime
|
testing. Both the wasp-bootloader and the main OS image can be installed onto a
|
||||||
using DaFlasher for Android. No tools are required to install using
|
developer edition PineTime using DaFlasher for Android. No tools are required
|
||||||
DaFlasher.
|
to install using DaFlasher.
|
||||||
|
|
||||||
Since the developer edition comes without the case glued shut it is
|
Since the developer edition comes without the case glued shut it is
|
||||||
also possible to install the wasp-bootloader using an SWD programmer.
|
also possible to install the wasp-bootloader using an SWD programmer.
|
||||||
|
@ -59,21 +58,50 @@ also possible to install the wasp-bootloader using an SWD programmer.
|
||||||
Colmi P8
|
Colmi P8
|
||||||
~~~~~~~~
|
~~~~~~~~
|
||||||
|
|
||||||
The Colmi P8 is an almost square smart watch based on an nRF52832 SoC
|
The `Colmi P8 <https://www.colmi.com/products/p8-smartwatch>`_ is an almost
|
||||||
and includes a 240x240 colour display with touch screen, a step counter
|
square smart watch based on an nRF52832 SoC and includes a 240x240 colour
|
||||||
and a heart rate sensor.
|
display with touch screen, a step counter and a heart rate sensor.
|
||||||
|
|
||||||
Both the wasp-bootloader and the main OS image can be installed onto a
|
Both the wasp-bootloader and the main OS image can be installed onto a
|
||||||
P8 using DaFlasher for Android. No tools are required.
|
P8 using DaFlasher for Android. No tools are required.
|
||||||
|
|
||||||
Installing wasp-bootloader using DaFlasher for Android
|
Installing wasp-bootloader
|
||||||
------------------------------------------------------
|
--------------------------
|
||||||
|
|
||||||
For all the DaFit family of smart watches (including the developer
|
DaFlasher for Android
|
||||||
edition of the Pine64 PineTime) the install instructions are the
|
~~~~~~~~~~~~~~~~~~~~~
|
||||||
same although it is important to ensure that both ``bootloader-daflasher.zip``
|
|
||||||
and ``micropython.zip`` match the device you are installing on. There are
|
To install the bootloader using DaFlasher for Android:
|
||||||
no runtime checks.
|
|
||||||
|
* Download and install
|
||||||
|
`DaFlasher <https://play.google.com/store/apps/details?id=com.atcnetz.paatc.patc>`_
|
||||||
|
and copy the DaFlasher bootloaders to your Android device. You will need
|
||||||
|
`DaFitBootloader23Hacked.bin <https://github.com/atc1441/DaFlasherFiles/blob/master/DaFitBootloader23Hacked.bin>`_ and
|
||||||
|
`FitBootloaderDFU2.0.1.zip <https://github.com/atc1441/DaFlasherFiles/blob/master/FitBootloaderDFU2.0.1.zip>`_.
|
||||||
|
* Copy ``bootloader-daflasher.zip`` to your Android device.
|
||||||
|
* Open the app and connect to the device (e.g. *Y7S* if you have a developer
|
||||||
|
edition PineTime).
|
||||||
|
* Read the disclaimer carefully, then click **Ok**.
|
||||||
|
PineTime).
|
||||||
|
* Click **Select file** and choose ``DaFitBootloader23Hacked.bin``, then wait
|
||||||
|
for the payload to be transferred and for the install process to complete
|
||||||
|
on the watch (leaving three coloured squares on the display).
|
||||||
|
* Press the Back button to return to the scanner and connect to the device.
|
||||||
|
The device name will have changed to *ATCdfu*.
|
||||||
|
* Click **Do DFU Update**.
|
||||||
|
* Click **Select DFU file** and select ``FitBootloaderDFU2.0.1.zip``, then wait
|
||||||
|
for the payload to transfer and the update to take place. The watch should
|
||||||
|
be showing a single red square which is captioned *ATCnetz.de*.
|
||||||
|
* Click **Select DFU file** again and select
|
||||||
|
``bootloader-daflasher.zip``. Once the update is complete the watch will
|
||||||
|
show the wasp-os logo and some additional on-screen prompt.
|
||||||
|
|
||||||
|
It is important to ensure that both ``bootloader-daflasher.zip``
|
||||||
|
and ``micropython.zip`` match the device you are installing for. There are
|
||||||
|
no runtime compatibility checks.
|
||||||
|
|
||||||
|
An end-to-end video of the above process (and the final install of wasp-
|
||||||
|
os) is also available:
|
||||||
|
|
||||||
.. image:: https://img.youtube.com/vi/VJoDtMy-4pk/0.jpg
|
.. image:: https://img.youtube.com/vi/VJoDtMy-4pk/0.jpg
|
||||||
:target: https://www.youtube.com/watch?v=VJoDtMy-4pk
|
:target: https://www.youtube.com/watch?v=VJoDtMy-4pk
|
||||||
|
@ -89,8 +117,19 @@ no runtime checks.
|
||||||
has been installed the factory firmware will be permanently removed
|
has been installed the factory firmware will be permanently removed
|
||||||
from the device.
|
from the device.
|
||||||
|
|
||||||
Installing wasp-bootloader using an SWD programmer
|
Although it is not possible to restore the factory firmware it is
|
||||||
--------------------------------------------------
|
possible to switch back to Softdevice 5.0.1 and/or Softdevice 2.0.1
|
||||||
|
on order to run alternative firmwares such as
|
||||||
|
`ATCwatch <https://github.com/atc1441/ATCwatch>`_. The zip updates
|
||||||
|
in `DaFlasherFiles <https://github.com/atc1441/DaFlasherFiles>`_ cannot
|
||||||
|
be applied directly but we can return to the DaFlasher bootloaders
|
||||||
|
by installing
|
||||||
|
`DS-D6-adafruit-back-to-desay-sd132v201.zip <https://github.com/fanoush/ds-d6/blob/master/micropython/DS-D6-adafruit-back-to-desay-sd132v201.zip>`_
|
||||||
|
followed by
|
||||||
|
`ATCdfuFromSD2toSD5.zip <https://github.com/atc1441/DaFlasherFiles/blob/master/ATCdfuFromSD2toSD5.zip>`_
|
||||||
|
|
||||||
|
Using an SWD programmer
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
There are many different SWD programmers that can be used to install
|
There are many different SWD programmers that can be used to install
|
||||||
wasp-bootloader. Use the
|
wasp-bootloader. Use the
|
||||||
|
@ -113,12 +152,16 @@ logo and wait for a OTA update.
|
||||||
debugged (which harms battery life because the device won't properly enter
|
debugged (which harms battery life because the device won't properly enter
|
||||||
deep sleep states).
|
deep sleep states).
|
||||||
|
|
||||||
Installing wasp-os using DaFlasher for Android
|
Installing wasp-os
|
||||||
----------------------------------------------
|
------------------
|
||||||
|
|
||||||
|
DaFlasher for Android
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
To install the main firmware using DaFlasher for Android:
|
To install the main firmware using DaFlasher for Android:
|
||||||
|
|
||||||
* Copy ``micropython.zip`` to your Android device and download DaFlasher
|
* Copy ``micropython.zip`` to your Android device and download
|
||||||
|
`DaFlasher <https://play.google.com/store/apps/details?id=com.atcnetz.paatc.patc>`_
|
||||||
if you do not already have it.
|
if you do not already have it.
|
||||||
* Open the app and connect to the device (e.g. *PineDFU* if you have a
|
* Open the app and connect to the device (e.g. *PineDFU* if you have a
|
||||||
PineTime).
|
PineTime).
|
||||||
|
@ -127,20 +170,21 @@ To install the main firmware using DaFlasher for Android:
|
||||||
* When the upload is complete the watch will reboot and launch the digital
|
* When the upload is complete the watch will reboot and launch the digital
|
||||||
clock application.
|
clock application.
|
||||||
|
|
||||||
Installing wasp-os using nRF Connect for Android
|
nRF Connect for Android
|
||||||
------------------------------------------------
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
To install the main firmware using nRF Connect for Android:
|
To install the main firmware using nRF Connect for Android:
|
||||||
|
|
||||||
* Copy ``micropython.zip`` to your Android device and download nRF Connect
|
* Copy ``micropython.zip`` to your Android device and download
|
||||||
|
`nRF Connect <https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp>`_
|
||||||
for Android if you do not already have it.
|
for Android if you do not already have it.
|
||||||
* Connect to the device (e.g. *PineDFU* if you have a PineTime) using
|
* Connect to the device (e.g. *PineDFU* if you have a PineTime) using
|
||||||
nRFConnect, click the DFU button and send ``micropython.zip`` to the device.
|
nRFConnect, click the DFU button and send ``micropython.zip`` to the device.
|
||||||
* When the upload is complete the watch will reboot and launch the digital
|
* When the upload is complete the watch will reboot and launch the digital
|
||||||
clock application.
|
clock application.
|
||||||
|
|
||||||
Installing wasp-os from a GNU/Linux workstation
|
wasptool for GNU/Linux
|
||||||
-----------------------------------------------
|
~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
To install the main firmware from a GNU/Linux workstation:
|
To install the main firmware from a GNU/Linux workstation:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue