public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 00/18] video: bochs: Remove the x86 limitation
@ 2023-07-23  4:40 Bin Meng
  2023-07-23  4:40 ` [PATCH 01/18] dm: video: Cosmetic style fix Bin Meng
                   ` (18 more replies)
  0 siblings, 19 replies; 64+ messages in thread
From: Bin Meng @ 2023-07-23  4:40 UTC (permalink / raw)
  To: Simon Glass, u-boot
  Cc: Anatolij Gustschin, Bin Meng, Harald Seiler, Heinrich Schuchardt,
	Leo, Marek Vasut, Masahiro Yamada, Nikhil M Jain, Pali Rohár,
	Patrick Delaunay, Rasmus Villemoes, Rick Chen, Stefan Roese

The Bochs VGA card emulated by QEMU does not enforce any architecture.
It was first introduced on x86 and indeed the x86 IO instruction is
used to access the legacy VGA IO ports, but that does not mean it has
to be done like this.

The first half of this series enhances the bochs video driver to
remove the x86 limitation.

The second half of this series enables bochs video as the output
console for QEMU RISC-V, to prove that the bochs video driver can
indeed work on a non-x86 architecture. To make it actually useful,
enable a usb keyboard as well, otherwise we can't just type anything :-)

This series is available at u-boot-x86/bochs for testing.


Bin Meng (17):
  dm: video: Cosmetic style fix
  video: bochs: Drop inclusion of <asm/mtrr.h>
  video: bochs: Drop the useless argument of bochs_vga_write()
  video: bochs: Avoid using IO instructions to access VGA IO port
  video: bochs: Remove the x86 dependency
  video: kconfig: Fix wrong text for the PCI default FB size
  video: kconfig: Drop the superfluous dependency
  video: kconfig: Set default FB size for Bochs
  video: bochs: Set the frame buffer size per configuration
  riscv: qemu: Enable Bochs video support
  console: kconfig: Drop the redundant VIDEO dependency
  console: Make stdio_print_current_devices() static
  console: Refactor stdio_print_current_devices() a little bit
  console: Print out complete stdio device list
  riscv: qemu: Enable PRE_CONSOLE_BUFFER
  riscv: qemu: Remove out-of-date "riscv,kernel-start" handling
  riscv: qemu: Enable usb keyboard as an input device

Heinrich Schuchardt (1):
  riscv: define a cache line size for the generic CPU

 arch/riscv/cpu/generic/Kconfig          |  1 +
 board/emulation/qemu-riscv/Kconfig      | 13 ++++++++
 board/emulation/qemu-riscv/qemu-riscv.c | 27 +++------------
 common/Kconfig                          |  2 +-
 common/console.c                        | 44 ++++++++++++++++---------
 doc/board/emulation/qemu-riscv.rst      | 10 ++++++
 drivers/video/Kconfig                   | 15 +++++----
 drivers/video/bochs.c                   | 12 +++----
 drivers/video/bochs.h                   |  7 ++--
 drivers/video/video-uclass.c            |  6 ++--
 include/configs/qemu-riscv.h            | 15 +++------
 include/stdio_dev.h                     |  2 --
 12 files changed, 84 insertions(+), 70 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-08-01 13:44 UTC | newest]

