eos0/run.sh
2024-03-21 08:33:51 -05:00

16 lines
306 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 \
-no-reboot \
-nographic \
-kernel target/aarch64-unknown-none/debug/kernel