Re: [PATCH v2 0/2] Add QEMU virt-ctrl driver and update m68k virt

From: Laurent Vivier

Date: Wed Feb 04 2026 - 10:24:48 EST


Le 04/02/2026 à 14:02, Daniel Palmer a écrit :
Hi Laurent,

On Wed, 4 Feb 2026 at 21:53, Laurent Vivier <laurent@xxxxxxxxx> wrote:
How to use it with QEMU? Do we need some changes in the code?

You just load u-boot instead of the linux kernel. I don't think you
can actually do much with it because there's no virtio support to load
linux etc yet.
But I have that all working in my own branch and now Kuan-Wei has got
the first parts merged adding the remaining parts to boot linux
shouldn't be too difficult.

I have an old branch with a bootstrap ROM that can be used to start a bigger ROM, I use it with petitboot, but perhaps it can be used to load U-boot instead:

https://github.com/vivier/qemu/tree/m68k-virt-petitboot

In this case virt-ctrl is extended to control the firmware.

Thanks,
Laurent