From: Tom Rini <trini@konsulko.com>
To: Kuan-Wei Chiu <visitorckw@gmail.com>
Cc: alison.wang@nxp.com, angelo@kernel-space.org,
jserv@ccns.ncku.edu.tw, eleanor15x@gmail.com,
u-boot@lists.denx.de
Subject: Re: [PATCH 3/3] board: Add QEMU m68k virt board support
Date: Thu, 18 Dec 2025 13:04:15 -0600 [thread overview]
Message-ID: <20251218190415.GN303283@bill-the-cat> (raw)
In-Reply-To: <20251218185252.957388-4-visitorckw@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2746 bytes --]
On Thu, Dec 18, 2025 at 06:52:52PM +0000, Kuan-Wei Chiu 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 to provide a serial console, which
> facilitates interaction when running QEMU with the -nographic option.
> Additionally, include comprehensive documentation covering build
> instructions and usage examples to guide users in deploying U-Boot
> within the virtualization environment.
>
> Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
[snip]
> diff --git a/board/emulation/qemu-m68k/MAINTAINERS b/board/emulation/qemu-m68k/MAINTAINERS
> new file mode 100644
> index 00000000000..c2f4cc40a56
> --- /dev/null
> +++ b/board/emulation/qemu-m68k/MAINTAINERS
> @@ -0,0 +1,10 @@
> +QEMU M68K VIRT BOARD
> +M: Kuan-Wei Chiu <visitorckw@gmail.com>
> +S: Maintained
> +F: board/emulation/qemu-m68k/
> +F: board/emulation/common/
> +F: include/configs/qemu-m68k.h
> +F: configs/qemu-m68k_defconfig
> +F: arch/m68k/cpu/m68040/
> +F: arch/m68k/include/asm/bootinfo.h
> +F: doc/board/emulation/qemu-m68k.rst
There was Kconfig spacing issues here as well, but also MAINTAINERS
files are usually tab not spaces. But if get_maintainer.pl is fine, OK.
> diff --git a/configs/qemu-m68k_defconfig b/configs/qemu-m68k_defconfig
> new file mode 100644
> index 00000000000..765ed9b7424
> --- /dev/null
> +++ b/configs/qemu-m68k_defconfig
> @@ -0,0 +1,17 @@
> +CONFIG_M68K=y
> +CONFIG_TARGET_QEMU_M68K=y
> +CONFIG_TEXT_BASE=0x00000000
> +CONFIG_SYS_LOAD_ADDR=0x00000000
> +CONFIG_SYS_MONITOR_LEN=262144
> +CONFIG_SYS_BOOTM_LEN=0x1000000
> +CONFIG_SYS_MALLOC_LEN=0x20000
> +# CONFIG_DISPLAY_BOARDINFO is not set
> +CONFIG_BAUDRATE=115200
> +
> +# CONFIG_OF_CONTROL is not set
This wasn't made with "make savedefconfig" and needs to be, please
generate it that way.
> diff --git a/doc/board/emulation/qemu-m68k.rst b/doc/board/emulation/qemu-m68k.rst
> new file mode 100644
> index 00000000000..19898e17cfc
> --- /dev/null
> +++ b/doc/board/emulation/qemu-m68k.rst
> @@ -0,0 +1,38 @@
> +.. SPDX-License-Identifier: GPL-2.0+
> +.. Copyright (C) 2025, Kuan-Wei Chiu <visitorckw@gmail.com>
Docs are good, thank you. But it needs to update the index.rst file too
to be included and also not trigger CI failure when building docs.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2025-12-18 19:04 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-18 18:52 [PATCH 0/3] m68k: Add support for QEMU virt machine Kuan-Wei Chiu
2025-12-18 18:52 ` [PATCH 1/3] serial: Add Goldfish TTY driver Kuan-Wei Chiu
2025-12-19 3:14 ` Yao Zi
2025-12-20 16:28 ` Kuan-Wei Chiu
2025-12-21 2:58 ` Yao Zi
2025-12-18 18:52 ` [PATCH 2/3] m68k: Add support for M68040 CPU Kuan-Wei Chiu
2025-12-18 19:00 ` Tom Rini
2025-12-20 16:43 ` Kuan-Wei Chiu
2025-12-22 16:20 ` Tom Rini
2025-12-21 4:53 ` Daniel Palmer
2025-12-21 7:25 ` Angelo Dureghello
2025-12-22 9:21 ` Kuan-Wei Chiu
2025-12-18 18:52 ` [PATCH 3/3] board: Add QEMU m68k virt board support Kuan-Wei Chiu
2025-12-18 19:04 ` Tom Rini [this message]
2025-12-20 16:48 ` Kuan-Wei Chiu
2025-12-21 4:37 ` Daniel Palmer
2025-12-22 9:03 ` Kuan-Wei Chiu
2025-12-18 19:00 ` [PATCH 0/3] m68k: Add support for QEMU virt machine Tom Rini
2025-12-20 16:39 ` Kuan-Wei Chiu
2025-12-21 4:15 ` Daniel Palmer
2025-12-22 8:44 ` Kuan-Wei Chiu
2025-12-22 9:20 ` Daniel Palmer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251218190415.GN303283@bill-the-cat \
--to=trini@konsulko.com \
--cc=alison.wang@nxp.com \
--cc=angelo@kernel-space.org \
--cc=eleanor15x@gmail.com \
--cc=jserv@ccns.ncku.edu.tw \
--cc=u-boot@lists.denx.de \
--cc=visitorckw@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox