eos0/run.sh
2024-02-22 23:21:05 -06:00

15 lines
293 B
Bash
Executable file

set -euo pipefail
cargo xbuild --target=aarch64-unknown-none.json
DEBUG=
# DEBUG="-s -S -d exec"
printf "Running with qemu...\n"
set -x
exec qemu-system-aarch64 \
-machine virt \
$DEBUG \
-m 1024M \
-cpu cortex-a53 \
-nographic \
-kernel target/aarch64-unknown-none/debug/kernel