Linux Kernel Build Flavour

All Scenarios OS Linux build flavour is based on allscenarios-linux distribution (distro configuration).

Supported images:

  • allscenarios-image-base

  • allscenarios-image-base-tests

  • allscenarios-image-extra

  • allscenarios-image-extra-tests

Supported machines (default in bold):

  • qemux86-64

  • qemux86

  • qemuarm

  • qemuarm64

  • seco-intel-b68 (SECO SBC-B68)

  • stm32mp1-av96 (96Boards Avenger96)

  • seco-imx8mm-c61 (SECO SBC-C61)

Build steps example:

$ TEMPLATECONF=../sources/meta-ohos/flavours/linux . ./sources/poky/oe-init-build-env build-ohos-linux
$ bitbake allscenarios-image-base

You can test the image built for the qemux86-64 target by issuing:

$ runqemu qemux86-64 allscenarios-image-base wic

After successful bootup, you will be dropped into a login shell:

qemux86-64 login:

Default login is root without a password.

After login you will see the shell prompt:


To exit qemu, you can either shut down the system:

root@qemux86:~# poweroff -f

or close qemu using a key combination: Ctrl-a followed by ‘x’.