[PATCH 4/4] MIPS: qemu-malta_defconfig: enable VGA output
Ahmad Fatoum
ahmad at a3f.at
Fri Jan 1 17:52:28 EST 2021
Now that we have a driver for the Qemu's default -device VGA, enable it
in defconfig, along with fbtest for testing it.
Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
---
Documentation/boards/mips/qemu-malta.rst | 4 ++--
arch/mips/configs/qemu-malta_defconfig | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/Documentation/boards/mips/qemu-malta.rst b/Documentation/boards/mips/qemu-malta.rst
index 2bb81350a109..470be32f1f49 100644
--- a/Documentation/boards/mips/qemu-malta.rst
+++ b/Documentation/boards/mips/qemu-malta.rst
@@ -9,7 +9,7 @@ QEMU run string:
.. code-block:: sh
qemu-system-mips -nodefaults -M malta -m 256 \
- -nographic -serial stdio -monitor null \
+ -device VGA -serial stdio -monitor null \
-bios barebox-flash-image
@@ -33,7 +33,7 @@ QEMU run string:
.. code-block:: sh
qemu-system-mipsel -nodefaults -M malta -m 256 \
- -nographic -serial stdio -monitor null \
+ -devica VGA -serial stdio -monitor null \
-bios barebox-flash-image
diff --git a/arch/mips/configs/qemu-malta_defconfig b/arch/mips/configs/qemu-malta_defconfig
index ac0577c217e3..b9994f392c47 100644
--- a/arch/mips/configs/qemu-malta_defconfig
+++ b/arch/mips/configs/qemu-malta_defconfig
@@ -42,6 +42,7 @@ CONFIG_CMD_LOGIN=y
CONFIG_CMD_MENU=y
CONFIG_CMD_MENU_MANAGEMENT=y
CONFIG_CMD_PASSWD=y
+CONFIG_CMD_FBTEST=y
CONFIG_CMD_READLINE=y
CONFIG_CMD_TIMEOUT=y
CONFIG_CMD_CRC=y
@@ -68,6 +69,9 @@ CONFIG_DRIVER_CFI=y
# CONFIG_DRIVER_CFI_BANK_WIDTH_1 is not set
# CONFIG_DRIVER_CFI_BANK_WIDTH_2 is not set
CONFIG_CFI_BUFFER_WRITE=y
+CONFIG_VIDEO=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+CONFIG_DRIVER_VIDEO_BOCHS_PCI=y
CONFIG_GPIO_MALTA_FPGA_I2C=y
CONFIG_PCI=y
CONFIG_PCI_DEBUG=y
--
2.29.2
More information about the barebox
mailing list