DDR2 controler
Hi We are developing our own board with DM365. Most of the board is done according to EVM schematic. The problem is DDR. We are useing the same IC as EVM. However with the same registry setup as in EVM it is not working. I have examined some signals like CLK, RAS, CAS, some data bits, and adrress bits, all seems to be OK. Any suggestion is welcome. Best regards Ondrej Pindroch ___ 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: Changing Resolutions
As I know, hardware is not capable to to do this. If you have no problem with latency, than you can use resizer to resize image before commpression. If you imput PAL, than resizing will take few ms. If your sensor is not capable to bin image, than this is one way how to fix this. Mvl 401 is LSP 1.30 I suppose. Best regards Ondrej Pindroch -Original Message- From: "Alex Tarter" To: Date: Thu, 30 Jul 2009 14:25:51 +0100 Subject: RE: Re: Changing Resolutions I don't think it's the sensor as its just inputting a standard PAL signal. The reason is I'm using the following commands: crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; crop.c.left = MAX_WIDTH / 2 - captureWidth / 2; crop.c.top= MAX_HEIGHT / 2 - captureHeight / 2; crop.c.width = captureWidth; crop.c.height = captureHeight; if (ioctl(fd, VIDIOC_S_CROP, &crop) == -1) { ERR("VIDIOC_S_CROP failed %d, %s\n", errno, strerror(errno)); return -1; } But if I try anything else I end up with a corrupt image. Is there an ioctl command to not use cropping but to use interpolation? I think I'm using LSP version mvl401 if that makes any sense. Thanks Alex Message: 3 Date: Thu, 30 Jul 2009 13:06:13 +0200 From: "Ondrej Pindroch" Subject: Re: Changing Resolutions To: "davinci-linux-open-source" Message-ID: Content-Type: text/plain; charset="utf-8" First question is which sensor are you using? Perhaps you need to change mode specification in driver. which LSP are you using? Interpolation will cost some resources. If you have MT9T001 or some similar, than the sensor can do it for you. Best regards. Ondrej Pindroch This e-mail from Ultra Electronics Limited and any attachments to it are confidential to the intended recipient and may also be privileged. If you have received it in error please notify the sender and delete it from your system. If you are not the intended recipient you must not copy it or use it for any purpose nor disclose or distribute its contents to any other person. All communications may be subject to interception or monitoring for operational and/or security purposes. Please rely on your own virus checking as the sender cannot accept any liability for any damage arising from any bug or virus infection. Ultra Electronics Limited is a company registered in England and Wales, registration number 2830644. The address of its registered office is 417 Bridport Road, Greenford, Middlesex, UB6 8UA. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source [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: Changing Resolutions
First question is which sensor are you using? Perhaps you need to change mode specification in driver. which LSP are you using? Interpolation will cost some resources. If you have MT9T001 or some similar, than the sensor can do it for you. Best regards. Ondrej Pindroch -Original Message- From: "Alex Tarter" To: Date: Thu, 30 Jul 2009 09:41:45 +0100 Subject: Changing Resolutions I’m using a DM6446 card to take images from an external camera and create some JPEGs. The system works great but my problem is with the different resolutions within the codec. At the normal 720x540 resolution it gives me the complete field of view, but when I drop down to say 320x240 instead of using the full field of view and only using every other pixel it uses all the pixels in the central 320x240 box of the frame. How do I get the sensor to use the entire field of view when capturing at different resolutions? If that’s not possible and instead I’ll have to do the interpolation myself, what is the most efficient method of copying every other pixel from the input frame to another buffer that I can then use for the JPEG compression? Thanks Alex Alex Tarter Ultra Electronics Communication & Integrated Systems www.ultra-electronics.com This e-mail from Ultra Electronics Limited and any attachments to it are confidential to the intended recipient and may also be privileged. If you have received it in error please notify the sender and delete it from your system. If you are not the intended recipient you must not copy it or use it for any purpose nor disclose or distribute its contents to any other person. All communications may be subject to interception or monitoring for operational and/or security purposes. Please rely on your own virus checking as the sender cannot accept any liability for any damage arising from any bug or virus infection. Ultra Electronics Limited is a company registered in England and Wales, registration number 2830644. The address of its registered office is 417 Bridport Road, Greenford, Middlesex, UB6 8UA. ___ 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 the main problem was that the there was enabled pipe to H3A. So Previewer did not get interupts, or only few. (Errata of DM6446) Now it is realy funny, that when I run my application telnet do not respond. As well saving image to NFS is really slow. In LSP130 it work quite well. I have no idea why it is so:) Have not tried to examine this. May be I should exculde something from kernel. Some networking features. Ondrej Pindroch SoftHard Technology ltd. -Original Message- From: "Jadav, Brijesh R" To: Ondrej Pindroch , davinci-linux-open-source Date: Tue, 7 Jul 2009 19:04:24 +0530 Subject: 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 OfOndrej 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" To: Ondrej Pindroch , davinci-linux-open-source 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 OfOndrej 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
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" To: Ondrej Pindroch , davinci-linux-open-source 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 OfOndrej 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
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: ccdc_davinci LSP210
I am not shure that there should be problem with sensor. Because I have no problem under LSP1.30. All registers on sensor are OK. So there is perhaps problem with setting off ccdc inside davinci. Ondrej Pindroch SoftHard Technology ltd. -Original Message- From: Stephen Berry To: Ondrej Pindroch , davinci-linux-open-source-boun...@linux.davincidsp.com Date: Tue, 30 Jun 2009 16:36:48 -0400 Subject: Re: ccdc_davinci LSP210 When you are setting the exposure on a cmos sensor you have to be careful not to exceed the number of vertical lines that you have. In other words, if your sensor is capturing 640x480 then you shouldn't have an exposure greater than 480, this effectively causes the sensor to drop a frame for you since you have asked it to continue exposing into the next frame. Also with some sensors the H-Blank values can get you into trouble too. Usually in the sensor data sheet there will be a section showing you how to calculate frame rate. I generally create a spread sheet so that I can get the frame rate, exposure range and resolution that I want. In addition, if you have your VPFE set up so that it is asking for more data than is provided in a single frame, it will show up as reduced frame rate. Generally when bringing up a new sensor I start at the input - dump raw bayer data as captured by the sensor - and bring it up in a program that can take raw planar data. Corel Paint shop works, as well as linux 'display". Once you have fixed your input so it looks sane, move on the the YUV conversion... Steve Ondrej Pindroch wrote: I am using driver from LS2.10 with added ioctls to set up registers on sensor. (exposure). Now I can read all regs so I can see that all is set properly. I can see defective image on output. So I see that sensor is responding on chandes in exposure, gain and som on. Do some one have some experiences with LSP 2.10 ccdc controler driver on 6446. The MT9P031 driver seems to be only interface to comunicate with sensor. I think there are some registers badly set. Frame rate is slow it should be by PAL resolution something neer 40fps. It si barely 2fps. Ondrej Pindroch SoftHard Technology ltd. -Original Message- From: "Karicheri, Muralidharan" [mailto:m-kariche...@ti.com] To: Ondrej Pindroch [mailto:opindr...@softhard.sk], davinci-linux-open-source [mailto:davinci-linux-open-sou...@linux.davincidsp.com] Date: Tue, 30 Jun 2009 09:07:07 -0500 Subject: RE: ccdc_davinci LSP210 Ondrej, We had tested MT9P031 on DM365, not on DM6446. Do you have your own sensor driver or use the one from LSP 2.10? Murali Karicheri Software Design Engineer Texas Instruments Inc. Germantown, MD 20874 Phone : 301-515-3736 email: m-kariche...@ti.com [mailto:m-kariche...@ti.com] From:davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com]] On Behalf OfOndrej Pindroch Sent: Tuesday, June 30, 2009 8:12 AM To: davinci-linux-open-source Subject: ccdc_davinci LSP210 Hi I am using Montavista 5.0 on my DVEVM with DM6446. I have succesfully build an appication with LSP120. Now I am trieing to port it undre LSP210. All is ok excluding ccdc driver. I am usenig expansion board from leopardimagining with MT9P031 sensor. Do someone have some suggestion what could be wrong. It is hanging sometimes during configuration, or can not set up standard. Is there any special configuration. all other componnents in image pipe are working well. I have tested each one. Best regards Ondrej Pindroch SoftHard Technology ltd. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com [mailto:davinci-linux-open-sou...@linux.davincidsp.com] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source [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: ccdc_davinci LSP210
I am using driver from LS2.10 with added ioctls to set up registers on sensor. (exposure). Now I can read all regs so I can see that all is set properly. I can see defective image on output. So I see that sensor is responding on chandes in exposure, gain and som on. Do some one have some experiences with LSP 2.10 ccdc controler driver on 6446. The MT9P031 driver seems to be only interface to comunicate with sensor. I think there are some registers badly set. Frame rate is slow it should be by PAL resolution something neer 40fps. It si barely 2fps. Ondrej Pindroch SoftHard Technology ltd. -Original Message- From: "Karicheri, Muralidharan" To: Ondrej Pindroch , davinci-linux-open-source Date: Tue, 30 Jun 2009 09:07:07 -0500 Subject: RE: ccdc_davinci LSP210 Ondrej, We had tested MT9P031 on DM365, not on DM6446. Do you have your own sensor driver or use the one from LSP 2.10? Murali Karicheri Software Design Engineer Texas Instruments Inc. Germantown, MD 20874 Phone : 301-515-3736 email: m-kariche...@ti.com From:davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf OfOndrej Pindroch Sent: Tuesday, June 30, 2009 8:12 AM To: davinci-linux-open-source Subject: ccdc_davinci LSP210 Hi I am using Montavista 5.0 on my DVEVM with DM6446. I have succesfully build an appication with LSP120. Now I am trieing to port it undre LSP210. All is ok excluding ccdc driver. I am usenig expansion board from leopardimagining with MT9P031 sensor. Do someone have some suggestion what could be wrong. It is hanging sometimes during configuration, or can not set up standard. Is there any special configuration. all other componnents in image pipe are working well. I have tested each one. Best regards 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
ccdc_davinci LSP210
Hi I am using Montavista 5.0 on my DVEVM with DM6446. I have succesfully build an appication with LSP120. Now I am trieing to port it undre LSP210. All is ok excluding ccdc driver. I am usenig expansion board from leopardimagining with MT9P031 sensor. Do someone have some suggestion what could be wrong. It is hanging sometimes during configuration, or can not set up standard. Is there any special configuration. all other componnents in image pipe are working well. I have tested each one. Best regards 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
Initialization of MT9P031 and front end in LSP2.10
Hi I wrote some question fee days ago. Now I have managed to open capture device. It was my fault. Now it seems that capture device is initialized, but it crash without any error message. I have compared resizer and previewer initialization and V4L2 initialization with examples. It should be ok. So I suppose that there is problem with initialization of front end. Do some one have done this for DM6446. If yes please help me with this. The other question is how to set register of MT9P031. In LSP1.2 I have changed IOCLTS and added some new. Now I do not undrestand the architecture of this driver. Can someone give me some hints what to search and how to add IOCTL to put in MT9P031 driver two new funtions. Thank you for your help 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: DVEVM6446 and MT9P031 under LSP210
That onl feeling, because there are IOCTLs for setting MT9T001 params but none with MT9P031. Second I am not able open video0. It ends with something like this i2c_adapter i2c-0: tvp514x_setinput:lost lock] i2c_adapter i2c-0: tvp514x_setinput:lost lock] i2c_adapter i2c-0: tvp514x: no input connected vpfe ccdc capture vpfe ccdc capture.1: Unable to get standard from decoder vpfe ccdc capture vpfe ccdc capture.1: Error in initializing channel InitDevice:open::: Invalid argument However I have set in boot args davinci_capture.device=3 This should mean MT9P031. But it is using TVP5146 I have no idea how to solve it. Is there any guide how to run MT9P031 in LSP210. I have tried many things but it seems that I am not able to open video0. One think I have made was, that I have changet I2C address of TVP5146 because it was the same as LEOPARDBOARD. But The address is working I can read register shutdown TVP5146 and so on. Thanks for some suggestion Ondrej Pindroch SoftHard Technology ltd. -Original Message- From: "Karicheri, Muralidharan" To: Ondrej Pindroch , davinci-linux-open-source Date: Tue, 23 Jun 2009 09:15:34 -0500 Subject: RE: DVEVM6446 and MT9P031 under LSP210 . It seems that there is no connection to MT9P031 driver. What you mean by this? Murali Karicheri Software Design Engineer Texas Instruments Inc. Germantown, MD 20874 Phone : 301-515-3736 email: m-kariche...@ti.com From:davinci-linux-open-source-boun...@linux.davincidsp.com [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf OfOndrej Pindroch Sent: Tuesday, June 23, 2009 9:38 AM To: davinci-linux-open-source Subject: DVEVM6446 and MT9P031 under LSP210 HI I am now porting a small application from LSP1.30 to LSP 2.10. It seems that VPFE driver have changed. I need to initialize sensore board from leopardimaging with MT9P031 on boar. It seems that there is no connection to MT9P031 driver. Do you have some hints, or may be have you tried it.. Thak you for your answer. Ondrej PindrochSoftHard 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
DVEVM6446 and MT9P031 under LSP210
HI I am now porting a small application from LSP1.30 to LSP 2.10. It seems that VPFE driver have changed. I need to initialize sensore board from leopardimaging with MT9P031 on boar. It seems that there is no connection to MT9P031 driver. Do you have some hints, or may be have you tried it.. Thak you for your answer. 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
CMEM usage in no codec oriented application
Hi How can I use CMEM and all it's API. In my application. I need to get one buffer with size almost 10MB, which will be continous in virtual and physical memory space. I have tried link cmem.a to my project but it told me "undefined reference to CMEM_init" and so on. Thanks for your answer 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
Buffer continious in physical memory may not be continous in virtual space of process
Hi I have one problem. I am running image pipe on DM6446 with resolution 2560x1920. All is fine, but I am not able to save data after previewer to disk. It seems that when I assumed that continuous physical address will be reflected to continuous virtual, I have been wrong. Is there any way to save the whole buffer, or allocate that it will be continuous in virtual and physical too. Best regards 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
Getting larger resolution than 1080p
Hi I have made some new resolutions for MT9P031 sensor. One is almost full frame 2560x1920. But when I see the image are no relevant data in line after 1908. pixel. Some sort of noise is there. I have made changes in buffer length and all what I expected to change. Do some one have any suggestions what could be wrong. Resolution 1280x1024 and 1280x960(bin of 2560x1920) are ok. Is there some hardware limitation? I have not found any. Thanks for suggestion 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
Problem to convert YUV to RGB
Hi I need to produce BMP image as output from previewer. It is all fine except converting YUV to RGB. I have made function which take 3 bytes YUV data and stores 3bytes RGB. I need to do it in fixed point arithmetic. Below is my code of this function. I have no idea what is wrong. int convertYUVtoRGB (struct RGBhodnoty *RGBvals,struct YUVhodnoty *YUVvals) { short Yshort,Ushort,Vshort; Yshort = (short)YUVvals->val_Y; if (YUVvals->val_U > 127) Ushort = (short)YUVvals->val_U - 256; else Ushort = (short)YUVvals->val_U; if (YUVvals->val_V > 127) Vshort = (short)YUVvals->val_V - 256; else Vshort = (short)YUVvals->val_V; RGBvals->val_R = (char) (((298*(Yshort-16) + 409*(Vshort) + 128)>>8) & 0xFF); RGBvals->val_G = (char) (((298*(Yshort-16) - 100*(Ushort) - 208*(Vshort) + 128) >>8) & 0xFF); RGBvals->val_B = (char) (((298*(Yshort-16) + 516*(Ushort) + 128)>>8) & 0xFF); return 0; }Please help! 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
YUYV data representation
Hi Do someone have any idea how to correctly convert data from resizer to RGB. I think that they are in signed 8bit format. On output I need unsigned 8-bit RGB. 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
Save output from resizer to file
Hi I need now to save data from previewer to file (something like snap shot). Do someone have done it before. For example in BMP format. I have problems to create right BMP header. How it will be with data, have no idea. Thank for advice. 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
Resize running but black output
Hi I am now trying to use resize to resize 720p for PAL output. I suppose I have configured all as it should be, but still I have no image on output. Processing of resizer takes 7.7ms that OK. There is no error. It is running. Coefs for Resizer have been calculated with calccoefs. I am using input buffer of Resizer for output of previewer and for output of resizer I am useing buffers from v4L2. Any suggestions? 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: DM6446 + video capturing from CMOS sensor with VGA resolution
Hi CCDC controller has an ability for bad pixel correction. Read sprue38.pdf page 38+ But I am not shure if is implemented to CCDC controler. Perhaps you should do it. Good Luck Ondrej Pindroch SoftHard Technology ltd. -Original Message- From: kirthika varadarajan To: davinci-linux-open-source@linux.davincidsp.com Date: Wed, 27 May 2009 16:18:36 +0900 Subject: DM6446 + video capturing from CMOS sensor with VGA resolution Hi, I am working with DM6446 in which i am capturing the video from Micron CMOS sensor after that encoding. When i capture one frame(640X480) of data from sensor i am getting green pixels(around 10 rows) at the bottom of the captured image. How can i make it black pixels or adjust it. Suggest me. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
How to setup V4L2 for best preformance
Hi I have simple loop trought which is proccessing images from CMOS sensor. Proccessing take sallmost 7ms. In front end I am skipping frames which are older than 1 frame. Still I have latency from input to outpu 120ms and some times more. I am sure that I can not spare significant amount of time in front end. That means that I have more than 2 frames latency on VPBE (I am useing PAL as output 25fps => 40ms/f) Is there some special settings to improve this timing on VPBE. I am useing V4L2. Best regards 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
Display frame rate is 25fps it is PAL output. Ondrej Pindroch SoftHard Technology ltd. -Original Message- From: "Jadav, Brijesh R" To: Ondrej Pindroch , davinci-linux-open-source 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 OfOndrej 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
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: Unable to change cache size in codec engine.
Refer to tms320dm6446.pdf /p14 (datasheet of TMS320DM6446) DSP has only 64KB The DSP Subsystem includes the following features: · C64x+ DSP CPU · 32KB L1 Program (L1P)/Cache (up to 32KB) · 80KB L1 Data (L1D)/Cache (up to 32KB) · 64KB Unified Mapped RAM/Cache (L2) · Little endian Best regards Ondrej Pindroch -Original Message- From: bhushan To: jaya.krish...@samsung.com Cc: "davinci-linux-open-source@linux.davincidsp.com" Date: Thu, 21 May 2009 14:23:18 +0530 Subject: Re: Unable to change cache size in codec engine. I am referring doc spru871j.pdf. In the section Level 2 memory and cache it is mentioned that the L2 cache size can be configured for 32KB, 64KB, 128KB and 256KB. I presume the L2_CACHE is same as this. If there is any other doc whcih specifies that the cache size configured is limited to 64KB please refer the same to me. regards, Bhushan On Thu, May 21, 2009 at 1:30 PM, Jaya krishnan wrote: > Hello, > I remember 64x+ L2 cache size is 64K (maximum). > Regards > Jayakrishnan > > > > > --- Original Message --- > Sender : bhushan > Date : May 21, 2009 16:19 (GMT+09:00) > Title : Unable to change cache size in codec engine. > > Hello , > I am trying to build an application to encode video in mpeg4 format > and also integrate the scale example from the codec engine in the > encode combo server. During the integration fro performance reasons I > want to increase the L2 cache size from 64k to 128k. My processor is > tms320dm6446. > On building the codec_server I get the error: > Error: Can't set cache to size: 128k > Following is the encode.tcf file: > /* > * Setup platform-specific memory map, CLK rate, etc. > */ > var mem_ext = [ > { >comment:"DDRALGHEAP: memory for dynamic algmem allocation", >name: "DDRALGHEAP", >base: 0x8B80, >len:0x0420,// 66MB >space: "code/data" > }, > { >comment:"L1DSRAM: memory for dynamic algmem allocation", >name: "L1DSRAM", >base: 0x11F04000, // >len:0x1, // 64k >space: "data" > }, > { >comment:"CACHE_L2", >name: "CACHE_L2", >base: 0x1180, // >len:0x20, // 128k >space: "data" > }, > { >comment:"H264ENCSEC1", >name: "H264ENCSEC1", >base: 0x8FA0, >len:0x4140, >space: "code/data" > }, > { >comment:"H264ENCSEC2", >name: "H264ENCSEC2", >base: 0x8FA04140, >len:0x5080, >space: "code/data" > }, > { >comment:"H264ENCSEC3", >name: "H264ENCSEC3", >base: 0x8FA09220, >len:0x6000, >space: "code/data" > }, > { >comment:"H264ENCSEC4", >name: "H264ENCSEC4", >base: 0x8FA1, >len:0x5000, >space: "code/data" > }, > { >comment:"H264ENCSEC5", >name: "H264ENCSEC5", >base: 0x8FA15000, >len:0x3000, >space: "code/data" > }, > { >comment:"H264ENCSEC6", >name: "H264ENCSEC6", >base: 0x8FA18000, >len:0x4040, >space: "code/data" > }, > { >comment:"H264ENCSEC7", >name: "H264ENCSEC7", >base: 0x8FA28000, >len:0x5400, >space: "code/data" > }, > { >comment:"H264ENCSEC8", >name: "H264ENCSEC8", >base: 0x8FA2D400, >len:0x2c00, >space: "code/data" > }, > { >comment:"MPEG4ENCSEC1", >name: "MPEG4ENCSEC1", >base: 0x8FA4, >len:0x0001, >space: "code/data" > }, > { >comment:"MPEG4ENCSEC2", >name: "MPEG4ENCSEC2", >base: 0x8FA5, >len:0x8000, >space: "code/data" > }, > { >comment:"MPEG4ENCSEC3", >name: "MPEG4ENCSEC3", >base: 0x8FA58000, >len:0x8000, >space: "code/data" > }, > { >
V4L2display no image
Hi I have made som looptrought with MT9P031 sensor. Previously I have been useing FB for output. To avoid memcpy I have switched to V4L2. After some time fighting pointers and so on. Previewer is useing buffers from V4L2 for output. All seems OK but I can not see any image on screen. I have caught some buffers to files. Data are pretty similar to image data. But still no image on screen. Streaming is on. I have no idea what could be wrong with. Have some one any idea, what could be wrong? Best regards 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
How to make automatic maount of SDcard
Hi How can I make that when I put SDcard in slot it will autoamticaly be mounted for example in /mnt/SDcard. Suppose that the directory exist. Is there some way to do that. I have seen this in standard distributions for PC. Best regards 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 use buffers from FB as output buffer from previewer
Thank you for you answer. I want to use buffers of VPBE as output of previewer and than perhaps output of resizer to avoid memcpy operation. Previewing task will be synchronized with VPBE.I have realized that it is not possible to do it with FB driver I need to use V4L2 to get offsets for previewer. The requirement is to reduce latency. Now I am using pipe of CCDC, PREVIEWER(for demosaicing), memcpy and FB. And the latency is about 160ms. Best regards Ondrej Pindroch SoftHard Technology ltd. -Original Message- From: "Jerry Johns" To: Date: Tue, 12 May 2009 20:48:49 -0700 Subject: How to use buffers from FB as output buffer from previewer Let me get this correct: you want to take the output from the previewer engine in the CCDC module, and drive the VPBE display device with the same memory buffers? Although this is theoretically possible, it does not make sense from an implementation perspective – the CCDC module operates on an input clock that is absolutely asynchronous (and possibly at a different rate) with the display output clock. In that regard, the VPBE hardware will continually pick-up at its native display rate data from that memory location; since the production of data into the buffer by the CCDC is not in ‘sync’ with the VPBE, you’ll definitely get tearing at the VPBE output. What is driving this requirement for single buffer access? Is it memory usage? Latency? Jerry Johns Design Engineer Nuvation Research Corp - Canada Tel: (519) 746-2304 ext. 221 www.nuvation.com [http://www.nuvation.com/] ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
How to use buffers from FB as output buffer from previewer
Hi I am trying to use input buffers from video backend as output buffers for previewer. I have yous simply use pointers to FB buffers for previewer output. Problem is that there is no image, just black screen, without any errors. Have somebody done this before. Please let me know how. Best regards 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
How to get real frame rate
Hi I have build application which is capturing frames from CMOS. But now I need to get real frame rate, or average frame rate over some periode of time. Is in davinci linux some kind of timer which could be use to measure time of 100 frames, or something similar. Best regards:) 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
how to use semaphores
Hi I have been studying how to use threads. I have successful made one application, with two threads. I have tied to make something like semaphore. Now I need to make application with 3 or 4 threads 1. will do capture, 2. preview, 3. resize and 4. display. I have no idea how to synchronize this all. I know that it should be something with semaphores. Could some one send me some example created for davinci, or other hints. 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: Compiling EDMA, ASP, and I2C as modules
Hi I2c is in Device drivers -> I2C support -> ASP is in Device drivers -> Sound -> ... You should examine what can you check as module and would work About EDMA i suppose that it should be part of kernel and each driver is using library with EDMA functions. For example Davinci_VPFE. Ondrej Pindroch SoftHard Technology ltd. -Original Message- From: amr ali To: davinci forum Date: Mon, 4 May 2009 13:05:55 +0300 Subject: Compiling EDMA, ASP, and I2C as modules How to compile the above drivers as modules. I am using MVL 2.6.10. Can any one where are the options to do so ini menuconfig? -- Amr. Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it! [http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us] ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Avarager in Previewer
Hi I am trying to set up previewer with averaging 2. I need to reduce imput image width by factor of 2. The imput resolution ai 1920+HCROP x 1080+VCROP. But when I turn avareging in 2 I have no chanse to use the full resolution. It is stripping the part of grater than 1280 in width. Do someone have any idea how to set up previewer to do it OK. I have read that with averaging it should be possible to use images of higher resolution. Best regards. 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
Which u-boot use
Hi I have uboot 1.1.3 on my 6446 DVEVM It is working some how. How do I flash new U-boot and which one should I use when I am using LSP 2.6.10. Is it possible to flash it via uart without usage of J-tag? Thank for your answer 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
divinci linux 2.6.28+ with DVSDK 1.30
Hi Will dvsdk 1.30 work with davinci linux 2.6.28+ instead of MVL 2.6.10 delivered with dvsdk? Or there are some changes needed? Best regards 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
move srom mvl 2.6.10 to git version 2.6.29
hi I have demo board from leopard with DM6446 DVEVM I am using kernel downloaded from davinci web site. I have applied patches from leopard and have made some changes in vpfe module to add some functionality, or disable some unwanted behavior. Is there any way how to use patches from Leopard to change kernel from git? And an other question is: Is it worth to do this? (I have seen that there are some codes for MT9T031. Other hands as I saw it is now under v4l2 and not a part of davinci_vpfe as in my version now) Please advise me Best regards 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
Writing registers
Hi I have one problem. I need to write to hardware registers. Now it is PINMUX0. Is it possible to do that. If yes than how. Do I need to create special module for it. If yes how? Or should I write it as part of existing module. Realy I have no idea what to do with. 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
Modul for gpio access
I have found modul fo linux to access GPIO from user space. all seems OK I have build it used insmod user_gpio.ko There is only one problem it have not created file in /dev so I am not able to access this module. Can any body help me where could by problem with this? Thanks. Ondrej Pindroch ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
HOw to access GPIO
Hi I have found some GPIO stuff in kernel. But I have no idea how to use GPIO. I suppose that I shoul make some changes in board definition. Than build kernel. But still I have no idea how to read gpio, how to set them. Till now I have been realy unsuccessful. Can any body give me a hint. Thanks Ondrej Pindroch ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
board definition
Hi We are working on new board with DM6446 I am interested if there is a guide how to create board definition files for kernel (like evm_board.c ..) I have read them something is clear, but some things are not. 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
run script after root log on
Hi I have tried to run some scripts after boot up. There is a easy way to do it via init.d . But I need to run some commands after roots login.For example change to an other directory or run some small application. Is there a way how to do it? Best regards 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
Removing tvp5146 from davinci_capture device
Hi Have any body tried to remove tvp5146 modul from davinci_capture modul. I have but when i Tried to load this modul it ended with segmentation error. I have changed the I2C address of TVP5146 to have only MT9P031 on I2C with address 0x5D. What I need to do except removing all parts of TVP5146 module. Should I configure something in this module, or in kernel. Thanks a lot. Ondrej Pindroch ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Two devices same address
yscall+0x0 /0x2c) Code: ea1c e3550001 1a1a e1d730b8 (e1c460b2) /opt/leopard/load_modules.sh: line 1: 1057 Segmentation fault modprobe da vinci_capture device_type=2 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
Two devices same address
Hi I am working now with MT9P031 board from leopard imaging. I have tried to read out all registers but I have got wrong values. Than I find that tvp5146 has the same address. This can be changed via one of resistors on DVEVM. I have changed the address of tvp5146 in header files. I have compiled modules again, but have no success to load capture module. Below is listing of errors I have got. Pleas write me what could I do. I need to run this modul, and also to read registers from aptina sensor. 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
I2C reading from corrupted
Hi I am trying to read registers from MT9P031 which is on LI-5M01 board. The problem is that I am in most cases reading zero out. Some thimes it is OK. I have used scope to see what happend it seems like davinci, or something else is holding during reading zero on data bus. I can see small diferencies when MT9P031 is holding zero and release bus. A need fix this problem ASAP. I suppose it is software dependent. Thaks for answers Ondrej Pindroch ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
SD card usage
Hi I am using sd card to store pictures and other relevant data in my system. I hoped it will copy faster, but it is not a problem. I have pretty bigger problem to umount sdcard. It has FAT file system. And it takes about 5 minutes to umount. I have tried to pull out card during umount and get realy hudege bunch of errors. Any suggestion why it takes so long. 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
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
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
How to get data from Histogram
Hi Can anybody send me how can I get data from histogram. Second one question is what is in buffer which I read out form AEW or AF? And which count I should request in read function. I tried to realize dependecies on settings, but have no success. Best regards 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
configuration of preview and resizer
Hi I am trying to configure preview engine and resizer to get good image from MT9T031. Is there any goog documentation about, what are all the previewer coefficient about? I have one settings, but I know that it could be better. And other question is where can I find calccoeff for resizer engine? Thak you all for your answers. Best regards Ondrej Pindroch ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
How to control MT9T001 sensor register
Hi folks I need to set some register in MT9T001 during aplication running. But I do not now hot to do it. Capture device ioctl setting up something else. I tried to use mt9t001_ctrl from mt9t001.h but it seems it is a wrong way. Please help me to solve this problems. 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
Which patches to use
Hi I have DVSDK 1.30 and linux 2.6.10 MV. Mi question is which PATCHES are relevant for me. At least I need to patch MMC controler. Or is there way to get somewhere cumulativ patch. Or download patches as *.patch files. I not shure, that I am able to get all needed patches from open source site. Can anybody help me with this? 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
Aptina board for DVEVM 6446
Hi Do have anyone some experience with Leopard imaging LI-5M01for DVEVM. I have downloaded all stuff, build kernel, but have no success with example applications. I have got hudge amount of errors and warnings. Do anyone know how to build it. Thanks Ondrej Pindroch ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: Flash new uImage in nor flash
I have tried this, but still bad magic number. It is the same uImage I am booting from TFTP. Any suggestion? Ondrej Pindroch SoftHard Technology ltd. -Original Message- From: Constantine Shulyupin To: Ondrej Pindroch Cc: davinci-linux-open-source Date: Fri, 20 Mar 2009 14:34:28 +0200 Subject: Re: Flash new uImage in nor flash Start from http://wiki.davincidsp.com/index.php?title=Burn_any_image_to_NOR_flash [http://wiki.davincidsp.com/index.php?title=Burn_any_image_to_NOR_flash] 2009/3/20 Ondrej Pindroch : > Can anybody write me, how to flash new uImage to NOR flash on DVEVM 6446 > I have found some indications how to do it. But it results only tu bad magic > number. I have used adress 0x205 on flash. > > 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 [http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source] > > -- Embedded Linux Expert TI DaVinci Expert Tel-Aviv Israel http://www.LinuxDriver.co.il/ [http://www.linuxdriver.co.il/] ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Flash new uImage in nor flash
Can anybody write me, how to flash new uImage to NOR flash on DVEVM 6446 I have found some indications how to do it. But it results only tu bad magic number. I have used adress 0x205 on flash. 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
How to use all patches
Hi folks I am new to linux programing, kernel building and so on. I have installed MV4.0.1 from DVSDK. I saw lots of patches on this forum. My question is how to use this all patches, or it is possible to download patched kernnel with drivers? Thank you for your answer. Ondrej Pindroch ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Video source for DVEVM 6467
Hi I have one question. What are you useing as source for EVM. We have DVD player with full HD, HDMI to COMPONENT converter. But this box turn off output when HDCP detected. Is there any possibility to create component 720p with this gagets? Or should we buy computer and DVI to HDMI cable. Ondrej Pindroch ___ 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
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]>, 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.com [http://www.trinityconvergence.com/] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf OfOndrej 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: # # # # # done Bytes transferred = 1496728 (16d698 hex) ## Booting image at 8070 ... Image Name: Linux-2.6.10_mvl401-davinci_evm- Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1496664 Bytes = 1.4 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK OK Starting kernel ... Uncompressing Linux. ... done, booting the kernel. Linux version 2.6.10_mvl401-davinci_evm-PSP_01_30_00_070 ([EMAIL PROTECTED] main) (gcc version 3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)) #1 Wed J ul 9 01:33:51 CEST 2008 CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ) CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets Machine: DaVinci DM6467 EVM Memory policy: ECC disabled, Data cache writeback DM6467 Built 1 zonelists Kernel command line: console=ttyS0,115200n8 root=/dev/hda1 rw noinitrd ip=dhcp m em=120M davincihd_capture.channel0_numbuffers=4 PID hash table entries: 512 (order: 9, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 120MB = 120MB total Memory: 118272KB available (2555K code, 531K data, 164K init) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: Testing write buffer coherency: ok spawn_desched_task() desched cpu_callback 3/ ksoftirqd started up. desched cpu_callback 2/ desched thread 0 started up. NET: Registered protocol family 16 DaVinci: 48 gpio irqs Registering platform device 'serial8250.0'. Parent at platform Registering platform device 'musb_hdrc'. Parent at platform DaVinci I2C DEBUG: 01:32:10 Jul 9 2008 Registering platform device 'i2c'. Parent at platform ch0 default output "COMPOSITE", mode "NTSC" ch1 default output "", mode "" SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub musb_hdrc: version 2.2a/db-0.4.8 [cppi-dma] [host] [debug=0] musb_hdrc: ConfigData=0x06 (UTMI-8, dyn FIFOs, SoftConn) mus
DVEVM 6467 no signal on output
io scheduler ide0 at 0xe10661f0-0xe10661f7,0xe10663f6 on irq 22 hda: max request size: 1024KiB hda: 78140160 sectors (40007 MB), CHS=16383/255/63 hda: hda1 hda2 ide0: BM-DMA at 0xe1066000-0xe1066007, BIOS settings: hda:pio, hdb:pio Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice Registering Audio Devices. Total communication peripherals (ASP) : 2 Codec with ID = 0 on ASP = 0 is initialized.Using minor number : 3 Configuring the McASP as Master Configuring the McASP 1 for DIT SPDIF on ASP = 1 isinitialized.Using minor number : 19 NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 8192 bind 16384) NET: Registered protocol family 1 NET: Registered protocol family 17 Sending DHCP requests ., OK IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.0.248 IP-Config: Complete: device=eth0, addr=192.168.0.248, mask=255.255.255.0, gw=192.168.0.128, host=192.168.0.248, domain=sht.local, nis-domain=(none), bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath= kjournald starting. Commit interval 5 seconds EXT3-fs warning: maximal mount count reached, running e2fsck is recommended EXT3 FS on hda1, internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem). Freeing init memory: 164K INIT: version 2.85 booting Mounting a tmpfs over /dev...done. Creating initial device nodes...done. Activating swap...done. Remounting root filesystem...done. Calculating module dependencies Loading modules: Checking all file systems: fsck fsck 1.35 (28-Feb-2004) Mounting local filesystems: mount relayfs on /mnt/relayfs type relayfs (rw) Cleaning: /tmp /var/lock /var/run done. Setting up networking (ifupdown) .. Cleaning: /etc/network/run/ifstate done. Starting network interfaces: done. Starting hotplug subsystem: pci pci [success] usb usb [success] isapnp isapnp [success] ide ide [success] input input[success] scsi scsi [success] done. Starting portmap daemon: portmap. done. Setting pseudo-terminal access permissions...done. Updating /etc/motd...done. INIT: Entering runlevel: 3 Starting NFS common utilities: statd lockd. Starting internet superserver: inetd. ioremap_nocache(0x8780, 69206016)=0xc810 allocated heap buffer 0xc810 of size 0x821000 cmem initialized 5 pools between 0x8780 and 0x8ba0 dsplinkk: no version for "struct_module" found: kernel tainted. dsplinkk: module license 'DSP/BIOS(TM) LINK' taints kernel. DSPLINK Module (1.50) created on Date: Jan 3 2008 Time: 13:16:55 Starting web server ... thttpd Starting MontaVista target tools daemon: mvltdmvltd version 2.1 MontaVista Softw are,Inc. mvltd[1120]: started on port 34577 NET: Registered protocol family 10 IPv6 over IPv4 tunneling driver . MontaVista(R) Linux(R) Professional Edition 4.0.1 (0600980) 192.168.0.248 login: I am especially interested in two underlined lines. 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
Where to start
Hi all Im trying to understud how XDM, XDAIS and so on work. Or how to start creating aplications. There is lot of documentation. But I do not know where to start. Is there some step by step tutorial? Many thanks Ondrej Pindroch ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: booting a new board
You have more options to do it. One is via JTAG. The othe one is via UART Reed documents SPRAAI0.pdf and SPRAAI4.pdf. There are some hints how to flash all that via UART. Good luck. Ondrej Pindroch SoftHard Technology ltd. Tel: +421(2)65459327 Fax: +421(2)65459329 Mobile:+421(904)906011 -Original Message- From: "Albert Burbea" <[EMAIL PROTECTED]> To: "davinci-linux-open-source@linux.davincidsp.com" Date: Tue, 29 Jul 2008 10:52:05 +0200 Subject: booting a new board Hi everybody how do i boot a brand new (our design) board ? I need then to copy a filesystem to nand. how do i build it and burn it? Thanks!! -- Albert Burbea Harishonim 8 Ramat Gan 52502, Israel Tel/Fax + 972-3-7526016 Mobile: +972-52-3541842 ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Bad kernel bootargs, or bad whole kernel
Can anybody tell me what is wrong. First how to correct cmem.ko. and next one, why is the IP6 not starting well. Down are some lines from kernel booting. CMEMK Error: CMEM phys_start (0x8780) overlaps kernel (0x8000 -> 0x9 000) insmod: error inserting 'cmemk.ko': -1 Invalid parameters dsplinkk: no version for "struct_module" found: kernel tainted. dsplinkk: module license 'DSP/BIOS(TM) LINK' taints kernel. DSPLINK Module (1.50) created on Date: Jan 3 2008 Time: 13:16:55 Starting web server ... thttpd ipv6: disagrees about version of symbol struct_module modprobe: FATAL: Error inserting ipv6 (/lib/modules/2.6.10_mvl401-davinci_evm/ke rnel/net/ipv6/ipv6.ko): Invalid module format Starting MontaVista target tools daemon: mvltdipv6: disagrees about version of s ymbol struct_module modprobe: FATAL: Error inserting ipv6 (/lib/modules/2.6.10_mvl401-davinci_evm/ke rnel/net/ipv6/ipv6.ko): Invalid module format mvltd version 2.1 MontaVista Software,Inc. . mvltd[1127]: started on port 34577 MontaVista(R) Linux(R) Professional Edition 4.0.1 (0600980) 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
Demo on DVEVM 6467 is not starting
Hi all I have build whole demo on DVEVM 6467 but I am still not able to run it. This is what i get, when I tried to lounche decode. [EMAIL PROTECTED]:/opt/dvsdk/dm6467# ./decode -y5 -o -i -v ./data/videos/dust_1080i_30fps.m2v Decode demo started. Error: Failed to create display device Error: Failed to create Cpu Object Demo interface started at level 4. Interface Error: Failed to create display device instance Have you any sugestion, what to do? Regards, Ondrej Pindroch ___ 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: Video source for DM6467 EVM
Thanks for your answer We have bought DVD player which is capabe to send 720p component. But I think, we have an other problem, this demo is not starting. I have downloaded a newer release of software for this board, recovered file system, but I suppose there are some files missing. I am new in LINUX so it is very hard to find all files. Could you please send me file list which is in /opt/dvsdk/. Or send me the demo files. Our board is a december release. Many thanks Ondrej Pindroch SoftHard Technology ltd. Tel: +421(2)65459327 Fax: +421(2)65459329 Mobile:+421(904)906011 -Original Message- From: "Schoenemann, Nikolaus" <[EMAIL PROTECTED]> To: Ondrej Pindroch <[EMAIL PROTECTED]>, davinci-linux-open-source Date: Mon, 23 Jun 2008 11:12:15 +0200 Subject: RE: Video source for DM6467 EVM If I remember right, you have to use 720p component input to run the demos. We always used a PS3. Worked fine. Cheers, Niko ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Video source for DM6467 EVM
Can anybody tell me, what shoud I use as video source for EVM DM 6467. I suppose it chould be somethig, which will give 1080p on component output. Or should I buy a DVD palyer with full HDMI and conversion cable? Thank you for your answers. 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
Files on DM6467 EVM
Hello Can anybody send me a list of files needed for standalone demo on 6467EVM. I suppose they should be in /opt/... for example my DVSDK contains this files and folders root@(none):/# ls /opt/dvsdk cmemk.ko decodeCombo.x64P interface mapdmaq-hd decode dsplinkk.ko loadmodules.sh web Standalone demo is not starting 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: Demo not working on 6467 EVM
I have tried both, but I there are missing some files. Becouse, when I tried to run demo from comand line, it throw some errors and thats all. I tried to see signals with scope, but nothig there. Now I have downloaded newer version of software so I will try to restore file system from them. That one pint, other side is it possible to turn on the composit output :) 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
Demo not working on 6467 EVM
Hello I have got TMS320DM6467 EVM. I pluged all needed, but and turned it on. But nothing happend. I tried to recover HDA file system (was no problem), but nothig. Do you have working demo on EVM? Thank you very musch Ondrej Pindroch ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source