Skip to contentSkip to conversation

Missing first 4 frames

DISCUSSION halli manjunatha 3 participants 3 messages Feb 4, 2009 – Feb 5, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi ,
I am working on omap3 custom board and using the TI's camera patches
on 2.6.28 kernel and the problem is that first 4 frames are coming 1/4 of HVGA but i am capturing HVGA images. after 4 frames everything is normal.

I don't wether it is the right list to say this problem, please guid
me where to look, following is my register dump

###CM_FCLKEN_CAM=0x3
###CM_ICLKEN_CAM=0x1
###CM_CLKSEL_CAM=0x4
###CM_AUTOIDLE_CAM=0x1
###CM_CLKEN_PLL[18:16] should be 0x7, = 0x90371037 ###CM_CLKSEL2_PLL[18:8] should be 0x2D, [6:0] should be 1 = 0x1b00c ###CTRL_PADCONF_CAM_HS=0x1080108 ###CTRL_PADCONF_CAM_XCLKA=0x1080108 ###CTRL_PADCONF_CAM_D1=0x1000100 ###CTRL_PADCONF_CAM_D3=0x1080100 ###CTRL_PADCONF_CAM_D5=0x1080108 ###CTRL_PADCONF_CAM_D7=0x1080108 ###CTRL_PADCONF_CAM_D9=0x1080108 ###CTRL_PADCONF_CAM_D11=0x108
###ISP_CTRL=0x3bf188
###ISP_TCTRL_CTRL=0x9
###ISP_SYSCONFIG=0x2000
###ISP_SYSSTATUS=0x1
###ISP_IRQ0ENABLE=0x90000300
###ISP_IRQ0STATUS=0x0
###CCDC PCR=0x1
ISP_CTRL =0x3bf188
###ISP_CTRL in ccdc =0x3bf188
###ISP_IRQ0ENABLE in ccdc =0x90000300
###ISP_IRQ0STATUS in ccdc =0x0
###CCDC SYN_MODE=0x31700
###CCDC HORZ_INFO=0x13f
###CCDC VERT_START=0x0
###CCDC VERT_LINES=0x1df
###CCDC CULLING=0xffff00ff
###CCDC HSIZE_OFF=0x280
###CCDC SDOFST=0x0
###CCDC SDR_ADDR=0x4000000
###CCDC CLAMP=0x10
###CCDC COLPTN=0x0
###CCDC CFG=0x8000
###CCDC VP_OUT=0x0
###CCDC_SDR_ADDR= 0x4000000
###CCDC FMTCFG=0x4000
###CCDC FMT_HORZ=0x0
###CCDC FMT_VERT=0x0
###CCDC LSC_CONFIG=0x6600
###CCDC LSC_INIT=0x0
###CCDC LSC_TABLE BASE=0x0
###CCDC LSC TABLE OFFSET=0x0

Thanks in advance

Signature · 7 lines
Regards

Hall
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
#1 lore raw
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:video4linux-list- [email protected]] On Behalf Of halli manjunatha
Sent: Wednesday, February 04, 2009 6:37 AM
To: [email protected]
Subject: Missing first 4 frames

Quoted 5 lines

Hi ,
I am working on omap3 custom board and using the TI's camera
patches
on 2.6.28 kernel and the problem is that first 4 frames are coming 1/4 of HVGA but i am capturing HVGA images. after 4 frames everything is normal.

Hi,

(Looping linux-omap ML, and replacing v4l with linux-media ML)

I have some questions for you:

- The camera sensor you are using, is it:
- Interfaced to OMAP through: Parallel, CCP2, or CSI2?
- Raw (without internal ISP: Image Signal Processing) or smart (With ISP)
- Which pixel format are you requesting?

- Which patchset did you use? The ones submitted on:
- 12 Jan 2009 or
- 12 Dec 2008

- The frames you're getting are stored with a wrong filesize? Or you're getting an incomplete frame?

- Can you describe me the steps you take for capturing (if its possible, your V4L2 test app source)

Regards,
Sergio

Quoted 60 lines

I don't wether it is the right list to say this problem, please guid
me where to look, following is my register dump

###CM_FCLKEN_CAM=0x3
###CM_ICLKEN_CAM=0x1
###CM_CLKSEL_CAM=0x4
###CM_AUTOIDLE_CAM=0x1
###CM_CLKEN_PLL[18:16] should be 0x7, = 0x90371037 ###CM_CLKSEL2_PLL[18:8] should be 0x2D, [6:0] should be 1 = 0x1b00c ###CTRL_PADCONF_CAM_HS=0x1080108 ###CTRL_PADCONF_CAM_XCLKA=0x1080108 ###CTRL_PADCONF_CAM_D1=0x1000100 ###CTRL_PADCONF_CAM_D3=0x1080100 ###CTRL_PADCONF_CAM_D5=0x1080108 ###CTRL_PADCONF_CAM_D7=0x1080108 ###CTRL_PADCONF_CAM_D9=0x1080108 ###CTRL_PADCONF_CAM_D11=0x108
###ISP_CTRL=0x3bf188
###ISP_TCTRL_CTRL=0x9
###ISP_SYSCONFIG=0x2000
###ISP_SYSSTATUS=0x1
###ISP_IRQ0ENABLE=0x90000300
###ISP_IRQ0STATUS=0x0
###CCDC PCR=0x1
ISP_CTRL =0x3bf188
###ISP_CTRL in ccdc =0x3bf188
###ISP_IRQ0ENABLE in ccdc =0x90000300
###ISP_IRQ0STATUS in ccdc =0x0
###CCDC SYN_MODE=0x31700
###CCDC HORZ_INFO=0x13f
###CCDC VERT_START=0x0
###CCDC VERT_LINES=0x1df
###CCDC CULLING=0xffff00ff
###CCDC HSIZE_OFF=0x280
###CCDC SDOFST=0x0
###CCDC SDR_ADDR=0x4000000
###CCDC CLAMP=0x10
###CCDC COLPTN=0x0
###CCDC CFG=0x8000
###CCDC VP_OUT=0x0
###CCDC_SDR_ADDR= 0x4000000
###CCDC FMTCFG=0x4000
###CCDC FMT_HORZ=0x0
###CCDC FMT_VERT=0x0
###CCDC LSC_CONFIG=0x6600
###CCDC LSC_INIT=0x0
###CCDC LSC_TABLE BASE=0x0
###CCDC LSC TABLE OFFSET=0x0

Thanks in advance
--
Regards

Hall
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#2 lore raw
In reply to halli manjunatha
Quoted 4 lines · halli manjunatha

Hi ,
I am working on omap3 custom board and using the TI's camera patches
on 2.6.28 kernel and the problem is that first 4 frames are coming 1/4 of HVGA but i am capturing HVGA images. after 4 frames everything is normal.

I would start looking the problem from the sensor side first, unless you already have done it. I haven't seen anything like this not depending on sensor on OMAP 3 ISP.

If this is happening only with newer version of drivers then my guess is that it's because there was a change that reverted the order in which the ISP and sensor were started. Earlier the sensor was started first, now it's the ISP (which is generally correct).

Regards,

Signature · 7 lines
Sakari Ailus
[email protected]

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list