Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
linux-flavour.rst 1.36 KiB

Linux Kernel Build Flavour

|main_project_name| Linux build flavour is based on oniro-linux distribution (distro configuration).

Supported images:

  • oniro-image-base
  • oniro-image-base-tests
  • oniro-image-extra
  • oniro-image-extra-tests

Supported machines (default in bold):

  • qemux86-64
  • qemux86
  • qemuarm
  • qemuarm64
  • seco-intel-b68 (SECO SBC-B68)
  • seco-imx8mm-c61-2gb (SECO SBC-C61 2GB DRAM)
  • seco-imx8mm-c61-4gb (SECO SBC-C61 4GB DRAM)

Build steps example:

$ TEMPLATECONF=../oniro/flavours/linux . ./oe-core/oe-init-build-env build-oniro-linux
$ bitbake oniro-image-base

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

$ runqemu qemux86-64 oniro-image-base wic ovmf slirp

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

qemux86-64 login:

The default login name is oniro with oniro as a password.

After login you will see the shell prompt:

root@qemux86-64:~#

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'.