diff options
author | Michele Paolino <m.paolino@virtualopensystems.com> | 2017-05-03 17:48:42 +0200 |
---|---|---|
committer | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2018-05-16 09:34:37 +0200 |
commit | 448635cbd48d288434e7b698cf7469644b1728d5 (patch) | |
tree | 0d6deac8d401a4e769632e87dd085911c17faf4b /meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb | |
parent | 70098fb39bf4458ce3132dc8a91b6aa20ef57f4a (diff) |
[COMMUNITY] Enable Linux-based hypervisor execution in AGL
The upstream version of AGL boots Linux in EL1. This mode is not
privileged enough to put in place the correct configuration of
an hypervisor (e.g., KVM).
This patch leverages the ATF rcar platform configuration variables to
boot the Linux kernel in EL2, instead of EL1, allowing Linux-based
hypervisors such as KVM to configure all the necessary stubs to
properly run virtual machines.
This patch has been successfully tested with ATF, KVM and AGL rootfs
on the Renesas R-Car M3.
Changelog:
- Added arm-trusted-firmware patch, which makes this work easy
to be tested by the community
- This patch version does not contain Linux kernel modifications.
In fact, these resulted not necessary with the proposed ATF patch
and a recent kernel (higher than 4.6)
Bug-AGL: SPEC-497
Change-Id: I5a22411135b33137cb2236562b3de9c966f1be21
Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com>
Diffstat (limited to 'meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb')
-rw-r--r-- | meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb b/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb index 7b9a5d8..3881a50 100644 --- a/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb +++ b/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb @@ -27,6 +27,10 @@ ATFW_OPT_r8a77965 = "LSI=M3N ${ATFW_OPT_LOSSY}" ATFW_OPT_r8a77990 = "LSI=E3 RCAR_SA0_SIZE=0 RCAR_AVS_SETTING_ENABLE=0" ATFW_OPT_append_ulcb = " RCAR_GEN3_ULCB=1 PMIC_LEVEL_MODE=0" +SRC_URI_append = " \ + file://0001-Boot-Normal-World-in-EL2.patch \ +" + # requires CROSS_COMPILE set by hand as there is no configure script export CROSS_COMPILE="${TARGET_PREFIX}" |