Patch it for qemu with this:
http://xecdesign.com/downloads/linux-qe ... -arm.patch
The kernel has changed since this aptch was released so you will get this error message:
Code: Select all
patching file arch/arm/mach-versatile/Kconfig
patching file arch/arm/mm/Kconfig
Hunk #1 succeeded at 71 (offset -36 lines).
Hunk #2 succeeded at 89 (offset -36 lines).
Hunk #3 succeeded at 127 (offset -36 lines).
Hunk #4 succeeded at 135 (offset -36 lines).
Hunk #5 FAILED at 391.
1 out of 5 hunks FAILED -- saving rejects to file arch/arm/mm/Kconfig.rej
So you just have to patch hunk#5 from hand with an editor. It is important, else it will not work.
Don´t do
"make bcmrpi_defconfig" but do
"make ARCH=arm versatile_defconfig" because you are emulating a versatilePB
Then you have to add some things like ext4 support, SCSI controller support that it works in qemu.
I used this how-to, it is not up to date, you have to add some things like ext4 with make
ARCH=arm menuconfig for raspbian and patch a file yourself (see above):
http://xecdesign.com/compiling-a-kernel/
P.S: Here you can a find a 3.2.27 and a 3.6.y kernel for qemu and raspbian from me:
http://www.raspberrypi.org/phpBB3/viewtopic.php?t=16081