Re: [Balloon] Balloon 3 CPU clock scaling and bus timing

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Chris Jones
Date:  
To: balloon
Subject: Re: [Balloon] Balloon 3 CPU clock scaling and bus timing
Wookey wrote:
> +++ Chris Jones [2009-09-16 22:07 +0100]:
>> To sort this out, I've created another kernel patch (balloon3-cpufreq,
>> only against 2.6.29.1 at the moment) which adjusts the table of CPU
>> clock frequencies in cpufreq-pxa2xx.c so that the memory clock always
>> runs at 104MHz.
>
> Does this mean that we need to have CONFIG_CPU_FREQ=y in order for
> samosa to work reliably?


The answer is a resounding 'probably'. I don't know what speed the CPU
and bus run at if CONFIG_CPU_FREQ isn't set. If the kernel leaves all
the clock configuration registers alone, it'll end up running at
whatever speed bootldr left it at.

At the moment, bootldr leaves the bus running at 104MHz, so Samosa would
work reliably, but you can probably see that this is a fragile state of
affairs.

Chris

--
Chris Jones -
Martin-Jones Technology Ltd, makers of Solidlights
148 Catharine Street, Cambridge, CB1 3AR, UK
Phone +44 (0) 1223 655611 Fax +44 (0) 870 112 3908
http://www.solidlights.co.uk/