Skip to contentSkip to conversation

OMAP34XXCAM: Micron mt9d111 sensor support?

DISCUSSION Zach LeRoy 3 participants 8 messages Jun 17, 2009 – Jun 23, 2009 Media (V4L/DVB)

lore
Share & tools
lore

Zach LeRoy

author
#0 lore raw

I am working on adding support for a micron 2 MP sensor: mt9d111 on a gumsitx overo. This is a i2c-controlled sensor. Ideally, I would like to use the omap34xxcam driver to interface with this sensor. I am wondering if there are currently any distributions which already include support for this sensor through the omap34xxcam driver, or if anyone else is interested in this topic.

Cheers,

Zach LeRoy

#1 lore raw
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Zach LeRoy
Sent: Wednesday, June 17, 2009 5:06 PM
To: linux-omap; [email protected]
Subject: OMAP34XXCAM: Micron mt9d111 sensor support?

Quoted 6 lines

I am working on adding support for a micron 2 MP sensor: mt9d111 on a gumsitx overo. This is a i2c-controlled sensor. Ideally, I would like to use the omap34xxcam driver to interface with this sensor. I am wondering if there are currently any distributions which already include support for this sensor through the omap34xxcam driver, or if anyone else is interested in this topic.

Hi Zach,

I'm working along with Sakari Ailus and others in this omap34xxcam driver you're talking about, and we are in the process to provide a newer patchset to work on the latest l-o tree.

Sakari is sharing the camera core here:

http://gitorious.org/omap3camera

And I have also this repository which contains a snapshot of Sakari's tree + support from some sensors I have available for the 3430SDP and LDP (the name could confuse with the above, but I'll change the name/location soon):

http://gitorious.org/omap3-linux-camera-driver

Testing the driver with as much sensors as we can is very interesting (at least for me), because that help us spot possible bugs that aren't seen with our current HW. So, I'll be looking forward if you add this sensor driver to the supported list :)

Regards,
Sergio

Quoted 8 lines

Cheers,

Zach LeRoy
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 22 lines · Sergio Alberto
Quoted 8 lines

-----Original Message-----
From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Zach LeRoy
Sent: Wednesday, June 17, 2009 5:06 PM
To: linux-omap; [email protected]
Subject: OMAP34XXCAM: Micron mt9d111 sensor support?

Quoted 7 lines

I am working on adding support for a micron 2 MP sensor: mt9d111 on a gumsitx overo. This is a i2c-controlled sensor. Ideally, I would like to use the omap34xxcam driver to interface with this sensor. I am wondering if there are currently any distributions which already include support for this sensor through the omap34xxcam driver, or if anyone else is interested in this topic.

Hi Zach,

I'm working along with Sakari Ailus and others in this omap34xxcam driver you're talking about, and we are in the process to provide a newer patchset to work on the latest l-o tree.

Sakari is sharing the camera core here:

Quoted 8 lines

http://gitorious.org/omap3camera

And I have also this repository which contains a snapshot of Sakari's tree + support from some sensors I have available for the 3430SDP and LDP (the name could confuse with the above, but I'll change the name/location soon):

http://gitorious.org/omap3-linux-camera-driver

Testing the driver with as much sensors as we can is very interesting (at least for me), because that help us spot possible bugs that aren't seen with our current HW. So, I'll be looking forward if you add this sensor driver to the supported list :)

I'd like to move forward using this on OMAP/3530 with TVP5150 (S-video in)

Sadly, the tree above (omap3-linux-camera-driver) won't build for the Zoom/LDP:
CC arch/arm/mach-omap2/board-ldp-camera.o
/local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-camera.c:59:
error: implicit declaration of function 'PAGE_ALIGN' /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-camera.c:59:
error: initializer element is not constant /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-camera.c:59:
error: (near initialization for 'ov3640_hwc.capture_mem') /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-camera.c:
In function 'ov3640_sensor_set_prv_data':
/local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-camera.c:89:
error: 'hwc' undeclared (first use in this function) /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-camera.c:89:
error: (Each undeclared identifier is reported only once /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-camera.c:89:
error: for each function it appears in.)

Looking at the code, it seems that some pieces are missing - merge problem maybe?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw
Quoted 76 lines

