From: "stanley.miao" <stanley.miao@windriver.com>
To: "Aguirre Rodriguez, Sergio Alberto" <saaguirre@ti.com>
Cc: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>,
"Tuukka.O Toivonen" <tuukka.o.toivonen@nokia.com>,
Hiroshi DOYU <Hiroshi.DOYU@nokia.com>,
"DongSoo(Nathaniel) Kim" <dongsoo.kim@gmail.com>,
MiaoStanley <stanleymiao@hotmail.com>,
"Nagalla, Hari" <hnagalla@ti.com>,
"Hiremath, Vaibhav" <hvaibhav@ti.com>,
"Lakhani, Amish" <amish@ti.com>, "Menon, Nishanth" <nm@ti.com>
Subject: Re: [PATCH 5/5] LDP: Add support for built-in camera
Date: Thu, 26 Mar 2009 16:00:06 +0800 [thread overview]
Message-ID: <49CB3606.6030909@windriver.com> (raw)
In-Reply-To: <A24693684029E5489D1D202277BE89442E53A3CC@dlee02.ent.ti.com>
Aguirre Rodriguez, Sergio Alberto wrote:
>
>> -----Original Message-----
>> From: stanley.miao [mailto:stanley.miao@windriver.com]
>> Sent: Tuesday, March 10, 2009 3:04 AM
>> To: Aguirre Rodriguez, Sergio Alberto
>> Cc: linux-media@vger.kernel.org; linux-omap@vger.kernel.org; Sakari Ailus;
>> Tuukka.O Toivonen; Hiroshi DOYU; DongSoo(Nathaniel) Kim; MiaoStanley;
>> Nagalla, Hari; Hiremath, Vaibhav; Lakhani, Amish; Menon, Nishanth
>> Subject: RE: [PATCH 5/5] LDP: Add support for built-in camera
>>
>> On Mon, 2009-03-09 at 15:24 -0500, Aguirre Rodriguez, Sergio Alberto
>> wrote:
>>
>> <snip>
>> out
>>
>>>> when I run my test program.
>>>>
>>>> <3>CSI2: ComplexIO Error IRQ 80
>>>> CSI2: ComplexIO Error IRQ 80
>>>> <3>CSI2: ComplexIO Error IRQ c2
>>>> CSI2: ComplexIO Error IRQ c2
>>>> <3>CSI2: ComplexIO Error IRQ c2
>>>> CSI2: ComplexIO Error IRQ c2
>>>> <3>CSI2: ComplexIO Error IRQ c6
>>>> CSI2: ComplexIO Error IRQ c6
>>>> <3>CSI2: ECC correction failed
>>>> CSI2: ECC correction failed
>>>> <3>CSI2: ComplexIO Error IRQ 6
>>>> CSI2: ComplexIO Error IRQ 6
>>>> <3>CSI2: ComplexIO Error IRQ 6
>>>> CSI2: ComplexIO Error IRQ 6
>>>> <3>CSI2: ComplexIO Error IRQ 6
>>>> CSI2: ComplexIO Error IRQ 6
>>>> <3>CSI2: ComplexIO Error IRQ 6
>>>> CSI2: ComplexIO Error IRQ 6
>>>>
>>>>
>>> Oops, my mistake. Missed to add that struct there... Fixed now.
>>>
>>> About the CSI2 errors you're receiving... Which version of LDP are you
>>>
>> using? Which Silicon revision has (ES2.1 or ES3.0)?
>>
>> ZOOM1 board(LDP3430-VG1.0.0-1), omap3430 ES2.1.
>>
>> When I use your old version patch, sometimes the test succeed, sometimes
>> failed(no data was generated and no error). This version, always failed.
>>
>
> Stanley,
>
> I'm working on some CSI2 fixes that could help you with this..
>
> I'll keep you updated on this.
>
> Also, about your board version, it is possible that you'll need a HW modfix because of a redundant resistor in CSI2 datalanes. I'm in talks with some people at TI to prepare a ready to publish document about this rework.
>
> Zoom1 with ES3 silicon doesn't need this HW fix.
>
Hi, Sergio,
When I used your version in omapzoom tree, the camera worked sometimes.
So I think it's not HW's problem.
My test program is capture.c that I got from v4l2 spec and did some
modifications.
This is my test log:
root@localhost:/root> ./capture -d /dev/video4
select timeout
read_frame: Resource temporarily unavailable
select timeout
read_frame: Resource temporarily unavailable
^C
root@localhost:/root> ./capture -d /dev/video4
Got 20 frames data, success.
root@localhost:/root> ./capture -d /dev/video4
CSI2: ECC correction failed
CSI2: Short packet receive error
CSI2: ECC correction failed
CSI2: Short packet receive error
CSI2: ECC correction failed
CSI2: Short packet receive error
CSI2: ECC correction failed
CSI2: Short packet receive error
CSI2: ECC correction failed
CSI2: Short packet receive error
CSI2: ECC correction failed
CSI2: Short packet receive error
CSI2: ECC correction failed
select timeout
read_frame: Resource temporarily unavailable
select timeout
read_frame: Resource temporarily unavailable
select timeout
read_frame: Resource temporarily unavailable
select timeout
read_frame: Resource temporarily unavailable
^C
"select timeout" means that no data was generated.
Stanley.
> I'll hope to get back to you about this next week.
>
> Regards,
> Sergio
>
>
>> Thanks.
>> Stanley.
>>
>>
>>> Regards,
>>> Sergio
>>>
>>>> Stanley.
>>>>
>
>
>
prev parent reply other threads:[~2009-03-26 7:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-03 20:44 [PATCH 5/5] LDP: Add support for built-in camera Aguirre Rodriguez, Sergio Alberto
2009-03-03 21:40 ` Curran, Dominic
2009-03-04 22:41 ` Aguirre Rodriguez, Sergio Alberto
2009-03-05 3:20 ` stanley.miao
2009-03-09 20:24 ` Aguirre Rodriguez, Sergio Alberto
2009-03-10 9:03 ` stanley.miao
2009-03-13 21:01 ` Aguirre Rodriguez, Sergio Alberto
2009-03-26 8:00 ` stanley.miao [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49CB3606.6030909@windriver.com \
--to=stanley.miao@windriver.com \
--cc=Hiroshi.DOYU@nokia.com \
--cc=amish@ti.com \
--cc=dongsoo.kim@gmail.com \
--cc=hnagalla@ti.com \
--cc=hvaibhav@ti.com \
--cc=linux-media@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=nm@ti.com \
--cc=saaguirre@ti.com \
--cc=sakari.ailus@maxwell.research.nokia.com \
--cc=stanleymiao@hotmail.com \
--cc=tuukka.o.toivonen@nokia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).