[PATCH 3/3] riscv: qemu: Explicitly advertise RVVM support
From: LekKit <50500857+lek...@users.noreply.github.com> 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(-) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index fa3b016c..7c52e666 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -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 -- 2.46.0
[PATCH 2/3] riscv: qemu: Enable EFI framebuffer
From: LekKit <50500857+lek...@users.noreply.github.com> 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(+) diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig index 9538c66e..012ac14a 100644 --- a/board/emulation/qemu-riscv/Kconfig +++ b/board/emulation/qemu-riscv/Kconfig @@ -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 -- 2.46.0
[PATCH 1/3] riscv: qemu: Enable booting from NVMe
From: LekKit <50500857+lek...@users.noreply.github.com> QEMU supports NVMe devices, but U-Boot only tries to boot from Virtio. This is problematic when explicitly using NVMe, so fix that. Additionally, RVVM virtual machine is almost fully compatible with QEMU, except it only implements NVMe drives instead of VirtIO. --- include/configs/qemu-riscv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/qemu-riscv.h b/include/configs/qemu-riscv.h index 2f594bfc..cf4fcb90 100644 --- a/include/configs/qemu-riscv.h +++ b/include/configs/qemu-riscv.h @@ -22,6 +22,7 @@ "stderr=serial,vidconsole\0" #define BOOT_TARGET_DEVICES(func) \ + func(NVME, nvme, 0) \ func(VIRTIO, virtio, 0) \ func(VIRTIO, virtio, 1) \ func(SCSI, scsi, 0) \ -- 2.46.0
[PATCH] video: simplefb: Fix build warn with CONFIG_FDT_64BIT=n
From: LekKit <50500857+lek...@users.noreply.github.com> --- drivers/video/simplefb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/simplefb.c b/drivers/video/simplefb.c index 33bb78bc..f497bb1b 100644 --- a/drivers/video/simplefb.c +++ b/drivers/video/simplefb.c @@ -28,7 +28,7 @@ static int simple_video_probe(struct udevice *dev) return -EINVAL; } - debug("%s: base=%llx, size=%llu\n", __func__, base, size); + debug("%s: base=%llx, size=%llu\n", __func__, (unsigned long long)base, (unsigned long long)size); /* * TODO is there some way to reserve the framebuffer -- 2.46.0