This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP4430 Camera support using linux media controller framework

I am trying to get camera support working on my PandaBoard.
Following this page http://www.omappedia.org/wiki/PandaBoard_Camera_Support,
I have the module from CircuitCo.  I'm using the devel-ISPSUPPORT-IPIPE branch
of Sergio's tree git://gitorious.org/omap4-v4l2-camera/omap4-v4l2-camera.git

This sort of works, i.e. it will grab RAW10 data .  Sadly, it only works part of the time - many times it will just hang when I start streaming data, rarely it will actually grab data.  Once it does start grabbing though it seems to continue properly.   In this scenario, CSI data is being captured directly to memory.

Any more complex setups which involve the IPIPE/IPIPEIF blocks don't seem to work at all, I can't get any data to move through them.

I can provide whatever information might help, register dumps, traces, etc.  I've tried everything I can think of and just cannot get the IPIPE stuff to do anything.

Are there examples anywhere which use these components?  Such examples do not have to use the media controller framework - I can adapt code if I can find something that actually works.

Has anyone had success with this camera setup on the PandaBoard?  consistently?

I've tried to contact Sergio but he's between jobs and seems to have fallen
completely out of touch.  Also, the linux-media mailing list hasn't been much
help either.

If anyone has any ideas or pointers or ..., I'm all ears as this is a major
component of a system I'm building.

Thanks

  • omap4iss driver supports only YUV sensors. RAW sensors need extra processing (CFA interpolation, gamma, RGB2YUV etc) which is not enabled in omap4iss driver.

  • If you read my post carefully, you'll see I'm using an experimental branch which supposedly does support RAW10->YUV conversion using IPIPE

    Sadly, I don't see it do anything.  Any pointers on what I can look at, etc, would be great.  As mentioned, I can post register dumps, etc, whatever it takes.

    I've been through the manual multiple times and everything looks like it is set up properly, just that nothing happens.

  • First make sure that RAW frame acquisition is working consistently. If it is not stable IPIPEIF will not be able to latch on to pixel clock. Once this is done, take a look at IPIPEIF_CFG registers, particularly INPSRC1 and INPSRC2. You can find more details in TRM.