diff options
| author | Madhavan Krishnan <madhavan.krishnan@linaro.org> | 2020-10-16 09:31:28 +0200 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-11-14 23:26:39 +0000 |
| commit | b70c7b9021e37ec765f4db9aac0e0e76f617cbac (patch) | |
| tree | 03050698bb5637ed9d52e7f9a4030f17a231ce37 /recipes-bsp | |
| parent | 15739db1ed469babe6cd162f0c100cae50919dcd (diff) | |
| download | meta-raspberrypi-b70c7b9021e37ec765f4db9aac0e0e76f617cbac.tar.gz | |
libcamera: Enabled camera overlays define based
Added imx219.dtbo file in the overlays, and added dtoverlay in
/boot/config.txt define based.
To enable Sony Raspberry pi camera imx219 sensor, need to set
the variable RASPBERRYPI_CAMERA_V2 as 1.
In future, we can add any camera overlays here to support and
use them with libcamera.
Signed-off-by: Madhavan Krishnan <madhavan.krishnan@linaro.org>
Diffstat (limited to 'recipes-bsp')
| -rw-r--r-- | recipes-bsp/bootfiles/rpi-config_git.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb index 9489951..e1c330d 100644 --- a/recipes-bsp/bootfiles/rpi-config_git.bb +++ b/recipes-bsp/bootfiles/rpi-config_git.bb | |||
| @@ -178,6 +178,12 @@ do_deploy() { | |||
| 178 | echo "dtoverlay=${VC4DTBO}" >> ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt | 178 | echo "dtoverlay=${VC4DTBO}" >> ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt |
| 179 | fi | 179 | fi |
| 180 | 180 | ||
| 181 | # Choose Camera Sensor to be used, default imx219 sensor | ||
| 182 | if [ "${RASPBERRYPI_CAMERA_V2}" = "1" ]; then | ||
| 183 | echo "# Enable Sony RaspberryPi Camera" >> ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt | ||
| 184 | echo "dtoverlay=imx219" >> ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt | ||
| 185 | fi | ||
| 186 | |||
| 181 | # Waveshare "C" 1024x600 7" Rev2.1 IPS capacitive touch (http://www.waveshare.com/7inch-HDMI-LCD-C.htm) | 187 | # Waveshare "C" 1024x600 7" Rev2.1 IPS capacitive touch (http://www.waveshare.com/7inch-HDMI-LCD-C.htm) |
| 182 | if [ "${WAVESHARE_1024X600_C_2_1}" = "1" ]; then | 188 | if [ "${WAVESHARE_1024X600_C_2_1}" = "1" ]; then |
| 183 | echo "# Waveshare \"C\" 1024x600 7\" Rev2.1 IPS capacitive touch screen" >> ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt | 189 | echo "# Waveshare \"C\" 1024x600 7\" Rev2.1 IPS capacitive touch screen" >> ${DEPLOYDIR}/${BOOTFILES_DIR_NAME}/config.txt |
