* G3 bus speed detector
@ 2002-11-21 19:45 Andreas Tobler
0 siblings, 0 replies; only message in thread
From: Andreas Tobler @ 2002-11-21 19:45 UTC (permalink / raw)
To: LinuxPPC Dev
[-- Attachment #1: Type: text/plain, Size: 948 bytes --]
Hello,
attached a little module I hacked. This module calculates the bus, cpu
and the L2 frequency of a G3 based system. I tested it on a pm8600
G3/500 and a wallstreet I.
We can discuss about the need of such a module, yes. Possibly useless
except for me. I did it to learn a bit module programming and asm. Also
I was annoyed that my wallstreet reports 100MHz bus frequency from OF.
It would be great if I could get some feedback regarding functionality
and other issues.
PLEASE keep in mind, TRY IT ON YOUR OWN RISK. It should be safe now, but
you never know.
make,
make install (as root)
insmod clock_cpu_mod
sync (just to be on the safe side)
cat /proc/cpu_clock
[root@pm8600 clock]# cat /proc/cpu_clock
CPU clock: detecting CPU clock
PPC 740/750
Bus frequency : 49997936 Hz
CPU frequency : 499979360 Hz
L2 frequency : 249989680 Hz
cpu-rev: 3.2 COP
Clock: End of Test
That's it.
TIA,
Andreas
P.S, thanks goes once again to benh.
[-- Attachment #2: clock-21112002.tar.gz --]
[-- Type: application/x-gzip, Size: 5822 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-21 19:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-21 19:45 G3 bus speed detector Andreas Tobler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).