[meta-freescale] [PATCH 0/2] Fix Hantro/Gstreamer build issues

Tom Hochstein tom.hochstein at nxp.com
Wed Oct 3 06:50:26 PDT 2018


Hi Gary,

Thanks for this fix and for letting us know about the ownership mistake.

Related to this, I am working on a dedicated linux-imx-headers recipe with Otavio. With such a recipe, do you see a problem with copying ion.h from drivers/staging/android to /usr/include/linux?

Tom

-----Original Message-----
From: Gary Bisson <gary.bisson at boundarydevices.com> 
Sent: Wednesday, October 3, 2018 5:25 AM
To: meta-freescale at yoctoproject.org
Cc: Carol Zhu <carol.zhu at nxp.com>; Tom Hochstein <tom.hochstein at nxp.com>; Gary Bisson <gary.bisson at boundarydevices.com>
Subject: [PATCH 0/2] Fix Hantro/Gstreamer build issues

Hi Otavio/Tom/Carol,

Please consider this series to fix the build of the latest multimedia
components without having to change the libc-headers version.

The issue currently is that the code relies on LINUX_VERSION_CODE but it
uses the toolchain headers by default. So use the kernel builddir
verion.h instead.

If you accept this approach, please leave the ownership of the
imx-vpu-hantro patch as-is as it wasn't very "open-sourcy" of you to
keep my previous patch/title/log but remove my SOB/ownership...

This has been tested on Nitrogen8M:
- Using a 720p MIPI display (eLCDIF output)
- Decoding SKYFALL trailer [1] gives 16fps only
  - Seems that some conf is missing to achieve 30fps like before
  - Here is the command used to test it:
# gst-launch-1.0 filesrc location=/home/root/SKYFALL-4K.mp4 ! \
  parsebin ! vpudec ! glimagesink

Regards,
Gary

[1] https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdownloads.4ksamples.com%2Fdownloads%2FSKYFALL%25204K%2520(Ultra%2520HD)%2520(4ksamples.com).mp4&data=02%7C01%7Ctom.hochstein%40nxp.com%7Cc54265765b4e4b97180f08d6291a7454%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636741590950601307&sdata=qjiQfDBmYvRBZgQ1bHnNRi5qbhV%2F2RaPl%2FKLuitmxME%3D&reserved=0

Gary Bisson (2):
  imx-vpu-hantro: fix build issue
  gstreamer1.0-plugins-base: fix build issue

 ...clusion-to-be-from-kernel-build-fold.patch | 44 +++++++++++++++++++
 .../imx-vpu-hantro/imx-vpu-hantro_1.8.0.bb    |  5 ++-
 .../gstreamer1.0-plugins-base_1.14.imx.bb     |  1 +
 3 files changed, 49 insertions(+), 1 deletion(-)
 create mode 100644 recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0002-Fix-version.h-inclusion-to-be-from-kernel-build-fold.patch

-- 
2.19.0



More information about the meta-freescale mailing list