RE: davinci: DA850: GLCD support
Hi Francis, Basically, you are trying to rotate image by 90. Can you check you LCD to see if it supports these kind of rotated timing parameters? If it does not, you will have to take care of rotating input image in the application. Thanks, Brijesh Jadav From: davinci-linux-open-source-bounces+brijesh.j=ti@linux.davincidsp.com [davinci-linux-open-source-bounces+brijesh.j=ti@linux.davincidsp.com] On Behalf Of francis kumar [franciskumar2...@gmail.com] Sent: Wednesday, July 27, 2011 3:55 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: davinci: DA850: GLCD support Hi, The LCD i used here as Sharp - 480*272. HEIGHT is 272, Width is 480. Now i can see the image on GLCD in Landscape mode. I want to change my LCD orientation in Portriat mode permanently. I modified timing parameters in linux-xx.xx./drivers/video/da8xx-fb.c as follow. /* Sharp LK043T1DG01 */ [1] = { .name = Sharp_LK043T1DG01, .width = 272, .height = 480, .hfp = 3, .hbp = 3, .hsw = 10, .vfp = 2, .vbp = 2, .vsw = 41, .pxl_clk = 7833600, .invert_pxl_clk = 0, }, But i am not able to see my image in Portriat orientation. please any one can suggest and solve my issues. Regards, Francis ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: davinci: DA850: GLCD support
Hi francis, This is actually console rotation, Linux console driver takes care of rotating you console. This does not rotate your normal frame buffer. Actually the underlying fb driver is totally ignorant of console rotation. I think there are some boot time parameters, you can use them to rotate your console. See if below text helps. 4. fbcon=rotate:n This option changes the orientation angle of the console display. The value 'n' accepts the following: 0 - normal orientation (0 degree) 1 - clockwise orientation (90 degrees) 2 - upside down orientation (180 degrees) 3 - counterclockwise orientation (270 degrees) The angle can be changed anytime afterwards by 'echoing' the same numbers to any one of the 2 attributes found in /sys/class/graphics/fbcon rotate - rotate the display of the active console rotate_all - rotate the display of all consoles Console rotation will only become available if Console Rotation Support is compiled in your kernel. Thanks, Brijesh Jadav From: francis kumar [franciskumar2...@gmail.com] Sent: Friday, July 29, 2011 3:13 AM To: Jadav, Brijesh R Subject: Re: davinci: DA850: GLCD support Hi Brijesh, Thanks for your mail. Basically my default GLCD settings are in Landscape(Display 480(W)x272(H)). I am able to rotate the image in portrait orientation(270) using echo 3 /sys/class/graphics/fbcon/rotate_all command. Once it restart my target again it goes to default mode. We are developing our own customized Qt application. I want to viewport size as always in portrait mode. Any driver changes or something we can modify it in scripts. Please suggest me. Thanks, Francis On Fri, Jul 29, 2011 at 1:27 PM, Jadav, Brijesh R brijes...@ti.commailto:brijes...@ti.com wrote: Hi Francis, Basically, you are trying to rotate image by 90. Can you check you LCD to see if it supports these kind of rotated timing parameters? If it does not, you will have to take care of rotating input image in the application. Thanks, Brijesh Jadav From: davinci-linux-open-source-bounces+brijesh.j=ti.comhttp://ti.com@linux.davincidsp.comhttp://linux.davincidsp.com [davinci-linux-open-source-bounces+brijesh.j=ti.comhttp://ti.com@linux.davincidsp.comhttp://linux.davincidsp.com] On Behalf Of francis kumar [franciskumar2...@gmail.commailto:franciskumar2...@gmail.com] Sent: Wednesday, July 27, 2011 3:55 AM To: davinci-linux-open-source@linux.davincidsp.commailto:davinci-linux-open-source@linux.davincidsp.com Subject: davinci: DA850: GLCD support Hi, The LCD i used here as Sharp - 480*272. HEIGHT is 272, Width is 480. Now i can see the image on GLCD in Landscape mode. I want to change my LCD orientation in Portriat mode permanently. I modified timing parameters in linux-xx.xx./drivers/video/da8xx-fb.c as follow. /* Sharp LK043T1DG01 */ [1] = { .name = Sharp_LK043T1DG01, .width = 272, .height = 480, .hfp = 3, .hbp = 3, .hsw = 10, .vfp = 2, .vbp = 2, .vsw = 41, .pxl_clk = 7833600, .invert_pxl_clk = 0, }, But i am not able to see my image in Portriat orientation. please any one can suggest and solve my issues. Regards, Francis ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: How to control the contrast saturation of tvp7002
Hi, As far as I remember, TVP7002 does not support any other controls, so driver returns error for contrast/saturation. Thx, Brijesh From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of armstrong james Sent: Wednesday, June 02, 2010 7:47 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: How to control the contrast saturation of tvp7002 Hello all, I'm using dm6467 and lsp1.3 . In tvp7002.c, I only found the relation code that was used to initialize the brightness of tvp7002. In the encode application, I added some ioctl code and wanted to control the contrast brightness saturation of tvp7002. The code is as below: struct v4l2_control ctrl; if(type == 1) ctrl.idhttp://ctrl.id = V4L2_CID_CONTRAST; else if(type == 2) ctrl.idhttp://ctrl.id = V4L2_CID_SATURATION; ctrl.value = value; ioctl(hCapture-fd, VIDIOC_S_CTRL, ctrl); but the return value of ioctl was -1,so the handling was fail. Could you tell me how to control the contrast brightness saturation of tvp7002? thank you. best regards. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: How to use VPFE as YUV interface in DM6446?
Hi, VPFE supports YUV422 format. What do you mean by generic YUV format? Thx, Brijesh From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of shaofeng zhang Sent: Friday, May 21, 2010 1:44 PM To: davinci-linux-open-source@linux.davincidsp.com Subject: How to use VPFE as YUV interface in DM6446? Hi, all, I want to use the VPFE as generic YUV configration format in DM6446, and my program is running in Linux, So could anyone tell me how to append the davinci_vpfe.c or other files in Linux driver? Thank you~~ -- Best Regards! zhangshaofeng @Xi'an JiaoTong University ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: davinci resizer output quality is bad
Are you changing scalar coefficients for downscaling? Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Yuvraj Pasi Sent: Friday, February 05, 2010 5:51 PM To: davinci-linux-open-source@linux.davincidsp.com Subject: davinci resizer output quality is bad Hi, We are using our custom made board with DM6446 on which i am resizing an composite input image 720x576 to 192x160. My problem is that the output quality is very bad. i am not seeing that problem when i try to resize a smaller image to larger size the quality of image is ok but whenever i am resizing larger image to smaller size the quality of image degrades Any suggestions... -- Thanks regards yuvraj pasi ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: DM6467 component out-NO SYNC
Hi, Are you saying Dumped decoded streams works correctly on software players? If it works, I think there is some timing parameters mismatch. Which mode are you using for the display? Does your TV support the mode you are trying to display? Thanks, Brijesh Jadav -Original Message- From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Jaya krishnan Sent: Friday, January 22, 2010 7:36 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: DM6467 component out-NO SYNC I am working on an application based on DM6467. I need to display the H264 decoded stream on a component display. The display is not steady, in the sense that it scrolls vertically often, and the display equipment shows a NO SYNC sign at that time. I understand that the the problem is due to lack of SYNC signal. But why this happens only to this stream? The stream can be decoded and displayed in software players. Any help would be greatly appreciated. Thanks regards JK Jayakrishnan M M Research Engineer Key Systems Development Group Security Imaging Solutions Division SAMSUNG TECHWIN CO.,LTD TEL +82-2-3467-7403 FAX +82-2-3467-7316 Mobile +82-10-6409-3619 E-mail:jaya.krish...@samsung.com ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Regarding Resize operation
Hi Sameer, You can have lineLength mode than width*2 to make it 32 byte aligned. Thanks, Brijesh Jadav -Original Message- From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Sameer Naik Sent: Thursday, January 07, 2010 2:36 PM To: davinci-linux-open-source@linux.davincidsp.com; Discussion of the development of GStreamer Subject: Regarding Resize operation Hello, I have been facing a few issues using the resizer (davinci_resizer). I have a video that is decoded using the XDM VIDDEC 0.9 API calls and reports a resolution of 294x240 through the VIDDEC_Status output structure. I am using the dmai api to perform the resize operation. That is to say that, DMAI will dynamically calculate the resize coefficients for the resize operation. The Resized image size that i want is 1024x768. To do this i specify the following: srcImage.x = 0; srcImage.y = 0; srcImage.width = 294; srcImage.height = 240; srcImage.lineLength = 294* 2; dstImage.x = 0; dstImage.y = 0; dstImage.width = 1024; dstImage.height = 768; dstImage.lineLength = 1024 * 2; When the resize operation is configured using Resize_config(). I get the following error: Src (588) and dst (2048) must be aligned on 32 bytes This clearly states that srcImage.lineLength = 588; is not aligned on 32 bytes. How can i handle this case? I dont think i can specify a srcImage.lineLength anything orther than 294* 2 right. This is is always present when the width and height of the decoded video are not a multiple of 16. I am not aware of how i can handle this case. Please help Regards ~Sameer ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: 720p on DM6446
Hi, Sometimes, display overscans image and crops image. I had seen this in some of the TVs. It can be disabled in some TVs. Can you try disabling overscaning on TV and see if it is still there? Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Stephane Cerveau [scerv...@awox.com] Sent: Monday, December 14, 2009 9:35 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: 720p on DM6446 Hi all, Does anyone ever use the DaVinci to display a UI in 720p (1280 x 720) with an HDMI transmitter? I encounter an issue, where I miss around 60 columns(overscan 40 pixel on left and 20 on the right) . I miss also 40 lines(30 up and 10 down). I would like to know if anybody can provide me his configuration or memory dump of VPSS, VPBE,VENC and OSD regs for 720p? Best regards. Stéphane. __ Information from ESET NOD32 Antivirus, version of virus signature database 4686 (20091214) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: How to deinterlace on dm6467 for D1 videos ?
Hi, It is not possible to do deinterlacing in VDCE as it can only do down scaling. Thanks, Brijesh -Original Message- From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of yang shaobo Sent: Friday, August 28, 2009 10:40 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: How to deinterlace on dm6467 for D1 videos ? I am using dm6467 to encode D1 videos ( captured from TVP5147 ). I know that the resizer of dm6446 and the IPIPE of dm355 can do simple deinterlacing for videos. Can the VDCE module of dm6467 do the similar thing ? Thanks. Best regards. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: 8-bit planar support for Resizer
Hi, As I said, driver does support planar YUV422 resize. This is correct parameters. Error is because of some other wrong parameter. It will resize RGB planar data as well but I am not sure about quality of the output since Resizer is for the YUV422 scaling. Thanks, Brijesh Jadav -Original Message- From: Nitin Mahajan [mailto:nitin...@yahoo.com] Sent: Monday, August 03, 2009 10:08 AM To: Jadav, Brijesh R; Vladimir Pantelic; davinci-linux-open-source@linux.davincidsp.com Cc: davinci-linux-open-source@linux.davincidsp.com Subject: Re: 8-bit planar support for Resizer HI! Does that mean, if I am trying to pass say a color separated R or G or B frame, the driver wont be able to process that? As of now I tried doing that, by setting params.pix_fmt= RSZ_PIX_FMT_PLANAR; params.inptyp = RSZ_INTYPE_PLANAR_8BIT; The IOCTL RSZ_S_PARAM fails. I wish to scale up / down a RGB image(using DM6443 resizer) after doing a color separation. Could you please guide me towards a way to achieve that? regards -Nitin - Original Message From: Jadav, Brijesh R brijes...@ti.com To: Vladimir Pantelic p...@nt.tu-darmstadt.de; davinci-linux-open-source@linux.davincidsp.com davinci-linux-open-source@linux.davincidsp.com Cc: davinci-linux-open-source@linux.davincidsp.com davinci-linux-open-source@linux.davincidsp.com Sent: Friday, July 31, 2009 17:50:42 Subject: RE: 8-bit planar support for Resizer Hi, Driver supports planar Resizer but no in the RGB format. Resizer supports planar YUV422 scaling. Thanks, Brijesh Jadav -Original Message- From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Vladimir Pantelic Sent: Friday, July 31, 2009 5:44 PM To: davinci-linux-open-source@linux.davincidsp.com Cc: davinci-linux-open-source@linux.davincidsp.com Subject: Re: 8-bit planar support for Resizer Nitin Mahajan wrote: HI! Does the Davinci Resizer driver supports, RGB 8-bit color separated input data? don't know about the driver, but the resizer HW does support 8 bit resize, so a 3-pass will resize separated components... ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source Get your new Email address! Grab the Email name you#39;ve always wanted before someone else does! http://mail.promotions.yahoo.com/newdomains/aa/ ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: 8-bit planar support for Resizer
I don't agree that YUV and RGB scaling are same. Luma contains gray scale information and chroma contains color information. Where as in RGB, each of these components contains color as well as other information. Thanks, Brijesh Jadav -Original Message- From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Vladimir Pantelic Sent: Tuesday, August 04, 2009 1:16 PM To: davinci-linux-open-source@linux.davincidsp.com Cc: davinci-linux-open-source@linux.davincidsp.com Subject: Re: 8-bit planar support for Resizer Jadav, Brijesh R wrote: Hi, As I said, driver does support planar YUV422 resize. This is correct parameters. Error is because of some other wrong parameter. It will resize RGB planar data as well but I am not sure about quality of the output since Resizer is for the YUV422 scaling. Quality is OK, I see no reason for a difference between resizing the 8bit Y of YUV and the 8bit R, G or B of RGB... ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: saDisplay + DM6467 showing black an white image in SD Display
Hi, As far as I remember, this application does not work the sample image. Application actually generates color bar and displays it. Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of kirthika varadarajan Sent: Friday, July 31, 2009 3:28 PM To: Davinci-linux-open-source@linux.davincidsp.com Subject: saDisplay + DM6467 showing black an white image in SD Display We tried displaying yuv4::2:2(740x480) image in SD display using saDisplay(application sample ibn PSP), But we are getting black and white image even if we input color image. We tried the sample file given in PSP. But black. we are curious to know how to get the color SD display. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: 8-bit planar support for Resizer
Hi, Driver supports planar Resizer but no in the RGB format. Resizer supports planar YUV422 scaling. Thanks, Brijesh Jadav -Original Message- From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Vladimir Pantelic Sent: Friday, July 31, 2009 5:44 PM To: davinci-linux-open-source@linux.davincidsp.com Cc: davinci-linux-open-source@linux.davincidsp.com Subject: Re: 8-bit planar support for Resizer Nitin Mahajan wrote: HI! Does the Davinci Resizer driver supports, RGB 8-bit color separated input data? don't know about the driver, but the resizer HW does support 8 bit resize, so a 3-pass will resize separated components... ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: saDisplay + DM6467 showing black an white image in SD Display
Hi, What is the format of your YUV422 file? DM6467 supports only YUV422 Semi-Planar format. Thanks, Brijesh Jadav From: Vinayagam Mariappan [mailto:vinayagamenm...@gmail.com] Sent: Friday, July 31, 2009 5:57 PM To: Jadav, Brijesh R Cc: Davinci-linux-open-source@linux.davincidsp.com Subject: Re: saDisplay + DM6467 showing black an white image in SD Display Hi, Yes, I know... But I have modified to play with YUV422 sample. I get only Luma not chroma I am just fulling the buffer with YUV422 Data. Regards, Vinayagam M On Fri, Jul 31, 2009 at 9:19 PM, Jadav, Brijesh R brijes...@ti.commailto:brijes...@ti.com wrote: Hi, As far as I remember, this application does not work the sample image. Application actually generates color bar and displays it. Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.commailto:davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.commailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of kirthika varadarajan Sent: Friday, July 31, 2009 3:28 PM To: Davinci-linux-open-source@linux.davincidsp.commailto:Davinci-linux-open-source@linux.davincidsp.com Subject: saDisplay + DM6467 showing black an white image in SD Display We tried displaying yuv4::2:2(740x480) image in SD display using saDisplay(application sample ibn PSP), But we are getting black and white image even if we input color image. We tried the sample file given in PSP. But black. we are curious to know how to get the color SD display. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.commailto:Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source -- Regards, Vinayagam M VeNMSOL Technologies, #7A, First Cross Street, Ganapathy Colony, Ekkaduthangal, Chennai - 600 032,India. Tel:+91-44-4353 0168;Mobile:+91-9445-019919 URL: www.venmsol.comhttp://www.venmsol.com We make a living by what we get, we make a life by what we give...- Unknown ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: saDisplay + DM6467 showing black an white image in SD Display
Hi, DM6467 display module accepts data in the YUV422 semi-planar format. It is as shown below YUV422 = [][UVUVUVUVUV]. Probably, this is reason why you are not getting correct color information. Thanks,, Brijesh Jadav From: Vinayagam Mariappan [mailto:vinayagamenm...@gmail.com] Sent: Friday, July 31, 2009 6:08 PM To: Jadav, Brijesh R Cc: Davinci-linux-open-source@linux.davincidsp.com Subject: Re: saDisplay + DM6467 showing black an white image in SD Display Hi, YUV422 = [][U][V]. How about YUV420I have my own MPEG-4 Decoder which gives out YUV420 with D1 resolution. I am using TI Sample Application to Interface with our own MPEG-4 Decoder Server. I get my YUV data to application but I am not able to display it. Where do I making mistake? Regards, Vinayagam M On Fri, Jul 31, 2009 at 9:31 PM, Jadav, Brijesh R brijes...@ti.commailto:brijes...@ti.com wrote: Hi, What is the format of your YUV422 file? DM6467 supports only YUV422 Semi-Planar format. Thanks, Brijesh Jadav From: Vinayagam Mariappan [mailto:vinayagamenm...@gmail.commailto:vinayagamenm...@gmail.com] Sent: Friday, July 31, 2009 5:57 PM To: Jadav, Brijesh R Cc: Davinci-linux-open-source@linux.davincidsp.commailto:Davinci-linux-open-source@linux.davincidsp.com Subject: Re: saDisplay + DM6467 showing black an white image in SD Display Hi, Yes, I know... But I have modified to play with YUV422 sample. I get only Luma not chroma I am just fulling the buffer with YUV422 Data. Regards, Vinayagam M On Fri, Jul 31, 2009 at 9:19 PM, Jadav, Brijesh R brijes...@ti.commailto:brijes...@ti.com wrote: Hi, As far as I remember, this application does not work the sample image. Application actually generates color bar and displays it. Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.commailto:davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.commailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of kirthika varadarajan Sent: Friday, July 31, 2009 3:28 PM To: Davinci-linux-open-source@linux.davincidsp.commailto:Davinci-linux-open-source@linux.davincidsp.com Subject: saDisplay + DM6467 showing black an white image in SD Display We tried displaying yuv4::2:2(740x480) image in SD display using saDisplay(application sample ibn PSP), But we are getting black and white image even if we input color image. We tried the sample file given in PSP. But black. we are curious to know how to get the color SD display. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.commailto:Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source -- Regards, Vinayagam M VeNMSOL Technologies, #7A, First Cross Street, Ganapathy Colony, Ekkaduthangal, Chennai - 600 032,India. Tel:+91-44-4353 0168;Mobile:+91-9445-019919 URL: www.venmsol.comhttp://www.venmsol.com We make a living by what we get, we make a life by what we give...- Unknown -- Regards, Vinayagam M VeNMSOL Technologies, #7A, First Cross Street, Ganapathy Colony, Ekkaduthangal, Chennai - 600 032,India. Tel:+91-44-4353 0168;Mobile:+91-9445-019919 URL: www.venmsol.comhttp://www.venmsol.com We make a living by what we get, we make a life by what we give...- Unknown ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: LSP 2.10 Previewer hung on preview task
Hi, Can you check whether H3A is enabled in the Kernel and CCDC output for H3A is enabled? As far as I remember, there was some issue with the H3A and previewer. When H3A is enabled, previewer stops giving interrupts. Can you check whether previewer interrupts are coming properly? You can check it by printing /proc/interrupts file. There should an entry for the previewer in this file and it should be incrementing if interrupts are coming properly. If interrupt is not coming, previewer will wait for the interrupt and will not come out of it Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Ondrej Pindroch Sent: Monday, July 06, 2009 7:47 PM To: davinci-linux-open-source Subject: LSP 2.10 Previewer hung on preview task Hi Do someone have tested davinci_previewer from LSP 2.10 on DVEVM DM6446. I have made one test with one frame and all was ok. But when use previewer for stream from MT9P031 board. It hung on IOCTL - PREV_PREVIEW. I have put some printk() in driver. All is ok till: wait_for_completion_interruptible((device-wfc)); It hung. All other threads are runnig, but I am not able to end whole applicatio, because of this one thread. Please suggest what could be problem. Ondrej Pindroch SoftHard Technology ltd. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: LSP 2.10 Previewer hung on preview task
Hi, You can check by doing telnet to the board and check the previewer interrupts if Linux kernel is not hung. Are you able to come out of the application by pressing Ctrl+c? If it is not coming out, something is getting corrupted. You may want to dump Previewer registers and check whether they are corrupted or not. Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Ondrej Pindroch Sent: Tuesday, July 07, 2009 6:09 PM To: davinci-linux-open-source Subject: RE: LSP 2.10 Previewer hung on preview task Thaks this could be a problem. I have changed - wait_for_completion_interruptible((device-wfc)); + wait_for_completion_interruptible_timeout((device-wfc), ); But with any success it hung somewhere else. However I will check the H3A Print /proc/interupts is impossible, because when it hungs, it hungs totaly. I have no way to do anything. Only to restart whole system. Ondrej Pindroch SoftHard Technology ltd. Tel: +421(2)65459327 Fax: +421(2)65459329 Mobile:+421(904)906011 -Original Message- From: Jadav, Brijesh R brijes...@ti.com To: Ondrej Pindroch opindr...@softhard.sk, davinci-linux-open-source davinci-linux-open-source@linux.davincidsp.com Date: Tue, 7 Jul 2009 12:22:44 +0530 Subject: RE: LSP 2.10 Previewer hung on preview task Hi, Can you check whether H3A is enabled in the Kernel and CCDC output for H3A is enabled? As far as I remember, there was some issue with the H3A and previewer. When H3A is enabled, previewer stops giving interrupts. Can you check whether previewer interrupts are coming properly? You can check it by printing /proc/interrupts file. There should an entry for the previewer in this file and it should be incrementing if interrupts are coming properly. If interrupt is not coming, previewer will wait for the interrupt and will not come out of it Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Ondrej Pindroch Sent: Monday, July 06, 2009 7:47 PM To: davinci-linux-open-source Subject: LSP 2.10 Previewer hung on preview task Hi Do someone have tested davinci_previewer from LSP 2.10 on DVEVM DM6446. I have made one test with one frame and all was ok. But when use previewer for stream from MT9P031 board. It hung on IOCTL - PREV_PREVIEW. I have put some printk() in driver. All is ok till: wait_for_completion_interruptible((device-wfc)); It hung. All other threads are runnig, but I am not able to end whole applicatio, because of this one thread. Please suggest what could be problem. Ondrej Pindroch SoftHard Technology ltd. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: DM6467 framebuffer implementation
Hi, As DM6467 does not have any graphics pipeline, frame buffer driver is not supported. Thanks, Brijesh Jadav From: davinci-linux-open-source-bounces+brijesh.j=ti@linux.davincidsp.com [mailto:davinci-linux-open-source-bounces+brijesh.j=ti@linux.davincidsp.com] On Behalf Of Venkatachala Upadhya Sent: Thursday, June 25, 2009 6:14 PM To: 'Pratik Joshi'; davinci-linux-open-source@linux.davincidsp.com Subject: RE: DM6467 framebuffer implementation HI, As I know, there was a post in this regard some time in April or May. Please look at that post for further details. In a nut shell. DM6467 does not have support for frame buffer. With best regards, Venkatachala Upadhya| Extn: 65395| -- From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Pratik Joshi Sent: 25 June, 2009 4:04 PM To: davinci-linux-open-source@linux.davincidsp.com Subject: DM6467 framebuffer implementation Hi, I am developing a GUI for DM6467 based application. Is there a support of frame buffer for DM6467? If no then anyone is aware of someone working on this? Pratik Joshi -- Disclaimer: This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated.Company has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. http://www.mindtree.com/email/disclaimer.html ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: /dev/video3 - Cannot open- Invalid argument
Hi, I think the problem is no encoder is registered for this node. We have to register an encoder driver for the node, which we are going to use. If it is not available it returns error. Thanks, Brijesh Jadav From: davinci-linux-open-source-bounces+brijesh.j=ti@linux.davincidsp.com [mailto:davinci-linux-open-source-bounces+brijesh.j=ti@linux.davincidsp.com] On Behalf Of Sriraja Yagneswaran Sent: Tuesday, June 09, 2009 10:19 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: /dev/video3 - Cannot open- Invalid argument We are trying to get the video display output of VPIF port 3 instead of VPIF port 2 on our custom board with DM6467. When the kernel boots up, we see that the /sys/class/davinci_display/ch0 has files like mode, output etc with some default values. But however the ch1 folder has the files but no data, i.e. the files are empty. When we try to read and write these files from the application, it throws errors such as unable to read /sys/class/davinci_display/ch1/output As a result the device /dev/video3 is also not opened with the error stating Invalid arguments. Any pointers and suggestions that would help us enable /dev/video3, i.e. video output from VPIF channel3 are welcome. Regards Sriraja http://www.mindtree.com/email/disclaimer.html ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: How to improve image latency
Previewer is very fast and I am sure it can complete previewing within 40ms. So there must be some other delay in the application. Thanks, Brijesh Jadav From: Ondrej Pindroch [mailto:opindr...@softhard.sk] Sent: Thursday, May 21, 2009 7:25 PM To: Jadav, Brijesh R Cc: davinci-linux-open-source Subject: RE: How to improve image latency Display frame rate is 25fps it is PAL output. Ondrej Pindroch SoftHard Technology ltd. -Original Message- From: Jadav, Brijesh R brijes...@ti.com To: Ondrej Pindroch opindr...@softhard.sk, davinci-linux-open-source davinci-linux-open-source@linux.davincidsp.com Date: Thu, 21 May 2009 19:05:53 +0530 Subject: RE: How to improve image latency Hi, What is the display frame rate? Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Ondrej Pindroch Sent: Thursday, May 21, 2009 5:48 PM To: davinci-linux-open-source Subject: How to improve image latency Hi I have an aplication which is useing CCDC PREVIEWER and V4L2 for output. There is one buffer between CCDC and PREVIEWER (exactly 3 buffers) and for output it is used buffer from V4L2. For now I have latency 160 - 200ms. I have made some mistakes and loosing frames (hudge bunche of errors). Than I have had latency less than 100ms. I have alredy measured time needed for capture and proccessing. It was 5-7ms. From capture to get frame buffer from V4L2 it take almost 40ms (25fps for PAL) Have you any idea where I get this 120ms of additional latency. Frame rate of sensor is almost 60fps Thanks Ondrej Pindroch SoftHard Technology ltd. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: How to improve image latency
Hi, What is the display frame rate? Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Ondrej Pindroch Sent: Thursday, May 21, 2009 5:48 PM To: davinci-linux-open-source Subject: How to improve image latency Hi I have an aplication which is useing CCDC PREVIEWER and V4L2 for output. There is one buffer between CCDC and PREVIEWER (exactly 3 buffers) and for output it is used buffer from V4L2. For now I have latency 160 - 200ms. I have made some mistakes and loosing frames (hudge bunche of errors). Than I have had latency less than 100ms. I have alredy measured time needed for capture and proccessing. It was 5-7ms. From capture to get frame buffer from V4L2 it take almost 40ms (25fps for PAL) Have you any idea where I get this 120ms of additional latency. Frame rate of sensor is almost 60fps Thanks Ondrej Pindroch SoftHard Technology ltd. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: To avoid memcpy
Hi Gopal, I think user pointer buffer exchange mechanism is supported in both the drivers, so you can allocate buffers in one driver and use it in the other driver without doing memcpy. Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Gopal Sukumar Sent: Friday, May 08, 2009 8:57 PM To: DaVinciMailingList Subject: To avoid memcpy Hi all, I am using a DM6446 based board. In my application, I have allocated buffers for the Video Capture and Video Resizer devices through the ioctls. I have mmap'd those buffers too. When I take a frame from the Capture to Resizer, I am left only with a memcpy option. As it has its inherent overheads, can this be avoided. Please let me know if there is a way out. Thanks, Gopal Sukumar. http://www.mindtree.com/email/disclaimer.html ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Use of shared buffer for VPBE
Hi, This is not possible in frame buffer driver but you can do other way, take the buffer from frame buffer driver and use it in resizer. Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Ondrej Pindroch Sent: Tuesday, March 31, 2009 6:44 PM To: davinci-linux-open-source Subject: Use of shared buffer for VPBE HI I have one question is it possible to use the same buffer which comes from for example resizer as input for video output, without need of copying data from one location to an other? I have seen som examples, they are copying data to an other buffer. This consumes lot of time. Ondrej Pindroch SoftHard Technology ltd. Tel: +421(2)65459327 Fax: +421(2)65459329 Mobile:+421(904)906011 ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Using Resizer on fly
Hi. Both of these things are possible but as far as I know driver currently does not support these features. Thanks, Brijesh Jadav From: davinci-linux-open-source-bounces+brijesh.j=ti@linux.davincidsp.com [mailto:davinci-linux-open-source-bounces+brijesh.j=ti@linux.davincidsp.com] On Behalf Of Ondrej Pindroch Sent: Tuesday, March 31, 2009 2:21 PM To: davinci-linux-open-source Subject: Using Resizer on fly Hi anybody Is it possible to configure resizer unit with input from previewer. I need as fast as possible response time from video input to output so I am trying to do not use buffers if it is possible. An other question is it possible to get sensor data from CCDC parallel to sending them to previewer? Perhaps answer to this question I will find in documentation after long searching. Ondrej Pindroch SoftHard Technology ltd. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: DM6467 EVM Video issue
Hi, You will have to en-queue some buffers before starting streaming again since stream off removes all buffers from the queues. Thanks, Brijesh Jadav -Original Message- From: Dhaval Vadhar [mailto:dhaval.vad...@einfochips.com] Sent: Wednesday, March 18, 2009 11:04 AM To: gb...@yahoo.com; davinci-linux-open-source@linux.davincidsp.com; Jadav, Brijesh R Subject: Re: DM6467 EVM Video issue Hi , Thanks for the solution. I also have the same problem and have tried the solution that you provide. I just stop and start video streaming again when the video is disconnected and connected again. But I am not able to start video streaming after stop it. Following is the error log of the restart video streaming when video input is disconnected and connected again: Video streaming is stopped vpif capture vpif capture.1: buffer queue is empty !!! Alignment trap: App (1162) PC=0x0002030c Instr=0xe5933024 Address=0x0007cc23 FSR 0x001 ERROR !!! Fail to start streaming on capture device Please help on this... Thanks in advance. Regards, Dhaval Vadhar - Original Message - From: gather bzbz gb...@yahoo.com To: davinci-linux-open-source@linux.davincidsp.com; Jadav, Brijesh R brijes...@ti.com Sent: Tuesday, March 17, 2009 5:42 AM Subject: RE: DM6467 EVM Video issue Thanks. Any programmable way to detect the loss of sync situation so we can toggle the stream_on/off? --- On Sun, 3/15/09, Jadav, Brijesh R brijes...@ti.com wrote: From: Jadav, Brijesh R brijes...@ti.com Subject: RE: DM6467 EVM Video issue To: gb...@yahoo.com gb...@yahoo.com, davinci-linux-open-source@linux.davincidsp.com davinci-linux-open-source@linux.davincidsp.com Date: Sunday, March 15, 2009, 9:11 PM Hi, This is because DMA and VPIF go out of sync and the way to solve this issue is to reset the VPIF by streaming off and then streaming it on again. Thanks, Brijesh Jadav -Original Message- From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of gather bzbz Sent: Saturday, March 14, 2009 5:36 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: DM6467 EVM Video issue Hi, When running the encode demo on the EVM, I find that if I disconnect the video source, then wait for a few second, then plug back the source in, the pictures shown will be messed up. Most of the time, the screen will be devided into upper half and bottom half. Any ideas. Thanks ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open- source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open- source Email Scanned for Virus Dangerous Content by : www.CleanMailGateway.com -- _ Disclaimer: This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated.Company has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. __ ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: DM6467 EVM Video issue
Hi, This is because DMA and VPIF go out of sync and the way to solve this issue is to reset the VPIF by streaming off and then streaming it on again. Thanks, Brijesh Jadav -Original Message- From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of gather bzbz Sent: Saturday, March 14, 2009 5:36 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: DM6467 EVM Video issue Hi, When running the encode demo on the EVM, I find that if I disconnect the video source, then wait for a few second, then plug back the source in, the pictures shown will be messed up. Most of the time, the screen will be devided into upper half and bottom half. Any ideas. Thanks ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: VPFE
Hi Ryan, For the device to be created in /dev, you will need a dummy slave device. vpfe_probe must be called whether slave is available or not. If this is not getting called, it means there is some vpfe's name mismatch between name with which driver is registered as a platform device and name present in the board specific file in arch/arm/mach-davinci directory. Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Ryan Talbot Sent: Thursday, March 05, 2009 7:42 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: VPFE We've got a custom DM6446-based board which has a DM648 pumping BT656 video directly into the DM6446's VPFE. We're trying to use V4L to grab the video frames, but are running into some problems. We're using 2.6.28-rc6 with Murali Karicheri's patches applied, and while the modules load successfully (vpfe_capture: init successful), we still get the following trying to open /dev/video0: Can't open /dev/video0: no such device or address. It is maybe worth noting that we have to create this device node everytime we boot using mknod. 'cat /proc/devices' does list '81 0 video4linux', though. I will admit I don't have a great grasp of how the V4L architecture is supposed to work. We don't have any other hardware involved other than the DaVinci VPFE, i.e. no decoder chips (they're all upstream and handled by the DM648). I noticed vpfe_probe never gets called when modprobing... seems like it should be. Do we need to create some kind of dummy slave device to get things kicking? Our board supplier gave us a C64P image that passes video through from VPFE to VPBE, so the hardware itself is OK. I didn't think the C64P even had direct access to the VPFE - I thought it relied on the ARM/DSPLink for video frames - but I guess that shows the depths of my ignorance. Any pointers much appreciated, and a big thanks to Murali Karicheri for his hard work on the patches. Ryan Talbot VTTI ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: VPFE
Hi, I think it does not metter how you register dummy slave driver to the kernel. You can even register it as pure char device. May be it is better not to register it at all and have a plain file with dummy functions with the fixed values. What is more important is to register it to the V4L2-int interface for VPFE master device so that device node gets created. V4l2-int framework does not care whether it is i2c or other device. Thanks, Brijesh Jadav From: Ryan Talbot [mailto:rtal...@vtti.vt.edu] Sent: Thursday, March 05, 2009 4:47 PM To: Jadav, Brijesh R; davinci-linux-open-source@linux.davincidsp.com Subject: RE: VPFE ...of course, without a decoder registered, /dev/video0 doesn't do much :). I've spent the better part of the night trying to figure out how to best write a dummy slave device. I tried taking tvp5146.c and making a dummy device out of it, but I'm not sure how to best approach it. Stripping out the I2C and hardcoding the V4L settings isn't difficult, but I'm not sure what to use in place of i2c_device... do I just make another platform_device? video_device? Plain old device? I'm not sure what the appropriate starting place would be. My V4L2 and kernel driver kung fu is a little weak :). Thanks again for the advice. Ryan From: Jadav, Brijesh R [mailto:brijes...@ti.com] Sent: Thursday, March 05, 2009 6:05 AM To: Ryan Talbot; davinci-linux-open-source@linux.davincidsp.com Subject: RE: VPFE Hi Ryan, For the device to be created in /dev, you will need a dummy slave device. vpfe_probe must be called whether slave is available or not. If this is not getting called, it means there is some vpfe's name mismatch between name with which driver is registered as a platform device and name present in the board specific file in arch/arm/mach-davinci directory. Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Ryan Talbot Sent: Thursday, March 05, 2009 7:42 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: VPFE We've got a custom DM6446-based board which has a DM648 pumping BT656 video directly into the DM6446's VPFE. We're trying to use V4L to grab the video frames, but are running into some problems. We're using 2.6.28-rc6 with Murali Karicheri's patches applied, and while the modules load successfully (vpfe_capture: init successful), we still get the following trying to open /dev/video0: Can't open /dev/video0: no such device or address. It is maybe worth noting that we have to create this device node everytime we boot using mknod. 'cat /proc/devices' does list '81 0 video4linux', though. I will admit I don't have a great grasp of how the V4L architecture is supposed to work. We don't have any other hardware involved other than the DaVinci VPFE, i.e. no decoder chips (they're all upstream and handled by the DM648). I noticed vpfe_probe never gets called when modprobing... seems like it should be. Do we need to create some kind of dummy slave device to get things kicking? Our board supplier gave us a C64P image that passes video through from VPFE to VPBE, so the hardware itself is OK. I didn't think the C64P even had direct access to the VPFE - I thought it relied on the ARM/DSPLink for video frames - but I guess that shows the depths of my ignorance. Any pointers much appreciated, and a big thanks to Murali Karicheri for his hard work on the patches. Ryan Talbot VTTI ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Reg decodeencode demo in Dm6446
). r...@192.168.1.9:/opt/dvevm# ./loadmodules.sh cmemk: module license '(c) Texas Instruments' taints kernel. cmem initialized 4 pools between 0x8780 and 0x8800 dsplinkk: no version for struct_module found: kernel tainted. DDR_START 0x8fa0 DDR_SIZE 0x40 r...@192.168.1.9:/opt/dvevm# ./encodedecode_ccd Encodedecode demo started. Encodedecode Error: Cannot open /dev/video0 (No such file or directory) Even i did mknod /dev/video0 c 81 0 Even then i get Encodedecode Error: Cannot open /dev/video0 (No such device) I kernel configuration: I included Multimedia Devices - (*) Video For linux Video For linux (*)Davinci Video Capture (*)SELECT TVP5146 I have CCD camera connected to Video In of dm6446 Suggest me to resolve On 2/19/09, Jadav, Brijesh R brijes...@ti.commailto:brijes...@ti.com wrote: Hi, You can check whether resizer is included in the kernel by printing /proc/devices. There should be one entry for resizer. If it is available, you just have to create /dev entry for resizer. If it is not, kernel does not have resizer driver. Re-build the kernel with the resizer support. Thanks, Brijesh Jadav __ From: davinci-linux-open-source-boun...@linux.davincidsp.commailto:davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.commailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Venkatachala Upadhya Sent: Thursday, February 19, 2009 10:35 AM To: 'kirthika varadarajan'; davinci-linux-open-source Subject: RE: Reg decodeencode demo in Dm6446 Hi, I guess re sizer is a kernel module. It might not have been built into the kernel. You may have to load the kernel module. With best regards, Venkatachala Upadhya| Extn: 65395| -- __ From: davinci-linux-open-source-boun...@linux.davincidsp.commailto:davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.commailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of kirthika varadarajan Sent: 19 February, 2009 10:21 AM To: davinci-linux-open-source Subject: Reg decodeencode demo in Dm6446 When i run the decode encode demo compiled by me in DM6446 i am getting the following error Encodedecode demo started. Rszcopy Error: Failed to open /dev/davinci_resizer Encodedecode Error: Failed to create resize copy job Capturing 720x480 video (cropped to 720x480) Smooth Error: Failed to open /dev/davinci_resizer Encodedecode Error: Failed to create smoother I did't modify anything in the decode encode demo. Suggest me to resolve this. __ http://www.mindtree.com/email/disclaimer.html ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.commailto:Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: lcd flicker problem and all of DM355 patches
Hi, You can use the utility given at the following location to read/write to any register from application space. www.sleepie.demon.co.uk/linuxvme/io.chttp://www.sleepie.demon.co.uk/linuxvme/io.c Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of serdar uludag Sent: Wednesday, February 18, 2009 9:46 PM To: Davinci-linux-open-source@linux.davincidsp.com Subject: lcd flicker problem and all of DM355 patches Hi, I use DM355 and 640x480 Lcd so I have got flicker problem. I changed the UBL code (DDR-PBBPR = 0x0010 in device.c) for solve the lcd flicker problem. But there is no any change. I think 'writeb 2020 0 10' command line does same think. But I can't try this command line. How can use this line in my application code or where must i use? Is there any link can I find all of DM355 patchs? Thanks ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Reg decodeencode demo in Dm6446
Hi, You can check whether resizer is included in the kernel by printing /proc/devices. There should be one entry for resizer. If it is available, you just have to create /dev entry for resizer. If it is not, kernel does not have resizer driver. Re-build the kernel with the resizer support. Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Venkatachala Upadhya Sent: Thursday, February 19, 2009 10:35 AM To: 'kirthika varadarajan'; davinci-linux-open-source Subject: RE: Reg decodeencode demo in Dm6446 Hi, I guess re sizer is a kernel module. It might not have been built into the kernel. You may have to load the kernel module. With best regards, Venkatachala Upadhya| Extn: 65395| -- From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of kirthika varadarajan Sent: 19 February, 2009 10:21 AM To: davinci-linux-open-source Subject: Reg decodeencode demo in Dm6446 When i run the decode encode demo compiled by me in DM6446 i am getting the following error Encodedecode demo started. Rszcopy Error: Failed to open /dev/davinci_resizer Encodedecode Error: Failed to create resize copy job Capturing 720x480 video (cropped to 720x480) Smooth Error: Failed to open /dev/davinci_resizer Encodedecode Error: Failed to create smoother I did't modify anything in the decode encode demo. Suggest me to resolve this. http://www.mindtree.com/email/disclaimer.html ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Resizer Initialization
Hi, Instead of changing resizer driver, I would suggest to get the major number from proc and create the node. Thanks, Brijesh Jadav -Original Message- From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Yusuf Caglar AKYUZ Sent: Thursday, January 22, 2009 9:32 PM To: Steve Ressler Cc: davinci-linux-open-sou...@linux. Subject: Re: Resizer Initialization -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve Ressler wrote: Hi, Are you sure that resizer takes major number 254? I guess it uses dynamic number allocation. I believe you are correct, it uses dynamic number allocation. 254 was the number I saw it using when the device file was created by the init scripts. How can I find the correct major number? I'm not running the init scripts, so there is nothing in /proc to check. Maybe I should have asked: How can I use the resizer without running the init scripts? AFAIK, you cannot check device numbers without proc or sysfs. Some options coming to mind: 1) Edit resizer driver drivers/char/davinci_resizer.c Change line: result = alloc_chrdev_region(dev, ZERO, 1, DRIVER_NAME); to: dev = MKDEV(254_or_some_number_unique_in_the_system, ZERO); result = register_chrdev_region(dev, 1, DRIVER_NAME); Don't forget to create node for the number you choose as major. 2) Create a file in your filesystem and edit, let's say /home/my_init.sh: #!/bin/sh mount /proc RES=$(cat /proc/devices | awk '/davinci_resizer/ {print $1}') rm -f /dev/resizer mknod /dev/resizer c $RES 0 /path/to/your/app/app Then start this script as init, instead of your application. 3) You can also edit your inittab. Instead of running init scripts you can just mount some filesystems and then start your application. I don't use MV fs and kernel, so I can't try these. But I guess they may give some ideas. Regards, Caglar -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkl4mH4ACgkQ/nL+S5dojeht1QCfVRqG0HxB7zqUIs6c2l4QRhrC /3YAoJb573wRtHKDi0ArFEqk83wrOKI5 =3nas -END PGP SIGNATURE- ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: RE : Basic questions about framebuffer
One more thing is you will need to add driver for your TFT. Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of sunder ramani Sent: Friday, January 16, 2009 6:02 PM To: csa...@gmail.com; davinci-linux-open-source@linux.davincidsp.com Subject: RE : Basic questions about framebuffer Hi Canibek 1. You can set the output mode and the display standard from the console itself using the standard fbset command for varying pixel depths, resolutions. You need not need to have different kernel images for the same. 2. Try to go through the sample video apps for the fb sub system and some PDFs from TI about the FB system on the DaVinci platform. they would be more than helpful. 3. The primary fb driver for the Davinci VPBE, the display device is davincifb.c Thanx! Sundar ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: RE : Help reg. Clearing fb/3 screen
Can you check what is the format of that fb window? From: davinci-linux-open-source-bounces+brijesh.j=ti@linux.davincidsp.com [mailto:davinci-linux-open-source-bounces+brijesh.j=ti@linux.davincidsp.com] On Behalf Of Ragas sag Sent: Friday, January 16, 2009 7:05 PM To: sunder ramani Cc: davinci-linux-open-source@linux.davincidsp.com Subject: Re: RE : Help reg. Clearing fb/3 screen Hi Xperts Thank you Sunder for the reply. And i tried as you suggested. It works. But the screen becomes become blank with green colour ? Can't it be made black colour? I tried to see if other than zero do we have anything in the /dev directory. In case if anybody can tell me how to make it black colour, it would he helpful. Warm Regards, Sagar On 1/16/09, sunder ramani sunder.s...@gmail.commailto:sunder.s...@gmail.com wrote: Hi Sagar, The fbset command actually modifies the size of the window and does not have any operation on the contents of the window. For a simple flush, cat /dev/zero /dev/fb/X should help you to clear away the window contents. Thanx! Sundar ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: X11 on dm6467
Hi, That's correct. Dm6467 does not support frame buffer driver. It supports only V4L2 drivers. I have not seen X11 running on V4L2. I am not sure but it might not be possible. Thanks, Brijesh Jadav -Original Message- From: davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Benjamin C. Nowak Sent: Sunday, January 11, 2009 10:32 PM To: Benjamin C. Nowak Cc: davinci-linux-open-source@linux.davincidsp.com Subject: Re: X11 on dm6467 This is the message that startx produces: X- server X Window System Version 6.8.2 Release Date: 9 February 2005 X Protocol Version 11, Revision 0, Release 6.8.2 Build Operating System: MontaVista Linux [ELF] MontaVista Software, Inc. Current Operating System: Linux 192.168.1.101 2.6.10_mvl401-davinci_evm #1 Wed Oct 22 19:05:32 IST 2008 armv5tejl Build Date: 05 July 2006 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Thu Jan 11 12:00:45 2009 (==) Using config file: /etc/X11/xorg.conf (EE) open /dev/fb/0: No such file or directory (EE) No devices detected Fatal server error: no screens found The device node /dev/fb does not exist. - Ben Hi all, I am working with a dm6467 and went through the walk through http://wiki.davincidsp.com/index.php?title=USB_Webcam to get a Logitec quickcam recognized by the system. I would like to use SDL to capture images from the camera and then use X11 to display them to the component output (after some processing). The startx command fails because the frame buffer devices are not in the system. My understanding is that the dm6467 does not support fbdev because it is based on V42L. If this is the case, is it possible to start an X-session on the dm6467? Thank you, Ben Nowak ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: FBIOPUT_VSCREENINFO
Hi, FBIOPUT_VSCREENINFO ioctl is handled in the davincifb.c file in the Kernel/drivers/video/davinci folder. There are two functions for this ioctl, checkvar for checking the parameters and setpar for setting the parameters. Thanks, Brijesh Jadav From: davinci-linux-open-source-boun...@linux.davincidsp.com [davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf Of Nitin Mahajan [nitin...@yahoo.com] Sent: Monday, December 22, 2008 3:51 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: FBIOPUT_VSCREENINFO HI! Where is the FBIOPUT_VSCREENINFO, driver handled in linux frame buffer dirver for davinci? I am using TI gstreamer plugins and playing some video files through it. After playing a low resolution file like 176x144, I am not able to play a any file of bigger width and height. I get an error saying, could not set variable screen info and errno indicates invalid argument. Can anyone give some pointers on this? regards -Nitin New Email addresses available on Yahoo! Get the Email name you#39;ve always wanted on the new @ymail and @rocketmail. Hurry before someone else does! http://mail.promotions.yahoo.com/newdomains/aa/ ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Need help with V4L2 USERPTR method
Hi, As far as I remember, earlier dm644x capture code was not supporting user pointer buffer exchange mechanism. Can you tell me which error you are getting? Does it allow to do reqbuf? Thanks, Brijesh Jadav -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrea Gasparini Sent: Friday, November 28, 2008 4:55 PM To: davinci-linux-open-source@linux.davincidsp.com Cc: Mr. V R Subject: Re: Need help with V4L2 USERPTR method Hi, Mr. V R spiffera, alle Friday 28 November 2008 circa: 1. The sample code without modification in buffer size works well with MMAP but fails in USERPTR 2. If we provide buffer more then or equal to 884736, capture is possible with USERPTR, but driver does not copy frame in the buffer. I am badly stuck here, any pointer will be appreciated. Check your kernel has CONFIG_CAPTURE_DAVINCIHD configured. Moreover, try to retrieve the error code and take a look at the kernel source code to guess what problem could give you that error code. bye! -- Andrea Gasparini ImaVis S.r.l. web: www.imavis.com ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Need help with V4L2 USERPTR method
Hi, Where are you hard-coding buffer size? Can you also check whether user pointer buffer exchange mechanism is supported in the driver? Thanks, Brijesh Jadav From: Mr. V R [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2008 6:18 PM To: Jadav, Brijesh R; davinci-linux-open-source@linux.davincidsp.com Subject: Re: Need help with V4L2 USERPTR method I am not getting any error after hardcoding buffer size to 884736, and able to dequeue and enque buffer successfully, but this buffer does not contain any frame data. On Fri, Nov 28, 2008 at 5:10 PM, Jadav, Brijesh R [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote: Hi, As far as I remember, earlier dm644x capture code was not supporting user pointer buffer exchange mechanism. Can you tell me which error you are getting? Does it allow to do reqbuf? Thanks, Brijesh Jadav -Original Message- From: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]] On Behalf Of Andrea Gasparini Sent: Friday, November 28, 2008 4:55 PM To: davinci-linux-open-source@linux.davincidsp.commailto:davinci-linux-open-source@linux.davincidsp.com Cc: Mr. V R Subject: Re: Need help with V4L2 USERPTR method Hi, Mr. V R spiffera, alle Friday 28 November 2008 circa: 1. The sample code without modification in buffer size works well with MMAP but fails in USERPTR 2. If we provide buffer more then or equal to 884736, capture is possible with USERPTR, but driver does not copy frame in the buffer. I am badly stuck here, any pointer will be appreciated. Check your kernel has CONFIG_CAPTURE_DAVINCIHD configured. Moreover, try to retrieve the error code and take a look at the kernel source code to guess what problem could give you that error code. bye! -- Andrea Gasparini ImaVis S.r.l. web: www.imavis.comhttp://www.imavis.com ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.commailto:Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: RE: how to capture arbitrary size video by v4l2 on DM6446
Hi, You can get more details about Dm6446 resizer driver and the example from the following link. http://focus.ti.com/lit/an/spraai7b/spraai7b.pdf Thanks, Brijesh Jadav From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of cai xiaodong Sent: Wednesday, November 19, 2008 3:20 PM To: davinci-linux-open-source@linux.davincidsp.com Subject: RE: RE: how to capture arbitrary size video by v4l2 on DM6446 I have exactly the same question, please, can somebody help? Thanks in advance. sheldon Message: 5 Date: Wed, 19 Nov 2008 16:28:22 +0800 (CST) From: [EMAIL PROTECTED] Subject: Re:RE: how to capture arbitrary size video by v4l2 on DM6446 To: Karicheri, Muralidharan [EMAIL PROTECTED] Cc: davinci-linux-open-source@linux.davincidsp.com davinci-linux-open-source@linux.davincidsp.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=gbk Hi I want to scale down , but currently I don't know how to use resizer on dm6446.Could you give me some clues where i can get more detail about resizer?I just need a example for that. best regards ÔÚ2008-11-19£¬Karicheri, Muralidharan [EMAIL PROTECTED] дµÀ£º Do you want a cropped 320x240 or a scaled down 320*240 video? If cropped, then S_CROP should let you specify the origin and width and height as 320x240. But if you want a scaled down version, you should capture full resolution video from the capture driver and then use resizer to scale it down to 320x240. From:[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of baxkstreet Sent: Monday, November 17, 2008 6:01 AM To:davinci-linux-open-source@linux.davincidsp.com Subject: how to capture arbitrary size video by v4l2 on DM6446 HI, all I want to capture 320*240 UYVY formate video.the problem i met is that the capture buffer length is always 882746(768*576*2,UYVY format).i had tried to change the crop or v4l2_format parameters ,but it doesn't work,the system seems to ignore my setting.can anyone tell me a simple correct way to do it right? thanks! [¹ã¸æ] ½ðÇï×î¹Øע¥ÅÌ-·¿²»Ê¤·¿ -- next part -- An HTML attachment was scrubbed... URL: http://linux.omap.com/pipermail/davinci-linux-open-source/attachments/20081119/048be374/attachment.htm -- ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source End of Davinci-linux-open-source Digest, Vol 35, Issue 99 * Get the best wallpapers on the Web - FREE. Click here!http://wallpapers.msn.com/?ocid=%5bB001MSN42A0716B%5d ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: about preview engine register
Hi, You can get the previewer information from the following link. http://focus.ti.com/lit/ug/sprue38c/sprue38c.pdf Thanks, Brijesh Jadav From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of huahua5 Sent: Monday, November 10, 2008 2:40 PM To: davinci-linux-open-source Subject: about preview engine register hi,all I want to the spec of davinci preview engine register? but I can't find it,anybody can tell me how to find it?thanks a lot. huahua5 2008-11-10 ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: 6467 vpif .. linux-uvc/logitech 9000 runtime issue
Hi, This error comes when provided line offset is not correct as per the detected mode. Please go through the VPIF capture user guide to get to know how to configure line offset. Thanks, Brijesh Jadav From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of C.L. Hammond Sent: Monday, October 20, 2008 11:23 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: 6467 vpif .. linux-uvc/logitech 9000 runtime issue hi all, I'm on a 6467 dvevm trying to get linux-uvc driver working for logitech 9000 on mv2.6.10 ( just compiled 2.6.27 git kernel but couldn't get it to boot .. another problem ) and have made the changes mentioned here ( http://lists.berlios.de/pipermail/linux-uvc-devel/2008-April/003360.html ) to the get module to compile and insmod. I'm trying to use uvc_stream to capture some images and am getting the following error : -- vpif capture vpif capture.1: invalid pitch Unable to set format: 22. Init v4L2 failed !! exit fatal init_VideoIn failed any ideas? i found sprel3.pdf which is 6446-centric and shows building kernel mods and such ... must be same for 6467? ... I've taken the davinci multi-day course few months back and am wondering if there is something i'm missing about the order to read the docs WHERE do i need to look FIRST to start the documentation chain? tia..chris ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: How to prevent other interrupts to occour during interrupt handling
Hi, I think you can use enable_irq/disable_irq to enable/disable a particular interrupt or local_irq_save and local_irq_restore to prevent all interrupt to occur. Can you tell me what you mean by other interrupts of the same type? Thanks, Brijesh Jadav From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabriele Filosofi Sent: Wednesday, October 15, 2008 6:30 PM To: davinci-linux-open-source@linux.davincidsp.com Subject: How to prevent other interrupts to occour during interrupt handling Hi, after having enabled an interrupt source with request_irq(gpio_to_irq(37), irq_handler, IRQF_TRIGGER_FALLING, myirq, NULL); how to prevent other interrupts (of the same type) to occour during irq_handler() processing? I would like to disable the interrupt only for the irq_handler() execution time. Thanks and regards (sorry for this questioni if too simple!) Gabriele ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: VPFE in raw mode
Hi, As far as i know, driver supports RAW mode of capture. Can you check mt9t001.c file is available in drivers/media/video folder or in drivers/media/video/davinci folder? Thanks, Brijesh Jadav From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Michael Shklyarman [EMAIL PROTECTED] Sent: Friday, October 10, 2008 9:37 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: VPFE in raw mode Hi, I am trying to configure VPFE on Davinci 6446 to receive data in parallel generic configuration (raw) but wasn't able to do this so far. I looked into the driver code (drivers/media/video/ccdc_davinci.c) and it seems that this mode is not supported in the version I am working with (kernel 2.6.10, MontaVista release 4.0). Does anybody have any insights? Thanks, Michael ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: OSD support in DM6467
Hi, It does not have any OSD and attribute window. It has only two Video windows. I don't know which demo you are talking about. Applications like DirectFB only runs on the the FBDEV so they will not run on dm6467. For these kind of applications, you need to write a V4L2 layer, same as the FBDEV layer, to display frames. Thanks, Brijesh Jadav From: Naveena M. [EMAIL PROTECTED] Sent: Monday, September 29, 2008 8:43 AM To: Jadav, Brijesh R; Phil Quiney; davinci-linux-open-source@linux.davincidsp.com Subject: RE: OSD support in DM6467 Hi, Thank you. So what can be done for displays, Like we had in DM6446, video window, OSD window and Attribute window. What should be done to run the demo available with EVM kit? Regards, Naveena From: Jadav, Brijesh R [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2008 7:04 PM To: Phil Quiney; Naveena M.; davinci-linux-open-source@linux.davincidsp.com Subject: RE: OSD support in DM6467 Hi, As far as i know, dm6467 does not support FBDEV driver. It has only video pipelines so it supports only V4L2 drivers. You will find /dev/video0 to /dev/video3 for the V4L2 devices. Thanks, Brijesh Jadav From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Phil Quiney [EMAIL PROTECTED] Sent: Monday, September 29, 2008 3:54 AM To: Naveena M.; davinci-linux-open-source@linux.davincidsp.com Subject: RE: OSD support in DM6467 Hi, Can you check the output of /proc/devices, there should be a 'fb' character device (major 29). This corresponds to the /dev/fb/0 device (maj 29, minor 0) on my system (a DM355). This indicates that the kernel has the framebuffer driver built in. If this does not appear then, it has either been built as a module or not at all. You should also be able to check the kernel configuration has DAVINCI_FB set - extract it from the running kernel to remove any mistakes about how the current kernel is configured [EMAIL PROTECTED]:~#UrlBlockedError.aspx zcat /proc/config.gz |grep FB CONFIG_FB=y # CONFIG_FB_MODE_HELPERS is not set # CONFIG_FB_TILEBLITTING is not set CONFIG_FB_DAVINCI=y # CONFIG_FB_VIRTUAL is not set Check boot arguments Kernel boot arguments (on 1 line so be wary of linewrap) mem=100M console=ttyS0,115200n8 noinitrd root=/dev/nfs rw nfsroot=172.18.0.13:/t ftpboot/remote_fs/davinci_dm355 ip=dhcp video=davincifb:vid0=720x480x16,4050K:vi d1=720x480x16,4050K:osd0=720x480x16,2025K davinci_enc_mngr.ch0_mode=ntsc davinci _enc_mngr.ch0_output=COMPOSITE Also during bootup I get the following framebuffer related items... davincifb davincifb.0: dm_osd0_fb: [EMAIL PROTECTED],0 with framebuffer size 2025KB davincifb davincifb.0: dm_vid0_fb: [EMAIL PROTECTED],0 with framebuffer size 4050KB davincifb davincifb.0: dm_osd1_fb: [EMAIL PROTECTED],0 with framebuffer size 1350KB davincifb davincifb.0: dm_vid1_fb: [EMAIL PROTECTED],0 with framebuffer size 4050KB Confirm 'udev' is runningyou should see (during boot up) INIT: version 2.85 booting Mounting a tmpfs over /dev...done. Creating initial device nodes...done. Also 'udevd' should appear in a 'ps aux' once logged in. It is possible that the device node has not been created because udev is not running. Regards Phil Q Phil Quiney, Senior Software Engineer Trinity Convergence Cambridge Business Park Cowley Road Cambridge CB4 0WZ, UK T: +44(0)1223-435536 F: +44(0)1223-435560 www.trinityconvergence.comhttp://www.trinityconvergence.com/ From: Naveena M. [mailto:[EMAIL PROTECTED] Sent: 29 September 2008 09:07 To: Phil Quiney; davinci-linux-open-source@linux.davincidsp.com Subject: RE: OSD support in DM6467 Hi, There is no device like /dev/fb/0 or /dev/fb/0. We tested the demos available with the DM6446 kit, it was working. It was also dealing with frame buffers. Is it sure that there is frame buffer support in DM6467? Has anybody worked with it? We are trying to do OSD on it. Regards, Naveena. From: Phil Quiney [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2008 1:30 PM To: Naveena M.; davinci-linux-open-source@linux.davincidsp.com Subject: RE: OSD support in DM6467 Hi, The davinci boards should have /dev/fb/0 rather than /dev/fb/0 - this is true for DM355 DM6446. I do not have a DM6467 to check against but I would guess it is the same. Regards Phil Q Phil Quiney, Senior Software Engineer Trinity Convergence Cambridge Business Park Cowley Road Cambridge CB4 0WZ, UK T: +44(0)1223-435536 F: +44(0)1223-435560 www.trinityconvergence.comhttp://www.trinityconvergence.com/ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Naveena M. Sent: 29 September 2008 07:24 To: davinci-linux-open-source@linux.davincidsp.com Subject: OSD support in DM6467 Hi, We got encode and decode application with DM6467 EVM kit. But the composite video
RE: How to view RAW and YUV images.
Hi, There are many tools to view yuv files. One of them is youtools from sunrayimage. For RAW images, as far as I know, there are no tools available for viewing. Thanks, Brijesh Jadav From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ashish pareek Sent: Friday, September 19, 2008 1:07 PM To: davinci-linux-open-source@linux.davincidsp.com Subject: How to view RAW and YUV images. Hi All , I have captured RAW and YUV images from our leopard sensor using DM355 .RAW image seems to be of 4 mb size and strangly YUV is like 1.5 mb size . I just want to chk it out if i have saved correct images . Is thr any utility to view them .Pls send me if any one is having tht . Thanks, Ashish ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: MT9T001 camera debugging question
Hi, The first set of steps is correct. Only thing is you need to export one symbol in the kernel. Please add below line in the file Kernel/arch/arm/mm/proc-syms.c and recompile the kernel. EXPORT_SYMBOL(v4wb_clear_user_page) Thanks, Brijesh Jadav From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of xiaowinky Sent: Thursday, August 28, 2008 9:02 AM To: [EMAIL PROTECTED] Subject: MT9T001 camera debugging question hi,all! I want to debug now the MT9T001 camera in the DM355 development board, I use the module the form to insert in the middle of the essence, my step is as follows: 1.insmod tvp5146.ko 2.insmod mt9t001.ko 3.insmod video-buf.ko 4.insmod davinci-vpfe.ko device_type=0 The first two steps do not have the question run 3 step , prompts the error message: video_buf: Unknown symbol v4wb_clear_user_page insmod: error inserting 'video-buf.ko': -1 Unknown symbol in module run 4 step ,prompts the error message: kobject_register failed for vpfe (-17) driver registration failed insmod: error inserting 'davinci-vpfe.ko': -1 Operation not permitted thanks! winkyxiao 各位明星最近怎么样?人气榜为您奉上最新动态! 现在就看看!http://cnweb.search.live.com/xrank/?Form=MEVHAA ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: DVEVM 6467 no signal on output
Hi, Display type mean pixel format? It's because only one pixel format is supported on dm6467 i.e. YC Planar. So there is no need to change it. If display type is bt656 or bt1120, it will be selected based on the mode selected. dm6467 supports four boot time arguments ch0_output, ch0_mode, ch1_output and ch1_mode. These are used to set the output physical connection and mode on that connection on a channel. Brijesh Jadav From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karicheri, Muralidharan Sent: Tuesday, August 12, 2008 10:01 PM To: Phil Quiney; Ondrej Pindroch Cc: davinci-linux-open-source@linux.davincidsp.com Subject: RE: DVEVM 6467 no signal on output The davinci_enc_mngr has defaults set to composite + ntsc which can be overridden by setting kernel bootargs as listed in your email. Is this not working? This is same for DM6446, DM355 DM6467. Only difference is DM6467 has 2 channels and bootargs can be set for both channels. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Quiney Sent: Tuesday, August 12, 2008 5:56 AM To: Ondrej Pindroch Cc: davinci-linux-open-source@linux.davincidsp.com Subject: RE: DVEVM 6467 no signal on output Hi, OK, that is a change over the DM355/6446 then. On these you get to set both the mode the output with kernel parameters like.. davinci_enc_mngr.ch0_mode=ntsc davinci_enc_mngr.ch0_output=COMPOSITE Here 'mode' can be things like NTSC, PAL, 640x480, 1080P 'output' can be COMPOSITE, SVIDEO, COMPONENT, LCD... (depending on what hardware you have of course). The defaults are COMPOSITE + NTSC which seemed to be what your kernel was saying on boot up. If you have changed the default by editing code are you actually booting the kernel you changed? I am still suprised there isn't the kernel parameter method of changing the display type/format - is there a TI person that can confirm that editing code is the only way to change this? Regards Phil Q Phil Quiney, Senior Software Engineer Trinity Convergence Cambridge Business Park Cowley Road Cambridge CB4 0WZ, UK T: +44(0)1223-435536 F: +44(0)1223-435560 www.trinityconvergence.comhttp://www.trinityconvergence.com/ From: Ondrej Pindroch [mailto:[EMAIL PROTECTED] Sent: 12 August 2008 10:30 To: Phil Quiney Cc: davinci-linux-open-source@linux.davincidsp.com Subject: RE: DVEVM 6467 no signal on output Thanks Phill Unfortunately there is no possibility to set video outputs via bootargs. I can change sources. But now I have no signal on all outputs. Really funny is that, I have tested the whole DEMO one week ago. It works. Than I was away. Monday I returned to work and I have no signal. Ondrej Pindroch SoftHard Technology ltd. -Original Message- From: Phil Quiney [EMAIL PROTECTED] To: Ondrej Pindroch [EMAIL PROTECTED], davinci-linux-open-source@linux.davincidsp.com Date: Tue, 12 Aug 2008 10:08:24 +0100 Subject: RE: DVEVM 6467 no signal on output Hi, The 'kernel taint' messages are normal for the dsplinkk module and are caused by the fact that it is not GPL code. They are harmless - the module has loaded and should still function. I would check your boot arguments - I would have expected a x=component (where x is some module parameter or other) in the boot line or is it the default on the 6467 (I don't have a 6467 board to try here)? Just checking your kernel output and it says 'ch0 default output COMPOSITE, mode NTSC' which backs up this idea. Regards Phil Q Phil Quiney, Senior Software Engineer Trinity Convergence Cambridge Business Park Cowley Road Cambridge CB4 0WZ, UK T: +44(0)1223-435536 F: +44(0)1223-435560 www.trinityconvergence.comhttp://www.trinityconvergence.com/ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ondrej Pindroch Sent: 11 August 2008 14:12 To: davinci-linux-open-source@linux.davincidsp.com Subject: DVEVM 6467 no signal on output Hi All I have had working demo on DVEVM 6467. I was booting from TFTP and all was OK. This monday I turned on DVEVM and monitor displayed. that no signal is on component input. This is listing of booting: Booting PSP Boot Loader Starting NAND Copy Booting Application @ 0x8108 U-Boot 1.2.0 (Dec 13 2007 - 14:52:18) I2C: ready DRAM: 256 MB unknown vendor=0 Flash: 0 kB NAND: 128 MiB In:serial Out: serial Err: serial ARM Clock :- 297MHz DDR Clock :- 297MHz Hit any key to stop autoboot: 0 BOOTP broadcast 1 DHCP client bound to address 192.168.0.248 TFTP from server 192.168.0.228; our IP address is 192.168.0.248 Filename 'uImage'. Load address: 0x8070 Loading: # # #
RE: HD display on DM6467 evm
Hi, Can you try getting the mode set on the Output after running the application? You can get the current mode by following command. cat /sys/class/davinci_display/ch0/mode Thanks, Brijesh Jadav -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of SergA Sent: Monday, August 11, 2008 5:06 PM To: davinci-linux-open-source@linux.davincidsp.com Subject: HD display on DM6467 evm Hi. I try to test capture and display on DM6467 evm. I use saMmapLoopback and saUserPtrLoopback tests. If I connect to capture composite SD resolution in, and also composite out to display: its work fine. Then I connect in component 720p signal. Test is going, but there is nothing (my hdtv tell that there is no input signal) on component out. Also I dump captured frames, and this ok, there is stream that I give in evm. What is wrong? Best regards. Anton Sergeev ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Unable to initialize VPFE
Hi, Can you check that TVP5147 driver is inserted in the kernel? Brijesh Jadav -- Platform Support Productshttp://dbdwss01.india.ti.com/pspproducts/default.aspx Texas Instruments Inc Ph: +91-80-2504-8680 TI IP Ph: 504-8680 PSP Product Announcementshttps://sps05.itg.ti.com/sites/sdo/psp/_layouts/listfeed.aspx?List=%7b56D44EE9-AE07-45BB-82BF-47B4CCC9AFEA%7d From: Deepak Kumar GB [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2008 12:19 PM To: Jadav, Brijesh R Cc: davinci-linux-open-source@linux.davincidsp.com Subject: RE: Unable to initialize VPFE Hi Brijesh, Camera is connected to J13 Video Inport on DM6467 and Camera is in ON state I have also checked connected DVD player with Play state. In both the conditions VIDIOC_G_INPUT is failing. Is there anything else that I can check. Thanks, Deepak From: Jadav, Brijesh R [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2008 9:19 AM To: Deepak Kumar GB Cc: davinci-linux-open-source@linux.davincidsp.com Subject: RE: Unable to initialize VPFE Hi, Can you make sure camera is connected to the right port and it is on? Thanks, Brijesh Jadav -- Platform Support Productshttp://dbdwss01.india.ti.com/pspproducts/default.aspx Texas Instruments Inc Ph: +91-80-2504-8680 TI IP Ph: 504-8680 PSP Product Announcementshttps://sps05.itg.ti.com/sites/sdo/psp/_layouts/listfeed.aspx?List=%7b56D44EE9-AE07-45BB-82BF-47B4CCC9AFEA%7d From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Deepak Kumar GB Sent: Wednesday, July 02, 2008 9:20 PM To: davinci-linux-open-source@linux.davincidsp.com Subject: Unable to initialize VPFE Hi, I am trying to run dvtb-r application on DM6467, with NTSC camera connected to composite input. I am getting error message, saying no inputs are connected and unable to initialize VPFE. Does anyone has any idea about this, Below is complete log. Thanks, Deepak [DVTB-LOG]: dvevmStEngine.c: Codec Engine Runtime initialized setp vpfe width 720 PASS: setp setp vpfe height 480 PASS: setp setp videnc1 numframes 30 FAIL: setp setp videnc1 codec h264enc PASS: setp setp engine name encode PASS: setp func videnc1 -t capture.264 [DVTB-LOG]: dvevmStFuncDispatcher.c: Starting Thread for command videnc1 PNDG: func [DVTB-LOG]: dvevmStEngine.c: Engine encode opened. Handle 944d0 [DVTB-LOG]: dvevmStVidCapture1.c: Video Encoder h264enc initialized [DVTB-ERROR]: GET_INPUT failed.No inputs connected for Device /dev/video0 Error :: Invalid argument [DVTB-ERROR]: dvevmStVidCapture1.c: Unable to initialize VPFE device /dev/video0 [DVTB-LOG]: dvevmStVidCapture1.c: Video [capture][encode] completed for -1 frames [DVTB-ERROR]: VIDIOC_STREAMOFF failed Error :: Permission denied [DVTB-LOG]: dvevmStVidCapture1.c: Video Encoder h264enc closed [DVTB-LOG]: dvevmStVidCapture1.c: Engine encode closed ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Unable to initialize VPFE
Hi, Can you make sure camera is connected to the right port and it is on? Thanks, Brijesh Jadav -- Platform Support Productshttp://dbdwss01.india.ti.com/pspproducts/default.aspx Texas Instruments Inc Ph: +91-80-2504-8680 TI IP Ph: 504-8680 PSP Product Announcementshttps://sps05.itg.ti.com/sites/sdo/psp/_layouts/listfeed.aspx?List=%7b56D44EE9-AE07-45BB-82BF-47B4CCC9AFEA%7d From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Deepak Kumar GB Sent: Wednesday, July 02, 2008 9:20 PM To: davinci-linux-open-source@linux.davincidsp.com Subject: Unable to initialize VPFE Hi, I am trying to run dvtb-r application on DM6467, with NTSC camera connected to composite input. I am getting error message, saying no inputs are connected and unable to initialize VPFE. Does anyone has any idea about this, Below is complete log. Thanks, Deepak [DVTB-LOG]: dvevmStEngine.c: Codec Engine Runtime initialized setp vpfe width 720 PASS: setp setp vpfe height 480 PASS: setp setp videnc1 numframes 30 FAIL: setp setp videnc1 codec h264enc PASS: setp setp engine name encode PASS: setp func videnc1 -t capture.264 [DVTB-LOG]: dvevmStFuncDispatcher.c: Starting Thread for command videnc1 PNDG: func [DVTB-LOG]: dvevmStEngine.c: Engine encode opened. Handle 944d0 [DVTB-LOG]: dvevmStVidCapture1.c: Video Encoder h264enc initialized [DVTB-ERROR]: GET_INPUT failed.No inputs connected for Device /dev/video0 Error :: Invalid argument [DVTB-ERROR]: dvevmStVidCapture1.c: Unable to initialize VPFE device /dev/video0 [DVTB-LOG]: dvevmStVidCapture1.c: Video [capture][encode] completed for -1 frames [DVTB-ERROR]: VIDIOC_STREAMOFF failed Error :: Permission denied [DVTB-LOG]: dvevmStVidCapture1.c: Video Encoder h264enc closed [DVTB-LOG]: dvevmStVidCapture1.c: Engine encode closed ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source