Commit 1d7f930b authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz
Browse files

Merge branch 'clarify-reflashing' into 'master'

Split flashing and reflashing steps

See merge request Librem5/developer.puri.sm!372
parents 6e97618e c4e457b7
......@@ -76,8 +76,8 @@ line options to keep the downloaded files after flashing.
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.
For example, this is how you would download the files to the ``~/Downloads``
directory and flash the eMMC.
**This will erase everything on the board's eMMC:**
......@@ -85,14 +85,20 @@ directory and flash the eMMC, then re-flash it later as required.
cd librem5-devkit-tools
export PATH=$PATH:/path-to-your-workspace/mfgtools-build/uuu/
./scripts/librem5-devkit-flash-image --dir /tmp/devkit --skip-cleanup
./scripts/librem5-devkit-flash-image --dir ~/Downloads --skip-cleanup
It can also be useful to use the ``--skip-flash`` if you only want to download
the files without flashing the eMMC.
If you need to re-flash the eMMC with the same image later, you can just use ``uuu`` directly, assuming you still have the image file:
.. code:: bash
# Re-flash the eMMC later:
cd /tmp/devkit
cd ~/Downloads
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.
It may be useful to keep a local archive of images that you have flashed for testing purposes, and to allow you to return to a previous image.
Next Steps
----------
......
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