Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Set CPU Frequency permanent at 70?
« previous next »
  • Print
Pages: [1]

Author Topic: Set CPU Frequency permanent at 70?  (Read 3237 times)

Offline Jon

  • Member
  • *
  • Posts: 3
Set CPU Frequency permanent at 70?
« on: July 13, 2006, 07:56:18 PM »
Hi, I got a 4g ipod. Rockbox is unstable, and locks/crashes the ipod. By reading some thread I found out that setting the cpu frequency to 70 in the debug menu would help, and it has. It does not crash any more.

Anyways.. the "problem" now is that the cpu frequency is reset every time the ipod reboots. Is there any way to set the frequency to 70 permanent?

Thanks!
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Set CPU Frequency permanent at 70?
« Reply #1 on: July 13, 2006, 07:59:00 PM »
Oddly enough, before we had CPU scaling support, it WAS set permanently at 70.

There's not a way to do it, because once it works properly, there will never be any reason to do so. Just have patience for the bugs to be fixed, or compile your own build with CPU scaling disabled.
Logged

Offline Jon

  • Member
  • *
  • Posts: 3
Re: Set CPU Frequency permanent at 70?
« Reply #2 on: July 13, 2006, 08:05:46 PM »
okay, thanks!

Keep up the good work! :)
Logged

Offline shanepardue

  • Member
  • *
  • Posts: 32
Re: Set CPU Frequency permanent at 70?
« Reply #3 on: August 31, 2006, 06:25:19 PM »
how do i change the cpu frequency? i found it in the debug menu, but it won't let me change it. my ipod freezes up at least once every time i play all the way through an album.
Logged

michael.conner

  • Guest
Re: Set CPU Frequency permanent at 70?
« Reply #4 on: September 02, 2006, 08:22:08 AM »
If you're compiling your own Rockbox, comment out the line that reads "#define HAVE_ADJUSTABLE_CPU_FREQ" by putting "// " in front of the "#" sign in the file "config_ipod4g.h".  Once you compile it, you'll have a custom build that has CPU scaling disabled.  

I did this and it worked just fine when I had a 4G iPod.  I ended up selling my 4G on ebay and getting a 5G, to be honest, which plays nicer w/Rockbox.

Logged

Offline shanepardue

  • Member
  • *
  • Posts: 32
Re: Set CPU Frequency permanent at 70?
« Reply #5 on: September 02, 2006, 01:47:54 PM »
excuse my ignorance, but i looked everywhere in the rockbox folders viewing hidden files and all...i can't seem to find the config file you mentioned. am i doing something wrong?

thanks for helping!
Logged

Offline senab

  • Artist
  • Member
  • *
  • Posts: 188
  • The Mighty Senab!!!
    • senab.co.uk
Re: Set CPU Frequency permanent at 70?
« Reply #6 on: September 02, 2006, 03:32:03 PM »
it's in /firmware/export/ ;)

and is called config-ipod4g.h

The line you are looking for is around 107.
Logged

Offline shanepardue

  • Member
  • *
  • Posts: 32
Re: Set CPU Frequency permanent at 70?
« Reply #7 on: September 02, 2006, 10:58:40 PM »
i'm having a hard time compilling..i couldn't find the "arm-elf-gcc" anywhere. i did find an old version of it and this is my output from "make"

/build$ make
make[1]: `rdf2binary' is up to date.
make[1]: `convbdf' is up to date.
make[1]: `scramble' is up to date.
make[1]: `ipod_fw' is up to date.
make[1]: `bmp2rb' is up to date.
make[1]: `codepages' is up to date.
cpp0: config.h: No such file or directory
CONVBDF
Header parsed
CC sysfont.c
cc1: Invalid option `long-calls'
make[1]: *** [/media/ipod/build/firmware/sysfont.o] Error 1
make: *** [all] Error 2
Logged

Offline lenny

  • Member
  • *
  • Posts: 190
Re: Set CPU Frequency permanent at 70?
« Reply #8 on: September 10, 2006, 12:39:53 AM »
what platform are you on?
have you set up a cross compiler? If not:
Windows - http://www.rockbox.org/twiki/bin/view/Main/CygwinDevelopment
Non-Windows - the rockboxdev.sh script included in the tools/ directory

Hope this helps, otherwise sorry if I've misinterpreted your situation.
Logged

Offline afruff23

  • Member
  • *
  • Posts: 171
Re: Set CPU Frequency permanent at 70?
« Reply #9 on: September 10, 2006, 02:29:48 AM »
Also, could we please remove the peakmeters from rockbox default. Some people experience playback problems on certain targets. This and permanent CPU frequency can help reduce the number of bug reports for certain targets.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Set CPU Frequency permanent at 70?
« Reply #10 on: September 10, 2006, 03:25:13 AM »
Again:

The CPU frequency should not be permanently set to 70, because when everything is working RIGHT, then it won't cause a problem. It would be silly to work around the problem temporarily instead of just solving it. You are not users right now, you are TESTERS. If you don't like that it freezes, don't use it, but trying to put in a hack to make it more usable is a waste of time, because that means a programmer stops trying to fix the problem just to make a silly change that he'll have to remove later.

Rockbox is not released. Neither of these bugs will exist when it's in a release state. Hacking around them is a silly and pointless waste of time and effort that could go toward fixes that are actually permanent in nature.
Logged

Offline psycho_maniac

  • Member
  • *
  • Posts: 814
    • MyWebPage
Re: Set CPU Frequency permanent at 70?
« Reply #11 on: September 10, 2006, 04:44:44 AM »
i would just like to add  
Quote
Quote from: Llorean on May 23, 2006, 09:31:22 PM
Rockbox isn't for users right now, especially on iPod. It's for testers and developers, so the focus should be entirely on actually solving long term problems, not creating workarounds for people to use UNTIL those problems are solved.
Logged
Please SEARCH the wiki | Please read the Forum Guidelines | Please Read the Manual
I Own A Gigabeat F80

Offline Shovas

  • Member
  • *
  • Posts: 36
Re: Set CPU Frequency permanent at 70?
« Reply #12 on: March 04, 2007, 06:15:52 PM »
This issue may be related to ipod4g cpu frequency modulation. Check here for more details:

http://forums.rockbox.org/index.php?topic=9129.0
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Set CPU Frequency permanent at 70?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.118 seconds with 14 queries.