diff options
author | Bin Meng | 2023-07-23 12:40:33 +0800 |
---|---|---|
committer | Leo Yu-Chi Liang | 2023-08-02 16:31:52 +0800 |
commit | 716161663ec4904f0487308dd428ceb8b42bcf5d (patch) | |
tree | 2dde0fda49cba74d7ba09674a237a885d842abf1 /include | |
parent | 093bd0354e5b947b0bd634bf5ed4041ba075b57d (diff) |
riscv: qemu: Enable Bochs video support
Enable video console using the emulated Bochs VGA card.
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/qemu-riscv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/qemu-riscv.h b/include/configs/qemu-riscv.h index f6d326bda0d..7ec3d12ce10 100644 --- a/include/configs/qemu-riscv.h +++ b/include/configs/qemu-riscv.h @@ -17,6 +17,10 @@ /* Environment options */ +#define CFG_STD_DEVICES_SETTINGS "stdin=serial\0" \ + "stdout=serial,vidconsole\0" \ + "stderr=serial,vidconsole\0" + #define BOOT_TARGET_DEVICES(func) \ func(QEMU, qemu, na) \ func(VIRTIO, virtio, 0) \ @@ -35,6 +39,7 @@ "qemu " #define CFG_EXTRA_ENV_SETTINGS \ + CFG_STD_DEVICES_SETTINGS \ "fdt_high=0xffffffffffffffff\0" \ "initrd_high=0xffffffffffffffff\0" \ "kernel_addr_r=0x84000000\0" \ |