qemu-rpi-kernel icon indicating copy to clipboard operation
qemu-rpi-kernel copied to clipboard

Add 5.10 kernel

Open NoozAbooz opened this issue 3 years ago • 7 comments

Recently the RPI foundation bumped the kernels to v5.10, it would be nice as well to have a updated kernel file for running newer RPI OS versions in QEMU.

NoozAbooz avatar Apr 11 '21 02:04 NoozAbooz

Also interested.

Can't understand why it's working fine with the kernel8 provided here : https://github.com/dhruvvyas90/qemu-rpi-kernel/tree/master/native-emuation but if I follow the instruction and extract kernel8 from the last raspios it doesnt boot...

ElieLiabeuf avatar Apr 16 '21 16:04 ElieLiabeuf

Also interested.

Can't understand why it's working fine with the kernel8 provided here : https://github.com/dhruvvyas90/qemu-rpi-kernel/tree/master/native-emuation but if I follow the instruction and extract kernel8 from the last raspios it doesnt boot...

I have this same issue with the kernel8 that I extracted. Has anyone had success with the new kernel and QEMU? Any suggestions for troubleshooting? May not be an issue that dhruvvyas90 can fix. Thank you.

NWJeff avatar Apr 16 '21 19:04 NWJeff

I have this same issue with the kernel8 that I extracted. Has anyone had success with the new kernel and QEMU? Any suggestions for troubleshooting? May not be an issue that dhruvvyas90 can fix. Thank you.

Yep, to me it's related to QEMU. If you take the last raspios using kernel 5.4.83 (this one) it works just fine. You can extract bcm2710-rpi-3-b-plus.dtb and kernel8.img and everything runs.

ElieLiabeuf avatar Apr 16 '21 20:04 ElieLiabeuf

Maybe we could use https://github.com/dhruvvyas90/qemu-rpi-kernel/tree/master/tools?

NoozAbooz avatar May 20 '21 22:05 NoozAbooz

You can extract bcm2710-rpi-3-b-plus.dtb and kernel8.img and everything runs.

What did you mean by this? Like if I extract these out and point qemu to use these instead of the dtb in this repo?

NoozAbooz avatar Jul 27 '21 00:07 NoozAbooz

@mobilegmYT right. I can also confirm that 5.4.83 works when compiled from source, while 5.10 does not boot. Might try some different kernel and QEMU versions in the future.

ptrsr avatar Aug 01 '21 14:08 ptrsr

This was done: 8f85476768cc309ff1d46ed10518a5e2a1f08058

OrangeDog avatar Apr 29 '24 12:04 OrangeDog