maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Compiling custom kernels for P1.1 (with fiasco-gen) (https://talk.maemo.org/showthread.php?t=43420)

titan 2010-04-05 21:03

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
I was referring craftyguy's device not going below 500MHz.
setting the initiallzing the max frequency to 600Mhz twice should not make a difference, should it? neither should the voltage level?

Quote:

Originally Posted by Matan (Post 596834)
The main difference I see is that you set both policy.max (in cpu-omap.c) and policy->user_policy.max (in cpufreq.c) to 600000, while I do not change files outside arch/arm.
I admit I'm a little lost, rereading this thread. What different behaviour do we try to explain?
You also use highest voltage level for all frequencies 600 and above.
I reduced the voltage levels of all frequencies 550-600, and only use the second highest for above 600.


joerg_rw 2010-04-05 23:58

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
Quote:

Originally Posted by titan (Post 596056)
I have uploaded a new untested version of the community kernel that is supposed to support 250,500,550,600,700,750,800,850,900,1000MHz and sets the default max to 600MHz.
for freq >= 850 the DSP is set to 500MHz.
You should be able to change the frequency range as root using
Code:

echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 250000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

The settings can be permanently stored in /etc/pmconfig

I currently don't have my USB cable (for reflashing) with me so I can't test it myself
If there are any volunteers please let me know whether it works.
Installing this new kernel is at your own risk, of course.
Be prepared to reflash the stock kernel per USB!

You can download version 19 from
http://maemory.com/N900/overclock/
install all packages and the kernel-flasher-maemo last.
Good luck!

PS: this new version also includes the Joikuspot module

http://depot.javispedro.com/nit/thewarningtm.jpeg

happy BBQ
/jOERG

craftyguy 2010-04-06 00:07

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
Quote:

Originally Posted by joerg_rw (Post 597069)

happy BBQ
/jOERG

Where exactly in Titan's patch does he lock the device at 550 or 600mhz??

EDIT: According to this source (which might be a little more credible than a powerpoint slide from ????):
Quote:

The ARM Cortex™-A8 processor is based on the ARMv7 architecture and has the ability to scale in speed from 600MHz to greater than 1GHz

nightfire 2010-04-06 02:14

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
I've run my chip at 900mhz, full mixed workload, for 30 minutes and it reaches ~40C (20C over ambient). A semiconductor that can't survive at 40C would not be SMT solderable, so my guess is whoever did that presentation is trying to sell something...

titan 2010-04-06 09:29

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
I finally flashed the new kernel and it works fine, i.e. it uses the whole range down to 250 when not connected to the charger.

fixfox 2010-04-06 09:53

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
Quote:

Originally Posted by titan (Post 597416)
I finally flashed the new kernel and it works fine, i.e. it uses the whole range down to 250 when not connected to the charger.

Why not down to 125Mhz? I believe it helps with battery consumption when max freq is above 600Mhz.

titan 2010-04-06 10:11

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
Quote:

Originally Posted by fixfox (Post 597441)
Why not down to 125Mhz? I believe it helps with battery consumption when max freq is above 600Mhz.

I don't believe until I see evidence for it.
Nokia has deliberately disabled 125MHz and they must have had good reasons for it
(certainly not overheating).
When the CPU is clocked down to the lowest frequency, it's most likely idling
in which AFAIK the actual frequency should not make a big difference (only the voltage).

just uploading the new kernel to extras-devel...

titan 2010-04-06 11:35

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
the new kernel version 19 is now in extras-devel and soon in extras-testing.
It supports up to 1.2GHz but 600MHz is the default limit.
more here http://talk.maemo.org/showpost.php?p...postcount=1259

hawaii 2010-04-06 12:32

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
If you're including the entire range up to 1GHz and putting the default ceiling at 600MHz, I see no reason why you don't include 125MHz and lock it out using /etc/pmconfig - then those of us who appreciate your work with the patches, can still use the kernel and modify the scalable minimum frequency on our own and deal with the supposed instability.

Make sense?

GameboyRMH 2010-04-06 13:44

Re: Compiling custom kernels for P1.1 (with fiasco-gen)
 
You know I was thinking of building a "power user's kernel"...beaten to it :D


All times are GMT. The time now is 15:57.

vBulletin® Version 3.8.8