dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: running rockbox below 48MHz?

running rockbox below 48MHz?

From: Frederic Devernay <>
Date: Mon, 22 Aug 2005 19:42:53 +0200


When paused, or when playing CPU-savvy files (say, WAVE files), the
boost factor gets stuck at 0%. Wouldn't it be a good idea to use the
11MHz CPU speed in that case?

One idea would be to switch the low frequency between 11 and 48MHz:

- If the low frequency is 48MHz and the CPU frequency was 48MHz for more
than xxx millisecond, switch the low frequency to 11MHz.

- If the low frequency is 11MHz and the CPU was at 120MHz for more than
p% of the time during the last xxx milliseconds, switch the low
frequency to 48MHz. p is the solution to the following equation:
120*p + 11*(100-p) = 48*100
which makes approximately p=34%

That would decrease rockbox's battery usage a bit more (maybe not when
playing mp3s, but sometimes we're just browsing the file structure!).

Recording to WAV probably also requires little CPU, which means it could
switch to 11MHz and give more recording time on battery.

Received on 2005-08-22

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy