1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-07-16 03:47:19 +00:00
Files
luca fancellu 27e102a430 arm-autonomy/xen-devicetree: change Xen dts and n1sdp dtsi
The current Xen dts produced by the layer is using an old
way to specify the dom0 kernel module that won't be supported
anymore in Xen 4.16 when booting through UEFI.

Change xen.dtsi.in to have the Dom0 kernel module as a
direct child of /chosen node.

For the n1sdp, Grub2 is responsible to create the Dom0
kernel node and properly setup the #address-cells and
the #size-cells properties, so modify the dynamic layer
dtsi for n1sdp to remove these node and properties from
the yocto generated dtb for Xen.

Issue-Id: SCM-3647
Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Change-Id: I35236bbb3fe97e4237bc5c45fb521efdaa472ef1
Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-11-11 15:48:56 +00: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 guest images.

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

Dependencies

This layer depends on several other Yocto layers:

Distribution Features

This layer adds the following Yocto DISTRO_FEATURES:

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

    • add 'xen' and 'ipv4' to DISTRO_FEATURES.
    • add xen backend drivers to linux kernel configuration.
    • To reduce the root filesystem image size the kernel image is not installed.
  • 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 adds the following machine:

  • arm64-autonomy-guest: This machine 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 and xenguest images. This image depends on 'arm-autonomy-host' distribution feature.

Recipes and classes

This layer adds 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 used to create and modify images to be used as Xen guests.

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

  • xenguest-network: This recipe add tools and init scripts to create a bridge connected to the external network on the host and allow guests to be connected to it.

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)