cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
190 Views
Registered: ‎09-15-2008

Petalinux 2019.2 : Linux DMA from user space

Jump to solution

Hi

I'm trying to run the Linux DMA from user space from wiki page here

However when petalinux-build fails with the following error :

dma-proxy.c:42:10: fatal error: linux/dmaengine.h: No such file or directory

Am I missing some step? Can you please help?

   Mariano

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Adventurer
Adventurer
101 Views
Registered: ‎09-15-2008

Hi,

indeed it was my mistake because I had created the driver with petalinux-create -t apps and not petalinux-create -t modules.

Regards,

    Mariano

View solution in original post

0 Kudos
2 Replies
Highlighted
Teacher
Teacher
175 Views
Registered: ‎06-16-2013

Hi @mariano_severi 

 

I suggest you to prepare nad use linux kernel header file when you build this application.

If you want to know detail, would you share your build log ?

 

Best regards,

0 Kudos
Highlighted
Adventurer
Adventurer
102 Views
Registered: ‎09-15-2008

Hi,

indeed it was my mistake because I had created the driver with petalinux-create -t apps and not petalinux-create -t modules.

Regards,

    Mariano

View solution in original post

0 Kudos