-----Original Message-----
From: Gary Thomas [mailto:[email protected]]
Sent: Monday, June 22, 2009 1:06 PM
To: Aguirre Rodriguez, Sergio Alberto
Cc: Zach LeRoy; linux-omap; [email protected]; Sakari Ailus
Subject: Re: OMAP34XXCAM: Micron mt9d111 sensor support?

Quoted 10 lines · Sergio Alberto
Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Zach LeRoy
Sent: Wednesday, June 17, 2009 5:06 PM
To: linux-omap; [email protected]
Subject: OMAP34XXCAM: Micron mt9d111 sensor support?

I am working on adding support for a micron 2 MP sensor: mt9d111 on a gumsitx overo. This is a i2c-controlled sensor. Ideally, I would like

to

Quoted 1 line
Quoted 1 line

use the omap34xxcam driver to interface with this sensor. I am

wondering

Quoted 1 line
Quoted 1 line

if there are currently any distributions which already include support

for

Quoted 7 lines
Quoted 3 lines

this sensor through the omap34xxcam driver, or if anyone else is interested in this topic.

Hi Zach,

I'm working along with Sakari Ailus and others in this omap34xxcam

driver you're talking about, and we are in the process to provide a newer patchset to work on the latest l-o tree.

Quoted 6 lines

Sakari is sharing the camera core here:

http://gitorious.org/omap3camera

And I have also this repository which contains a snapshot of Sakari's

tree + support from some sensors I have available for the 3430SDP and LDP (the name could confuse with the above, but I'll change the name/location soon):

Quoted 4 lines

http://gitorious.org/omap3-linux-camera-driver

Testing the driver with as much sensors as we can is very interesting

(at least for me), because that help us spot possible bugs that aren't seen with our current HW. So, I'll be looking forward if you add this sensor driver to the supported list :)

Quoted 1 line

I'd like to move forward using this on OMAP/3530 with TVP5150 (S-video in)

Sadly, the tree above (omap3-linux-camera-driver) won't build for the Zoom/LDP:
CC arch/arm/mach-omap2/board-ldp-camera.o
/local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:59:
error: implicit declaration of function 'PAGE_ALIGN' /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:59:
error: initializer element is not constant /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:59:
error: (near initialization for 'ov3640_hwc.capture_mem') /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-camera.c:
In function 'ov3640_sensor_set_prv_data':
/local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:89:
error: 'hwc' undeclared (first use in this function) /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:89:
error: (Each undeclared identifier is reported only once /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:89:
error: for each function it appears in.)

Quoted 2 lines

Looking at the code, it seems that some pieces are missing - merge problem maybe?

Hi Gary,

I'm currently on the process to rebase and verify all this code on 3430SDP, Zoom1 and soon Zoom2.

Here you can find my progress:

http://dev.omapzoom.org/?p=saaguirre/linux-omap-camera.git;a=summary

Check devel branch, which contains all latest Sakari's tree patches (http://gitorious.org/omap3camera) rebased on top of latest Kevin's l-o PM tree, plus the patches, which are still in works, to make the above mentioned platforms to work.

I'm first trying to make 3430SDP work, don't have a Zoom1/Zoom2 handy right now...

My gitorious tree will eventually disappear, as I can work better with this new one.

I'll consolidate some patches when this sensor code is ready, and will CC you if interested.

Regards,
Sergio

Quoted 7 lines

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------

#4 lore raw
Quoted 81 lines · Sergio Alberto
Quoted 70 lines

-----Original Message-----
From: Gary Thomas [mailto:[email protected]]
Sent: Monday, June 22, 2009 1:06 PM
To: Aguirre Rodriguez, Sergio Alberto
Cc: Zach LeRoy; linux-omap; [email protected]; Sakari Ailus
Subject: Re: OMAP34XXCAM: Micron mt9d111 sensor support?

Quoted 9 lines · Sergio Alberto
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Zach LeRoy
Sent: Wednesday, June 17, 2009 5:06 PM
To: linux-omap; [email protected]
Subject: OMAP34XXCAM: Micron mt9d111 sensor support?

I am working on adding support for a micron 2 MP sensor: mt9d111 on a gumsitx overo. This is a i2c-controlled sensor. Ideally, I would like

