Hi All

If the imx8mp encoder is fully backward compatible with the imx8mm encoder, then
PLATFORM:mx8mp-nxp-bsp = "IMX8MP"
defined in imx-vpu-hantro_1.27.0.bb
to
PLATFORM:mx8mp-nxp-bsp = "IMX8MM"
in the bbappend file, the header file for hantro_h1 that the source code for the encoder in libimxvpuapi2 refers to, and that is used when linking It is confirmed that libhantro_h1.so is extracted under resipe-sysroot of libimxvpuapi2.

I have not been able to confirm the compatibility of hantro_h1 and hantro_vc8000e, so please use at your own risk.


>> Create the libimxvpuapi2_%.bbappen file and add
>> IMX_PLATFOEM:mx8mp-nxp-bsp = "imx8m"
>>
>
> I think this is perhaps in right direction but I would suggest
>
> IMX_PLATFORM:mx8mp-nxp-bsp = "imx8mm"



On 2023/01/31 17:40, Khem Raj wrote:
On Mon, Jan 30, 2023 at 6:34 PM Takayasu Ito <[email protected]> wrote:

Hi  Nikita

The problem is that in the imx-vpu-hantro recipe, the encoder library,
libhantro_h1.so, is not installed for mx8mp, but is installed for mx8mm.

In the libimxvpuapi2 recipe, imx8mp specifies imx8mm in IMX_PLATFORM.
Therefore, the _encoder variable used in the waf wsctipt file is set to
true, so a check is made for the presence of hantro_h1, resulting in an
error.
At this time, libimxvpuapi2 support for imx8m is imx8m and imx8mm, so by
changing the setting to one for imx8m, which does not use a hardware
encoder, the build for imx8mp will pass.

Create the libimxvpuapi2_%.bbappen file and add
IMX_PLATFOEM:mx8mp-nxp-bsp = "imx8m"


I think this is perhaps in right direction but I would suggest

IMX_PLATFORM:mx8mp-nxp-bsp = "imx8mm"



Translated with www.DeepL.com/Translator (free version)
On 2023/01/30 20:19, Nikita Gupta wrote:
Hello Takayasu
Thanks for your suggestion,  but after implementing i am facing same
thing (see attached image).

Regards
Nikita Gupta

On Fri, 27 Jan 2023 at 17:55, Takayasu Ito <[email protected]
<mailto:[email protected]>> wrote:

     Hi Nikita

       > *IMAGE_INSTALL:append = "gstreamer1.0 gstreamer1.0-plugins-base
     gstreamer1.0-plugins-good gstreamer1.0-plugins-bad

     If you do not put a space after the double quotation marks, the
     package names before and after will be attached to each other
     during the merge.

     See
     
https://docs.yoctoproject.org/bitbake/2.2/bitbake-user-manual/bitbake-user-manual-metadata.html#appending-and-prepending-override-style-syntax
 
<https://docs.yoctoproject.org/bitbake/2.2/bitbake-user-manual/bitbake-user-manual-metadata.html#appending-and-prepending-override-style-syntax>

     On 2023/01/27 20:48, Nikita Gupta wrote:
      > Hello List,
      >
      > As i earlier mentioned that i want to do some customisation in
     local.conf by adding few pkgs (below).
      > *IMAGE_INSTALL:append = "gstreamer1.0 gstreamer1.0-plugins-base
     gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
      > gstreamer1.0-plugins-ugly  gstreamer1.0-libav imx-vpuwrap
     imx-gpu-g2d imx-gpu-viv gstreamer1.0-plugins-imx imx-gst1.0-plugin"
      > LICENSE_FLAGS_ACCEPTED = " commercial"
      > IMAGE_INSTALL:append = "kernel-devsrc"
      > IMAGE_INSTALL:append = "gstreamer1.0-rtsp-server
     gst-variable-rtsp-server"
      > IMAGE_INSTALL:append = " gtk+3"
      > CORE_IMAGE_EXTRA_INSTALL += " opencv libopencv-core-dev
     libopencv-highgui-dev libopencv-imgproc-dev libopencv-objdetect-dev
      > libopencv-ml-dev"
      > #LICENSE_FLAGS_WHITELIST = " commercial"
      > IMAGE_ROOTFS_EXTRA_SPACE = "1048576 "*
      >   and iafter bitbake m getting below errors.
      >
      > nikita@nikita-HP-Laptop-15-bs0xx:~/Yocto/imx-yocto-bsp$ *bitbake
     imx-image-full*
      > Loading cache: 100%
     
|##########################################################################################################|
      > Time: 0:00:01
      > Loaded 4736 entries from dependency cache.
      > Parsing recipes: 100%
     
