Web lists-archives.org

Re: question for soc-camera driver




On Thu, 15 May 2008, ·ëöÎ wrote:

> why does soc-cmaera driver FIFO usually overrun? Now I use a thread to
> capture frames. But if overrun occur,frame will dropped.

What is your <struct pxacamera_platform_data>.mclk_10khz set to? What 
kernel version are you using? I do not know what you do in your FPGA, are 
you sure it doesn't modify your camera bus timing (pixel clock, VSYNC, 
HSYNC, master clock)?

> I have another question.I hope you can give me some advice. If I write
> a file to jffs2 norflash,FIFO overrun will occur without fail. Why
> writting norflash will affect FIFO or DMA.

Do you mean camera FIFO overruns occur, but fraims do not get dropped? The 
reason, why with NOR you have more problems might be, that you produce 
extra load on the memory bus? I don't remember id you already told us, 
what type of LCD you have on your system and what other bus masters you 
have? What's your frame format? 640x480x8bit?

Sorry, without working with your hardware I don't think I can effectively 
investigate your problem. On my setup I only get overrung if I 
purposefully introduce problems, by, for example, increasing mclk_10khz, 
or using only 2 buffers, or by writing to NFS-mounted storage.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list