HI! Currently we were testing OV5640 CMOS sensor and conect it to VIP0 capture port,camera work with 8 bit discrete SYNC mode,we can well capture 352x288,320x240,1280x720,1920x1080 and so on resolutions ,but except 640x480, everytime when we capture a few frames, it cause a Oops kernel crash as follow (Please visit the site to view this file)(LR addr is kernel/notifier.c line 95 if (nr_calls)) 。Even we test another CMOS sensor(GC2035),it also cause this problem.
we use EZSDK_05_02 kernel linux-2.6.37-psp04.04.00.01,apply 5 patchs from http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/186865/675884.aspx and also modify maxOutHeight/maxOutWidth configs as flow:
#if 0
out_stream_info->maxOutHeight = VPS_CAPT_MAX_OUT_HEIGHT_UNLIMITED;
out_stream_info->maxOutWidth = VPS_CAPT_MAX_OUT_WIDTH_UNLIMITED;
#else
//width zeng
if(inst->buf_obj.fmt.fmt.pix.width<=352)
out_stream_info->maxOutWidth = VPS_CAPT_MAX_OUT_WIDTH_352_PIXELS;
else if(inst->buf_obj.fmt.fmt.pix.width<=768)
out_stream_info->maxOutWidth = VPS_CAPT_MAX_OUT_WIDTH_768_PIXELS;
else if(inst->buf_obj.fmt.fmt.pix.width<=1280)
out_stream_info->maxOutWidth = VPS_CAPT_MAX_OUT_WIDTH_1280_PIXELS;
else if(inst->buf_obj.fmt.fmt.pix.width<=1920)
out_stream_info->maxOutWidth = VPS_CAPT_MAX_OUT_WIDTH_1920_PIXELS;
else
out_stream_info->maxOutWidth = VPS_CAPT_MAX_OUT_WIDTH_UNLIMITED;
//height zeng
if(inst->buf_obj.fmt.fmt.pix.height<=288)
out_stream_info->maxOutHeight = VPS_CAPT_MAX_OUT_HEIGHT_288_LINES;
else if(inst->buf_obj.fmt.fmt.pix.height<=576)
out_stream_info->maxOutHeight = VPS_CAPT_MAX_OUT_HEIGHT_576_LINES;
else if(inst->buf_obj.fmt.fmt.pix.height<=720)
out_stream_info->maxOutHeight = VPS_CAPT_MAX_OUT_HEIGHT_720_LINES;
else if(inst->buf_obj.fmt.fmt.pix.height<=1080)
out_stream_info->maxOutHeight = VPS_CAPT_MAX_OUT_HEIGHT_1080_LINES;
else
out_stream_info->maxOutHeight = VPS_CAPT_MAX_OUT_HEIGHT_UNLIMITED;
#endif
can somebody help solve this problem or give me some advice? thanks!