Port-amigappc archive

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

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



On Dec 13, 2010, at 1:58 PM, Frank Wille wrote:

> Those new values all match with the 604e PLLs, but some, like 0010 and 0101,
> are still wrong. So you are probably right that we could use the 604e PLL
> table for the 603e as well.
> 

Attached patch simplifies amigappc_identify() by merging PLL tables into one. I 
think that we can safely use values from 604e PLLs, as 603e's 0010 and 0101 
corresponds to high multipliers of 604e. Probability that 603e with these 
PLL_CFGs exist is quite low (and I've never seen 603e faster than 300MHz). 
Anyway, It works for me, 300MHz CPU is detected OK.

However, my serial console still does not work, and I don't know why. I see no 
messages related to configuration of timecounters. Maybe that's the problem?

NetBSD 5.99.41 (GENERIC) #2: Mon Dec 13 18:41:38 CET 2010
        
rkujawa%Radoslaw-Kujawas-MacBook-Pro.local@localhost:/Users/rkujawa/repos/NetBSD-current/src/sys/arch/amigappc/compile/obj/GENERIC
Model: Amiga 1200 [BlizzardPPC] (603ev v2.1 300 MHz, busclk 60 MHz)
total memory = 127 MB
avail memory = 119 MB
mainbus0 (root)
cpu0 at mainbus0: 603ev (Revision 2.1), ID 0 (primary)
cpu0: HID0 0x90c000<DOZE,DPM,ICE,DCE>, powersave: 1
ser0 at mainbus0: input fifo 512 output fifo 32
par0 at mainbus0
kbd0 at mainbus0: CIA A type Amiga
ms0 at mainbus0
grfcc0 at mainbus0
grf0 at grfcc0: width 640 height 400 colors 4
ite0 at grf0: rows 50 cols 80 repeat at (30/100)s next at (10/100)s has keyboard
fdc0 at mainbus0: dmabuf pa 0x1e1c84: dmabuf ka 0x1e1c84
fd0 at fdc0 unit 0: 3.5dd 80 cyl, 2 head, 11 sec [9 sec], 512 bytes/sec
wdc0 at mainbus0
atabus0 at wdc0 channel 0
pccard0 at mainbus0
pcmcia0 at pccard0
ne0 at pcmcia0 function 0: <TAMARACK, Ethernet, A, 004743118001>
ne0: Ethernet address 00:00:21:2f:6c:ee
aucc0 at mainbus0
audio0 at aucc0: half duplex, playback, capture
zbus0 at mainbus0
board at zbus0: pa 0xf00c38 man/pro 8512/110 not configured
biomask 800001e netmask 800001e ttymask 800001e
wd0 at atabus0 drive 0: <SanDisk SDCFH2-004G>
wd0: 3919 MB, 7964 cyl, 16 head, 63 sec, 512 bytes/sect x 8027712 sectors
4 views configured
root device (default wd0a): 

--
Best regards,
RadosÅaw Kujawa

Attachment: pll.patch
Description: Binary data




Home | Main Index | Thread Index | Old Index