aboutsummaryrefslogtreecommitdiffstats
path: root/templates/feature
diff options
context:
space:
mode:
authorJakub Luzny <jakub@luzny.cz>2020-07-19 17:00:08 +0200
committerJakub Luzny <jakub@luzny.cz>2020-07-24 12:46:57 +0200
commit3f6d193683449a323a3f1d689540ab697d3d7980 (patch)
tree093ad36c5bf3f031d469a635d0f2190a57c176e0 /templates/feature
parentc6889de97c1af6baa7ee8006aa75da170c9bd407 (diff)
Add layer to support Jailhouse hypervisorjellyfish_9.99.2jellyfish/9.99.29.99.2
Jailhouse is a partitioning hypervisor based on Linux. It is able to run bare-metal applications or (adapted) operating systems besides Linux. For this purpose, it configures CPU and device virtualization features of the hardware platform in a way that none of these domains, called "cells" here, can interfere with each other in an unacceptable way. This layer adds the Jailhouse package into AGL and also appends the BSPs to allow it to run. Currently, Raspberry Pi 4 and QEMU x86-64 targets are supported. To enable Jailhouse and include it in the image, the AGL feature agl-jailhouse must be enabled. Bug-AGL: SPEC-3507 Signed-off-by: Jakub Luzny <jakub@luzny.cz> Change-Id: I0fbc0b5d931c85d6f22b0222da8c2b106c4115e1
Diffstat (limited to 'templates/feature')
-rw-r--r--templates/feature/agl-jailhouse/50_bblayers.conf.inc7
-rw-r--r--templates/feature/agl-jailhouse/50_local.conf.inc3
2 files changed, 10 insertions, 0 deletions
diff --git a/templates/feature/agl-jailhouse/50_bblayers.conf.inc b/templates/feature/agl-jailhouse/50_bblayers.conf.inc
new file mode 100644
index 00000000..d3ed39d5
--- /dev/null
+++ b/templates/feature/agl-jailhouse/50_bblayers.conf.inc
@@ -0,0 +1,7 @@
+BBLAYERS =+ " \
+ ${METADIR}/meta-agl-devel/meta-agl-jailhouse \
+ ${METADIR}/bsp/meta-arm/meta-arm \
+"
+
+# Up-to-date meta-arm depends on meta-arm-toolchain
+#BBLAYERS =+ "${METADIR}/bsp/meta-arm/meta-arm-toolchain"
diff --git a/templates/feature/agl-jailhouse/50_local.conf.inc b/templates/feature/agl-jailhouse/50_local.conf.inc
new file mode 100644
index 00000000..89e25216
--- /dev/null
+++ b/templates/feature/agl-jailhouse/50_local.conf.inc
@@ -0,0 +1,3 @@
+#### JAILHOUSE
+IMAGE_INSTALL_append = " jailhouse jailhouse-demos"
+PREFERRED_VERSION_linux-raspberrypi = "5.4%"