public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Kuan-Wei Chiu <visitorckw@gmail.com>
To: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Cc: me@ziyao.cc, daniel@0x0f.com, jserv@ccns.ncku.edu.tw,
	eleanor15x@gmail.com, u-boot@lists.denx.de, alison.wang@nxp.com,
	angelo@kernel-space.org, trini@konsulko.com
Subject: Re: [PATCH v4 5/6] board: Add QEMU m68k virt board support
Date: Sat, 3 Jan 2026 05:46:13 +0800	[thread overview]
Message-ID: <aVg8pSrbesxw7Abv@google.com> (raw)
In-Reply-To: <e30ef59f-41e9-4b59-bc65-c963bdfd7e40@canonical.com>

Hi Heinrich,

On Fri, Jan 02, 2026 at 10:26:45AM +0100, Heinrich Schuchardt wrote:
> On 1/1/26 18:54, 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 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>
> > ---
> > No changes in v4.
> > 
> >   arch/m68k/Kconfig                     |   8 ++
> >   board/emulation/qemu-m68k/Kconfig     |  12 +++
> >   board/emulation/qemu-m68k/MAINTAINERS |   8 ++
> >   board/emulation/qemu-m68k/Makefile    |   5 ++
> >   board/emulation/qemu-m68k/qemu-m68k.c | 115 ++++++++++++++++++++++++++
> >   configs/qemu-m68k_defconfig           |  16 ++++
> >   doc/board/emulation/index.rst         |   1 +
> >   doc/board/emulation/qemu-m68k.rst     |  39 +++++++++
> >   include/configs/qemu-m68k.h           |  18 ++++
> >   9 files changed, 222 insertions(+)
> >   create mode 100644 board/emulation/qemu-m68k/Kconfig
> >   create mode 100644 board/emulation/qemu-m68k/MAINTAINERS
> >   create mode 100644 board/emulation/qemu-m68k/Makefile
> >   create mode 100644 board/emulation/qemu-m68k/qemu-m68k.c
> >   create mode 100644 configs/qemu-m68k_defconfig
> >   create mode 100644 doc/board/emulation/qemu-m68k.rst
> >   create mode 100644 include/configs/qemu-m68k.h
> > 
> > diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
> > index de7c673c376..605ae5ec20c 100644
> > --- a/arch/m68k/Kconfig
> > +++ b/arch/m68k/Kconfig
> > @@ -183,6 +183,13 @@ config TARGET_STMARK2
> >           select CF_DSPI
> >           select M54418
> > +config TARGET_QEMU_M68K
> > +    bool "Support QEMU m68k virt"
> > +    select M68040
> 
> Not even the dm command is available on the board by default. How about
> letting TARGET_QEMU_M68K imply CMD_DM like other targets do?

Agreed.
Will add imply CMD_DM in the next version.

Regards,
Kuan-Wei

  reply	other threads:[~2026-01-02 22:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-01 17:54 [PATCH v4 0/6] m68k: Add support for QEMU virt machine Kuan-Wei Chiu
2026-01-01 17:54 ` [PATCH v4 1/6] serial: Add Goldfish TTY driver Kuan-Wei Chiu
2026-01-02  8:29   ` Heinrich Schuchardt
2026-01-02  8:40     ` Heinrich Schuchardt
2026-01-02 21:48       ` Kuan-Wei Chiu
2026-01-02 21:51         ` Tom Rini
2026-01-02 23:14           ` Kuan-Wei Chiu
2026-01-05 14:43             ` Tom Rini
2026-01-05 15:44               ` Kuan-Wei Chiu
2026-01-01 17:54 ` [PATCH v4 2/6] timer: Add Goldfish timer driver Kuan-Wei Chiu
2026-01-01 17:54 ` [PATCH v4 3/6] rtc: goldfish: Support platform data for non-DT probing Kuan-Wei Chiu
2026-01-02  8:27   ` Heinrich Schuchardt
2026-01-01 17:54 ` [PATCH v4 4/6] m68k: Add support for M68040 CPU Kuan-Wei Chiu
2026-01-01 17:54 ` [PATCH v4 5/6] board: Add QEMU m68k virt board support Kuan-Wei Chiu
2026-01-02  9:26   ` Heinrich Schuchardt
2026-01-02 21:46     ` Kuan-Wei Chiu [this message]
2026-01-01 17:54 ` [PATCH v4 6/6] CI: Add test jobs for QEMU m68k virt machine Kuan-Wei Chiu

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=aVg8pSrbesxw7Abv@google.com \
    --to=visitorckw@gmail.com \
    --cc=alison.wang@nxp.com \
    --cc=angelo@kernel-space.org \
    --cc=daniel@0x0f.com \
    --cc=eleanor15x@gmail.com \
    --cc=heinrich.schuchardt@canonical.com \
    --cc=jserv@ccns.ncku.edu.tw \
    --cc=me@ziyao.cc \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /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