Skip to content
Snippets Groups Projects
Unverified Commit c767ee65 authored by minute's avatar minute
Browse files

WIP: add qemu emulation script for reform kernel

parent 469c7e6b
No related branches found
No related tags found
1 merge request!12RC1 of MNT Reform System Image and Rescue Image
#!/bin/bash
qemu-system-aarch64 \
-machine virt \
-cpu cortex-a53 \
-smp 4 \
-kernel ./linux/arch/arm64/boot/Image \
-device virtio-gpu-pci,virgl=on \
-append "console=ttyAMA0 root=/dev/vda rw" \
-m 4096 \
-nic user,model=virtio-net-pci \
-display gtk,gl=on \
-device usb-ehci -device usb-kbd -device usb-tablet -usb \
-serial stdio
# optional: rootfs mounted from .img
#-drive if=none,file=/dev/loop0p1,id=rfs -device virtio-blk-device,drive=rfs \
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment