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
|
|
|
|
|
|
|
printf "Running with qemu...\n"
|
|
|
|
set -x
|
2024-02-23 04:08:15 +00:00
|
|
|
exec qemu-system-aarch64 \
|
|
|
|
-machine virt \
|
2024-02-23 04:59:57 +00:00
|
|
|
-s -S \
|
2024-02-23 03:31:25 +00:00
|
|
|
-m 1024M \
|
|
|
|
-cpu cortex-a53 \
|
|
|
|
-nographic \
|
|
|
|
-kernel target/aarch64-unknown-none/debug/kernel
|