|########################################################################################################|
      > Time: 0:00:02
      > Parsing of 3190 .bb files complete (3188 cached, 2 parsed). 4738
     targets, 262 skipped, 3 masked, 0 errors.
      > NOTE: Resolving any missing task queue dependencies
      > ERROR: Nothing RPROVIDES
     'imx-gst1.0-pluginkernel-devsrcgstreamer1.0-rtsp-server' (but
      >
     
/home/nikita/Yocto/imx-yocto-bsp/sources/meta-imx/meta-sdk/dynamic-layers/qt6-layer/recipes-fsl/images/imx-image-full.bb
 <http://imx-image-full.bb>
      > <http://imx-image-full.bb <http://imx-image-full.bb>> RDEPENDS on
     or otherwise requires it)
      > NOTE: Runtime target
     'imx-gst1.0-pluginkernel-devsrcgstreamer1.0-rtsp-server' is
     unbuildable, removing...
      > Missing or unbuildable dependency chain was:
     ['imx-gst1.0-pluginkernel-devsrcgstreamer1.0-rtsp-server']
      > ERROR: Required build target 'imx-image-full' has no buildable
     providers.
      > Missing or unbuildable dependency chain was: ['imx-image-full',
     'imx-gst1.0-pluginkernel-devsrcgstreamer1.0-rtsp-server']
      >
      > Summary: There were 2 ERROR messages, returning a non-zero exit code.
      >
      > These packages are needed i can not remove So please help me what
     can i do in this.
      >
      > Thanks in Advance.
      >
      > On Fri, 27 Jan 2023 at 17:00, Nikita Gupta
     <[email protected] <mailto:[email protected]>
     <mailto:[email protected]
     <mailto:[email protected]>>> wrote:
      >
      >     Hello Alex
      >
      >     When i run bitbake libimxvpuapi2 and it shows below error
     (images attached).
      >     Can you please tell me that is "libimxvpuapi2" compatible
     with imx8mplus board?
      >
      >     Thanks in Advance
      >
      >     On Fri, 27 Jan 2023 at 14:35, Alexander Kanavin
     <[email protected] <mailto:[email protected]>
     <mailto:[email protected] <mailto:[email protected]>>> wrote:
      >
      >         The screenshot indicates the problem originates in
     libimxvpuapi2
      >         recipe. So you should get more information by running
     'bitbake
      >         libimxvpuapi2'.
      >
      >         Alex
      >
      >         On Fri, 27 Jan 2023 at 07:46, Nikita Gupta
     <[email protected] <mailto:[email protected]>
     <mailto:[email protected]
     <mailto:[email protected]>>> wrote:
      >          >
      >          > Hello Alexander
      >          >
      >          > I am not getting your query . Can u please explain
     your question?
      >          >
      >          > Regards
      >          > Nikita Gupta
      >          >
      >          > On Wed, Jan 25, 2023, 18:35 Alexander Kanavin
     <[email protected] <mailto:[email protected]>
     <mailto:[email protected] <mailto:[email protected]>>> wrote:
      >          >>
      >          >> What happens if you bitbake libimx… thingy directly?
      >          >>
      >          >> Alex
      >          >>
      >          >> On Wed 25. Jan 2023 at 13.47, Nikita Gupta
     <[email protected] <mailto:[email protected]>
     <mailto:[email protected]
     <mailto:[email protected]>>> wrote:
      >          >>>
      >          >>> Hello list,
      >          >>>
      >          >>> I was just making image for imx8mplus by adding few
     pkgs in my local.conf but encountered few errors so i am here
      >         for your help.
      >          >>> I added below pkgs in my local.conf file
      >          >>>
      >          >>> IMAGE_INSTALL:append = "gstreamer1.0
     gstreamer1.0-plugins-base gstreamer1.0-plugins-good
     gstreamer1.0-plugins-bad
      >         gstreamer1.0-plugins-ugly  gstreamer1.0-libav imx-vpuwrap
     imx-gpu-g2d imx-gpu-viv gstreamer1.0-plugins-imx
      >         imx-gst1.0-plugin"
      >          >>> LICENSE_FLAGS_WHITELIST = "commercial"
      >          >>> IMAGE_INSTALL:append = "kernel-devsrc"
      >          >>> IMAGE_INSTALL_append += "gstreamer1.0-rtsp-server
     gst-variable-rtsp-server"
      >          >>> IMAGE_INSTALL:append = " gtk+3"
      >          >>> CORE_IMAGE_EXTRA_INSTALL += " opencv
     libopencv-core-dev libopencv-highgui-dev libopencv-imgproc-dev
      >         libopencv-objdetect-dev libopencv-ml-dev"
      >          >>> IMAGE_ROOTFS_EXTRA_SPACE = "1048576 "
      >          >>>
      >          >>> So my local.conf file now looks like this
      >          >>> So i am getting below error after baking my recipe (
     Attached image).
      >          >>>
      >          >>> Please tell what should I need to do to resolve this.
      >          >>>
      >          >>> Thanks in advance
      >          >>>
      >          >>>
      >          >>>
      >
      >
      >
      >
      >

     --
     Takayasu Ito
     Solution Department, Lineo Solutions, Inc.
     https://www.lineo.co.jp/english/ <https://www.lineo.co.jp/english/>
     Email: [email protected] <mailto:[email protected]>
     Yocto Project Ambassador


--
Takayasu Ito
Yocto Project Ambassador
Solution Department Lineo Solutions, Inc.
https://www.lineo.co.jp/english/
Email: [email protected]









--
Takayasu Ito
Yocto Project Ambassador
Solution Department Lineo Solutions, Inc.
https://www.lineo.co.jp/english/
Email: [email protected]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59125): https://lists.yoctoproject.org/g/yocto/message/59125
Mute This Topic: https://lists.yoctoproject.org/mt/96519310/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to