Files
Matteo Golin 310a808d3d rpi4b/framebuffer: Introduce frame buffer support to the RPi4B
Introduces a very basic frame buffer driver implementation for the RPi4B
which is registered at startup and works with frame buffer graphics
examples (and LVGL). Graphics are displayed on the HDMI0 and HDMI1
output, depending which one is plugged into the display. I have not
tested using both at once, nor does the driver account for that. They
are both referred to as display 0, plane 0 since the RPi4B frame buffer
interface does not seem to have a way of distinguishing.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
2025-11-09 16:48:14 -03:00

64 lines
1.4 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
if ARCH_BOARD_RASPBERRYPI_4B
choice
prompt "Raspberry Pi 4B RAM size"
default RPI4B_RAM_4GB
config RPI4B_RAM_1GB
bool "1GB RAM"
---help---
Support for the 1GB variant of the Raspberry Pi 4B.
config RPI4B_RAM_2GB
bool "2GB RAM"
---help---
Support for the 2GB variant of the Raspberry Pi 4B.
config RPI4B_RAM_4GB
bool "4GB RAM"
---help---
Support for the 4GB variant of the Raspberry Pi 4B.
config RPI4B_RAM_8GB
bool "8GB RAM"
---help---
Support for the 8GB variant of the Raspberry Pi 4B.
endchoice # Raspberry Pi 4B RAM size
config RPI4B_DEBUG_BOOT
bool "Raspberry Pi 4B bootloader debug output"
default n
---help---
Enables the debug output of the Raspberry Pi 4B bootloader.
config RPI4B_SDMMC
bool "Mount uSD as MMCSD device"
depends on BCM2711_EMMC2
default n
---help---
Mounts the uSD card as an MMCSD device.
config RPI4B_MOUNT_BOOT
bool "Mount boot partition"
depends on RPI4B_SDMMC
depends on FS_FAT
default n
---help---
Mounts the boot partition of the micro SD card to NuttX as a read/write
file system.
config RPI4B_FRAMEBUFFER
bool "Register frame buffer driver"
depends on BCM2711_FRAMEBUFFER
default BCM2711_FRAMEBUFFER
---help---
Registers a frame buffer character driver for graphical output.
endif # ARCH_BOARD_RASPBERRYPI_4B