Difference between revisions of "QEMU: emulasi arm"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "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-cro...")
 
Line 8: Line 8:
 
  sudo su
 
  sudo su
 
  apt -y update
 
  apt -y update
  apt -y install gcc-arm-linux-gnueabihf libc6-dev-armhf-cross qemu-arm-static
+
  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
  
  

Revision as of 15:38, 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



Referensi

Pranala Menarik