On Fri, Jan 29, 2016 at 09:07:47AM +0100, Christoph Pleger wrote:
> I created a qemu armhf virtual machine, with machine type vexpress-a9 and
> CPU cortex-a9. I first attempted to install the VM by using the jessie
> debian-installer, but the VM did not boot. As is was not sure if I had the
> correct files vmlinuz and initrd for jessie, I tried wheezy instead, and
> that worked. After wheezy installation was completed, I upgraded to
> jessie, installed vmlinuz-3.16.0-4-armmp kernel, halted the VM, copied
> /boot/vmlinuz-3.16.0-4-armmp and /boot/initrd.img-3.16.0-4-armmp from the
> VM to the real machine and, in my qemu GUI aqemu, changed the entries for
> direct kernel boot accordingly. But again, the VM does not boot with
> jessie kernel - the qemu window opens, but then, nothing happens any more.
> With the wheezy kernel, the VM still boots fine.
> 
> Any suggesting how to make the jessie kernel work on my VM?

As the other suggestion said, you need the DTB for the system you are
emulating too.  This is how ARM systems work these days.

I suspect you want the file:
./usr/lib/linux-image-3.16.0-4-armmp/vexpress-v2p-ca9.dtb

If you decide to emulate the a15 vexpress (which many examples use
I have noticed, although perhaps more if doing kvm on an actual arm)
you would want
./usr/lib/linux-image-3.16.0-4-armmp/vexpress-v2p-ca15-tc1.dtb instead.

-- 
Len Sorensen

Reply via email to