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.

OMAP3 (3530) EVM Camera Sensor



A couple weeks ago I managed to get "hacked" MT9P012 drivers to load up during the kernel boot.

I did so by

1.) installed the PSP 1.02 source

2.) Installed the PSP patch located at  https://gstreamer.ti.com/gf/project/gstreamer_ti/tracker/?action=TrackerItemEdit&tracker_item_id=484

3.) Compiled the kernel using the omap3evm_dcard_defconfig configuration (it gets modified by the patch that was appled in step 2). Everything in the menuconfig looks good.

4.) Booted the kernel and it reports the following during the kernel boot

omap34xxcam omap34xxcam: registering device mt9p012 (0) to video0

mt9p012 3-005d: model id detected 0x1621 mfr 0x16

mt9p012 3-005d: model id mismatch 0x1621 mfr 0x16

That means its working fine. There is a mismatch because the sensor I use (the MT9T001) is different then what the driver is meant for. 

At some point I did a "make distclean" which reset the configuration. I reran omap3evm_dcard_defconfig to bring them back, but now it reports the following when I boot any newly created kernel.

omap34xxcam omap34xxcam: registering device mt9p012 (0) to video0

mt9p012 3-0010: model id detected 0x0 mfr 0x0

mt9p012 3-0010: model id mismatch 0x0 mfr 0x0

Keep in mind I never did write down the exact steps to produce the working system. I went straight to modifiying the drivers to make them work with the sensor I use. Now its two weeks later, and I can't get what I had working to work. I haven't even gotten to the point of testing my changes.

It does work if I use the old kernel file. I'm using NFS so its easy to go back and forth between the two. Everything else is the same.

FYI - the sensor is connected to the EVM through my own adapter board. There is no other I2C device on that bus.