Port-amigappc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PPC CPU speed detection [was: Re: amigappc test kernel for CSPPC and BPPC]



On Sun, 12 Dec 2010 23:42:51 +0100, Radosław Kujawa
<radoslaw.kujawa%c0ff33.net@localhost> wrote:
> On Dec 12, 2010, at 9:17 PM, Frank Wille wrote:
> 
>>> Also it looks like cpuclock/busclock calculation is a bit off.
>>> This one should have 200Mhz processor instead of 233Mhz.
>>
>> Have a look at the pll603[] array in amigappc_identify(). There is probably
>> a wrong entry for your CPU.
> 
> Something's certainly wrong there, I've got a 0 MHz CPU ;).

The 604e User's Manual states that "604e’s PLL_CFG settings are
compatible with the 603e and the 604, although the supported frequency
ranges may differ". Values found in 603e User's Manual (rev. 5/98, table
C-4) and 604e User's Manual (rev. 3/98, table 7-6) are different in some
cases: 

PLL_CFG 603e        604e
0000 0  1x          1x
0001 1  1x          1x
0010 2  1x          7x
0011 3  PLL Bypass  PLL Bypass
0100 4  2x          2x
0101 5  2x          6.5x
0110 6  no info     2.5x
0111 7  no info     4.5x
1000 8  3x          3x
1001 9  3x          5.5x
1010 10 no info     4x
1011 11 no info     5x
1100 12 4x          1.5x
1101 13 no info     6x
1110 14 no info     3.5x
1111 15 off         off

I have a BlizzardPPC upgraded with 603e 300MHz (60MHz bus) and PLL_CFG
returns 1011, which is absent in 603e datasheet... I think that
information from 604e User's Manual may be right for both 603e and
604e...

--
Best regards,
Radosław Kujawa



Home | Main Index | Thread Index | Old Index