cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kiran1490
Participant
Participant
544 Views
Registered: ‎08-09-2019

drivers for vcu

Jump to solution

I am trying to add vcu-modules(al5e, al5d and alcommon) to the linux-xilinx kernel. I am trying to make the drivers but i am getting error:

error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.attach = al5_dmabuf_attach

i have no idea why i am getting this error. i am using  cross compiler =aarch64-linux-gnu- and ARCH=arm64. please assist me. i am attaching the error log.

Tags (3)
Screenshot from 2019-09-16 22-05-01.png
0 Kudos
Reply
1 Solution

Accepted Solutions
kiran1490
Participant
Participant
440 Views
Registered: ‎08-09-2019
I am not using petalinux. I am using the linux-xilinx source code to compile the vcu models. Anyway the problem is solved. The reason for that error is I am using linux-xilinx of 2018.3 and using the vcu modules of 2019.1 release.

View solution in original post

3 Replies
florentw
Moderator
Moderator
464 Views
Registered: ‎11-09-2015

HI @kiran1490 

Are you using petalinux?

If yes, you should follow pg252 chapter 12. There are receipes you need to add to your petalinux project to add the drivers.


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
kiran1490
Participant
Participant
441 Views
Registered: ‎08-09-2019
I am not using petalinux. I am using the linux-xilinx source code to compile the vcu models. Anyway the problem is solved. The reason for that error is I am using linux-xilinx of 2018.3 and using the vcu modules of 2019.1 release.

View solution in original post

aoifem
Moderator
Moderator
401 Views
Registered: ‎11-21-2018

Hi @kiran1490 

Could you mark your answer as a solution so it is easier for other community members to find? 

Regards, 

Aoife
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Reply