Skip to content
Snippets Groups Projects
Commit 938e7b50 authored by Samuli Piippo's avatar Samuli Piippo
Browse files

Add camera support for RPi and SABRE


Include necessary gstreamer plugins to enable camera usage in Qt.
Camera is enabled in RPi boot configuration, and needed kernel modules
are loaded during boot on in RPi and SABRE.

Change-Id: Iaeb17933b7d7dabb30db638db6594ab6aada05a0
Reviewed-by: default avatarYoann Lopes <yoann.lopes@theqtcompany.com>
Reviewed-by: default avatarGatis Paeglis <gatis.paeglis@digia.com>
parent b8caaf7e
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ BOOTFS_CONTENT = "\
${KERNEL_IMAGETYPE}-imx6q-sabresd-ldo.dtb:imx6q-sabresd-ldo.dtb \
u-boot-${MACHINE}.imx:u-boot.imx \
"
BOOTFS_DEPENDS = "u-boot:do_deploy"
BOOTFS_DEPENDS = "u-boot:do_deploy virtual/kernel:do_deploy"
PREFERRED_VERSION_gpu-viv-bin-mx6q = "3.10.17-1.0.1-hfp"
PREFERRED_VERSION_imx-lib = "3.10.17-1.0.0"
......@@ -59,4 +59,6 @@ MACHINE_EXTRA_INSTALL_SDK_HOST = "\
wayland-nativesdk \
"
module_autoload_mxc_v4l2_capture = "mxc_v4l2_capture"
ADB_PRODUCTID = "0x0000"
......@@ -39,6 +39,10 @@ MACHINE_EXTRA_INSTALL_SDK = " \
"
module_autoload_snd-bcm2835 = "snd-bcm2835"
module_autoload_bcm2835-v4l2 = "bcm2835-v4l2"
module_conf_bcm2835-v4l2 = "options bcm2835-v4l2 gst_v4l2src_is_broken=1"
# additional memory for GPU
GPU_MEM = "128"
# video camera support
VIDEO_CAMERA = "1"
......@@ -31,15 +31,23 @@ RDEPENDS_${PN} = "\
gst-meta-audio \
gst-plugins-good \
gst-plugins-base-app \
gst-plugins-base-audiorate \
gst-plugins-base-videorate \
gst-plugins-base-encodebin \
gst-plugins-good-videofilter \
gst-plugins-good-id3demux \
gst-plugins-good-auparse \
gst-plugins-good-isomp4 \
gst-plugins-good-icydemux \
gst-plugins-good-video4linux2 \
gst-plugins-good-multifile \
gst-plugins-good-videocrop \
gst-plugins-ugly-rmdemux \
gst-plugins-ugly-asf \
gst-plugins-ugly-a52dec \
gst-plugins-bad-mpegdemux \
gst-plugins-bad-faad \
gst-plugins-bad-camerabin2 \
gst-plugins-bad-jpegformat \
gst-ffmpeg \
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment