Imx8mm vpu libimxdmabuffer compile error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Imx8mm vpu libimxdmabuffer compile error

Jump to solution
1,971 Views
hello122344
Contributor II

Hi, I'm working with  iMX8mm   i want to use  vpu H264

https://github.com/Freescale/libimxdmabuffer

When following the specified configuration instructions;

./waf configure --prefix=PREFIX

Errors relating to not having a specified kernel headers path appear. So I added the following kernel headers path in the configuration;

./waf configure --prefix=PREFIX --imx-linux-headers-path=/home/jensen/imx8mm/OK8MM-linux-sdk/OK8MM-linux-kernel/include/  

but  Errors  Could not find linux/mxcfb.h in path "/home/jensen/imx8mm/OK8MM-linux-sdk/OK8MM-linux-kernel/include/" specified by --imx-linux-headers-path   But there is linux/mxcfb.h  in this directory

Any suggestions on what could be causing this issue?

Thank you,

jensen

 

 

0 Kudos
1 Solution
1,918 Views
hello122344
Contributor II

Thank you for your reply..I try the patch。

Best wishes

View solution in original post

0 Kudos
8 Replies
1,966 Views
joanxie
NXP TechSupport
NXP TechSupport

why do you need to install this if you just want to use vpu encoder? the bsp support vpu encoder already as default, you don't need to install this, this isn't official released version, I'm not sure if this is tested on imx8mm board

 

0 Kudos
1,960 Views
hello122344
Contributor II

hi ,joanxie

Thank you for your reply.

I want to decode USB camera(H264) with vpu,I found libimxvpuapi      https://github.com/Freescale/libimxvpuapi

But libimxdmabuffer is required when compiling

Checking if this combination works : yes
Checking for program 'pkg-config' : /opt/fsl-imx-xwayland/4.14-sumo/sysroots/x86_64-pokysdk-linux/usr/bin/pkg-config
Checking for 'libimxdmabuffer >= 0.9.0' : not found
The configuration failed

Do you have vpu api for imx8mm? Or how to use vpu of imx8mm(usb camera)

think you very much..

Best wishes

0 Kudos
1,955 Views
joanxie
NXP TechSupport
NXP TechSupport

could you tell me what bsp version you use?

 

0 Kudos
1,952 Views
hello122344
Contributor II

hi joanxie:

     I am using  L4.14.78_1.0.0_ga_MX8MMEVK(LINUX)

 think you

0 Kudos
1,925 Views
joanxie
NXP TechSupport
NXP TechSupport

I have mailed to you, pls check your mailbox

 

0 Kudos
1,038 Views
ankitpatel_atp
NXP Pro Support
NXP Pro Support

Hi @joanxie 

Can you share this patch to me ?

I need it for one of the customer.

 

-Ankit.

0 Kudos
1,898 Views
Bob256
Contributor I

Where is the link to the patch?  Thanks.

0 Kudos
1,919 Views
hello122344
Contributor II

Thank you for your reply..I try the patch。

Best wishes

0 Kudos