QEMU: emulasi arm: Difference between revisions
From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs) No edit summary |
Onnowpurbo (talk | contribs) No edit summary |
||
| Line 24: | Line 24: | ||
qemu-img create -f raw armdisk.img 8G | 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 | |||
Latest revision as of 09:37, 15 September 2020
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