Hello Lauren, On Thu, Apr 2, 2015 at 5:38 PM, Lauren Post <[email protected]> wrote: > Signed-off-by: Lauren Post <[email protected]>
This patch seems not tested without meta-oe included. This breaks the standalone use of meta-fsl-arm with just OE-Core or Poky. I fixed locally. > --- > ...c-Opencv-app-can-t-run-on-imx6sx-with-cam.patch | 44 > ++++++++++++++++++++ > recipes-graphics/opencv/opencv_%.bbappend | 22 ++++++++++ > 2 files changed, 66 insertions(+) > create mode 100644 > recipes-graphics/opencv/opencv/0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch > create mode 100644 recipes-graphics/opencv/opencv_%.bbappend > > diff --git > a/recipes-graphics/opencv/opencv/0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch > > b/recipes-graphics/opencv/opencv/0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch > new file mode 100644 > index 0000000..2c70b9b > --- /dev/null > +++ > b/recipes-graphics/opencv/opencv/0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch > @@ -0,0 +1,44 @@ > +From 90f869763026e8ff18aeecde217d778f00e4f294 Mon Sep 17 00:00:00 2001 > +From: Shawn Xiao <[email protected]> > +Date: Tue, 10 Feb 2015 16:11:59 +0800 > +Subject: [PATCH] MGS-515 [#ccc] Opencv app can't run on imx6sx with cam > + > +This issue is caused by the no support of VIDIOC_QUERYCTRL ioctl > +item in latest cam driver. > + > +Modified the errno in check logic to compatible with new driver. > + > +Feb 10, 2015 > + > +Signed-off-by: Shawn Xiao <[email protected]> This was lacking the Upstream-Status: Pending field. I fixed locally. ... > +++ b/recipes-graphics/opencv/opencv_%.bbappend > @@ -0,0 +1,22 @@ > +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > + > +SRC_URI_append_mx6 = " > file://0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch" The patch says it is SoloX specific but the patch is being applied to all. I changed it to SoloX only using mx6sx SoC family. The i.MX respective changes are not necessary to be resend, a v2 is under cook including this. > +EXTRA_OECMAKE += "-DBUILD_TIFF=ON \ > + -DBUILD_opencv_ocl=OFF \ > + -DBUILD_opencv_gpu=OFF \ > + -DWITH_CUDA=OFF \ > + -DWITH_GTK=OFF \ > + -DWITH_LIBV4L=OFF \ > + -DWITH_OPENCL=OFF \ > + > -DOE_QMAKE_PATH_EXTERNAL_HOST_BINS=${STAGING_DIR}/${BUILD_SYS}/${bindir}/qt5 \ > + -D_qt5gui_OPENGL_INCLUDE_DIR=${STAGING_DIR_HOST} \ > +" > +PACKAGECONFIG = "eigen jpeg png tiff v4l qt" > +PACKAGECONFIG[qt] = "-DWITH_QT=ON,-DWITH_QT=OFF,qtbase" > + > +do_install_append() { > + install -d ${D}/${datadir}/opencv/data > + cp -r ${S}/data/* ${D}/${datadir}/opencv/data > +} > +FILES_${PN}-apps += "${datadir}/opencv/data" This changes are not related to SoC support and should be send to meta-oe mailing list. I dropped them. Please prepare a patch for meta-oe including the respective changes. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