Thread overview: 64+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-23  4:40 [PATCH 00/18] video: bochs: Remove the x86 limitation Bin Meng
2023-07-23  4:40 ` [PATCH 01/18] dm: video: Cosmetic style fix Bin Meng
2023-07-23 22:58   ` Simon Glass
2023-08-01 12:57   ` Anatolij Gustschin
2023-07-23  4:40 ` [PATCH 02/18] video: bochs: Drop inclusion of <asm/mtrr.h> Bin Meng
2023-07-23 22:58   ` Simon Glass
2023-08-01 12:58   ` Anatolij Gustschin
2023-07-23  4:40 ` [PATCH 03/18] video: bochs: Drop the useless argument of bochs_vga_write() Bin Meng
2023-07-23 22:58   ` Simon Glass
2023-08-01 12:59   ` Anatolij Gustschin
2023-07-23  4:40 ` [PATCH 04/18] video: bochs: Avoid using IO instructions to access VGA IO port Bin Meng
2023-07-23 22:58   ` Simon Glass
2023-08-01 12:59   ` Anatolij Gustschin
2023-07-23  4:40 ` [PATCH 05/18] video: bochs: Remove the x86 dependency Bin Meng
2023-07-23 22:58   ` Simon Glass
2023-08-01 13:00   ` Anatolij Gustschin
2023-07-23  4:40 ` [PATCH 06/18] video: kconfig: Fix wrong text for the PCI default FB size Bin Meng
2023-07-23 22:58   ` Simon Glass
2023-08-01 13:00   ` Anatolij Gustschin
2023-07-23  4:40 ` [PATCH 07/18] video: kconfig: Drop the superfluous dependency Bin Meng
2023-07-23 22:58   ` Simon Glass
2023-08-01 13:00   ` Anatolij Gustschin
2023-07-23  4:40 ` [PATCH 08/18] video: kconfig: Set default FB size for Bochs Bin Meng
2023-07-23 22:58   ` Simon Glass
2023-08-01 13:01   ` Anatolij Gustschin
2023-07-23  4:40 ` [PATCH 09/18] video: bochs: Set the frame buffer size per configuration Bin Meng
2023-07-23 22:58   ` Simon Glass
2023-08-01 13:01   ` Anatolij Gustschin
2023-07-23  4:40 ` [PATCH 10/18] riscv: qemu: Enable Bochs video support Bin Meng
2023-07-27  0:50   ` Simon Glass
2023-07-23  4:40 ` [PATCH 11/18] console: kconfig: Drop the redundant VIDEO dependency Bin Meng
2023-07-23  6:40   ` Heinrich Schuchardt
2023-07-23 22:58     ` Simon Glass
2023-07-23  4:40 ` [PATCH 12/18] console: Make stdio_print_current_devices() static Bin Meng
2023-07-23 22:58   ` Simon Glass
2023-07-23  4:40 ` [PATCH 13/18] console: Refactor stdio_print_current_devices() a little bit Bin Meng
2023-07-23  6:39   ` Heinrich Schuchardt
2023-07-23  4:40 ` [PATCH 14/18] console: Print out complete stdio device list Bin Meng
2023-07-23  6:38   ` Heinrich Schuchardt
2023-07-23 12:04     ` Bin Meng
2023-07-23 12:47       ` Heinrich Schuchardt
2023-07-23 14:16         ` Bin Meng
2023-07-24  2:08           ` Simon Glass
2023-07-24 18:02   ` Tom Rini
2023-07-23  4:40 ` [PATCH 15/18] riscv: qemu: Enable PRE_CONSOLE_BUFFER Bin Meng
     [not found]   ` <SEZPR03MB806449404CFF3CB65A435E52C103A@SEZPR03MB8064.apcprd03.prod.outlook.com>
2023-07-25  7:20     ` Rick Chen
2023-07-27  0:50       ` Simon Glass
2023-07-23  4:40 ` [PATCH 16/18] riscv: define a cache line size for the generic CPU Bin Meng
2023-07-23  4:40 ` [PATCH 17/18] riscv: qemu: Remove out-of-date "riscv, kernel-start" handling Bin Meng
     [not found]   ` <SEZPR03MB80646AC3947DBFA62D910A47C103A@SEZPR03MB8064.apcprd03.prod.outlook.com>
2023-07-25  7:17     ` Rick Chen
2023-07-27  0:50       ` Simon Glass
2023-07-23  4:40 ` [PATCH 18/18] riscv: qemu: Enable usb keyboard as an input device Bin Meng
2023-07-23  6:11   ` Heinrich Schuchardt
2023-07-23 12:01     ` Bin Meng
2023-07-23  8:38   ` Mark Kettenis
2023-07-23  9:30     ` Heinrich Schuchardt
2023-07-23 10:11       ` Mark Kettenis
2023-07-24 18:11         ` Heinrich Schuchardt
     [not found]   ` <SEZPR03MB80643451FB26D109D4606A90C103A@SEZPR03MB8064.apcprd03.prod.outlook.com>
2023-07-25  7:05     ` Rick Chen
2023-07-27  0:50       ` Simon Glass
2023-07-25  4:10 ` [PATCH 00/18] video: bochs: Remove the x86 limitation Bin Meng
2023-07-31  5:26   ` Bin Meng
2023-08-01 13:03     ` Anatolij Gustschin
2023-08-01 13:43       ` Bin Meng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox