Commit e7cfd2d7 authored by David Boddie's avatar David Boddie

Add more information about reflashing

parent 6f9c7cfe
......@@ -234,6 +234,10 @@ Check out the repository before proceeding.
Flash the Image
~~~~~~~~~~~~~~~
**Note:** If your workstation cannot provide the necessary power for this
process you may need a USB 3 powered hub between the host and the development
board.
Put the "Boot Mode" switch in the USB position. Attach the development board
to a USB C or USB 3 port on the host that is capable of providing 900mA of
current. The HID device should appear in the output of the ``lsusb`` command,
......@@ -254,14 +258,32 @@ line options to keep the downloaded files after flashing.
**This will erase everything on the board's eMMC:**
::
.. code:: bash
cd librem5-devkit-tools
export PATH=$PATH:/path-to-your-workspace/mfgtools-build/uuu/
./scripts/librem5-devkit-flash-image
**Note:** If your workstation cannot provide the necessary power you may need
a USB 3 powered hub between the host and the development board.
If you use the ``--dir`` option to download the files into a directory and
``--skip-cleanup`` to keep them after flashing, you can re-flash the eMMC using
the same files by entering the download directory and running ``uuu``.
For example, this is how you would download the files to the ``/tmp/devkit``
directory and flash the eMMC, then re-flash it later as required.
**This will erase everything on the board's eMMC:**
.. code:: bash
cd librem5-devkit-tools
export PATH=$PATH:/path-to-your-workspace/mfgtools-build/uuu/
./scripts/librem5-devkit-flash-image --dir /tmp/devkit --skip-cleanup
# Re-flash the eMMC later:
cd /tmp/devkit
uuu flash_devkit.lst
It can also be useful to use the ``--skip-flash`` if you only want to download
the files without flashing the eMMC.
Reboot
~~~~~~
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment