aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tests/qemu/arch/aarch64.config
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-24 19:54:55 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-24 20:38:22 +0200
commitb5bf72d0f7ace28b3bb9cfe58d4b550159cb97f5 (patch)
tree8e2361b7284fc39fd0987bbb3eeb330af3106645 /src/tests/qemu/arch/aarch64.config
parentqemu: allow for cross compilation (diff)
downloadwireguard-monolithic-historical-b5bf72d0f7ace28b3bb9cfe58d4b550159cb97f5.tar.xz
wireguard-monolithic-historical-b5bf72d0f7ace28b3bb9cfe58d4b550159cb97f5.zip
qemu: work around bogus QEMU virt ARM machinesjd/broken-arm-qemu-serial
The virt machine type in QEMU only supports one native serial port, which means we're forced to add in a whole PCI bus if we want to get any more information out. Bad situation. This should be reverted as soon as upstream QEMU does something about it.
Diffstat (limited to 'src/tests/qemu/arch/aarch64.config')
-rw-r--r--src/tests/qemu/arch/aarch64.config11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/tests/qemu/arch/aarch64.config b/src/tests/qemu/arch/aarch64.config
index 7f46172..e5c54e3 100644
--- a/src/tests/qemu/arch/aarch64.config
+++ b/src/tests/qemu/arch/aarch64.config
@@ -1,4 +1,9 @@
-CONFIG_SERIAL_AMBA_PL011=y
-CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+CONFIG_PCI=y
+CONFIG_PCI_MSI=y
+CONFIG_PCI_HOST_COMMON=y
+CONFIG_PCI_HOST_GENERIC=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_PCI=y
+CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_CMDLINE_BOOL=y
-CONFIG_CMDLINE="console=ttyAMA0 wg.success=ttyAMA1"
+CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1"