01-07-2019 08:14 AM
hi,
i make a design that read a data from the ddr with a vdma and i send data to frame buffer
on linux when i configure V4L2 :
v4l2-ctl --device /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=RGB8
it works but when i want to make a capture with this command :
v4l2-ctl --device /dev/video0 --stream-mmap --stream-skip=1 --stream-to=frame.raw --stream-count=1
i have a kernel crach :
[ 26.492932] xilinx-video amba_pl@0:video_cap_my: dma_alloc_coherent of size 0 failed
[ 26.500619] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 26.508674] Mem abort info:
[ 26.511442] Exception class = IABT (current EL), IL = 32 bits
[ 26.517354] SET = 0, FnV = 0
[ 26.520383] EA = 0, S1PTW = 0
do you have an idea ?
thanks
01-21-2019 07:54 AM
HI @lrocher,
Do you have any updates on this?
If your question is answered or your issue is solved, please kindly mark the response which helped as solution (click on "Accept as solution" button below the reply)
If this is not solved/answered, please reply in the topic giving more information on your current status.
Thanks and Regards,
01-11-2019 12:56 AM
Hi @lrocher,
Why are you using a VDMA? Why not doing both write and read with a frame buffer. This way your full pipe should be suported by V4L2 while I am not sure the VMDA supports the V4L2 framework.
Regards,
01-21-2019 07:54 AM
HI @lrocher,
Do you have any updates on this?
If your question is answered or your issue is solved, please kindly mark the response which helped as solution (click on "Accept as solution" button below the reply)
If this is not solved/answered, please reply in the topic giving more information on your current status.
Thanks and Regards,