From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by ozlabs.org (Postfix) with ESMTP id 95E14DDECC for ; Thu, 7 Feb 2008 09:52:55 +1100 (EST) Received: by an-out-0708.google.com with SMTP id c37so887496anc.78 for ; Wed, 06 Feb 2008 14:52:51 -0800 (PST) Message-ID: Date: Wed, 6 Feb 2008 15:52:51 -0700 From: "Grant Likely" Sender: glikely@secretlab.ca To: "Kevin Holland" Subject: Re: System Clock runaway on Xilinx platform In-Reply-To: <1202337576.20550.6.camel@kevin-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <15312437.post@talk.nabble.com> <1202337576.20550.6.camel@kevin-laptop> Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 2/6/08, Kevin Holland wrote: > I load with the zImage.elf, so my xparameters are set like this: > > #define XPAR_CPU_PPC405_CORE_CLOCK_FREQ_HZ 300000000 > #define XPAR_CORE_CLOCK_FREQ_HZ XPAR_CPU_PPC405_CORE_CLOCK_FREQ_HZ > > I took readings every 5 min over a 15 min period and it seems to be > increasing by approximately 50 sec every 5 mins. Hmm; 5 min == 300 seconds 300 - 50 == 250 seconds 300/250 = 1.2 So, timebase_period_ns is set 1.2 times faster than the actual period. Can you confirm that the EDK frequency is actually correct? Are you *sure* that the CPU is running at 300MHz. Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.