to

Quoted 1 line
Quoted 1 line

use the omap34xxcam driver to interface with this sensor. I am

wondering

Quoted 1 line
Quoted 1 line

if there are currently any distributions which already include support

for

Quoted 6 lines
Quoted 3 lines

this sensor through the omap34xxcam driver, or if anyone else is interested in this topic.

Hi Zach,

I'm working along with Sakari Ailus and others in this omap34xxcam

driver you're talking about, and we are in the process to provide a newer patchset to work on the latest l-o tree.

Quoted 5 lines

Sakari is sharing the camera core here:

http://gitorious.org/omap3camera

And I have also this repository which contains a snapshot of Sakari's

tree + support from some sensors I have available for the 3430SDP and LDP (the name could confuse with the above, but I'll change the name/location soon):

Quoted 3 lines

http://gitorious.org/omap3-linux-camera-driver

Testing the driver with as much sensors as we can is very interesting

(at least for me), because that help us spot possible bugs that aren't seen with our current HW. So, I'll be looking forward if you add this sensor driver to the supported list :)
I'd like to move forward using this on OMAP/3530 with TVP5150 (S-video in)

Sadly, the tree above (omap3-linux-camera-driver) won't build for the Zoom/LDP:
CC arch/arm/mach-omap2/board-ldp-camera.o
/local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:59:
error: implicit declaration of function 'PAGE_ALIGN' /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:59:
error: initializer element is not constant /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:59:
error: (near initialization for 'ov3640_hwc.capture_mem') /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-camera.c:
In function 'ov3640_sensor_set_prv_data':
/local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:89:
error: 'hwc' undeclared (first use in this function) /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:89:
error: (Each undeclared identifier is reported only once /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:89:
error: for each function it appears in.)

Quoted 2 lines

Looking at the code, it seems that some pieces are missing - merge problem maybe?

Hi Gary,

I'm currently on the process to rebase and verify all this code on 3430SDP, Zoom1 and soon Zoom2.

Here you can find my progress:

http://dev.omapzoom.org/?p=saaguirre/linux-omap-camera.git;a=summary

Quoted 8 lines

Check devel branch, which contains all latest Sakari's tree patches (http://gitorious.org/omap3camera) rebased on top of latest Kevin's l-o PM tree, plus the patches, which are still in works, to make the above mentioned platforms to work.

I'm first trying to make 3430SDP work, don't have a Zoom1/Zoom2 handy right now...

My gitorious tree will eventually disappear, as I can work better with this new one.

I'll consolidate some patches when this sensor code is ready, and will CC you if interested.

Thanks. I've already checked out this tree and at least it builds for the Zoom (I have one here). Is this in a state where I can test it for you? What do you use to capture video from the sensor?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#5 lore raw
Quoted 110 lines

-----Original Message-----
From: Gary Thomas [mailto:[email protected]]
Sent: Tuesday, June 23, 2009 8:23 AM
To: Aguirre Rodriguez, Sergio Alberto
Cc: Zach LeRoy; linux-omap; [email protected]; Sakari Ailus
Subject: Re: OMAP34XXCAM: Micron mt9d111 sensor support?

Quoted 15 lines · Sergio Alberto
Quoted 15 lines

-----Original Message-----
From: Gary Thomas [mailto:[email protected]]
Sent: Monday, June 22, 2009 1:06 PM
To: Aguirre Rodriguez, Sergio Alberto
Cc: Zach LeRoy; linux-omap; [email protected]; Sakari Ailus
Subject: Re: OMAP34XXCAM: Micron mt9d111 sensor support?

Quoted 7 lines · Sergio Alberto
Quoted 7 lines

-----Original Message-----
From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Zach LeRoy
Sent: Wednesday, June 17, 2009 5:06 PM
To: linux-omap; [email protected]
Subject: OMAP34XXCAM: Micron mt9d111 sensor support?

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

I am working on adding support for a micron 2 MP sensor: mt9d111 on a gumsitx overo. This is a i2c-controlled sensor. Ideally, I would

like

Quoted 4 lines
Quoted 4 lines

to

Quoted 1 line
Quoted 1 line

use the omap34xxcam driver to interface with this sensor. I am

