IGN-ARM Memakai QEMU: Perbedaan revisi

Dari IGNwiki
Langsung ke: navigasi, cari

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/html/igos-nusantara-web/wiki/includes/diff/DairikiDiff.php on line 438
(Qemu A15 RAM 5GB)
Baris 60: Baris 60:
 
=== Qemu A15 RAM 5GB ===
 
=== Qemu A15 RAM 5GB ===
 
Jika komputer host memiliki RAM berukuran besar misal 8GB sampai 16GB. Maka Qemu dapat diberikan alokasi RAM (misal) sebesar 5GB.  
 
Jika komputer host memiliki RAM berukuran besar misal 8GB sampai 16GB. Maka Qemu dapat diberikan alokasi RAM (misal) sebesar 5GB.  
 +
 +
=== Pasang kernel-lpae ===
 +
 +
[ign-arm] #
 +
yum install kernel-lpae
 +
 +
=== Matikan IGN ARM ===
 +
 +
[ign-arm] #
 +
shutdown -h now
 +
 +
=== Salin /boot ===
  
 +
[ign-desktop] $
 +
cd /home/igos/arm
 +
virt-copy-out ... /boot .
 +
 +
=== Jalankan Qemu ===
 
  [ign-desktop] $
 
  [ign-desktop] $
 
  echo "Qemu A15 RAM 5GB"
 
  echo "Qemu A15 RAM 5GB"
 
  qemu-system-arm -machine vexpress-a15 -m 5120 -nographic -net nic -net user \
 
  qemu-system-arm -machine vexpress-a15 -m 5120 -nographic -net nic -net user \
 
   -append "console=ttyAMA0,115200n8 rw root=/dev/mmcblk0p3 rootwait physmap.enabled=0" \
 
   -append "console=ttyAMA0,115200n8 rw root=/dev/mmcblk0p3 rootwait physmap.enabled=0" \
   -kernel /home/arm/boot/vmlinuz-3.19.1-201.fc21.armv7hl+lpae \
+
   -kernel /home/igos/arm/boot/vmlinuz-3.19.1-201.fc21.armv7hl+lpae \
   -initrd /home/arm/boot/initramfs-3.19.1-201.fc21.armv7hl+lpae.img \
+
   -initrd /home/igos/arm/boot/initramfs-3.19.1-201.fc21.armv7hl+lpae.img \
   -dtb /home/arm/boot/dtb-3.19.1-201.fc21.armv7hl+lpae/vexpress-v2p-ca15_a7.dtb \
+
   -dtb /home/igos/arm/boot/dtb-3.19.1-201.fc21.armv7hl+lpae/vexpress-v2p-ca15_a7.dtb \
   -sd /home/arm/IGN-ARM-mini-armhfp-1.0-sda.raw
+
   -sd /home/igos/arm/IGN-ARM-mini-armhfp-1.0-sda.raw
  
 
== Selesai ==
 
== Selesai ==

Revisi per 27 Maret 2015 12.21

IGN-ARM Memakai QEMU dapat dijalankan dengan dua cara:

  1. Qemu dengan boot loader A9 -> Alokasi RAM maksimal 1GB
  2. Qemu dengan boot loader A15 -> Alokasi RAM mulai 512MB sampai di atas 4GB

Persyaratan

  • IGOS Nusantara Desktop untuk menjalankan Qemu
  • Komputer sebaiknya memiliki RAM diatas 4GB, sebaiknya RAM >= 8GB

Pasang tool

[ign-desktop] #
yum install -y qemu-system-arm
yum install -y libguestfs-tools

Buat grup kvm

[ign-desktop] #
usermod -aG kvm igos
newgrp kvm

Qemu dengan A9

Pasang firmware untuk A9

[ign-desktop] #
yum install ...


Jalankan Qemu A9

Jika memiliki RAM terbatas alokasikan 512 MB, sedangkan jika memiliki RAM besar alokasikan maksimal sebesar 1024 MB.

[ign-desktop] $
echo "Pakai A9 RAM maksimal hanya 1GB"
qemu-system-arm -machine vexpress-a9 \
 -m 1024 -nographic \
 -append "console=ttyAMA0,115200n8 rw root=/dev/mmcblk0p3 rootwait physmap.enabled=0" \
 -kernel /usr/share/u-boot.git/arm/vexpress-a9/u-boot \
 -sd /home/igos/arm/IGN-ARM-1.0-mini-armhfp-sda.raw


Qemu dengan A15

Salin berkas /boot

Berkas IGN-ARM-mini-armhfp-1.0-sda.raw didalamnya ada direktori /boot. Direktori ini dapat disalin dengan memakai perintah virt-copy-out

[ign-desktop] $
cd /home/igos/arm/
virt-copy-out -a IGN-ARM-mini-armhfp-1.0-sda.raw /boot .

Qemu A15 RAM 2GB

[ign-desktop] $
echo "Qemu A15 RAM 2GB"
qemu-system-arm -machine vexpress-a15 -m 2048 -nographic -net nic -net user \
 -append "console=ttyAMA0,115200n8 rw root=/dev/mmcblk0p3 rootwait physmap.enabled=0" \
 -kernel /home/arm/boot/vmlinuz-3.19.1-201.fc21.armv7hl \
 -initrd /home/arm/boot/initramfs-3.19.1-201.fc21.armv7hl.img \
 -dtb /home/arm/boot/dtb-3.19.1-201.fc21.armv7hl/vexpress-v2p-ca15_a7.dtb \
 -sd /home/arm/IGN-ARM-mini-armhfp-1.0-sda.raw

Qemu A15 RAM 5GB

Jika komputer host memiliki RAM berukuran besar misal 8GB sampai 16GB. Maka Qemu dapat diberikan alokasi RAM (misal) sebesar 5GB.

Pasang kernel-lpae

[ign-arm] #
yum install kernel-lpae

Matikan IGN ARM

[ign-arm] #
shutdown -h now

Salin /boot

[ign-desktop] $
cd /home/igos/arm
virt-copy-out ... /boot .

Jalankan Qemu

[ign-desktop] $
echo "Qemu A15 RAM 5GB"
qemu-system-arm -machine vexpress-a15 -m 5120 -nographic -net nic -net user \
 -append "console=ttyAMA0,115200n8 rw root=/dev/mmcblk0p3 rootwait physmap.enabled=0" \
 -kernel /home/igos/arm/boot/vmlinuz-3.19.1-201.fc21.armv7hl+lpae \
 -initrd /home/igos/arm/boot/initramfs-3.19.1-201.fc21.armv7hl+lpae.img \
 -dtb /home/igos/arm/boot/dtb-3.19.1-201.fc21.armv7hl+lpae/vexpress-v2p-ca15_a7.dtb \
 -sd /home/igos/arm/IGN-ARM-mini-armhfp-1.0-sda.raw

Selesai