]> git.ipfire.org Git - thirdparty/u-boot.git/commit
board: Add QEMU m68k virt board support
authorKuan-Wei Chiu <visitorckw@gmail.com>
Wed, 7 Jan 2026 20:18:35 +0000 (20:18 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 2 Feb 2026 20:24:41 +0000 (14:24 -0600)
commit516afc8f76268fceb98f6b891a653484e931b26a
treecbf02d6ef5a4cf4ae8c433e2f8f36ec937004ed2
parentc69b6aeaa35550d386c142302b852d6b72aea76f
board: Add QEMU m68k virt board support

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@gmail.com>
Tested-by: Daniel Palmer <daniel@0x0f.com>
Reviewed-by: Simon Glass <simon.glass@canonical.com>
arch/m68k/Kconfig
board/emulation/qemu-m68k/Kconfig [new file with mode: 0644]
board/emulation/qemu-m68k/MAINTAINERS [new file with mode: 0644]
board/emulation/qemu-m68k/Makefile [new file with mode: 0644]
board/emulation/qemu-m68k/qemu-m68k.c [new file with mode: 0644]
configs/qemu-m68k_defconfig [new file with mode: 0644]
doc/board/emulation/index.rst
doc/board/emulation/qemu-m68k.rst [new file with mode: 0644]
include/configs/qemu-m68k.h [new file with mode: 0644]