DEV Community

Sahrul Gunawan ID
Sahrul Gunawan ID

Posted on • Originally published at github.com

QEMU AARCH64 RUN

RUN QEMU AARCH64

SCRIPT

qemu-system-aarch64 \
-m 500M,maxmem=1200M,slots=3 \
-smp 4 \
-M virt,secure=on,virtualization=on,gic-version=max \
-accel tcg,thread=single,tb-size=256 \
-d unimp \
-k en-us \
-cpu cortex-a710 \
-kernel linux_kernel \
-initrd initramfs.cpio
-append "console=ttyAMA0 init=/init clocksource=kvm-clock panic=1 ip=dhcp" \
-serial mon:stdio \
-netdev user,id=net0 \
-device virtio-net-device,netdev=net0 \
-netdev user,id=net1,hostfwd=tcp::2222-:22 \
-device virtio-net-pci,netdev=net1 \
-device rtl8139,netdev=n0 \
-netdev user,id=n0,dns=8.8.8.8 \
-nodefaults \
-nographic

Downloads Kernel LIST
ARM32,ARM64,RISCV64,X86_64
LINK KERNEL : https://l4re.org/download/Linux-kernel/

Download Initramfs Here

LINK INITRAMFS : https://l4re.org/download/ramdisks/

My Gitbub Here : https://github.com/SahrulGunawan-ID

Thanks To

Post On : https://dev.to

Top comments (0)