Imx8mm vpu libimxdmabuffer compile error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Imx8mm vpu libimxdmabuffer compile error

跳至解决方案
2,063 次查看
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 项奖励
1 解答
2,010 次查看
hello122344
Contributor II

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

Best wishes

在原帖中查看解决方案

0 项奖励
8 回复数
2,058 次查看
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 项奖励
2,052 次查看
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 项奖励
2,047 次查看
joanxie
NXP TechSupport
NXP TechSupport

could you tell me what bsp version you use?

 

0 项奖励
2,044 次查看
hello122344
Contributor II

hi joanxie:

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

 think you

0 项奖励
2,017 次查看
joanxie
NXP TechSupport
NXP TechSupport

I have mailed to you, pls check your mailbox

 

0 项奖励
1,130 次查看
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 项奖励
1,990 次查看
Bob256
Contributor I

Where is the link to the patch?  Thanks.

0 项奖励
2,011 次查看
hello122344
Contributor II

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

Best wishes

0 项奖励