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

Drop support for qemu ARM-based machines


The OS will start to depend on a specific partition table and having to
maintain multiple qemu setups might not prove useful. Also, we have
encountered issues trying to boot wic images (disk images as opposed to
root filesystems) with qemu ARM machines.

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent acf09b03
No related branches found
No related tags found
No related merge requests found
......@@ -33,22 +33,6 @@ linux-qemu-x86_64:
OHOS_BUILD_CACHE: "pub"
OHOS_BB_LOCAL_CONF_BB_GENERATE_MIRROR_TARBALLS: 1
linux-qemu-arm:
extends: .build-linux
variables:
MACHINE: qemuarm
# See the note on linux-qemu-x86.
OHOS_BUILD_CACHE: "pub"
OHOS_BB_LOCAL_CONF_BB_GENERATE_MIRROR_TARBALLS: 1
linux-qemu-arm64:
extends: .build-linux
variables:
MACHINE: qemuarm64
# See the note on linux-qemu-x86.
OHOS_BUILD_CACHE: "pub"
OHOS_BB_LOCAL_CONF_BB_GENERATE_MIRROR_TARBALLS: 1
linux-seco-intel-b68:
extends: .build-linux
variables:
......
......@@ -35,26 +35,6 @@ All Scenarios OS software can be built for a basic 64bit x86 virtual machine.
The cache for this job is publicly available.
linux-qemu-arm
..............
This job extends `.build-linux` job from the manifest repository and builds
``allscenarios-image-base-tests`` and ``allscenarios-image-extra-tests`` using
the Linux flavour of All Scenarios OS and ``MACHINE=qemuarm``. This job checks that
All Scenarios OS software can be built for a basic 32bit ARMv7 virtual machine.
The cache for this job is publicly available.
linux-qemu-arm64
................
This job extends `.build-linux` job from the manifest repository and builds
``allscenarios-image-base-tests`` and ``allscenarios-image-extra-tests`` using
the Linux flavour of All Scenarios OS and ``MACHINE=qemuarm64``. This job checks that
All Scenarios OS software can be built for a basic 64bit ARMv8 virtual machine.
The cache for this job is publicly available.
linux-seco-intel-b68
....................
......
......@@ -12,5 +12,3 @@ This section details the support for virtual targets in All Scenario OS.
qemux86-64
qemux86
qemuarm
qemuarm64
.. SPDX-FileCopyrightText: Huawei Inc.
..
.. SPDX-License-Identifier: CC-BY-4.0
Qemu ARM
########
.. contents::
:depth: 4
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
======================
Build steps
-----------
1. Source the environment with proper template settings, flavour being *linux*
and target machine being *qemuarm*. 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:
.. code-block:: console
$ TEMPLATECONF=../sources/meta-ohos/flavours/linux . ./sources/poky/oe-init-build-env build-ohos-linux
2. 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:
.. code-block:: console
$ MACHINE=qemuarm bitbake allscenarios-image-base
Once the image is done, you can run the Qemu using the provided script wrapper:
.. code-block:: console
$ MACHINE=qemuarm runqemu
.. SPDX-FileCopyrightText: Huawei Inc.
..
.. SPDX-License-Identifier: CC-BY-4.0
Qemu ARM64
##########
.. contents::
:depth: 4
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
======================
Build steps
-----------
1. Source the environment with proper template settings, flavour being *linux*
and target machine being *qemuarm64*. 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:
.. code-block:: console
$ TEMPLATECONF=../sources/meta-ohos/flavours/linux . ./sources/poky/oe-init-build-env build-ohos-linux
2. 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:
.. code-block:: console
$ MACHINE=qemuarm64 bitbake allscenarios-image-base
Once the image is done, you can run the Qemu using the provided script wrapper:
.. code-block:: console
$ MACHINE=qemuarm64 runqemu
......@@ -12,8 +12,6 @@ Supported targets:
Supported machines (first is the default):
- qemux86-64
- qemux86
- qemuarm
- qemuarm64
- seco-intel-b68 (SECO SBC-B68)
- seco-imx8mm-c61 (SECO SBC-C61)
- stm32mp1-av96 (96Boards Avenger96)
......
......@@ -20,8 +20,6 @@
# You need to select a specific machine to target the build with. There are a selection
# of emulated machines available which can boot and run in the QEMU emulator:
#
#MACHINE ?= "qemuarm"
#MACHINE ?= "qemuarm64"
#MACHINE ?= "qemux86"
#MACHINE ?= "qemux86-64"
#MACHINE ?= "stm32mp1-av96"
......
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