Re: How to change the uart0 to uart1 in kernel of DM365?
You just need to do following changes: *Uboot:* include/configs/davinci_dm365_evm.h: CFG_NS16550_COM1 0x01d06000 CFG_NS16550_CLK ---1215 *kernel:* arch/arm/mach-davinci/board-dm365-evm.c: static struct plat_serial8250_port serial_platform_data[1].uartclk = 1215; *bootargs:* console=ttyS1,115200n8 Regards, *Krunal Patil* Engineer | Embedded Department |---| *eInfochips | The Solutions People* Tel : +91 79 26400801 x 202 Cell : +91 99 24629091 www.einfochips.com http://www.einfochips.com/ On 10/14/2011 1:06 PM, 天天 wrote: Hi, I have bought the TI DM365 EVM, and the default uart for printing is uart0 in kernel. Now, I want to change the uart0 to uart1, and I have changed the document /include/asm-arm/mach-davinci/uncompress.h. Is the any document or configuration I forget which relates to the changing? Or if it is possible that you can tell me where should I change. Thank you very much ! -- This message has been scanned for viruses and dangerous content by *Clean Mail Gateway* http://www.CleanMailGateway.com/, and is believed to be clean. ___ 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: DVSDK
Hi Chetan , You can download dvsdk v1.30 from http ://software-dl.ti.com/ dsps / dsps _public_ sw / sdo _ sb / targetcontent / dvsdk / DVSDK _2_00/latest/index_ FDS . html with MY TI login . One suggestion DVSDK v 1.30 is depreciated you look at V 2.x if it suites you http ://software-dl.ti.com/ dsps / dsps _public_ sw / sdo _ sb / targetcontent / dvsdk / DVSDK _2_00/latest/index_ FDS . html . Regards, Krunal Patil - Original Message - From: chetan patil chtpatil @ gmail .com To: davinci- linux -open-source@ linux . davincidsp .com Sent: Saturday, December 25, 2010 12:37:53 PM Subject: DVSDK Can some one provide me the link for: DVSDK v1.30.01 I'm not able to find the link from where I can download necessary tools. Email Scanned for Virus Dangerous Content by : www . CleanMailGateway .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
Confusion regarding DVSDK 3.10 on DM6467
Hi, We are planning to use DVSDK 3.10 for DM6467 (729 Mhz) based customize board. I have some confusion regarding the DVSDK version to be used for development purpose. DVSDK_3_10_00_19_release_notes.pdf page-4 says that "This DVSDK release does not explicitly support the older DM6467 EVM platform. Users who have the older DM6467 EVM are currently advised not to upgrade from the existing DVSDK 2.0.0.22." May I know why this limitation is there? Can't I use DVSDK 3.10 for DM6467? And if I use DVSDK 3.10 for DM6467 what challenges I may face? Please revert back. Thanks in advance! -- Regards, Krunal Patil Embedded Engineer | eInfochips Ltd Contact: +91-9924629091 Ext: 245 www.einfochips.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: Confusion regarding DVSDK 3.10 on DM6467
Thanks for the reply Sekhar. I will post my query there!!! On Tuesday 16 November 2010 12:29 PM, Nori, Sekhar wrote: Hi Krunal, On Tue, Nov 16, 2010 at 12:02:39, Krunal Patil wrote: Hi, We are planning to use DVSDK 3.10 for DM6467 (729 Mhz) based customize board. I have some confusion regarding the DVSDK version to be used for development purpose. DVSDK_3_10_00_19_release_notes.pdf page-4 says that "This DVSDK release does not explicitly support the older DM6467 EVM platform. Users who have the older DM6467 EVM are currently advised not to upgrade from the existing DVSDK 2.0.0.22." May I know why this limitation is there? Can't I use DVSDK 3.10 for DM6467? And if I use DVSDK 3.10 for DM6467 what challenges I may face? The reason for this disclaimer is the fact that we never ran a full system test on the DM6467 EVM. There was a test cycle, but it focused on functionality only. As such there are no DM6467 EVM specific issues I am aware of. You can use the e2e.ti.com website for queries specific to TI releases. This list is mainly watched by those interested in upstream software development. The advantage of using the e2e.ti.com is that it is watched by many of TI FAEs and managers (apart from engineers) who would work towards a timely response to your queries. Thanks, Sekhar 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
DM365 OV5642 interface: No video data.
Hi, I am trying to interfaced OV5642 image sensor with DM365 processor. The OV5642 image sensor is sending YCbCr 4:2:2 interleaved data with separate VSYNC, HSYNC and PCLK. I am capturing 1280x720P data from OV sensor. The PCLK is coming at 24MHz, VSYNC is at 7.5 fps and I am able to see the data coming on all data lines using CRO. On the DM365 side, I have configured the ccdc in YCbCr_SYNC_8 mode and I am receiving the interrupts at regular interval but when I see the data in frame buffer, it has definite pattern ( 0x02,0x03,0x02,0x03) . The register dump file is attached hereby. Also, I have following queries. . Do we need to configure PPLN,SPH,LNH,LNV register? As per our understanding, the ISIF will internally take care based on VSYNC and HSYNC signals that are Coming from external sensor. Sensor data lines are connected to CIN lines and so we are setting YCINSWAP bit as 1. Please confirm. Can anyone offer help on solving this problem? Thanks in advance!!! -- Regards, Krunal 0x01C71000 : 0x3 0x01C71004 : 0x2000 0x01C71008 : 0x0 0x01C710c : 0x0 0x01C71014 : 0x0 0x01C71018 : 0x0 0x01C7101c : 0x9ff 0x01C71020 : 0x1 0x01C71024 : 0x1 0x01C71028 : 0x2cf 0x01C7102c : 0x 0x01C71030 : 0xff 0x01C71034 : 0x50 0x01C71038 : 0x0 0x01C7103c : 0x430 0x01C71040 : 0x0 0x01C71044 : 0x0 0x01C71048 : 0x0 0x01C7104c : 0x0 0x01C71050 : 0x200 0x01C71054 : 0x200 0x01C71058 : 0x200 0x01C7105c : 0x200 0x01C71060 : 0x0 0x01C71064 : 0x0 0x01C71068 : 0x0 0x01C7106c : 0x0 0x01C71070 : 0x0 0x01C71074 : 0x169 0x01C71078 : 0x0 0x01C7107c : 0x0 0x01C71080 : 0x0 0x01C71084 : 0x0 0x01C71088 : 0x812 0x01C7108c : 0x0 0x01C71090 : 0x0 0x01C71094 : 0x0 0x01C71098 : 0x0 0x01C7109c : 0x0 0x01C710a0 : 0x0 0x01C710a4 : 0x0 0x01C710a8 : 0x0 0x01C710ac : 0x0 0x01C710b0 : 0x0 0x01C710b4 : 0x0 0x01C710b8 : 0x0 0x01C710bc : 0x0 0x01C710c0 : 0x0 0x01C710c4 : 0x0 0x01C710c8 : 0x0 0x01C710cc : 0x0 0x01C710d0 : 0x0 0x01C710d4 : 0x0 0x01C710d8 : 0x0 0x01C710dc : 0x0 0x01C710e0 : 0x0 0x01C710e4 : 0x0 0x01C710e8 : 0x0 0x01C710ec : 0x0 0x01C710f0 : 0x0 0x01C710f4 : 0x0 ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Alpha blending on captured video with DM365.
Hi, I need to display timestamps with transparent background (Capture date/time) on the captured video on DM365. In DM6467 VDCE is the one which can do alpha blending. Can anyone suggest me something on this how can I achieve this on DM365 with minimal efforts ? My processing chain will be: Capture - Timestamp Blending - Encode - Store. Thanks in advance!!! -- Regards, Krunal ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
DM6467 AAC audio encoding process fails with -Os compiler flag.
Hi All, These days I am working with DM6467 AAC codecs in which I am facing a strange issue. I have written a sample application for encoding. If I use -Os complier flag to within my makefile to compile the application the process call for encoding fails with error: -1 and extended error: 0x4008 . If I remove -Os flag from the application makefile everything works well. Well the solution is there that I should not use -Os flag :) but I want to figure out why this is the case. Can anyone tell me what can be the issue? Software Packages Used: - MVL 5.0 - dvsdk_2_00_00_22 - dm6467_dvsdk_combos_2_05 - Kernel 2.6.18 Thanks in advance! -- Regards, Krunal ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
test mail.
___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
test mail.
___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: DM365: how to use UART1 instead of UART0
Hi Steve, I want to use UART1 be the login console and for the bebug message both. UART0 will be used for some other purpose in our application. Well, I have successfully tested loopback on the UART1 by shorting Tx /Rx in which RS232 level converter is bypassed. But I am not able to transmit/receive if I connect RS232 level converter between DM365 and console UART cable. I think this might be a hardware issue in the level converter. I will try to figure out this tomorrow. Please let me know if you have any inputs related to this? -- Regards, Krunal - Original Message - From: Steve Poulsen spoulsen @css-design.com To: krunal patil krunal . patil @ einfochips .com Cc: davinci forum davinci - linux -open-source@ linux . davincidsp .com Sent: Wednesday, June 30, 2010 7:51:06 PM Subject: Re: DM365: how to use UART1 instead of UART0 Are you wanting to have UART0 be the login console while having debug messages on UART1? Let's make sure your getting UART1 working at all. 1) Make sure that ttyS1 is showing up at in your system under / dev . (also check ttyS0) 2) Make sure this file exists / sys /class/ tty /ttyS1/driver (also check ttyS0) If you are getting ttyS0 files above but not ttyS1, then you don't have the device setup properly. Check your: board-dm365- evm .c Make sure that enabled_ uarts has a bit for both uarts : .enabled_ uarts = ( 1 0 ) | ( 1 1), When you have built and reloaded this kernel, retry the suggestions you already received. I didn't see the email that send_for sent, but from your excerpt, you ahve some things from him. NOTE: The kernel will print out it's bootargs which you provided. Verify the console=ttyS1 is as expected. Also, check /etc/ inittab . Here you can add another terminal to login to, without necessarily defining it as the console. This may be handy for you if you want to login to / dev /ttyS0 but want debug messages on / dev /ttyS1. Steve On 06/30/2010 12:27 AM, Krunal Patil wrote: Hi, Thanks for the reply. I tried these settings yet I am not able to see any messages on console using UART1. Do I need to modify any PINMUX settings? And how you have derived the clock settings ( CFG _NS16550_ CLK ---1215)? -- Regards, Krunal On 07/05/2010 06:47 AM, seek_for wrote: Uboot : include/ configs / davinci _dm365_ evm .h: CFG _NS16550_COM1 0x01d06000 CFG _NS16550_ CLK ---1215 kernel: arch/arm/mach- davinci /board-dm365- evm .c: static struct plat_serial8250_port serial_platform_data[1]. uartclk = 1215; bootargs : console=ttyS1,115200n8 2010-07-05 seek_for 发件人 : Krunal Patil 发送时间 : 2010-06-30 02:51:54 收件人 : davinci - linux -open-source 抄送 : 主题 : DM365: how to use UART1 instead of UART0 Hi, Instead of UART0 I want to use UART1 On DM365 for the debug messages on console. Has anyone tried this? Can anyone tell me what changes I have to do in UBoot , kernel and bootargs ? Thanks in advance!!! -- Regards, Krunal Email Scanned for Virus Dangerous Content by : www . CleanMailGateway .com -- Regards, Krunal Patil eInfochips Ltd. Tel.No. (079)26563705 Ext. 302 Cell. No. +919924629091 www . einfochips .com -- This message has been scanned for viruses and dangerous content by MailScanner , and is believed to be clean. ___ Davinci- linux -open-source mailing list Davinci- linux -open-source@ linux . davincidsp .com http :// linux . davincidsp .com/mailman/ listinfo / davinci - linux -open-source 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. _ ___ -- This message has been scanned for viruses and dangerous content by MailScanner , and is believed to be clean. Email Scanned for Virus Dangerous Content by : www . CleanMailGateway .com , and is believed to be clean
DM365: how to use UART1 instead of UART0
Hi, Instead of UART0 I want to use UART1 On DM365 for the debug messages on console. Has anyone tried this? Can anyone tell me what changes I have to do in UBoot , kernel and bootargs ? Thanks in advance!!! -- Regards, Krunal ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: DM365: how to use UART1 instead of UART0
Hi, Thanks for the reply. I tried these settings yet I am not able to see any messages on console using UART1. Do I need to modify any PINMUX settings? And how you have derived the clock settings (CFG_NS16550_CLK ---1215)? -- Regards, Krunal On 07/05/2010 06:47 AM, seek_for wrote: Uboot: include/configs/davinci_dm365_evm.h: CFG_NS16550_COM1 0x01d06000 CFG_NS16550_CLK ---1215 kernel: arch/arm/mach-davinci/board-dm365-evm.c: static struct plat_serial8250_port serial_platform_data[1].uartclk = 1215; bootargs: console=ttyS1,115200n8 2010-07-05 seek_for *发件人:* Krunal Patil *发送时间:* 2010-06-30 02:51:54 *收件人:* davinci-linux-open-source *抄送:* *主题:* DM365: how to use UART1 instead of UART0 Hi, Instead of UART0 I want to use UART1 On DM365 for the debug messages on console. Has anyone tried this? Can anyone tell me what changes I have to do in UBoot, kernel and bootargs? Thanks in advance!!! -- Regards, Krunal *Email Scanned for Virus Dangerous Content by :* *www.CleanMailGateway.com* -- Regards, *Krunal Patil* eInfochips Ltd. Tel.No. (079)26563705 Ext. 302 Cell. No. +919924629091 www.einfochips.com ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
DM365: How to set USB_VBUS pin.
Hi, I am working on a DM365 based customize board on which a USB hub chip is used. As per the DM365 datasheet the USB connector power must be turned on by the DM365, when th DM365 is the host. Also the pin N2 called USB_VBUS on the DM365 is responsible to USB power enable on the USB hub. I want to verify how the pin is configured in the kernel that I am using (linux-2.6.18_pro500). I want to set this pin as HIGH. Can anyone tell me how can I do this in kernel? Is it possible through UBoot? Thanks in advance!!! -- Regards, *Krunal Patil* ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: DM365 UBoot + NAND Query
Hi Guys, Thnaks for the support. I have solved this issue. The problem was in the FPGA logic which was enabling/disabling the CE0/1 signals for NAND devices. Ideally for NAND-1 CE0 and NAND-2 CE1 should be high which was swapped in my FPGA code. I concluded this by probing the CE0/1 signals on the scope. I fixed this swapping error in FPGA code and everything is working well now!!! Once again thanks a tone for all of your support!!! -- Regards, Krunal On 06/18/2010 12:46 PM, Krunal Patil wrote: Hi, I tried using second approach but I am not able to access 2nd nand chip from the UBoot. When I execute command nand dump 0x4000 from the Uboot I am getting error Error (-22) reading page 4000. It works well till address 0x3fff (1GB). -- Regards, Krunal On 06/18/2010 03:20 AM, Jon Povey wrote: Steve Poulsen wrote: 1) Use hexdump to view the first bit of the bootloader and note the data values. 2) Load a filesystem into filesystem2. 3) Use hexdump to view the first bit of the bootloader and note the changes. 4) hexdump filesystem2 and search for the pattern. ( you might dump it to NFS filesystem for easier searching) Good suggestions - Krunal note if you try this first one, you may have to write a lot of data to filesystem2 before you see it overwrite the bootloader. If it's completely erased then writing about 512MB (0x2000) should cross into the second chip select. But wear levelling abstration layers may move things around or leave gaps. I would try Steve's u-boot approach: 1) In u-boot, use the nand commands to erase, write, and dump. You should be able to narrow it down to writing to block N causes block M to also change. -- Jon Povey jon.po...@racelogic.co.uk Racelogic is a limited company registered in England. Registered number 2743719 . Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, MK18 1TB . The information contained in this electronic mail transmission is intended by Racelogic Ltd for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected. The views expressed by the sender of this communication do not necessarily represent those of Racelogic Ltd. Please note that Racelogic reserves the right to monitor e-mail communications passing through its network 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: DM365 UBoot + NAND Query
Hi, I tried using second approach but I am not able to access 2nd nand chip from the UBoot. When I execute command nand dump 0x4000 from the Uboot I am getting error Error (-22) reading page 4000. It works well till address 0x3fff (1GB). -- Regards, Krunal On 06/18/2010 03:20 AM, Jon Povey wrote: Steve Poulsen wrote: 1) Use hexdump to view the first bit of the bootloader and note the data values. 2) Load a filesystem into filesystem2. 3) Use hexdump to view the first bit of the bootloader and note the changes. 4) hexdump filesystem2 and search for the pattern. ( you might dump it to NFS filesystem for easier searching) Good suggestions - Krunal note if you try this first one, you may have to write a lot of data to filesystem2 before you see it overwrite the bootloader. If it's completely erased then writing about 512MB (0x2000) should cross into the second chip select. But wear levelling abstration layers may move things around or leave gaps. I would try Steve's u-boot approach: 1) In u-boot, use the nand commands to erase, write, and dump. You should be able to narrow it down to writing to block N causes block M to also change. -- Jon Povey jon.po...@racelogic.co.uk Racelogic is a limited company registered in England. Registered number 2743719 . Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, MK18 1TB . The information contained in this electronic mail transmission is intended by Racelogic Ltd for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected. The views expressed by the sender of this communication do not necessarily represent those of Racelogic Ltd. Please note that Racelogic reserves the right to monitor e-mail communications passing through its network 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. -- Regards, *Krunal Patil* eInfochips Ltd. Tel.No. (079)26563705 Ext. 302 Cell. No. +919924629091 www.einfochips.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: DM365 UBoot + NAND Query
Hi, The partition table information for the two NAND chips (each of 1GB, Blocksize 256KB) listed by kernel is as follows: Kernel Bootlog: = NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit) 2 NAND chips detected Creating 5 MTD partitions on nand_davinci.0: 0x-0x0078 : bootloader 0x0078-0x0080 : params 0x0080-0x00c0 : kernel 0x00c0-0x20c0 : filesystem1 0x20c0-0x8000 : filesystem2 r...@10.100.3.65:~# cat /proc/mtd dev:size erasesize name mtd0: 0078 0004 bootloader mtd1: 0008 0004 params mtd2: 0040 0004 kernel mtd3: 2000 0004 filesystem1 mtd4: 5f40 0004 filesystem2 mtd5: 2000 0010 spi_eeprom I don't see anything wrong the NAND partition. I simply tried to erase the mtd4 partition using flash_eraseall /dev/mtd4. The erase was successful. But next time when I reboot the board it does not booted up. It has erased the UBL/UBoot also. Am I missing something or doing something wrong? Please suggest. Erase Log: == Erasing 256 Kibyte @ 0 -- 0 % complete. Erasing 256 Kibyte @ 4 -- 0 % complete. Erasing 256 Kibyte @ 8 -- 0 % complete. Erasing 256 Kibyte @ c -- 0 % complete. || || || Erasing 256 Kibyte @ 5f1c -- 99 % complete. Erasing 256 Kibyte @ 5f20 -- 99 % complete. Erasing 256 Kibyte @ 5f24 -- 99 % complete. Erasing 256 Kibyte @ 5f28 -- 99 % complete. Erasing 256 Kibyte @ 5f2c -- 99 % complete. -- Regards, Krunal On 06/15/2010 11:43 PM, Steve Poulsen wrote: Krunal, I have not experienced this so I cannot offer any advice other than debugging methods, which you already know. Maybe you can cat /proc/mtd to make sure it agrees with what you expect. Steve On 06/11/2010 12:41 PM, Krunal Patil wrote: Steve, Thanks for the reply. I have solved ECC issue same way. I was using linux kernel 2.6.18. Anyways the major problem starts now. I tried to mount mtd partitions mtd3 and mtd4 from the linux prompt. I verified the size of mounted partition. mtd3 partition shows ~500MB and for mtd4 its 1.5G. When I copied more than 500 MB data (~650MB) on mtd4 partition and next time when I booted the board it was not booting. I think the UBL/UBoot partitions were overwritten. Again I flashed the UBL/UBoot and the board is booting without any problem. Have you ever experienced this? Regards, Krunal - Original Message - From: Steve Poulsen spoul...@css-design.com To: davinci-linux-open-source@linux.davincidsp.com Sent: Friday, June 11, 2010 8:53:35 PM Subject: Re: DM365 UBoot + NAND Query Krunal, What version kernel are you using? One thing to note is that the Chip ID of 0xd3 can actually correspond to several layouts of the NAND. The kernel seems to read the proper info and adjust accordingly but U-boot may not. If you are using 2.6.10, you will need to go through and increase several of the arrays because they do not handle the larger layout (4224 bytes) and will overflow and cause ECC errors or even lockups. If you are using 2.6.18, you will also want to either turn off the use standard layout option under the kernel config (Drivers-MTD-Nand, somewhere below that) OR you will want to make sure U-boot is using the larger layout. I have seen the exact error you seen and fixed it by changing the array sizes and disabling the Davinci use standard layout option. This puts newer kernels back to the 4-bit ECC as opposed to Software ECC. Some versions of the kernel may have broken HW-ECC though. Steve On 06/11/2010 04:46 AM, Krunal Patil wrote: Thanks for the pointers Jon. I will try your suggestions and get back with the results. -- Regads, Krunal - Original Message - From: Jon Povey jon.po...@racelogic.co.uk To: krunal patil krunal.pa...@einfochips.com Cc: Davinci List davinci-linux-open-source@linux.davincidsp.com Sent: Friday, June 11, 2010 3:13:54 PM Subject: RE: DM365 UBoot + NAND Query Krunal Patil wrote: 1.How can I verify whether UBoot is detecting and accessing both the NANDs not only one? u-boot can read, write and erase NAND; you could erase and write a page on one chip and see if it shows up on the other. 2.Can you please through some light on I would be more concerned about the ECC errors and that the kernel is reporting BBT not found. Well, this should not happen: nand_bbt: ECC error while reading bad block table And the kernel should find the BBTs, it should agree with U-boot. I suggest trying a more recent version of u-boot if that's an option. 3.How can I verify Large page OOB layout in UBoot and Kernel? How can I fix this mismatch? I find OpenOCD useful, it's JTAG software with davinci NAND drivers for both large
Re: DM365 UBoot + NAND Query
Thanks for the valuable suggestions guys. Appreciate all your inputs. I will be trying this today. -- Regards, Krunal On 06/18/2010 03:20 AM, Jon Povey wrote: Steve Poulsen wrote: 1) Use hexdump to view the first bit of the bootloader and note the data values. 2) Load a filesystem into filesystem2. 3) Use hexdump to view the first bit of the bootloader and note the changes. 4) hexdump filesystem2 and search for the pattern. ( you might dump it to NFS filesystem for easier searching) Good suggestions - Krunal note if you try this first one, you may have to write a lot of data to filesystem2 before you see it overwrite the bootloader. If it's completely erased then writing about 512MB (0x2000) should cross into the second chip select. But wear levelling abstration layers may move things around or leave gaps. I would try Steve's u-boot approach: 1) In u-boot, use the nand commands to erase, write, and dump. You should be able to narrow it down to writing to block N causes block M to also change. -- Jon Povey jon.po...@racelogic.co.uk Racelogic is a limited company registered in England. Registered number 2743719 . Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, MK18 1TB . The information contained in this electronic mail transmission is intended by Racelogic Ltd for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected. The views expressed by the sender of this communication do not necessarily represent those of Racelogic Ltd. Please note that Racelogic reserves the right to monitor e-mail communications passing through its network 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
DM365 UBoot + NAND Query
Hi, I am working on a DM365 based customize board which has two nand chips each of 1GB. At the UBoot level I am getting following errors: *UBoot Log:* ** U-Boot 2009.03 (Mar 18 2010 - 20:23:55) I2C: ready DRAM: 128 MB NAND: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit) *Bad block table found at page 262080, version 0x01* *Bad block table found at page 262016, version 0x01* nand_bbt: ECC error while reading bad block table NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit) *Bad block table found at page 262080, version 0x01* *Bad block table found at page 262016, version 0x01* nand_bbt: ECC error while reading bad block table 2048 MiB In:serial Out: serial Err: serial My concerns are: 1. Why the bad blocks for the the NANDs are shown for the same page? 2. Is the the case UBoot is accessing only one NAND chip and not using the other one? 3. How can I verify that? 4. Do I need to configure or modify something in UBoot? At the kernel level I am able to see two NAND chips are detected by the kernel: *Kernel Log:* ** nand_davinci nand_davinci.0: Using 4-bit hardware ECC NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit) 2 NAND chips detected Bad block table not found for chip 0 Bad block table not found for chip 1 Bad block table not found for chip 0 Bad block table not found for chip 1 Scanning device for bad blocks Scanning device for bad blocks Creating 5 MTD partitions on nand_davinci.0: 0x-0x003c : bootloader 0x003c-0x0040 : params 0x0040-0x0080 : kernel 0x0080-0x2080 : filesystem1 0x2080-0x8000 : filesystem2 Please suggest!!! Thanks in advance!!! -- Regards, *Krunal Patil* ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: DM365 UBoot + NAND Query
Hi Jon, Thanks for the prompt response. 1. How can I verify whether UBoot is detecting and accessing both the NANDs not only one? 2. Can you please through some light on I would be more concerned about the ECC errors and that the kernel is reporting BBT not found. 3. How can I verify Large page OOB layout in UBoot and Kernel? How can I fix this mismatch? Regards, Krunal On 06/11/2010 02:55 PM, Jon Povey wrote: Krunal Patil wrote: I am working on a DM365 based customize board which has two nand chips each of 1GB. At the UBoot level I am getting following errors: UBoot Log: U-Boot 2009.03 (Mar 18 2010 - 20:23:55) I2C: ready DRAM: 128 MB NAND: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit) Bad block table found at page 262080, version 0x01 Bad block table found at page 262016, version 0x01 nand_bbt: ECC error while reading bad block table NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit) Bad block table found at page 262080, version 0x01 Bad block table found at page 262016, version 0x01 nand_bbt: ECC error while reading bad block table 2048 MiB 1.Why the bad blocks for the the NANDs are shown for the same page? That is normal: Those page numbers are per chip. the BBTs are stored at the same offset in each chip. I would be more concerned about the ECC errors and that the kernel is reporting BBT not found. Bad block table not found for chip 0 Bad block table not found for chip 1 Bad block table not found for chip 0 Bad block table not found for chip 1 I suspect you have large page OOB layout mismatch issues between u-boot and kernel. And at some point in the past, u-boot didn't do 4-bit ECC correctly anyway, not sure when it was fixed. Seems to be OK by version 2010.03. -- Jon Povey jon.po...@racelogic.co.uk Racelogic is a limited company registered in England. Registered number 2743719 . Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, MK18 1TB . The information contained in this electronic mail transmission is intended by Racelogic Ltd for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected. The views expressed by the sender of this communication do not necessarily represent those of Racelogic Ltd. Please note that Racelogic reserves the right to monitor e-mail communications passing through its network 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. -- Regards, *Krunal Patil* eInfochips Ltd. Tel.No. (079)26563705 Ext. 302 Cell. No. +919924629091 www.einfochips.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: DM365 UBoot + NAND Query
Thanks for the pointers Jon. I will try your suggestions and get back with the results. -- Regads , Krunal - Original Message - From: Jon Povey Jon. Povey @ racelogic .co. uk To: krunal patil krunal . patil @ einfochips .com Cc: Davinci List davinci - linux -open-source@ linux . davincidsp .com Sent: Friday, June 11, 2010 3:13:54 PM Subject: RE: DM365 UBoot + NAND Query Krunal Patil wrote: 1. How can I verify whether UBoot is detecting and accessing both the NANDs not only one? u-boot can read, write and erase NAND ; you could erase and write a page on one chip and see if it shows up on the other. 2. Can you please through some light on I would be more concerned about the ECC errors and that the kernel is reporting BBT not found. Well, this should not happen: nand _ bbt : ECC error while reading bad block table And the kernel should find the BBTs , it should agree with U-boot. I suggest trying a more recent version of u-boot if that's an option. 3. How can I verify Large page OOB layout in UBoot and Kernel? How can I fix this mismatch? I find OpenOCD useful, it's JTAG software with davinci NAND drivers for both large page layouts, and config files for many davinci boards. If you do that, build the latest version from git, there have been some important patches to davinci NAND handling since the last released version 0.4.0. The source code for the OpenOCD davinci NAND driver should help you understand the layout differences. Also, I think there is some related stuff in the silicon errata for DM365. -- Jon Povey jon . povey @ racelogic .co. uk Racelogic is a limited company registered in England. Registered number 2743719 . Registered Office Unit 10, Swan Business Centre , Osier Way, Buckingham, Bucks, MK18 1TB . The information contained in this electronic mail transmission is intended by Racelogic Ltd for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected. The views expressed by the sender of this communication do not necessarily represent those of Racelogic Ltd. Please note that Racelogic reserves the right to monitor e-mail communications passing through its network 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: DM365 UBoot + NAND Query
Steve, Thanks for the reply. I have solved ECC issue same way. I was using linux kernel 2.6.18. Anyways the major problem starts now. I tried to mount mtd partitions mtd3 and mtd4 from the linux prompt. I verified the size of mounted partition. mtd3 partition shows ~500MB and for mtd4 its 1.5G. When I copied more than 500 MB data (~650MB) on mtd4 partition and next time when I booted the board it was not booting. I think the UBL/UBoot partitions were overwritten. Again I flashed the UBL/UBoot and the board is booting without any problem. Have you ever experienced this? Regards, Krunal - Original Message - From: Steve Poulsen spoul...@css-design.com To: davinci-linux-open-source@linux.davincidsp.com Sent: Friday, June 11, 2010 8:53:35 PM Subject: Re: DM365 UBoot + NAND Query Krunal, What version kernel are you using? One thing to note is that the Chip ID of 0xd3 can actually correspond to several layouts of the NAND. The kernel seems to read the proper info and adjust accordingly but U-boot may not. If you are using 2.6.10, you will need to go through and increase several of the arrays because they do not handle the larger layout (4224 bytes) and will overflow and cause ECC errors or even lockups. If you are using 2.6.18, you will also want to either turn off the use standard layout option under the kernel config (Drivers-MTD-Nand, somewhere below that) OR you will want to make sure U-boot is using the larger layout. I have seen the exact error you seen and fixed it by changing the array sizes and disabling the Davinci use standard layout option. This puts newer kernels back to the 4-bit ECC as opposed to Software ECC. Some versions of the kernel may have broken HW-ECC though. Steve On 06/11/2010 04:46 AM, Krunal Patil wrote: Thanks for the pointers Jon. I will try your suggestions and get back with the results. -- Regads , Krunal - Original Message - From: Jon Povey Jon. Povey @ racelogic .co. uk To: krunal patil krunal . patil @ einfochips .com Cc: Davinci List davinci - linux -open-source@ linux . davincidsp .com Sent: Friday, June 11, 2010 3:13:54 PM Subject: RE: DM365 UBoot + NAND Query Krunal Patil wrote: 1. How can I verify whether UBoot is detecting and accessing both the NANDs not only one? u-boot can read, write and erase NAND ; you could erase and write a page on one chip and see if it shows up on the other. 2. Can you please through some light on I would be more concerned about the ECC errors and that the kernel is reporting BBT not found. Well, this should not happen: nand _ bbt : ECC error while reading bad block table And the kernel should find the BBTs , it should agree with U-boot. I suggest trying a more recent version of u-boot if that's an option. 3. How can I verify Large page OOB layout in UBoot and Kernel? How can I fix this mismatch? I find OpenOCD useful, it's JTAG software with davinci NAND drivers for both large page layouts, and config files for many davinci boards. If you do that, build the latest version from git, there have been some important patches to davinci NAND handling since the last released version 0.4.0. The source code for the OpenOCD davinci NAND driver should help you understand the layout differences. Also, I think there is some related stuff in the silicon errata for DM365. -- Jon Povey jon . povey @ racelogic .co. uk Racelogic is a limited company registered in England. Registered number 2743719 . Registered Office Unit 10, Swan Business Centre , Osier Way, Buckingham, Bucks, MK18 1TB . The information contained in this electronic mail transmission is intended by Racelogic Ltd for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected. The views expressed by the sender of this communication do not necessarily represent those of Racelogic Ltd. Please note that Racelogic reserves the right to monitor e-mail communications passing through its network 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
Re: Booting Via TFTP and NFS
If feasible Again set your serverip manually from the boot prompt using set serverip Your serverip address. Regards, Krunal On 06/09/2010 03:06 PM, amr ali wrote: I figured out the command dhcp in uboot sets the serverip env variable automatically. How can I override that behavior. What I want is to get dynamic ip using my boot loader, then do tftp booting from my machine ip not the dhcp server ip. How can I do that?!! -- Amr Ali Abdel-Naby Embedded Systems Developer www.embedded-tips.blogspot.com From: amra...@hotmail.com To: davinci-linux-open-source@linux.davincidsp.com Subject: Booting Via TFTP and NFS Date: Wed, 9 Jun 2010 12:06:28 +0300 I am using DVM6446 with LSP 1. I am trying to boot via tftp and use NFS as root file system. I issued dhcp command from uboot, I got an IP. Whenever I ping my server, I get the following output: *DaVinci EVM # ping $(serverip) ping failed; host 10.130.201.55 is not alive* I tried pinging my board from my server, it failed as well. Any clues? -- Amr Ali Abdel-Naby Embedded Systems Developer www.embedded-tips.blogspot.com Hotmail: Powerful Free email with security by Microsoft. Get it now. https://signup.live.com/signup.aspx?id=60969 Hotmail: Trusted email with powerful SPAM protection. Sign up now. https://signup.live.com/signup.aspx?id=60969 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. *Email Scanned for Virus Dangerous Content by :* *www.CleanMailGateway.com* ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source -- Regards, *Krunal Patil* eInfochips Ltd. Tel.No. (079)26563705 Ext. 302 Cell. No. +919924629091 www.einfochips.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: DM365 infinite DHCP retries.
Hi Sekhar, In the function static int __init ip_auto_config(void) of file net/ipv4/ipconfig.c the implementation for sending DHCP request was/is something like: _*Kernel implementation:*_ static int __init ip_auto_config(void) { ---Some code statement try_try_again: ---Some code statement int retries = CONF_OPEN_RETRIES; Send DHCP request. if (--retries) { printk(KERN_ERR IP-Config: Reopening network devices...\n); goto try_try_again; } --- Some code statement. } *_Modified implementation:_* static int __init ip_auto_config(void) { ---Some code statement int retries = CONF_OPEN_RETRIES; try_try_again: ---Some code statement Send DHCP request. if (--retries) { printk(KERN_ERR IP-Config: Reopening network devices...\n); goto try_try_again; } --- Some code statement. } -- Regards, Krunal On 06/09/2010 06:33 PM, Nori, Sekhar wrote: Hi Krunal, On Tue, Jun 08, 2010 at 18:17:20, Krunal Patil wrote: Hi All, I came across an issue in DM365 kernel (linux-2.6.18_pro500). When the network cable is not connected to the board or DHCP server does not respond. The kernel send DHCP request for N number of times and board never boots up. I am not sure if it is intentional. Ideally it should not be if you are not using NFS filesystem. There was a mistake (Again I am not sure) of initializing the retries variable in net/ipv4/ipconfig.c file. Here is the change I made in the file and now it stops after some retries: 1263d1262 int retries = CONF_OPEN_RETRIES; 1290a1290 int retries = CONF_OPEN_RETRIES; Er, what exactly is the change here? Please let me know if it is really intentional or just a logical error. This not specific to DM365 or to any device for that matter. However, retrying infinitely when not using NFS does sound unnecessary. If you find the same behavior in the recent kernel, you could report to netdev list. You should at least get an explanation on why things are the way they are. Thanks, Sekhar 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: DM365 infinite DHCP retries.
Hi, Thanks for the reply. I made changes in the driver and it worked for me. Later I verified it is fixed in the latest version of kernel and is the same what I did. I was just wondering if it was intentional or just a logical error. -- Regards, Krunal - Original Message - From: Yinglin Luan synm...@gmail.com To: krunal patil krunal.pa...@einfochips.com Cc: Sekhar Nori nsek...@ti.com, davinci-linux-open-source@linux.davincidsp.com Sent: Wed, 09 Jun 2010 20:53:42 +0530 (IST) Subject: Re: DM365 infinite DHCP retries. The problem was solved in open source kernel, please try it here: http://processors.wiki.ti.com/index.php/DaVinci_PSP_03.01_Beta_(r35)_Release_Notes Email Scanned for Virus Dangerous Content by :www.CleanMailGateway.com ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
DM365 infinite DHCP retries.
Hi All, I came across an issue in DM365 kernel (linux-2.6.18_pro500). When the network cable is not connected to the board or DHCP server does not respond. The kernel send DHCP request for N number of times and board never boots up. I am not sure if it is intentional. Ideally it should not be if you are not using NFS filesystem. There was a mistake (Again I am not sure) of initializing the retries variable in net/ipv4/ipconfig.c file. Here is the change I made in the file and now it stops after some retries: 1263d1262 int retries = CONF_OPEN_RETRIES; 1290a1290 int retries = CONF_OPEN_RETRIES; Please let me know if it is really intentional or just a logical error. Regards, Krunal ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
DM365 UBL binary size differs.
Hi, I am in process or board bring up of DM365 based customize hardware. I am using PSP_02_10_00_14.tgz which comes with DVSDK_2.10. I compiled the *original *UBL source code provided in PSP package (PSP_02_10_00_14/board_utilities/flash_utils/DM36x/GNU/ubl/). After compilation the binary size for ubl_DM36x_nand.bin is 13208 bytes whereas the binary provided by TI (PSP_02_10_00_14/bin/dm365/UBL_DM36x_NAND.bin) has size 20480 bytes. Can anyone tell me why is this difference? Am I missing something in this source code or having wrong source code? -- Regards, *Krunal Patil* ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Problem with DMsoc voice codec on Dm365
Hi, I want to use the M1(mic) on DM365 EVM as sound input. I modified the demo application to read data from MIC (M1) and write it to a file by commenting the encode call and its working fine. But when I modified and run the encode application to use new sound device with the command ./encode -s test.g711, it could not encode and giving following errors: *Error: Failed to encode speech buffer (Demo application prints)* *SPHENC1_process() failed with error (-1 ext: 0xa) (Print kept in DMAI source code) *If I use the default kernel and the default sound device to run the encode application, it will run well. Can anyone tell me what is going wrong with the encoding in case of M1(mic)? Regards, Krunal Patil -- _ 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
IPIPE memory allocation failure.
Hi, I am working on a DM355 based system which consist of QT GUI and backend applications. The backend applications are responsible for MPEG (1024x768) / JPEG (1920/1080) capture/display and G711 audio capture/playback. For resized JPEG display (1920x1080 - 768x576) I am using DM355 IPIPE module and successfully able to resize JPEG image without any corruption. The problem is when I run the system for *a long time and hard/soft reboot* it the next time IPIPE memory allocation (IPIPE_REQBUF ioctl) of size (1344 * ((1080 * 2 + 31) (~31))) = 2924544 fails. System has 128MB of DDR out of which 108M are given to Linux kernel from the bootargs. Can this issue be related with memory fragmentation? Anyone please suggest me some pointers? -- Regards, *Krunal Patil* -- _ 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
Need fix for TS/RX issue using USB on DM355.
Hello Friends, I looked at the cocurrent Tx/Rx issue using USB on DM355 in mail archive. I am facing similar kind of issue with my system. Can anyone please provide me patch 45 which has fix for this problem? I am using MVL 2.6.10 -- Regards, Krunal Patil -- _ 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: trickle mode in h.264 codec
Hi, I agree with Jeremy. You can not perform fast fwd, rewind etc operations on encoded stream easily. This becomes very easy if you use any container formats like QT, MP4, Matroska etc. Container formats have ability to mux various audio video streams with proper synchronization. You can also perform stream, compression operations at the same time you can also associate your events using container formats. Let me know if I can help you more on this or any case you need more information how container works. -- Regards, Krunal Patil eInfochips Ltd. Tel.No. (079)26563705 Ext. 120 Cell. No. +919924629091 www.einfochips.com Jeremy Noring wrote: On Sat, Jan 16, 2010 at 10:18 AM, Albert Burbea alber...@gmail.com wrote: Hi everybody I would like to know if there is an out of the box solution to implement trickle mode using the TI h.264 codecs (possibly both for the dm6446 and the dm365). I mean: how can I implement fast forward / fast rewind / frame skipping / gop skipping in both directions? Or do I have to open the h.264 files and struggle with the h264 headers ? In general, you can forget about fast rewind--it is prohibitively hard to do with temporally compressed codecs. And presumably you'll either have to open the files yourself, or use some third-party API for working with container formats. (for example, if you're saving h264 to an mp4 container, you could use mp4v2 or ffmpeg) You could also save raw h264 to disk (raw bytestream), but there typically isn't timing information present, so it is unsuitable for playback applications. Also, is there a simple solution to implement file muxing? H.264 + (say) G.711 + proprietary data ? For H264 and G711, your best bet is an AVI container. G711 is not a standard part of the MP4 container format, AFAIK. I'm not sure about newer containers like matroska. -- _ 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