Skip to content
Snippets Groups Projects
Verified Commit e63fb0b0 authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

docs/raspberrypi4: bmaptool for flashing and no serial section


The build system outputs block allocation meta-data that, when used with
bmaptool, speeds up writing the disk considerably.

Also, the serial section is now obsolete as it is enabled with
debug-tweaks distro feature.

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent 711e6a94
No related branches found
No related tags found
No related merge requests found
......@@ -93,44 +93,22 @@ SD card
The Raspberry Pi 4 board support multiple boot options. The below section
describes booting the board with an SD card option.
The following steps describes how to use *etcher* tool flash the image to the
SD Card.
1. After the image is built, you are ready to burn the generated image onto the
SD card. 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:
Download the latest *etcher* tool from `balena-io etcher page
<https://github.com/balena-io/etcher/releases>`__.
Unzip and run the application.
* Click "Flash from file" -> Navigate to
``build-ohos-linux-raspberrypi/tmp/deploy/images/$MACHINE/allscenarios-image-base-raspberrypi4-64.wic``
* Click "Select target" -> Chose the SD Card device name (e.g. ``/dev/sdb``).
.. code-block:: console
* Click "Flash!"
$ cd tmp/deploy/images/raspberrypi4-64
$ bmaptool copy allscenarios-image-base-raspberrypi4-64.wic.bz2 $DEVNODE
"Flash Complete!" message on the *etcher* tool shows flashing completed
successfully. Now unplug the SD Card and put it into RPi board.
2. Put the card to the board and turn it on.
Testing the board
*****************
Serial Port
===========
By default, the new GPIO UART is disabled. To enable the serial UART, edit
the ``./sources/meta-ohos/flavours/linux/local.conf.sample`` file.
For more details, see `UART configuration
<https://www.raspberrypi.org/documentation/configuration/uart.md>`__.
Add the following line at the end of the file.
.. code-block:: console
ENABLE_UART = "1"
For more details, see `Optional build configuration
<https://meta-raspberrypi.readthedocs.io/en/latest/extra-build-config.html?highlight=ENABLE_UART#enable-uart>`__.
HDMI
====
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment