eos0/run.sh

17 lines
306 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=
2024-03-21 13:33:51 +00:00
DEBUG="-s -S -d exec"
2024-02-23 05:21:05 +00:00
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 \
2024-03-21 13:33:51 +00:00
-no-reboot \
2024-02-23 03:31:25 +00:00
-nographic \
-kernel target/aarch64-unknown-none/debug/kernel