eos0/run.sh

16 lines
293 B
Bash
Raw Normal View History

2024-02-23 04:08:15 +00:00
set -euo pipefail
2024-02-23 04:19:16 +00:00
cargo xbuild --target=aarch64-unknown-none.json
2024-02-23 04:59:57 +00:00
2024-02-23 05:21:05 +00:00
DEBUG=
# DEBUG="-s -S -d exec"
2024-02-23 04:59:57 +00:00
printf "Running with qemu...\n"
set -x
2024-02-23 04:08:15 +00:00
exec qemu-system-aarch64 \
-machine virt \
2024-02-23 05:21:05 +00:00
$DEBUG \
2024-02-23 03:31:25 +00:00
-m 1024M \
-cpu cortex-a53 \
-nographic \
-kernel target/aarch64-unknown-none/debug/kernel