riscv: qemu: Enable EFI framebuffer
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 2/3 riscv: qemu: Enable EFI framebuffer
From: LekKit <[email protected]>
Enable framebuffer for better virtual machine integration. Some guests need EFI FB to work properly.
--- board/emulation/qemu-riscv/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
board/emulation/qemu-riscv/Kconfig +2 -0
@@ -58,6 +58,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy imply E1000 imply PCI imply NVME_PCI + imply VIDEO + imply VIDEO_SIMPLE imply PCIE_ECAM_GENERIC imply DM_RNG imply DM_RTC
Signature · 1 line
2.46.0
Quoted 9 lines · On Sun, Sep 22, 2024 at 01:11:01PM +0300, [email protected] wrote:
[EXTERNAL MAIL]
From: LekKit <[email protected]>
Enable framebuffer for better virtual machine integration. Some guests need EFI FB to work properly.
--- board/emulation/qemu-riscv/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
Hi Lekkit,
Quoted 15 lines · On Sun, Sep 22, 2024 at 01:11:01PM +0300, [email protected] wrote:
[EXTERNAL MAIL]
From: LekKit <[email protected]>
Enable framebuffer for better virtual machine integration. Some guests need EFI FB to work properly.
--- board/emulation/qemu-riscv/Kconfig | 2 ++ 1 file changed, 2 insertions(+)board/emulation/qemu-riscv/Kconfig +0
-0
board/emulation/qemu-riscv/Kconfig config BOARD_SPECIFIC_OPTIONS # dummy · line 62
Quoted 5 lines
board/emulation/qemu-riscv/Kconfig +2
-0@@ -58,6 +58,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy imply E1000 imply PCI imply NVME_PCI + imply VIDEO + imply VIDEO_SIMPLE
Enabling simplefb driver generates the following compile warning for 32 bit environment. Could you take a look and fix that?
drivers/video/simplefb.c: In function 'simple_video_probe':drivers/video/simplefb.c:30:15: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'fdt_addr_t' {aka 'unsigned int'} [-Wformat=]
30 | debug("%s: base=%llx, size=%llu\n", __func__, base, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~drivers/video/simplefb.c:30:28: note: format string is defined here
30 | debug("%s: base=%llx, size=%llu\n", __func__, base, size);
| ~~~^
| |
| long long unsigned intBest regards,
Leo
Quoted 6 lines
board/emulation/qemu-riscv/Kconfig +0
-1imply PCIE_ECAM_GENERIC imply DM_RNG imply DM_RTC --2.46.0
PATCH 3/3 riscv: qemu: Explicitly advertise RVVM support
In reply to a message not in the archiveFrom: LekKit <[email protected]>
This patch series enables full RVVM virtual machine support which was earlier inconveniently provided as out-of-tree patchset.
This should be cleaner than a separate board config, since both emulators provide similar feature set.
--- arch/riscv/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/Kconfig +1 -1
@@ -21,7 +21,7 @@ config TARGET_OPENPITON_RISCV64 bool "Support RISC-V cores on OpenPiton SoC" config TARGET_QEMU_VIRT - bool "Support QEMU Virt Board" + bool "Support QEMU Virt & RVVM Boards" select BOARD_LATE_INIT config TARGET_SIFIVE_UNLEASHED
Signature · 1 line
2.46.0
Re: [PATCH 3/3] riscv: qemu: Explicitly advertise RVVM support
Quoted 4 lines · On Sun, Sep 22, 2024 at 01:11:02PM +0300, [email protected] wrote:
[EXTERNAL MAIL]
From: LekKit <[email protected]>
Quoted 8 lines
This patch series enables full RVVM virtual machine support which was earlier inconveniently provided as out-of-tree patchset.
This should be cleaner than a separate board config, since both emulators provide similar feature set.
--- arch/riscv/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)