On 26/05/11 19:24, javier Martin wrote:

> On 25 May 2011 15:38, Koen Kooi <k...@beagleboard.org> wrote:
>> >
>> > Op 25 mei 2011, om 13:16 heeft Javier Martin het volgende geschreven:
>> >
>>> >> It includes several fixes pointed out by Laurent Pinchart. However,
>>> >> the BUG which shows artifacts in the image (horizontal lines) still
>>> >> persists. It won't happen if 1v8 regulator is not disabled (i.e.
>>> >> comment line where it is disabled in function "mt9p031_power_off").
>>> >> I know there can be some other details to fix but I would like someone
>>> >> could help in the power management issue.
>> >
>> > I tried this + your beagle patch on 2.6.39 and both ISP and sensor being 
>> > builtin to the kernel, I get the following:
>> >
>> > root@beagleboardxMC:~# media-ctl -r -l '"mt9p031 2-0048":0->"OMAP3 ISP 
>> > CCDC":0[1 ], "OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]'
>> > Resetting all links to inactive
>> > Setting up link 16:0 -> 5:0 [1]
>> > Setting up link 5:1 -> 6:0 [1]
>> >
>> > root@beagleboardxMC:~# media-ctl -f '"mt9p031 2-0048":0[SGRBG12 320x240], 
>> > "OMAP3  ISP CCDC":0[SGRBG8 320x240], "OMAP3 ISP CCDC":1[SGRBG8 320x240]'
>> > Setting up format SGRBG12 320x240 on pad mt9p031 2-0048/0
>> > Format set: SGRBG12 320x240
>> > Setting up format SGRBG12 320x240 on pad OMAP3 ISP CCDC/0
>> > Format set: SGRBG12 320x240
>> > Setting up format SGRBG8 320x240 on pad OMAP3 ISP CCDC/0
>> > Format set: SGRBG8 320x240
>> > Setting up format SGRBG8 320x240 on pad OMAP3 ISP CCDC/1
>> > Format set: SGRBG8 320x240
>> >
>> > oot@beagleboardxMC:~# yavta -f SGRBG8 -s 320x240 -n 4 --capture=10 --skip 
>> > 3 -F  `media-ctl -e "OMAP3 ISP CCDC output"`
>> > Device /dev/video2 opened.
>> > Device `OMAP3 ISP CCDC output' on `media' is a video capture device.
>> > Video format set: SGRBG8 (47425247) 320x240 buffer size 76800
>> > Video format: SGRBG8 (47425247) 320x240 buffer size 76800
>> > 4 buffers requested.
>> > length: 76800 offset: 0
>> > Buffer 0 mapped at address 0x4030d000.
>> > length: 76800 offset: 77824
>> > Buffer 1 mapped at address 0x40330000.
>> > length: 76800 offset: 155648
>> > Buffer 2 mapped at address 0x4042d000.
>> > length: 76800 offset: 233472
>> > Buffer 3 mapped at address 0x40502000.
>> > [ 4131.459930] omap3isp omap3isp: CCDC won't become idle!
> Please, test it again using new RFC v3 I've just submitted.
> I have personally tested it against kernel 2.6.39 with the following
> .config file:

Hi,

No improvements here for me with v3.
Still:

# yavta --stdout -f SGRBG8 -s 320x240 -n 4 --capture=100 --skip 3 -F `media-ctl 
-e "OMAP3 ISP CCDC output"` | nc 10.1.1.16 3000
Device /dev/video2 opened.
Device `OMAP3 ISP CCDC output' on `media' is a video capture device.
Video format set: width: 320 height: 240 buffer size: 76800
Video format: GRBG (47425247) 320x240
4 buffers requested.
length: 76800 offset: 0
Buffer 0 mapped at address 0x400d8000.
length: 76800 offset: 77824
Buffer 1 mapped at address 0x40292000.
length: 76800 offset: 155648
Buffer 2 mapped at address 0x40345000.
length: 76800 offset: 233472
Buffer 3 mapped at address 0x40377000.

Will wait and see if Koen finds anything.

Cheers,
Chris

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

Reply via email to