Add layer to support Jailhouse hypervisor 34/25034/6 9.99.2 jellyfish/9.99.2 jellyfish_9.99.2
authorJakub Luzny <jakub@luzny.cz>
Sun, 19 Jul 2020 15:00:08 +0000 (17:00 +0200)
committerJakub Luzny <jakub@luzny.cz>
Fri, 24 Jul 2020 10:46:57 +0000 (12:46 +0200)
commit3f6d193683449a323a3f1d689540ab697d3d7980
tree093ad36c5bf3f031d469a635d0f2190a57c176e0
parentc6889de97c1af6baa7ee8006aa75da170c9bd407
Add layer to support Jailhouse hypervisor

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
47 files changed:
meta-agl-devel.md
meta-agl-jailhouse/README.md
meta-agl-jailhouse/conf/layer.conf [new file with mode: 0644]
meta-agl-jailhouse/dynamic-layers/raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bbappend [new file with mode: 0644]
meta-agl-jailhouse/dynamic-layers/raspberrypi/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend [new file with mode: 0644]
meta-agl-jailhouse/dynamic-layers/raspberrypi/recipes-extended/jailhouse/jailhouse_%.bbappend [new file with mode: 0644]
meta-agl-jailhouse/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend [new file with mode: 0644]
meta-agl-jailhouse/dynamic-layers/raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.4%.bbappend [new file with mode: 0644]
meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse-arch.inc [new file with mode: 0644]
meta-agl-jailhouse/recipes-extended/jailhouse/jailhouse_git.bb [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux-jailhouse-5.4.inc [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux-yocto_5.4%.bbappend [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0001-x86-jailhouse-Improve-setup-data-version-comparison.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0002-x86-jailhouse-Only-enable-platform-UARTs-if-availabl.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0003-jailhouse-Add-simple-debug-console-via-the-hyperviso.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0004-arm-Export-__boot_cpu_mode-for-use-in-Jailhouse-driv.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0005-mm-Re-export-ioremap_page_range.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0006-arm-arm64-export-__hyp_stub_vectors.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0007-x86-Export-lapic_timer_period.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0008-arm64-dts-marvell-armada-37xx-Set-pci-domain.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0009-arm64-dts-marvell-armada-8030-mcbin-Set-pci-domain.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0010-uio-Enable-read-only-mappings.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0011-ivshmem-Add-header-file.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0012-uio-Add-driver-for-inter-VM-shared-memory-device.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0013-ivshmem-net-virtual-network-device-for-Jailhouse.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0014-ivshmem-net-Map-shmem-region-as-RAM.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0015-ivshmem-net-fix-race-in-state-machine.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0016-ivshmem-net-Remove-unused-variable.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0017-ivshmem-net-Enable-INTx.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0018-ivshmem-net-Improve-identification-of-resources.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0019-ivshmem-net-Switch-to-reset-state-on-each-net-stop-a.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0020-ivshmem-net-Add-ethtool-register-dump.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0021-ivshmem-net-Fix-stuck-state-machine-during-setup.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0022-ivshmem-net-Switch-to-relative-descriptor-addresses.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0023-ivshmem-net-Switch-to-pci_alloc_irq_vectors.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0024-ivshmem-net-fill-in-and-check-used-descriptor-chain-.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0025-ivshmem-net-slightly-improve-debug-output.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0026-ivshmem-net-set-and-check-descriptor-flags.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0027-ivshmem-net-add-MAC-changing-interface.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0028-ivshmem-net-Silence-compiler-warning.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0029-ivshmem-net-Fix-bogus-transition-to-RESET-state.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0030-ivshmem-net-Refactor-and-comment-ivshm_net_state_cha.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0031-ivshmem-net-Switch-to-netdev_xmit_more-helper.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/0032-ivshmem-net-Adjust-to-reworked-version-of-ivshmem-in.patch [new file with mode: 0644]
meta-agl-jailhouse/recipes-kernel/linux/linux/jailhouse.cfg [new file with mode: 0644]
templates/feature/agl-jailhouse/50_bblayers.conf.inc [new file with mode: 0644]
templates/feature/agl-jailhouse/50_local.conf.inc [new file with mode: 0644]