09-16-2019 09:35 AM - edited 09-16-2019 09:37 AM
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.
10-02-2019 08:50 AM
10-01-2019 07:51 AM
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.
10-02-2019 08:50 AM
10-07-2019 02:15 AM
Hi @kiran1490
Could you mark your answer as a solution so it is easier for other community members to find?
Regards,