diff --git a/docs/demos/smart-panel.rst b/docs/demos/smart-panel.rst index 6c3e2946ddce13ed746e6440ccfebb75b3af75a5..a889f3f25cbf655cff13e4365ceadc0c16f0f9fe 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 40a1d8bff7b30bbd75420da55218ada4b7c832b6..f014f428c98ca056fab067f5c9d309883c01e487 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