wondering

Quoted 1 line
Quoted 1 line

if there are currently any distributions which already include

support

Quoted 8 lines
Quoted 8 lines

for

Quoted 6 lines
Quoted 3 lines

this sensor through the omap34xxcam driver, or if anyone else is interested in this topic.

Hi Zach,

I'm working along with Sakari Ailus and others in this omap34xxcam

driver you're talking about, and we are in the process to provide a

newer

Quoted 7 lines
Quoted 7 lines

patchset to work on the latest l-o tree.

Quoted 5 lines

Sakari is sharing the camera core here:

http://gitorious.org/omap3camera

And I have also this repository which contains a snapshot of Sakari's

tree + support from some sensors I have available for the 3430SDP and

LDP

Quoted 1 line
Quoted 1 line

(the name could confuse with the above, but I'll change the

name/location

Quoted 8 lines
Quoted 8 lines

soon):

Quoted 3 lines

http://gitorious.org/omap3-linux-camera-driver

Testing the driver with as much sensors as we can is very interesting

(at least for me), because that help us spot possible bugs that aren't seen with our current HW. So, I'll be looking forward if you add this sensor driver to the supported list :)
I'd like to move forward using this on OMAP/3530 with TVP5150 (S-video

in)

Quoted 14 lines
Quoted 14 lines

Sadly, the tree above (omap3-linux-camera-driver) won't build for the Zoom/LDP:
CC arch/arm/mach-omap2/board-ldp-camera.o
/local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:59:
error: implicit declaration of function 'PAGE_ALIGN' /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:59:
error: initializer element is not constant /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:59:
error: (near initialization for 'ov3640_hwc.capture_mem') /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-

camera.c:

Quoted 11 lines
Quoted 11 lines

In function 'ov3640_sensor_set_prv_data':
/local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:89:
error: 'hwc' undeclared (first use in this function) /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:89:
error: (Each undeclared identifier is reported only once /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:89:
error: for each function it appears in.)

Quoted 6 lines
Quoted 2 lines

Looking at the code, it seems that some pieces are missing - merge problem maybe?

Hi Gary,

I'm currently on the process to rebase and verify all this code on

3430SDP, Zoom1 and soon Zoom2.

Quoted 6 lines

Here you can find my progress:

http://dev.omapzoom.org/?p=saaguirre/linux-omap-camera.git;a=summary

Check devel branch, which contains all latest Sakari's tree patches

(http://gitorious.org/omap3camera) rebased on top of latest Kevin's l-o PM tree, plus the patches, which are still in works, to make the above mentioned platforms to work.

Quoted 2 lines

I'm first trying to make 3430SDP work, don't have a Zoom1/Zoom2 handy

right now...

Quoted 2 lines

My gitorious tree will eventually disappear, as I can work better with

this new one.

Quoted 1 line
Quoted 8 lines
Quoted 1 line

I'll consolidate some patches when this sensor code is ready, and will

CC you if interested.

Quoted 1 line

Thanks. I've already checked out this tree and at least it builds for the Zoom (I have one here). Is this in a state where I can test it for you? What do you use to capture video from the sensor?

I normally use a small test binary I wrote which saves the captured frames to memory, so later I can see them with either IrfanView (when capturing RAW images) or PYUV for seeing the YUV422 images.

You should be able to use any standard V4l2 capturing application anyways.

Regards,
Sergio

Quoted 7 lines

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------

#6 lore raw

From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Aguirre Rodriguez, Sergio Alberto

Quoted 106 lines

From: Gary Thomas [mailto:[email protected]]

Quoted 6 lines
Quoted 5 lines · Sergio Alberto

From: Gary Thomas [mailto:[email protected]]

Quoted 4 lines
Quoted 3 lines · Sergio Alberto

From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Zach LeRoy

Quoted 1 line

I am working on adding support for a micron 2 MP sensor: mt9d111 on

a

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

gumsitx overo. This is a i2c-controlled sensor. Ideally, I would

like

Quoted 4 lines
Quoted 4 lines

to

Quoted 1 line
Quoted 1 line

use the omap34xxcam driver to interface with this sensor. I am

wondering

Quoted 1 line
Quoted 1 line

if there are currently any distributions which already include

support

Quoted 1 line
Quoted 1 line

for

Quoted 14 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines

this sensor through the omap34xxcam driver, or if anyone else is interested in this topic.

Hi Zach,

I'm working along with Sakari Ailus and others in this omap34xxcam

driver you're talking about, and we are in the process to provide a

newer

Quoted 6 lines
Quoted 6 lines

patchset to work on the latest l-o tree.

Quoted 5 lines

Sakari is sharing the camera core here:

http://gitorious.org/omap3camera

And I have also this repository which contains a snapshot of

Sakari's

Quoted 8 lines
Quoted 1 line
Quoted 1 line

tree + support from some sensors I have available for the 3430SDP and

LDP

Quoted 1 line
Quoted 1 line

(the name could confuse with the above, but I'll change the

name/location

Quoted 4 lines
Quoted 4 lines

soon):

Quoted 3 lines

http://gitorious.org/omap3-linux-camera-driver

Testing the driver with as much sensors as we can is very

interesting

Quoted 1 line
Quoted 1 line
Quoted 1 line

(at least for me), because that help us spot possible bugs that

aren't

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

seen with our current HW. So, I'll be looking forward if you add this sensor driver to the supported list :)
I'd like to move forward using this on OMAP/3530 with TVP5150 (S-

video

Quoted 33 lines

in)

Quoted 14 lines
Quoted 14 lines

Sadly, the tree above (omap3-linux-camera-driver) won't build for the Zoom/LDP:
CC arch/arm/mach-omap2/board-ldp-camera.o
/local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:59:
error: implicit declaration of function 'PAGE_ALIGN' /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:59:
error: initializer element is not constant /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:59:
error: (near initialization for 'ov3640_hwc.capture_mem') /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-

camera.c:

Quoted 11 lines
Quoted 11 lines

In function 'ov3640_sensor_set_prv_data':
/local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:89:
error: 'hwc' undeclared (first use in this function) /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:89:
error: (Each undeclared identifier is reported only once /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:89:
error: for each function it appears in.)

Quoted 6 lines
Quoted 2 lines

Looking at the code, it seems that some pieces are missing - merge problem maybe?

Hi Gary,

I'm currently on the process to rebase and verify all this code on

Quoted 8 lines

3430SDP, Zoom1 and soon Zoom2.

Quoted 6 lines

Here you can find my progress:

http://dev.omapzoom.org/?p=saaguirre/linux-omap-camera.git;a=summary

Check devel branch, which contains all latest Sakari's tree patches

(http://gitorious.org/omap3camera) rebased on top of latest Kevin's l-o

PM

Quoted 9 lines

tree, plus the patches, which are still in works, to make the above mentioned platforms to work.

Quoted 2 lines

I'm first trying to make 3430SDP work, don't have a Zoom1/Zoom2 handy

right now...

Quoted 2 lines

My gitorious tree will eventually disappear, as I can work better with

this new one.

Quoted 1 line
Quoted 8 lines
Quoted 1 line

I'll consolidate some patches when this sensor code is ready, and will

CC you if interested.

Quoted 1 line

Thanks. I've already checked out this tree and at least it builds for the Zoom (I have one here). Is this in a state where I can test it for you? What do you use to capture video from the sensor?

Quoted 6 lines

I normally use a small test binary I wrote which saves the captured frames to memory, so later I can see them with either IrfanView (when capturing RAW images) or PYUV for seeing the YUV422 images.

You should be able to use any standard V4l2 capturing application anyways.

Btw, any contribution would be completely welcome. Either on Testing or on development. :)

Thanks for your interest in helping.

Quoted 15 lines

Regards,
Sergio

Quoted 7 lines

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#7 lore raw
Quoted 103 lines · Sergio Alberto

From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Aguirre Rodriguez, Sergio Alberto

Quoted 101 lines

From: Gary Thomas [mailto:[email protected]]

Quoted 6 lines
Quoted 5 lines · Sergio Alberto

From: Gary Thomas [mailto:[email protected]]

Quoted 4 lines
Quoted 3 lines · Sergio Alberto

From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Zach LeRoy

Quoted 1 line

I am working on adding support for a micron 2 MP sensor: mt9d111 on

a

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

gumsitx overo. This is a i2c-controlled sensor. Ideally, I would

like

Quoted 4 lines
Quoted 4 lines

to

Quoted 1 line
Quoted 1 line

use the omap34xxcam driver to interface with this sensor. I am

wondering

Quoted 1 line
Quoted 1 line

if there are currently any distributions which already include

support

Quoted 1 line
Quoted 1 line

for

Quoted 14 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines

this sensor through the omap34xxcam driver, or if anyone else is interested in this topic.

Hi Zach,

I'm working along with Sakari Ailus and others in this omap34xxcam

driver you're talking about, and we are in the process to provide a

newer

Quoted 6 lines
Quoted 6 lines

patchset to work on the latest l-o tree.

Quoted 5 lines

Sakari is sharing the camera core here:

http://gitorious.org/omap3camera

And I have also this repository which contains a snapshot of

Sakari's

Quoted 8 lines
Quoted 1 line
Quoted 1 line

tree + support from some sensors I have available for the 3430SDP and

LDP

Quoted 1 line
Quoted 1 line

(the name could confuse with the above, but I'll change the

name/location

Quoted 4 lines
Quoted 4 lines

soon):

Quoted 3 lines

http://gitorious.org/omap3-linux-camera-driver

Testing the driver with as much sensors as we can is very

interesting

Quoted 1 line
Quoted 1 line
Quoted 1 line

(at least for me), because that help us spot possible bugs that

aren't

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

seen with our current HW. So, I'll be looking forward if you add this sensor driver to the supported list :)
I'd like to move forward using this on OMAP/3530 with TVP5150 (S-

video

Quoted 30 lines

in)

Quoted 5 lines
Quoted 5 lines

Sadly, the tree above (omap3-linux-camera-driver) won't build for the Zoom/LDP:
CC arch/arm/mach-omap2/board-ldp-camera.o
/local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:59:

Quoted 8 lines
Quoted 8 lines

error: implicit declaration of function 'PAGE_ALIGN' /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:59:
error: initializer element is not constant /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:59:
error: (near initialization for 'ov3640_hwc.capture_mem') /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp-

camera.c:

Quoted 15 lines
Quoted 11 lines

In function 'ov3640_sensor_set_prv_data':
/local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:89:
error: 'hwc' undeclared (first use in this function) /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:89:
error: (Each undeclared identifier is reported only once /local/omap3-linux-camera-driver/arch/arm/mach-omap2/board-ldp- camera.c:89:
error: for each function it appears in.)

Quoted 2 lines

Looking at the code, it seems that some pieces are missing - merge problem maybe?

Hi Gary,

Quoted 8 lines
Quoted 1 line

I'm currently on the process to rebase and verify all this code on

3430SDP, Zoom1 and soon Zoom2.

Quoted 5 lines

Here you can find my progress:

http://dev.omapzoom.org/?p=saaguirre/linux-omap-camera.git;a=summary

Check devel branch, which contains all latest Sakari's tree patches

(http://gitorious.org/omap3camera) rebased on top of latest Kevin's l-o

PM

Quoted 4 lines

tree, plus the patches, which are still in works, to make the above mentioned platforms to work.

Quoted 1 line

I'm first trying to make 3430SDP work, don't have a Zoom1/Zoom2 handy

right now...

Quoted 8 lines
Quoted 1 line

My gitorious tree will eventually disappear, as I can work better with

this new one.

Quoted 1 line

I'll consolidate some patches when this sensor code is ready, and will

CC you if interested.
Thanks. I've already checked out this tree and at least it builds for the Zoom (I have one here). Is this in a state where I can test it for you? What do you use to capture video from the sensor?

I normally use a small test binary I wrote which saves the captured frames to memory, so later I can see them with either IrfanView (when capturing RAW images) or PYUV for seeing the YUV422 images.

Quoted 6 lines
Quoted 2 lines

You should be able to use any standard V4l2 capturing application anyways.

Btw, any contribution would be completely welcome. Either on Testing or on development. :)

Thanks for your interest in helping.

I've built for the Zoom, now I just need to figure out how to capture the data. I'll let you know if I have any questions or problems.

Thanks

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------