[PATCH v3 5/6] board: Add QEMU m68k virt board support

Daniel Palmer daniel at 0x0f.com
Wed Dec 31 04:59:26 CET 2025


Hi Kuan-Wei,

On Wed, 31 Dec 2025 at 01:01, Kuan-Wei Chiu <visitorckw at gmail.com> wrote:
>
> Add support for the QEMU 'virt' machine on the m68k architecture. This
> board emulates a generic machine based on the Motorola 68040 CPU
> equipped with Goldfish virtual peripherals.
>
> Introduce the necessary board configuration and initialization
> infrastructure. The implementation includes logic to parse the QEMU
> bootinfo interface, enabling dynamic detection of system RAM size to
> adapt to the virtual machine's configuration.
>
> Enable the Goldfish TTY driver for serial console output. Additionally,
> enable Goldfish RTC and timer drivers to support real-time clock
> functionality and nanosecond-resolution delays. Include comprehensive
> documentation covering build instructions and usage examples.
>
> Signed-off-by: Kuan-Wei Chiu <visitorckw at gmail.com>

I have roughly tested this in QEMU and everything seems to work as expected.

Tested-by: Daniel Palmer <daniel at 0x0f.com>

If/When this gets merged it'd be nice to get the virtio mmio part
integrated next so we can access disk/network.
I think virtio mmio has endian issues in QEMU or u-boot as I had to
add code to swap everything to make it work in my version of this. :D

Thanks,

Daniel


More information about the U-Boot mailing list