[PATCH 0/3] m68k: Add support for QEMU virt machine
Kuan-Wei Chiu
visitorckw at gmail.com
Mon Dec 22 09:44:41 CET 2025
Hi Daniel,
On Sun, Dec 21, 2025 at 01:15:18PM +0900, Daniel Palmer wrote:
> Hi Tom, Kuan-Wei,
>
> On Fri, 19 Dec 2025 at 04:01, Tom Rini <trini at konsulko.com> wrote:
> >
> > On Thu, Dec 18, 2025 at 06:52:49PM +0000, Kuan-Wei Chiu wrote:
> > > Add support for the QEMU 'virt' machine on the m68k architecture. The
> > > QEMU virt machine models a generic system based on the Motorola 68040
> > > CPU and utilizes Goldfish virtual peripherals.
>
> > Well this is neat.
>
> I have had a messy version[0] of this that runs on 68000, 68030 and
> 68040 real hardware and virt for years..
> I thought no one would want it so never sent it.
>
> I have devicetree for 000 and code to create bootinfo so that linux
> can boot on 020+ machines.
> Gist of probably the oldest cpu that can run the latest u-boot[1]
>
> Can we work on this together to reduce duplication?
>
> 0 - https://github.com/fifteenhex/u-boot/tree/mc68000
> 1 - https://gist.github.com/fifteenhex/eed03b250b6a0113ab08b69be0375aa1
Wow, this is fantastic! I wasn't aware that you had already done so
much work on this. I would love to collaborate.
However, I noticed that your branch contains over 100+ commits with a
diff exceeding 15k+ lines. Attempting to integrate such a massive
amount of code directly into this v2 series would be extremely
difficult and likely overwhelming for the review process.
My current goal with this patch series is to establish a minimal
baseline support for m68k in U-Boot (targeting QEMU 040 first). I think
the best approach would be to get this foundational series merged first
to serve as a minimal base, and I am more than willing to make
adjustments in this series to facilitate the future integration of your
work (000/030 support, Linux bootinfo handling, etc.) incrementally.
What do you think?
Regards,
Kuan-Wei
More information about the U-Boot
mailing list