summaryrefslogtreecommitdiffhomepage
path: root/src/tests/qemu/arch
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-19 00:03:49 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-31 17:25:23 +0100
commit3bc403b01a157ff8a1d1c8600cadbc92af212d86 (patch)
tree93d100bd7c677718cd6e6eaf9d4db2da00c83563 /src/tests/qemu/arch
parentcb71dee9a64ee3e18ce4002d9ca54d97d3d5a106 (diff)
qemu: allow for cross compilation
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/tests/qemu/arch')
-rw-r--r--src/tests/qemu/arch/aarch64.config4
-rw-r--r--src/tests/qemu/arch/arm.config8
-rw-r--r--src/tests/qemu/arch/i386.config4
-rw-r--r--src/tests/qemu/arch/mips.config9
-rw-r--r--src/tests/qemu/arch/mips64.config10
-rw-r--r--src/tests/qemu/arch/mips64el.config11
-rw-r--r--src/tests/qemu/arch/mipsel.config10
-rw-r--r--src/tests/qemu/arch/x86_64.config4
8 files changed, 60 insertions, 0 deletions
diff --git a/src/tests/qemu/arch/aarch64.config b/src/tests/qemu/arch/aarch64.config
new file mode 100644
index 0000000..7f46172
--- /dev/null
+++ b/src/tests/qemu/arch/aarch64.config
@@ -0,0 +1,4 @@
+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/arm.config b/src/tests/qemu/arch/arm.config
new file mode 100644
index 0000000..0f39937
--- /dev/null
+++ b/src/tests/qemu/arch/arm.config
@@ -0,0 +1,8 @@
+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"
diff --git a/src/tests/qemu/arch/i386.config b/src/tests/qemu/arch/i386.config
new file mode 100644
index 0000000..ed1e701
--- /dev/null
+++ b/src/tests/qemu/arch/i386.config
@@ -0,0 +1,4 @@
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_CMDLINE_BOOL=y
+CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1"
diff --git a/src/tests/qemu/arch/mips.config b/src/tests/qemu/arch/mips.config
new file mode 100644
index 0000000..f8c7a7f
--- /dev/null
+++ b/src/tests/qemu/arch/mips.config
@@ -0,0 +1,9 @@
+CONFIG_CPU_MIPS32_R2=y
+CONFIG_MIPS_MALTA=y
+CONFIG_MIPS_CPS=y
+CONFIG_POWER_RESET=y
+CONFIG_POWER_RESET_SYSCON=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_CMDLINE_BOOL=y
+CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1"
diff --git a/src/tests/qemu/arch/mips64.config b/src/tests/qemu/arch/mips64.config
new file mode 100644
index 0000000..6fc6bc4
--- /dev/null
+++ b/src/tests/qemu/arch/mips64.config
@@ -0,0 +1,10 @@
+CONFIG_64BIT=y
+CONFIG_CPU_MIPS64_R2=y
+CONFIG_MIPS_MALTA=y
+CONFIG_MIPS_CPS=y
+CONFIG_POWER_RESET=y
+CONFIG_POWER_RESET_SYSCON=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_CMDLINE_BOOL=y
+CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1"
diff --git a/src/tests/qemu/arch/mips64el.config b/src/tests/qemu/arch/mips64el.config
new file mode 100644
index 0000000..fc1e43a
--- /dev/null
+++ b/src/tests/qemu/arch/mips64el.config
@@ -0,0 +1,11 @@
+CONFIG_64BIT=y
+CONFIG_CPU_MIPS64_R2=y
+CONFIG_MIPS_MALTA=y
+CONFIG_CPU_LITTLE_ENDIAN=y
+CONFIG_MIPS_CPS=y
+CONFIG_POWER_RESET=y
+CONFIG_POWER_RESET_SYSCON=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_CMDLINE_BOOL=y
+CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1"
diff --git a/src/tests/qemu/arch/mipsel.config b/src/tests/qemu/arch/mipsel.config
new file mode 100644
index 0000000..4759a65
--- /dev/null
+++ b/src/tests/qemu/arch/mipsel.config
@@ -0,0 +1,10 @@
+CONFIG_CPU_MIPS32_R2=y
+CONFIG_MIPS_MALTA=y
+CONFIG_CPU_LITTLE_ENDIAN=y
+CONFIG_MIPS_CPS=y
+CONFIG_POWER_RESET=y
+CONFIG_POWER_RESET_SYSCON=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_CMDLINE_BOOL=y
+CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1"
diff --git a/src/tests/qemu/arch/x86_64.config b/src/tests/qemu/arch/x86_64.config
new file mode 100644
index 0000000..ed1e701
--- /dev/null
+++ b/src/tests/qemu/arch/x86_64.config
@@ -0,0 +1,4 @@
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_CMDLINE_BOOL=y
+CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1"