Something went wrong on our end
-
Arul Kumaran authored
* All topics revised to reflect All scenarios OS instead of All scenario OS to maintain consistency, fixes issue#70 Signed-off-by:
Arul Kumaran <arulkumaran.devarajan@huawei.com>
Arul Kumaran authored* All topics revised to reflect All scenarios OS instead of All scenario OS to maintain consistency, fixes issue#70 Signed-off-by:
Arul Kumaran <arulkumaran.devarajan@huawei.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
qemux86-64.rst 1.64 KiB
Qemu X86-64
Overview
All Scenarios OS supports running the software stack into an virtual environment using Qemu.
Building OHOS image
To clone the source code, perform the procedure in: :ref:`Setting up a repo workspace <RepoWorkspace>`.
Building a Linux image
Supported images
Image Name | Description |
---|---|
allscenarios-image-base | All Scenarios OS image including the base OS software stack |
allscenarios-image-extra | All Scenarios OS Wayland image including the base OS software stack |
Build steps
- Source the environment with proper template settings, flavour being linux and target machine being qemux86-64. Pay attention to how relative paths are constructed. The value of TEMPLATECONF is relative to the location of the build directory ./build-ohos-linux, that is going to be created after this step:
$ TEMPLATECONF=../sources/meta-ohos/flavours/linux . ./sources/poky/oe-init-build-env build-ohos-linux
- You will find yourself in the newly created build directory. Call bitbake to build the image. For example, if you are using allscenarios-image-base run the following command:
$ MACHINE=qemux86-64 bitbake allscenarios-image-base
Once the image is done, you can run the Qemu using the provided script wrapper:
$ MACHINE=qemux86-64 runqemu