AnsweredAssumed Answered

gstreamer rtsp server on "i.MX 8M Mni EVK"

Question asked by yuichi sato on Apr 10, 2020
Latest reply on Apr 21, 2020 by yuichi sato

I want to implement gstreamer rtsp server on "i.MX 8M Mini EVK".

https://www.nxp.com/docs/en/user-guide/IMXLXYOCTOUG.pdf
I set up Yocto Project on the host machine while referring to the above.

Then, at https://www.nxp.com/docs/en/user-guide/IMXLUG.pdf
I did bitbake with reference to '7.3.14 RTSP streaming server',
But, there are no .libs, no builds directory.

Please tell me the cause and measures.
For the time being, I checked the following, but it did not work.
https://community.nxp.com/thread/380070


What I did:
1) $ cd imx-yocto-bsp

2) $ MACHINE=imx8mmevk DISTRO=fsl-imx-xwayland source ./fsl-setup-release.sh -b build

3) $ gedit ./conf/bblayers.conf &
=======================================================================================
LCONF_VERSION = "7"

BBPATH = "${TOPDIR}"
BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"

BBFILES ?= ""
BBLAYERS = " \
${BSPDIR}/sources/poky/meta \
${BSPDIR}/sources/poky/meta-poky \
\
${BSPDIR}/sources/meta-openembedded/meta-oe \
${BSPDIR}/sources/meta-openembedded/meta-multimedia \
\
${BSPDIR}/sources/meta-freescale \
${BSPDIR}/sources/meta-freescale-3rdparty \
${BSPDIR}/sources/meta-freescale-distro \
"

# i.MX Yocto Project Release layers
BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-bsp "
BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-sdk "

BBLAYERS += " ${BSPDIR}/sources/meta-browser "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-gnome "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-networking "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-python "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-filesystems "
BBLAYERS += " ${BSPDIR}/sources/meta-qt5 "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-multimedia " #add
=======================================================================================

4) $ gedit ./conf/local.conf
=======================================================================================
MACHINE ??= 'imx8mmevk'
DISTRO ?= 'fsl-imx-xwayland'
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 \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"

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

IMAGE_INSTALL_append += "gstreamer1.0-rtsp-server" #add
=======================================================================================

5) $ bitbake core-image-minimal

6) $ cd ~/imx-yocto-bsp/build/tmp/work/aarch64-poky-linux/gstreamer1.0-rtsp-server/1.14.4-r0

7) $ ls -la
drwxrwxr-x 12 sato sato 4096 4月 11 11:46 .
drwxrwxr-x 3 sato sato 4096 4月 11 11:45 ..
drwxr-xr-x 3 sato sato 4096 4月 11 11:35 deploy-rpms
drwxrwxr-x 3 sato sato 4096 4月 11 11:34 license-destdir
drwxr-xr-x 6 sato sato 4096 4月 11 11:34 pkgdata
drwxrwxr-x 2 sato sato 4096 4月 11 11:45 sstate-install-package_qa
drwxrwxr-x 2 sato sato 4096 4月 11 11:46 sstate-install-package_write_rpm
drwxrwxr-x 2 sato sato 4096 4月 11 11:46 sstate-install-packagedata
drwxrwxr-x 2 sato sato 4096 4月 11 11:46 sstate-install-populate_lic
drwxrwxr-x 2 sato sato 4096 4月 11 11:45 sstate-install-populate_sysroot
drwxr-xr-x 4 sato sato 4096 4月 11 11:34 sysroot-destdir
drwxrwxr-x 2 sato sato 4096 4月 11 11:46 temp

Outcomes