Re: [yocto] Error while adding " libimxvpuapi2" and "gstreamer" pkgs in my local.conf for imx8mplus

2023-01-25 Thread Alexander Kanavin
What happens if you bitbake libimx… thingy directly?

Alex

On Wed 25. Jan 2023 at 13.47, Nikita Gupta 
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
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59058): https://lists.yoctoproject.org/g/yocto/message/59058
Mute This Topic: https://lists.yoctoproject.org/mt/96519310/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Error while adding " libimxvpuapi2" and "gstreamer" pkgs in my local.conf for imx8mplus

2023-01-25 Thread Khem Raj

On 1/25/23 4:47 AM, Nikita Gupta 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.



Do you have ACCEPT_FSL_EULA = "1" set in config metadata e.g. local.conf 
or site.conf ?



Thanks in advance






OpenPGP_0xBB053355919D3314.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59061): https://lists.yoctoproject.org/g/yocto/message/59061
Mute This Topic: https://lists.yoctoproject.org/mt/96519310/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Error while adding " libimxvpuapi2" and "gstreamer" pkgs in my local.conf for imx8mplus

2023-01-26 Thread Nikita Gupta
Hello sir

Yes, i had accepted everything while sourcing the build directory before
bitbake (there was step asking for accept t&c) but not set ACCEPT_FSL_EULA
= "1" such thing in local.conf or metadata .

Regards
Nikita Gupta


On Wed, Jan 25, 2023, 22:51 Khem Raj  wrote:

> On 1/25/23 4:47 AM, Nikita Gupta 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.
> >
>
> Do you have ACCEPT_FSL_EULA = "1" set in config metadata e.g. local.conf
> or site.conf ?
>
> > Thanks in advance
> >
> >
> > 
> >
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59070): https://lists.yoctoproject.org/g/yocto/message/59070
Mute This Topic: https://lists.yoctoproject.org/mt/96519310/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Error while adding " libimxvpuapi2" and "gstreamer" pkgs in my local.conf for imx8mplus

2023-01-26 Thread Nikita Gupta
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 
wrote:

> What happens if you bitbake libimx… thingy directly?
>
> Alex
>
> On Wed 25. Jan 2023 at 13.47, Nikita Gupta 
> 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
>>
>> 
>>
>>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59071): https://lists.yoctoproject.org/g/yocto/message/59071
Mute This Topic: https://lists.yoctoproject.org/mt/96519310/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Error while adding " libimxvpuapi2" and "gstreamer" pkgs in my local.conf for imx8mplus

2023-01-27 Thread Alexander Kanavin
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  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  wrote:
>>
>> What happens if you bitbake libimx… thingy directly?
>>
>> Alex
>>
>> On Wed 25. Jan 2023 at 13.47, Nikita Gupta  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
>>>
>>> 
>>>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59074): https://lists.yoctoproject.org/g/yocto/message/59074
Mute This Topic: https://lists.yoctoproject.org/mt/96519310/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Error while adding " libimxvpuapi2" and "gstreamer" pkgs in my local.conf for imx8mplus

2023-01-27 Thread Nikita Gupta
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 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 
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 
> 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 
>> 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 
>> wrote:
>> >>
>> >> What happens if you bitbake libimx… thingy directly?
>> >>
>> >> Alex
>> >>
>> >> On Wed 25. Jan 2023 at 13.47, Nikita Gupta 
>> 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
>> >>>
>> >>> 
>> >>>
>>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59078): https://lists.yoctoproject.org/g/yocto/message/59078
Mute This Topic: https://lists.yoctoproject.org/mt/96519310/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Error while adding " libimxvpuapi2" and "gstreamer" pkgs in my local.conf for imx8mplus

2023-01-27 Thread Takayasu Ito

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


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 
 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 mailto:nikitagupta2...@gmail.com>> 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 mailto:alex.kana...@gmail.com>> 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 mailto:nikitagupta2...@gmail.com>> 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 mailto:alex.kana...@gmail.com>> wrote:
 >>
 >> What happens if you bitbake libimx… thingy directly?
 >>
 >> Alex
 >>
 >> On Wed 25. Jan 2023 at 13.47, Nikita Gupta mailto:nikitagupta2...@gmail.com>> 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 

