From 61e8245faddcb5067b55c11d89e0b932ae979206 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Thu, 27 May 2021 13:05:17 +0100 Subject: [PATCH] docs/seco-intel-b68: Use bmaptool to flash the disk image This speeds up the flashing process considerably. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- docs/hardware-support/boards/seco-intel-b68.rst | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/hardware-support/boards/seco-intel-b68.rst b/docs/hardware-support/boards/seco-intel-b68.rst index 6b3e0154..d8fa948b 100644 --- a/docs/hardware-support/boards/seco-intel-b68.rst +++ b/docs/hardware-support/boards/seco-intel-b68.rst @@ -72,13 +72,20 @@ To flash OHOS using USB storage, perform the following steps: **Prepare OHOS bootable USB** -#. Connect USB storage to your host PC. +1. Connect USB storage to your host PC. -#. Run the following command in your local host: +2. After the image is built, you are ready to burn the generated image onto the + USB storage. We recommend using `bmaptool <https://github.com/intel/bmap-tools>` + and the instructions below will use it. For example, if you are building + allscenarios-image-base run the following command replacing (or defining) + ``$DEVNODE`` accordingly: .. code-block:: console - $ dd if=tmp/deploy/images/seco-intel-b68/allscenarios-image-base-seco-intel-b68.wic of=/dev/sdbX + $ cd tmp/deploy/images/seco-intel-b68 + $ bmaptool copy allscenarios-image-base-seco-intel-b68.wic.bz2 $DEVNODE + +3. Put the card to the board and turn it on. **Run OHOS** -- GitLab