Commit b283887c authored by David Boddie's avatar David Boddie

Merge branch 'skip-cleanup-after-uuu' into 'master'

Mention command line options to keep downloaded files

See merge request !210
parents d4ad50e6 e7cfd2d7
Pipeline #4308 passed with stages
in 10 minutes and 56 seconds
......@@ -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,
......@@ -247,18 +251,39 @@ before running the script::
sudo apt-get -y install python3-jenkins python3-tqdm python3-yaml
Now you can proceed with the flashing.
Now you can proceed with the flashing, using the script as shown below to
download temporary copies of U-Boot, kernel and the base system, before
flashing them on the board. Use the ``--skip-cleanup`` and ``--dir`` command
line options to keep the downloaded files after flashing.
**This will erase everything on your eMMC:**
**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