Skip to content

chore(scripts): add aarch64/riscv64 QEMU run scripts - #141

Merged
kernalix7 merged 1 commit into
mainfrom
chore/qemu-boot-scripts-crossarch
Jul 10, 2026
Merged

chore(scripts): add aarch64/riscv64 QEMU run scripts#141
kernalix7 merged 1 commit into
mainfrom
chore/qemu-boot-scripts-crossarch

Conversation

@kernalix7

Copy link
Copy Markdown
Owner

Reproducible boot harnesses mirroring run-qemu.sh.

  • run-qemu-aarch64.sh-M virt,gic-version=3 (kernel drives GICv3; virt's default GICv2 lacks a redistributor and faults init_gic), PL011 serial to stdout. Verified to boot through heap → GICv3 → timer → halt loop.
  • run-qemu-riscv64.sh — virt NS16550/PLIC layout, OpenSBI (-bios default); documented for parity (needs qemu-system-riscv64).

Scripts only; no crate changes.

Reproducible boot harnesses mirroring run-qemu.sh. run-qemu-aarch64.sh
uses '-M virt,gic-version=3' (the kernel drives GICv3; the virt default
GICv2 has no redistributor and faults init_gic) and routes PL011 serial
to stdout — verified to boot through heap/GICv3/timer to the halt loop.
run-qemu-riscv64.sh uses the virt NS16550/PLIC layout with OpenSBI
(-bios default); documented for parity (needs qemu-system-riscv64).
@kernalix7
kernalix7 merged commit 7a62e5c into main Jul 10, 2026
2 checks passed
@kernalix7
kernalix7 deleted the chore/qemu-boot-scripts-crossarch branch July 10, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant