Madtrapper
Posts: 2
Joined: Wed Nov 14, 2012 10:50 pm

Why the original kernel can not boot by Qemu?

Wed Nov 14, 2012 10:56 pm

I use Qemu can boot the kernel compiled by myself.
But if I grab the kernel from the SD card, Qemu can not boot it?
Any idea?
Thx.

User avatar
PIstolero
Posts: 101
Joined: Mon Jul 23, 2012 6:28 am
Location: paradise city, where the grass is green and the girls are pretty

Re: Why the original kernel can not boot by Qemu?

Mon Nov 19, 2012 4:27 pm

Qemu is not emulating a RPI so it needs a special kernel for the virtual hardware.

Madtrapper
Posts: 2
Joined: Wed Nov 14, 2012 10:50 pm

Re: Why the original kernel can not boot by Qemu?

Wed Nov 21, 2012 5:46 am

You mean Qemu does not support PI's cpu type?

User avatar
PIstolero
Posts: 101
Joined: Mon Jul 23, 2012 6:28 am
Location: paradise city, where the grass is green and the girls are pretty

Re: Why the original kernel can not boot by Qemu?

Wed Nov 21, 2012 12:05 pm

Qemu is emulating the same cpu -cpu arm1176 but another platform -M versatilepb, see here:
http://qemu.weilnetz.de/qemu-doc.html#A ... m-emulator
You have a SCSI controler, PL110 LCD controller , ect.... that a PI not have.

Return to “Linux Kernel”