From 92ef6835f05164fc24a1dec31f5b8531d48b357e Mon Sep 17 00:00:00 2001 From: Zbigniew Bodek <zbigniew.bodek@huawei.com> Date: Wed, 31 Mar 2021 13:07:23 +0000 Subject: [PATCH] docs: move and clean-up dashboard demo building description to demos - Remove demo description and HOWTO from meta-ohos-demo README.md - Improve building guidelines in the smart-panel.rst Reference to building an image for Avenger96 + explicit command for building dashboard demo. Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com> --- docs/demos/smart-panel.rst | 9 +++++++-- meta-ohos-demo/README.md | 21 --------------------- 2 files changed, 7 insertions(+), 23 deletions(-) diff --git a/docs/demos/smart-panel.rst b/docs/demos/smart-panel.rst index 6c3e2946..a889f3f2 100644 --- a/docs/demos/smart-panel.rst +++ b/docs/demos/smart-panel.rst @@ -26,5 +26,10 @@ How to build The Linux Gateway ----------------- -Set the ``DISTRO`` to ``openharmony-linux-demo-dashboard`` and build the -``openharmony-linux-demo-dashboard`` image. +1. Refer to :ref:`Building OHOS image for Avenger96 <SupportedBoardAvenger96>` to learn how to set up a build environment, build and flash a base OpenHarmony Linux image. +2. Build demo image by invoking following bitbake command + +.. code-block:: console + + $ MACHINE=stm32mp1-av96 DISTRO=openharmony-linux-demo-dashboard bitbake demo-dashboard-gateway-image + diff --git a/meta-ohos-demo/README.md b/meta-ohos-demo/README.md index 40a1d8bf..f014f428 100644 --- a/meta-ohos-demo/README.md +++ b/meta-ohos-demo/README.md @@ -20,27 +20,6 @@ The `meta-ohos-demo` layer depends on the following layers: Note that the dependencies of the above layers should also be taken into consideration. -# Demos - -## Dashboard demo - -The dashboard demo is composed out of a set of devices that create a home automation demo environment. - -### The Gateway device - -* Kernel type: linux -* Hardware (MACHINE): stm32mp1-av96 -* Distribution configuration (DISTRO): openharmony-linux-demo-dashboard -* Relevant/supported images: - * demo-dashboard-gateway-image - -Build steps: - -1. initialise a Linux flavour build environment as defined in the [meta-ohos documentation](https://git.ostc-eu.org/OSTC/OHOS/meta-ohos#ohos-linux-flavour) -2. set MACHINE and DISTRO either in your `local.conf` file or pass them as environemnt variables bellow -3. build image - * eg. `bitbake demo-dashboard-gateway-image` - # Contributing ## Merge requests -- GitLab