summaryrefslogtreecommitdiff
path: root/Meta/run.sh
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-09-26 14:10:37 -0400
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-09-26 23:14:01 +0000
commit5565db5aa1e57145c1671fd33faa4b6bd44ad343 (patch)
tree5f7789b00cd3c582cf288d99b0ee093c3bb6bda3 /Meta/run.sh
parent54aabb07f956c6f4ce7787bab20bc05c9a80931c (diff)
downloadserenity-5565db5aa1e57145c1671fd33faa4b6bd44ad343.zip
Meta: Pass `-serial stdio` to qemu on aarch64
With this, `Meta/serenity.sh run aarch64` produces some output on the terminal :^)
Diffstat (limited to 'Meta/run.sh')
-rwxr-xr-xMeta/run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Meta/run.sh b/Meta/run.sh
index b2d8900221..bf33a14c30 100755
--- a/Meta/run.sh
+++ b/Meta/run.sh
@@ -192,7 +192,7 @@ fi
if [ -z "$SERENITY_MACHINE" ]; then
if [ "$SERENITY_ARCH" = "aarch64" ]; then
- SERENITY_MACHINE="-M raspi3"
+ SERENITY_MACHINE="-M raspi3 -serial stdio"
else
SERENITY_MACHINE="
-m $SERENITY_RAM_SIZE
@@ -211,6 +211,7 @@ if [ -z "$SERENITY_MACHINE" ]; then
-device i82801b11-bridge,bus=bridge1,id=bridge2 -device sdhci-pci,bus=bridge2
-device i82801b11-bridge,id=bridge3 -device sdhci-pci,bus=bridge3
-device ich9-ahci,bus=bridge3
+ -chardev stdio,id=stdout,mux=on
"
fi
fi
@@ -224,7 +225,6 @@ $SERENITY_MACHINE
-d guest_errors
-usb
$SERENITY_SPICE_SERVER_CHARDEV
--chardev stdio,id=stdout,mux=on
"
if [ "$SERENITY_ARCH" != "aarch64" ]; then