1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-07-27 19:37:04 +00:00
Files
meta-arm/meta-arm-autonomy
Bertrand Marquis 4c76616c9c arm-autonomy: Create xenguest-image class
Create xenguest-image class to be used by recipes and other classes to
manipulate xenguest images.
The recipe is defining some variables to configure default parameters of
xenguest image (memory size, number of vcpus, command line, etc.). Those
parameters all have the prefix XENGUEST_IMAGE_ and are documented at the
beginning of the class.

The class also provide some helper functions:
- xenguest_image_create to create a xenguest image (using global
parameters) in deploy as xenguest image directory
- xenguest_image_clone to clone current xenguest image from deploy to be
able to extend it and pack it in a xenguest image file
- xenguest_image_rootfs_file function to allow other recipes to detect
if the rootfs should or not be embedded in the xenguest image

Change-Id: I4ba54aa2c41e72964c152f673b71fe32f30b4aca
Issue-Id: SCM-767
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
Reviewed-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
2020-04-07 23:32:32 -04:00
..

meta-arm-autonomy Yocto Layer

Introduction

This layer provides an hypervisor based solution (currently based on Xen) for autonomous system. It contains recipes and classes to build host and guests systems.

To start using this layer, please check the Quick Start Guide.

Dependencies

This layer depends on several other Yocto layers:

Distribution Features

This layer is adding the following Yocto DISTRO_FEATURES:

  • arm-autonomy-host: this feature activates functionalities required to build an autonomy host system. It is doing the following:

    • add 'xen' and 'ipv4' to DISTRO_FEATURES.
    • add xen backend drivers to linux kernel configuration.
  • arm-autonomy-guest: this feature activates functionalities to run as guest of an autonomy system. It is doing the following:

    • add 'ipv4' to DISTRO_FEATURES.
    • add xen frontend drivers to linux kernel configuration.
    • add console on hvc0 during init.

Bitbake variables

Some recipes and classes in this layer are introducing variables which can be modified by the user in local.conf. Each recipe introducing such variables has a chapter "Bitbake parameters" in its documentation.

Those documentation files should be checked for variables:

BSPs

This layer is adding the following machines:

  • arm64-autonomy-guest: this machines creates a minimal BSP suitable to be used as an autonomy guest. It is in fact only activating ARM64 architecture and SMP in the linux kernel and is enabling the DISTRO_FEATURE arm-autonomy-guest.

Images

This layer is adding the following images:

  • arm-autonomy-host-image-minimal: this image includes all elements required to create a minimal arm-autonomy-host system. This includes xen and tools to manage xen guests. This image depends on 'arm-autonomy-host' distribution feature.

Recipes and classes

This layer is adding the following recipes and classes:

  • xen-devicetree: this is a recipe to modify a device tree blob to add information required to boot xen and a Dom0 linux.

  • xenguest-mkimage: this is a tool to create and modify images to be used as Xen guests.

  • xenguest-manager: this is a tool to create/remove/start/stop xen guest generated using xenguest-mkimage.

Contributing

This project has not put in place a process for contributions currently. If you would like to contribute, please contact the maintainers

Maintainer(s)