Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 13 Sep 2016 07:47 AM by  Adam Ford
Mainstream Linux with camera
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
rcagley
New Member
New Member
Posts:6


--
05 Sep 2016 05:53 PM

    We're transitioning from the old LTIB build system to Mainstream Linux with the 4.4.9 LTS kernel. 

    The old kernel has modifications that logidpd provided to support the OV7690 camera/sensor. 

    Does anyone have any suggestions for getting a camera to work with the new Mainstream Linux? Ideally there would be a patch or a kernel config I could use?

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    13 Sep 2016 07:23 AM
    The newer, 4.7.x Kernel has an updated device tree that adds ISP support and the necessary pin muxing for a 8-bit camera. It hasn't been well tested by me, and I know that the Open Source community was making changes to the ISP driver during that same time so there may have been stuff that was added after I did the device tree for the camera. If you need something higher than 8-bit, you should be able to modify the device tree.

    I used a Leopard Imaging sensor and the device loaded and the camera was detected, but I didn't spend a lot of time to fully test it.

    Give the 4.7 Kernel a try: https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.7.3.tar.xz

    It's not a long term support Kernel, so we didn't choose to go with that for our beta, but the 4.9 kernel will be, and I'm hoping to get a beta release based on that kernel at some point in the future after it's released by the open source community.


    adam
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    13 Sep 2016 07:47 AM
    I looked through the source code and it appears as if the open source community only has OV7640 and OV7670 drivers in the tree. You might be able to modify the driver for the 7690, but I am not certain. The Beta kernel is purely a snapshot of the 4.4.y stable kernel from the open source community without custom patches.

    The device tree is setup for a mt9p031 compatible camera, but I would expect that to be adaptable to use the OV76xx cameras, but I am not certain if/how the OV76x0 cameras work with this beta.

    We do offer design and engineer services. If you like, I can have one of our account managers contact you to discuss a services contract.

    adam
    You are not authorized to post a reply.