Re: [yocto] Error while adding " libimxvpuapi2" and "gstreamer" pkgs in my local.conf for imx8mplus

2023-01-27 Thread Alexander Kanavin
This is different to the previous error. Yocto itself does not prevent
the recipe from building, but something inside the component is
producing an error during configuration. One of the screenshots
mentions that 'hantro_h1' is not found, so you need to investigate why
is it being searched for and why it's not where it should be. There's
also a message about 'complete log' that you can check.

Alex

On Fri, 27 Jan 2023 at 12:30, Nikita Gupta  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  
> 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  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  
>> > wrote:
>> >>
>> >> What happens if you bitbake libimx… thingy directly?
>> >>
>> >> Alex
>> >>
>> >> On Wed 25. Jan 2023 at 13.47, Nikita Gupta  
>> >> 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
>> >>>
>> >>> 
>> >>>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59082): https://lists.yoctoproject.org/g/yocto/message/59082
Mute This Topic: https://lists.yoctoproject.org/mt/96519310/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Error while adding " libimxvpuapi2" and "gstreamer" pkgs in my local.conf for imx8mplus

2023-01-30 Thread Khem Raj
there should be a config.log file generated in the build dir of this
component. Can you share that ?

On Mon, Jan 30, 2023 at 3:19 AM 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  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
>>
>> 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
>> >  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 > > > 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 
>> > mailto:alex.kana...@gmail.com>> 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 
>> > mailto:nikitagupta2...@gmail.com>> 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 
>> > mailto:alex.kana...@gmail.com>> wrote:
>> >  >>
>> >  >> What happens if you bitbake libimx… thingy directly?
>> >  >>
>> >  >> Alex
>> >  >>
>> >  >> On Wed 25. Jan 2023 at 13.47, Nikita Gupta 
>> > mailto:nikitagupta2...@gmail.com>> 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

Re: [yocto] Error while adding " libimxvpuapi2" and "gstreamer" pkgs in my local.conf for imx8mplus

2023-01-30 Thread Takayasu Ito

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"



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 > 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
 


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
 
 > > 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
mailto:nikitagupta2...@gmail.com>
>> 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
mailto:alex.kana...@gmail.com>
>> wrote:
 >
 >         The screenshot indicates the problem originates in
libimxvpuapi2
 >         recipe. So you should get more information by

Re: [yocto] Error while adding " libimxvpuapi2" and "gstreamer" pkgs in my local.conf for imx8mplus

2023-01-30 Thread Nikita Gupta
Hello Takayasu
I try to implement your suggestion and let you know the result.

Thanks & regards
Nikita Gupta

On Tue, 31 Jan 2023 at 08:04, Takayasu Ito  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"
>
>
>
> 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  > > 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 
> >  > > 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
> > mailto:nikitagupta2...@gmail.com>
> >  > >> wrote:
> >  >
> >  > Hello Alex
> >  >
> >  > When i ru

Re: [yocto] Error while adding " libimxvpuapi2" and "gstreamer" pkgs in my local.conf for imx8mplus

2023-01-31 Thread Khem Raj
On Mon, Jan 30, 2023 at 6:34 PM Takayasu Ito  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  > > 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
> >  
> > 
> >
> > 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
> >  
> >  > > 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
> > mailto:nikitagupta2...@gmail.com>
> >  > >> wrote:
> >  >
> >  > Hello Alex
> >  >
> >  >

Re: [yocto] Error while adding " libimxvpuapi2" and "gstreamer" pkgs in my local.conf for imx8mplus

2023-01-31 Thread Nikita Gupta
Hello All,
I created one libimxvpuapi2_%.bbappend file in "libimxvpuapi" directory and
following platform configuration in that and it works.
IMX_PLATFORM:mx8mp-nxp-bsp = "imx8m"
Thanks team for this kind help.

On Tue, 31 Jan 2023 at 14:11, Khem Raj  wrote:

> On Mon, Jan 30, 2023 at 6:34 PM Takayasu Ito  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  > > > 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 
> > >  > > 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, returni

Re: [yocto] Error while adding " libimxvpuapi2" and "gstreamer" pkgs in my local.conf for imx8mplus

2023-01-31 Thread Takayasu Ito

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  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 mailto:i...@lineo.co.jp>> 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
 


 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
 
  > > 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-devsrcgstrea