[PATCH 1/7] ARM: multi_v8_defconfig: enable QEMU ramfb driver

Ahmad Fatoum
2026-04-13T07:46:09Z

Enable CONFIG_DRIVER_VIDEO_RAMFB so that barebox can drive the QEMU
ramfb display device. All dependencies (CONFIG_VIDEO,
CONFIG_QEMU_FW_CFG, CONFIG_FS_QEMU_FW_CFG) are already enabled.

This will allow framebuffer testing with --graphics on the QEMU Virt
platform later.

Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
arch/arm/configs/multi_v8_defconfig | 1 +
test/arm/virt@multi_v8_defconfig.yaml | 2 ++
2 files changed, 3 insertions(+)

diff --git a/arch/arm/configs/multi_v8_defconfig b/arch/arm/configs/multi_v8_defconfig
index a6cc49859620..d2f04d30a422 100644
--- a/arch/arm/configs/multi_v8_defconfig
+++ b/arch/arm/configs/multi_v8_defconfig
@@ -222,6 +222,7 @@ CONFIG_USB_GADGET_MASS_STORAGE=y
CONFIG_VIDEO=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_DRIVER_VIDEO_BOCHS_PCI=y
+CONFIG_DRIVER_VIDEO_RAMFB=y
CONFIG_SOUND=y
CONFIG_MCI=y
CONFIG_MCI_MMC_BOOT_PARTITIONS=y
diff --git a/test/arm/virt@multi_v8_defconfig.yaml b/test/arm/virt@multi_v8_defconfig.yaml
index 2e654359709e..4eb75da4610e 100644
--- a/test/arm/virt@multi_v8_defconfig.yaml
+++ b/test/arm/virt@multi_v8_defconfig.yaml
@@ -17,6 +17,8 @@ targets:
- network
- barebox-state
- testfs
+ env:
+ nv/dev.fb0.enable: 1
images:
barebox-qemu-virt.img: !template "$LG_BUILDDIR/images/barebox-qemu-virt.img"
imports:
--
2.47.3