Sudhakar, Could you check what revision of the clock timer IP used in your SoC? If it is greater than 1.5, then the timer code will not work as it tries to configure the two timers (event clock and free running clocks) independently. I.e. While one is active, configure and enable the other. As per the email that I got from the Simulator team, it seems the IP stopped supporting changing the timer configuration while the other timer is in active state. In this case, we are using the 64bit timer as two unchained independent timers and should have allowed to configure them independently. Not sure why IP team removed this capability in the later revisions of IP. I have currently added a work around to get this working on Simulator. Not sure if this limitation is available in the real IP. Could you confirm at your end?
If your IP version is in fact the later version, then I need to take this up with the IP team. Murali Karicheri Software Design Engineer email: [email protected] Phone: (301) 407 9583 >> -----Original Message----- >> From: Rajashekhara, Sudhakar >> Sent: Monday, September 26, 2011 12:51 AM >> To: Karicheri, Muralidharan; davinci-linux-open- >> [email protected] >> Subject: RE: kernel bootlog timestamp all zeros - 3.0rcx based davinci >> tree >> >> Hi Murali, >> >> On Mon, Aug 29, 2011 at 21:23:45, Karicheri, Muralidharan wrote: >> > Hi All, >> > >> > I have a port of the davinci tree for a new platform that I am working >> on. The time stamp of the boot log shows all zeros. I am using the master >> branch of davinci tree at http://gitorious.org/linux-davinci/linux-davinci >> > >> > My original port based on 2.6.37 has proper time stamps displayed. >> Anything changes related to this in recent kernel that I need to be aware >> causing this issue? Thanks in advance for your help. >> > >> >> I tried it from the same repository which had the below commit at the top >> and it worked absolutely fine. >> >> commit acc2ec87c22da0655bc75ef1d8eba89010bab00e >> Merge: 06baeca 6e22c04 >> Author: Sekhar Nori <[email protected]> >> Date: Sat Sep 17 16:17:23 2011 +0530 >> >> rebuild linux-davinci from branches >> >> 5.241 0.011: Bytes transferred = 1815848 (1bb528 hex) >> 5.331 0.091: ## Booting kernel from Legacy Image at c0700000 ... >> 5.331 0.000: Image Name: Linux-3.1.0-rc6-07781-gacc2ec8 >> 5.340 0.009: Image Type: ARM Linux Kernel Image (uncompressed) >> 5.340 0.000: Data Size: 1815784 Bytes = 1.7 MB >> 5.340 0.000: Load Address: c0008000 >> 5.340 0.000: Entry Point: c0008000 >> 5.900 0.560: Verifying Checksum ... OK >> 6.500 0.600: Loading Kernel Image ... OK >> 6.500 0.000: OK >> 6.500 0.000: >> 6.500 0.000: Starting kernel ... >> 6.500 0.000: >> 7.880 1.380: Uncompressing Linux... done, booting the kernel. >> 9.830 1.950: Linux version 3.1.0-rc6-07781-gacc2ec8 (sudhakar@linux-psp- >> server.india.ext.ti.com) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) >> ) #1 PREEMPT Mon Sep 26 09:04:58 IST 2011 >> 9.843 0.013: CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 >> 9.843 0.000: CPU: VIVT data cache, VIVT instruction cache >> 9.843 0.000: Machine: DaVinci DA850/OMAP-L138/AM18x EVM >> 9.857 0.015: Memory policy: ECC disabled, Data cache writethrough >> 9.857 0.000: DaVinci da850/omap-l138 variant 0x0 >> >> Thanks, >> Sudhakar _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
