From: Leo Liang <ycliang@andestech.com>
To: <lekkit@at.encryp.ch>
Cc: <u-boot@lists.denx.de>, <nyandarknessgirl@gmail.com>
Subject: Re: [PATCH 2/3] riscv: qemu: Enable EFI framebuffer
Date: Tue, 24 Sep 2024 15:46:22 +0800 [thread overview]
Message-ID: <ZvJuTlH47HhrEH8W@swlinux02> (raw)
In-Reply-To: <20240922101102.7010-2-lekkit@cheems.de.box.skhron.com.ua>
Hi Lekkit,
On Sun, Sep 22, 2024 at 01:11:01PM +0300, lekkit@at.encryp.ch wrote:
> [EXTERNAL MAIL]
>
> From: LekKit <50500857+LekKit@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
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 int
Best regards,
Leo
> imply PCIE_ECAM_GENERIC
> imply DM_RNG
> imply DM_RTC
> --
> 2.46.0
>
next prev parent reply other threads:[~2024-09-24 7:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20240922101102.7010-1-lekkit@at.encryp.ch>
2024-09-22 10:11 ` [PATCH 2/3] riscv: qemu: Enable EFI framebuffer lekkit
2024-09-24 2:49 ` Leo Liang
2024-09-24 7:46 ` Leo Liang [this message]
2024-09-22 10:11 ` [PATCH 3/3] riscv: qemu: Explicitly advertise RVVM support lekkit
2024-09-24 2:50 ` Leo Liang
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=ZvJuTlH47HhrEH8W@swlinux02 \
--to=ycliang@andestech.com \
--cc=lekkit@at.encryp.ch \
--cc=nyandarknessgirl@gmail.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