QemuKVMARM
Differences between revisions 3 and 4
|
Size: 1089
Comment:
|
Size: 1094
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| Prerequisites: from now we assume we are running inside a Cortex A15 capable host (Calxeda ECX 2000 or ARM Vexpress) | Prerequisites: from now we assume we are running inside a Cortex A15 capable host (Calxeda ECX 2000 or ARM Vexpress qemu) |
how to setup an arm vexpress a15 guest
Prerequisites: from now we assume we are running inside a Cortex A15 capable host (Calxeda ECX 2000 or ARM Vexpress qemu)
Download a cloud img:
wget -c http://cloud-images.ubuntu.com/saucy/current/saucy-server-cloudimg-armhf.tar.gz tar zxvf saucy-server-cloudimg-armhf.tar.gz mkdir -p tmp mount -o loop -rw saucy-server-cloudimg-armhf.img tmp
Copy the modules and serial to the system:
cp -a /lib/modules/`uname -r`/ tmp/lib/modules/. cp /etc/init/ttyAMA0.conf tmp/etc/init/
Setup the environment:
chroot tmp adduser ubuntu rm etc/init/cloud-* exit umount tmp
Execute qemu:
sudo qemu-system-arm -machine vexpress-a15 -cpu cortex-a15 -enable-kvm -m 512M -kernel /boot/vmlinuz-`uname -r` -append "console=ttyAMA0 earlyprintk=serial root=/dev/mmcblk0 ro rootfstype=ext4" -serial stdio -dtb fw2/vexpress-v2p-ca15-tc1.dtb -initrd boot/initrd.img-uname -r -drive if=sd,cache=writeback,file=saucy-server-cloudimg-armhf.img -net nic -net user,hostfwd=tcp::2223-:22 -display none
Kernel/Dev/QemuKVMARM (last edited 2013-09-30 11:28:12 by p-pisati)