QEMU: emulasi arm

From OnnoWiki
Revision as of 16:37, 15 September 2020 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sumber: https://gist.github.com/Liryna/10710751


Install

Install untuk armel & armhf

sudo su
apt -y update
apt -y install gcc-arm-linux-gnueabihf libc6-dev-armhf-cross qemu-user-static qemu

Cek

qemu-system-arm -cpu help
qemu-system-arm -machine help
qemu-system-arm -M help


Create

sudo su
mkdir /usr/local/src/arm-test
cd /usr/local/src/arm-test
qemu-img create -f raw armdisk.img 8G


qemu-system-arm -m 1024M -sd armdisk.img \
                -M virt -cpu max \
                -kernel kali-linux-2020.3a-rpi3-nexmon.img -initrd initrd.gz \
                -append "root=/dev/ram"  -no-reboot
qemu-system-arm -m 1024M -sd kali-linux-2020.3a-rpi3-nexmon.img \
                -M virt -cpu max \
                -no-reboot



Referensi

Pranala Menarik