From 81e47a1bcccf7f0baaacbbcfda672f8023fe7ba8 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Wed, 24 May 2023 19:13:49 +0900 Subject: [PATCH] rpi4: boot: config: Add camera_auto_detect config for mipi csi camera Automatically load overlays for detected csi camera modules to support rpi camera modules instead of not anymore supported legacy camera firmware control. Change-Id: Ib5eda3d73e7a3ab324123cd83c95b357abbdfc0d Signed-off-by: Seung-Woo Kim --- rpi4/boot/config.txt | 3 ++- rpi4/boot/config_64bit.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rpi4/boot/config.txt b/rpi4/boot/config.txt index 9e9962a..515ffc8 100644 --- a/rpi4/boot/config.txt +++ b/rpi4/boot/config.txt @@ -74,7 +74,8 @@ enable_uart=1 uart_2ndstage=1 # Enable the camera module -start_x=1 +camera_auto_detect=1 +dtoverlay=camera # Turn off the red camera LED when recording video or taking a still picture disable_camera_led=1 diff --git a/rpi4/boot/config_64bit.txt b/rpi4/boot/config_64bit.txt index 5be1b88..20654249 100644 --- a/rpi4/boot/config_64bit.txt +++ b/rpi4/boot/config_64bit.txt @@ -77,7 +77,8 @@ uart_2ndstage=1 arm_64bit=1 # Enable the camera module -start_x=1 +camera_auto_detect=1 +dtoverlay=camera # Turn off the red camera LED when recording video or taking a still picture disable_camera_led=1 -- 2.7.4