diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index ba3029f41..b48663337 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc @@ -35,6 +35,7 @@ RPI_KERNEL_DEVICETREE_OVERLAYS ?= " \ overlays/i2c-rtc.dtbo \ overlays/imx219.dtbo \ overlays/imx477.dtbo \ + overlays/imx708.dtbo \ overlays/iqaudio-dac.dtbo \ overlays/iqaudio-dacplus.dtbo \ overlays/mcp2515-can0.dtbo \ diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb index 9d007e056..22fce7774 100644 --- a/recipes-bsp/bootfiles/rpi-config_git.bb +++ b/recipes-bsp/bootfiles/rpi-config_git.bb @@ -210,6 +210,12 @@ do_deploy() { # echo "dtoverlay=imx477" >> $CONFIG #fi + # Choose Camera Sensor to be used, default imx708 sensor + if [ "${RASPBERRYPI_CAMERA_V3}" = "1" ]; then + echo "# Enable Sony RaspberryPi Camera(imx708)" >> $CONFIG + echo "dtoverlay=imx708" >> $CONFIG + fi + # Waveshare "C" 1024x600 7" Rev2.1 IPS capacitive touch (http://www.waveshare.com/7inch-HDMI-LCD-C.htm) if [ "${WAVESHARE_1024X600_C_2_1}" = "1" ]; then echo "# Waveshare \"C\" 1024x600 7\" Rev2.1 IPS capacitive touch screen" >> $CONFIG