Re: Booting Android with KVM-ARM kernel on QEMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25 April 2013 15:33, Howard Mao <zhehao.mao@xxxxxxxxx> wrote:
> I use the following command line to launch qemu on x86.
>
> ./qemu-system-arm -kernel zImage \
> -m 512 -M vexpress-a15 -cpu cortex-a15 -nographic -no-reboot \
> -initrd initrd.img.gz \
> -device virtio-blk,drive=virtio-blk,transport=virtio-mmio.0 \
> -drive file=android-guest.img,id=virtio-blk,if=none \
> -append "console=ttyAMA0 mem=512M --no-log user_debug=3 earlyprintk \
> root=/dev/ram0 ramdisk_size=168729 rootwait rw \
> virtio_mmio.device=1M@0x4e000000:74:0 virtio_mmio.device=1M@0x4e100000:75:1"

./qemu-system-arm \
	-enable-kvm -serial stdio -kernel zImage \
	-m 512 -M vexpress-a15 -cpu cortex-a15 \
	-drive file=./android.img,id=virtio-blk,if=none \
	-device virtio-blk,drive=virtio-blk,transport=virtio-mmio.0 \
	-append "earlyprintk console=ttyAMA0 mem=512M
virtio_mmio.device=1M@0x4e000000:74:0 root=/dev/vda rw init=/init"

See attached zImage (concatenated dtb in the kernel image). Tested it
also with TCG (just remove -enable-kvm) and it works as it should.

Attachment: zImage
Description: Binary data

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm

[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux