diff options
author | Alistair Francis <alistair.francis@xilinx.com> | 2016-06-15 11:50:55 -0700 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2016-06-18 18:05:30 +1000 |
commit | 89088fe13e510c50de073ede95bb3e6e0efb85cc (patch) | |
tree | 861936532467b9d7c92099d1b8ecfb90e9f1404d | |
parent | 64a342a2d76c2397c5dff1815e6c78af9f86b9e5 (diff) | |
download | meta-xilinx-89088fe13e510c50de073ede95bb3e6e0efb85cc.tar.gz |
recipes-zynqmp/qemu_2.6%: Disable EL3 for the A53s
The Xilinx kernel doesn't support having EL3 enabled and EL2 disabled.
As EL2 is not yet supported on mainline QEMU disable EL3 until we can
support a complete boot flow.
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r-- | recipes-zynqmp/qemu/files/8fa2346723fb74e8220ac9f186dabc2f57e4cb43.patch | 30 | ||||
-rw-r--r-- | recipes-zynqmp/qemu/qemu_2.6%.bbappend | 7 |
2 files changed, 37 insertions, 0 deletions
diff --git a/recipes-zynqmp/qemu/files/8fa2346723fb74e8220ac9f186dabc2f57e4cb43.patch b/recipes-zynqmp/qemu/files/8fa2346723fb74e8220ac9f186dabc2f57e4cb43.patch new file mode 100644 index 00000000..f266d6d2 --- /dev/null +++ b/recipes-zynqmp/qemu/files/8fa2346723fb74e8220ac9f186dabc2f57e4cb43.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 8fa2346723fb74e8220ac9f186dabc2f57e4cb43 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alistair Francis <alistair.francis@xilinx.com> | ||
3 | Date: Wed, 15 Jun 2016 10:39:55 -0700 | ||
4 | Subject: [PATCH] target-arm: Disable EL3 on A53 | ||
5 | |||
6 | The Xilinx kernel doesn't support having EL3 enabled and EL2 disabled. | ||
7 | As EL2 is not yet supported on mainline QEMU disable EL3 until we can | ||
8 | support a complete boot flow. | ||
9 | |||
10 | Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> | ||
11 | Upstream-Status: Inappropriate [workaround feature incompatibility] | ||
12 | --- | ||
13 | target-arm/cpu64.c | 1 - | ||
14 | 1 file changed, 1 deletion(-) | ||
15 | |||
16 | diff --git a/target-arm/cpu64.c b/target-arm/cpu64.c | ||
17 | index 1635deb..0896259 100644 | ||
18 | --- a/target-arm/cpu64.c | ||
19 | +++ b/target-arm/cpu64.c | ||
20 | @@ -165,7 +165,6 @@ static void aarch64_a53_initfn(Object *obj) | ||
21 | set_feature(&cpu->env, ARM_FEATURE_V8_SHA256); | ||
22 | set_feature(&cpu->env, ARM_FEATURE_V8_PMULL); | ||
23 | set_feature(&cpu->env, ARM_FEATURE_CRC); | ||
24 | - set_feature(&cpu->env, ARM_FEATURE_EL3); | ||
25 | cpu->kvm_target = QEMU_KVM_ARM_TARGET_CORTEX_A53; | ||
26 | cpu->midr = 0x410fd034; | ||
27 | cpu->revidr = 0x00000000; | ||
28 | -- | ||
29 | 2.7.4 | ||
30 | |||
diff --git a/recipes-zynqmp/qemu/qemu_2.6%.bbappend b/recipes-zynqmp/qemu/qemu_2.6%.bbappend new file mode 100644 index 00000000..eb66caed --- /dev/null +++ b/recipes-zynqmp/qemu/qemu_2.6%.bbappend | |||
@@ -0,0 +1,7 @@ | |||
1 | |||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
3 | |||
4 | SRC_URI += " \ | ||
5 | file://8fa2346723fb74e8220ac9f186dabc2f57e4cb43.patch \ | ||
6 | " | ||
7 | |||