All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] m68k: Add support for QEMU virt machine
@ 2025-12-18 18:52 Kuan-Wei Chiu
  2025-12-18 18:52 ` [PATCH 1/3] serial: Add Goldfish TTY driver Kuan-Wei Chiu
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Kuan-Wei Chiu @ 2025-12-18 18:52 UTC (permalink / raw)
  To: alison.wang, angelo; +Cc: trini, jserv, eleanor15x, u-boot, Kuan-Wei Chiu

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.

Currently, U-Boot's m68k architecture support focuses on ColdFire
variants. Expand this to include the classic M680x0 architecture,
implementing the necessary exception vectors, startup code, and a
bootinfo parser compatible with the QEMU interface. A driver for the
Goldfish TTY is also added to enable serial console output.

The implementation has been verified on QEMU targeting the M68040 CPU,
confirming successful hardware initialization and boot to the U-Boot
command shell.

Kuan-Wei Chiu (3):
  serial: Add Goldfish TTY driver
  m68k: Add support for M68040 CPU
  board: Add QEMU m68k virt board support

 MAINTAINERS                           |   6 ++
 arch/m68k/Kconfig                     |  23 ++++++
 arch/m68k/Makefile                    |   1 +
 arch/m68k/config.mk                   |  10 ++-
 arch/m68k/cpu/m68040/Makefile         |   6 ++
 arch/m68k/cpu/m68040/cpu.c            |  77 ++++++++++++++++++
 arch/m68k/cpu/m68040/start.S          |  83 +++++++++++++++++++
 arch/m68k/cpu/m68040/u-boot.lds       |  47 +++++++++++
 arch/m68k/include/asm/bootinfo.h      |  31 +++++++
 arch/m68k/lib/Makefile                |   9 +--
 board/emulation/qemu-m68k/Kconfig     |  12 +++
 board/emulation/qemu-m68k/MAINTAINERS |  10 +++
 board/emulation/qemu-m68k/Makefile    |   5 ++
 board/emulation/qemu-m68k/qemu-m68k.c |  84 +++++++++++++++++++
 configs/qemu-m68k_defconfig           |  17 ++++
 doc/board/emulation/qemu-m68k.rst     |  38 +++++++++
 drivers/serial/Kconfig                |   8 ++
 drivers/serial/Makefile               |   1 +
 drivers/serial/serial_goldfish.c      | 112 ++++++++++++++++++++++++++
 include/configs/qemu-m68k.h           |  18 +++++
 include/goldfish_tty.h                |  18 +++++
 21 files changed, 608 insertions(+), 8 deletions(-)
 create mode 100644 arch/m68k/cpu/m68040/Makefile
 create mode 100644 arch/m68k/cpu/m68040/cpu.c
 create mode 100644 arch/m68k/cpu/m68040/start.S
 create mode 100644 arch/m68k/cpu/m68040/u-boot.lds
 create mode 100644 arch/m68k/include/asm/bootinfo.h
 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 drivers/serial/serial_goldfish.c
 create mode 100644 include/configs/qemu-m68k.h
 create mode 100644 include/goldfish_tty.h

-- 
2.52.0.322.g1dd061c0dc-goog


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2025-12-22 16:20 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.