AnsweredAssumed Answered

how to build a image on i.mx6q sabre-auto with opencv

Question asked by yoo Liang on May 10, 2016
Latest reply on May 22, 2016 by yoo Liang

Hi,

 

I am in the process of building a linux 3.14.52 or 3.14.28 fsl-image-qt5 image with opencv using YOCTO for i.mx6q sabre-auto,the reference and local.conf read and follow are shown below.But failed many times and need your help.

building linux 3.14.28 fsl-image-gui with opencv using yocto on imx6q

Computer Vision on i.MX Processors: Building OpenCV-2.4.X for Freescale's i.MX6 BSP (Yocto)

local.conf(L3.14.52):

MACHINE ??= 'imx6qsabreauto'

DISTRO ?= 'fsl-imx-fb'

PACKAGE_CLASSES ?= "package_rpm"

EXTRA_IMAGE_FEATURES = "debug-tweaks"

USER_CLASSES ?= "buildstats image-mklibs image-prelink"

PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\

    STOPTASKS,${TMPDIR},1G,100K \

    STOPTASKS,${DL_DIR},1G,100K \

    STOPTASKS,${SSTATE_DIR},1G,100K \

    ABORT,${TMPDIR},100M,1K \

    ABORT,${DL_DIR},100M,1K \

    ABORT,${SSTATE_DIR},100M,1K"

PACKAGECONFIG_append_pn-qemu-native = " sdl"

PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"

ASSUME_PROVIDED += "libsdl-native"

CONF_VERSION = "1"

BB_NUMBER_THREADS = '4'

PARALLEL_MAKE = '-j 4'

DL_DIR ?= "${BSPDIR}/downloads/"

ACCEPT_FSL_EULA = ""

CORE_IMAGE_EXTRA_INSTALL += "libopencv-core-dev libopencv-highgui-dev\

libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev"

 

    LICENSE_FLAGS_WHITELIST = "commercial"

Outcomes