summaryrefslogtreecommitdiffhomepage
path: root/src/tests/qemu/arch
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-09-25 22:42:13 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-02 03:41:49 +0200
commit6be4d32b26c0ff5603edb3067c18bbb96ddb302d (patch)
treeb51848d09299093078bf687b63e5015996bc5169 /src/tests/qemu/arch
parent38c18b1364f7afa358b1a96464c0a4d6f737c78f (diff)
qemu: support more arm big endian platforms
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/tests/qemu/arch')
-rw-r--r--src/tests/qemu/arch/aarch64_be.config5
-rw-r--r--src/tests/qemu/arch/armeb.config12
-rw-r--r--src/tests/qemu/arch/i686.config (renamed from src/tests/qemu/arch/i386.config)0
-rw-r--r--src/tests/qemu/arch/powerpc.config (renamed from src/tests/qemu/arch/ppc.config)0
4 files changed, 17 insertions, 0 deletions
diff --git a/src/tests/qemu/arch/aarch64_be.config b/src/tests/qemu/arch/aarch64_be.config
new file mode 100644
index 0000000..8dc91c2
--- /dev/null
+++ b/src/tests/qemu/arch/aarch64_be.config
@@ -0,0 +1,5 @@
+CONFIG_CPU_BIG_ENDIAN=y
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+CONFIG_CMDLINE_BOOL=y
+CONFIG_CMDLINE="console=ttyAMA0 wg.success=ttyAMA1"
diff --git a/src/tests/qemu/arch/armeb.config b/src/tests/qemu/arch/armeb.config
new file mode 100644
index 0000000..b699465
--- /dev/null
+++ b/src/tests/qemu/arch/armeb.config
@@ -0,0 +1,12 @@
+CONFIG_MMU=y
+CONFIG_ARCH_MULTI_V7=y
+CONFIG_ARCH_VIRT=y
+CONFIG_THUMB2_KERNEL=n
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+CONFIG_CMDLINE_BOOL=y
+CONFIG_CMDLINE="console=ttyAMA0 wg.success=ttyAMA1"
+CONFIG_CPU_BIG_ENDIAN=y
+
+# Remove me for 4.20/5.0. This is just a dirty hack to allow CPU_BIG_ENDIAN.
+CONFIG_ARCH_HIGHBANK=y
diff --git a/src/tests/qemu/arch/i386.config b/src/tests/qemu/arch/i686.config
index ed1e701..ed1e701 100644
--- a/src/tests/qemu/arch/i386.config
+++ b/src/tests/qemu/arch/i686.config
diff --git a/src/tests/qemu/arch/ppc.config b/src/tests/qemu/arch/powerpc.config
index 8ec5911..8ec5911 100644
--- a/src/tests/qemu/arch/ppc.config
+++ b/src/tests/qemu/arch/powerpc.config