Port-macppc archive

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

Some G5 progress



Hello,

Someone(tm) dropped a PCI-X G5 on my doorstep, here's what I got so far:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
    2018 The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 8.99.12 (JIMADOR) #28: Wed Feb 28 19:02:21 EST 2018
        ml@blackbush:/stuff/build/obj/sys/arch/macppc/compile/JIMADOR
total memory = 2048 MB
oea_startup: failed to allocate DEAD ZONE: error=12
avail memory = 1966 MB
timecounter: Timecounters tick every 10.000 msec
found openpic PIC at 80040000
OpenPIC Version 1.2: Supports 4 CPUs and 120 interrupt sources.
bootpath: 
mainbus0 (root)
cpu0 at mainbus0: 970FX (Revision 3.0), ID 0 (primary)
cpu0: HID0 0x913081<DOZE,DPM,NHR,TBCTRL,EXTBEN,ENATTN> 0x80000000<EMCP>, powersave: 1
cpu1 at mainbus0: ID 1
cpu1: processor off-line; multiprocessor support not present in kernel
memory0 at mainbus0: len=1024
spdmem0 at memory0
spdmem0: DDR SDRAM, no parity or ECC, 256MB, 400MHz (PC-3200)
spdmem0: 13 rows, 10 cols, 1 ranks, 4 banks/chip, 5.0ns cycle time
spdmem0: tAA-tRCD-tRP-tRAS: 2-3-3-8
spdmem0: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
spdmem1 at memory0
spdmem1: DDR SDRAM, no parity or ECC, 256MB, 400MHz (PC-3200)
spdmem1: 13 rows, 10 cols, 1 ranks, 4 banks/chip, 5.0ns cycle time
spdmem1: tAA-tRCD-tRP-tRAS: 2-3-3-8
spdmem1: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
spdmem2 at memory0
spdmem2: DDR SDRAM, no parity or ECC, 1GB, 400MHz (PC-3200)
spdmem2: 13 rows, 11 cols, 2 ranks, 4 banks/chip, 5.0ns cycle time
spdmem2: tAA-tRCD-tRP-tRAS: 2-3-3-8
spdmem2: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
spdmem3 at memory0
spdmem3: DDR SDRAM, no parity or ECC, 1GB, 400MHz (PC-3200)
spdmem3: 13 rows, 11 cols, 2 ranks, 4 banks/chip, 5.0ns cycle time
spdmem3: tAA-tRCD-tRP-tRAS: 2-3-3-8
spdmem3: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
spdmem4 at memory0
spdmem4: DDR SDRAM, no parity or ECC, 1GB, 400MHz (PC-3200)
spdmem4: 13 rows, 11 cols, 2 ranks, 4 banks/chip, 5.0ns cycle time
spdmem4: tAA-tRCD-tRP-tRAS: 2-3-3-8
spdmem4: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
spdmem5 at memory0
spdmem5: DDR SDRAM, no parity or ECC, 1GB, 400MHz (PC-3200)
spdmem5: 13 rows, 11 cols, 2 ranks, 4 banks/chip, 5.0ns cycle time
spdmem5: tAA-tRCD-tRP-tRAS: 2-3-3-8
spdmem5: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
spdmem6 at memory0
spdmem6: DDR SDRAM, no parity or ECC, 1GB, 400MHz (PC-3200)
spdmem6: 13 rows, 11 cols, 2 ranks, 4 banks/chip, 5.0ns cycle time
spdmem6: tAA-tRCD-tRP-tRAS: 2-3-3-8
spdmem6: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
spdmem7 at memory0
spdmem7: DDR SDRAM, no parity or ECC, 1GB, 400MHz (PC-3200)
spdmem7: 13 rows, 11 cols, 2 ranks, 4 banks/chip, 5.0ns cycle time
spdmem7: tAA-tRCD-tRP-tRAS: 2-3-3-8
spdmem7: voltage SSTL 2.5V, refresh time 7.8us (self-refreshing)
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: vendor 106b product 0059 (rev. 0x00)
radeonfb0 at pci0 dev 16 function 0: vendor 1002 product 4150 (rev. 0x00)
radeonfb0: Video BIOS not present
radeonfb0: No video BIOS, using default clocks
radeonfb0: refclk = 27.000 MHz, refdiv = 12 minpll = 125000, maxpll = 400000
radeonfb0: 64 MB aperture at 0xa0000000, 64 KB registers at 0x90000000
radeonfb0: display 0: initial virtual resolution 1280x1024 at 8 bpp
radeonfb0: using 32 MB per display
radeonfb0: port 0: physical 1280x1024 60Hz
radeonfb0: port 1: physical 1280x1024 60Hz
wsdisplay0 at radeonfb0 kbdmux 1: console (fb, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at radeonfb0 not configured
ibmcpc0 at mainbus0
Mapping in config space @ pa 0xf2000000, size: 0x02800000
pci1 at ibmcpc0 bus 6
pci1: i/o space, memory space enabled
pci2 at ibmcpc0 bus 7
pci2: i/o space, memory space enabled
pci3 at ibmcpc0 bus 1
pci3: i/o space, memory space enabled
obio0 at pci3 dev 7 function 0: addr 0x80000000
mpic at obio0 offset 0x40000 not configured
zsc0 at obio0 irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
ki2c0 at obio0
iic0 at ki2c0: I2C bus
cereal at iic0 addr 0x60 not configured
deq0 at iic0 addr 0x35 Audio Codec (tas3004)
i2s at obio0 offset 0x10000 not configured
pmu0 at obio0 offset 0x16000 irq 25:  rev. 12
pmu0: initializing IIC bus
iic at pmu0 not configured
pmu0: initializing RTC
pmu0: power-mgt not configured
fans at obio0 offset 0x4c not configured
ohci0 at pci3 dev 8 function 0: vendor 106b product 0040 (rev. 0x00)
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ohci1 at pci3 dev 9 function 0: vendor 106b product 0040 (rev. 0x00)
ohci1: interrupting at irq 28
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
pci4 at ibmcpc0 bus 2
pci4: i/o space, memory space enabled
vendor 14e4 product 4320 (miscellaneous network, revision 0x03) at pci4 dev 1 function 0 not configured
ohci2 at pci4 dev 11 function 0: vendor 1033 product 0035 (rev. 0x43)
ohci2: interrupting at irq 63
ohci2: OHCI version 1.0
usb2 at ohci2: USB revision 1.0
ohci3 at pci4 dev 11 function 1: vendor 1033 product 0035 (rev. 0x43)
ohci3: interrupting at irq 63
ohci3: OHCI version 1.0
usb3 at ohci3: USB revision 1.0
ehci0 at pci4 dev 11 function 2: vendor 1033 product 00e0 (rev. 0x04)
ehci0: interrupting at irq 63
ehci0: EHCI version 1.0
ehci0: 2 companion controllers, 3 ports each: ohci2 ohci3
usb4 at ehci0: USB revision 2.0
pci5 at ibmcpc0 bus 3
pci5: i/o space, memory space enabled
vendor 106b product 0043 (undefined, subclass 0x00) at pci5 dev 13 function 0 not configured
vendor 106b product 0042 (IEEE1394 serial bus, OpenHCI) at pci5 dev 14 function 0 not configured
pci6 at ibmcpc0 bus 4
pci6: i/o space, memory space enabled
gem0 at pci6 dev 15 function 0: vendor 106b product 004c (rev. 0x00)
gem0: interrupting at irq 41
brgphy0 at gem0 phy 1: BCM54K2 1000BASE-T media interface, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
gem0: Ethernet address 00:11:24:72:cc:5e, 10KB RX fifo, 4KB TX fifo
pci7 at ibmcpc0 bus 5
pci7: i/o space, memory space enabled
vendor 1166 product 0240 (IDE mass storage, interface 0x8f) at pci7 dev 12 function 0 not configured
vendor 1166 product 0240 (IDE mass storage, interface 0x85) at pci7 dev 12 function 1 not configured
vmmask 7f000000 schedmask 7f000000 highmask 7f000000
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mftb" frequency 33333333 Hz quality 100
uhub0 at usb0: vendor 106b (0x106b) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 106b (0x106b) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: vendor 1033 (0x1033) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
uhub2: 3 ports with 3 removable, self powered
uhub3 at usb3: vendor 1033 (0x1033) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhub4 at usb4: vendor 1033 (0x1033) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
uhub4: 5 ports with 5 removable, self powered
ehci0: handing over full speed device on port 3 to ohci2
WARNING: 4 errors while detecting hardware; check system log.
boot device: cpu0
root on gem0
nfs_boot: trying DHCP/BOOTP
uhub5 at uhub2 port 2: Mitsumi Electric (0x5ac) Hub in Apple Extended USB Keyboard (0x1003), class 9/0, rev 1.10/4.10, addr 2
uhub5: 3 ports with 2 removable, bus powered
uhidev0 at uhub5 port 3 configuration 1 interface 0
uhidev0: Mitsumi Electric (0x5ac) Apple Extended USB Keyboard (0x20b), rev 1.10/4.10, addr 3, iclass 3/1
ukbd0 at uhidev0: 8 Variable keys, 6 Array codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub5 port 3 configuration 1 interface 1
uhidev1: Mitsumi Electric (0x5ac) Apple Extended USB Keyboard (0x20b), rev 1.10/4.10, addr 3, iclass 3/0
uhidev1: 3 report ids
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0
uhidev2 at uhub5 port 1 configuration 1 interface 0
uhidev2: Mitsumi Electric (0x5ac) Apple Optical USB Mouse (0x304), rev 1.10/1.10, addr 4, iclass 3/1
ums0 at uhidev2: 4 buttons, W and Z dirs
wsmouse0 at ums0 mux 0
nfs_boot: timeout...
nfs_boot: DHCP next-server: 192.168.0.44
nfs_boot: my_name=jimador
nfs_boot: my_addr=192.168.0.54
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.0.1
root on branca:/stuff/roots/macppc
kern.module.path=/stand/macppc/8.99.12/modules
wsdisplay0: screen 1 added (fb, vt100 emulation)
wsdisplay0: screen 2 added (fb, vt100 emulation)
wsdisplay0: screen 3 added (fb, vt100 emulation)
wsdisplay0: screen 4 added (fb, vt100 emulation)

What works:
- CPU running in 32bit bridge mode
- raster console / genfb ( and, in this case, radeonfb )
- onboard ethernet ( needed a fix that's already committed )
- USB, the usual mac-io stuff

What doesn't work:
- SMP
- audio ( there's some bus_space-ification needed )
- svwsata ( fails to map an interrupt, probably trivial to fix )
- fan control ( the thing will get LOUD after a while )

commits in arch/powerpc will follow in a few days when I'm sure I
didn't break anything.

have fun
Michael


Home | Main Index | Thread Index | Old Index