From 8f586616e90856c1078988205de377caef2a603f Mon Sep 17 00:00:00 2001 From: Marek Szyprowski Date: Tue, 5 Mar 2024 16:03:01 +0100 Subject: [PATCH] rpi4: boot: add support for RPi5 Add RPi5 related section in config.txt and enable vc4-kms-v3d-rpi5 overlay for DRM/HDMI display support. Move kernel and dwc2-tizen overlay to common section. Signed-off-by: Marek Szyprowski Change-Id: I24b377d69610cb4bd050cacf2714b2e45644988e --- rpi4/boot/config_64bit.txt | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/rpi4/boot/config_64bit.txt b/rpi4/boot/config_64bit.txt index 20654249ed2f..23b4cbff2ff7 100644 --- a/rpi4/boot/config_64bit.txt +++ b/rpi4/boot/config_64bit.txt @@ -63,10 +63,10 @@ max_framebuffers=2 # Disable ID_SC and ID_SD pins to use UART2 force_eeprom_read=0 -# Enable dwc2 driver -dtoverlay=dwc2-tizen,dr_mode=peripheral - -kernel=u-boot.bin +[pi5] +# Enable DRM VC4 V3D driver +dtoverlay=vc4-kms-v3d-pi5 +max_framebuffers=2 [all] # Enable serial @@ -76,6 +76,11 @@ uart_2ndstage=1 # Set as 64-bit mode arm_64bit=1 +kernel=u-boot.bin + +# Enable dwc2 driver +dtoverlay=dwc2-tizen,dr_mode=peripheral + # Enable the camera module camera_auto_detect=1 dtoverlay=camera -- 2.34.1