Port-macppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
G5 update
Hello,
I've been working on getting G5 support into a somewhat useful state
for a while now, here's what I've got.
- for now we only support 32bit bridge mode, so we're limited to 2GB
RAM. Someone(tm) needs to flesh out powerpc/pmap64.c
- NetBSD boots with console on genfb or radeonfb. Other drivers should
work but are untested.
- SMP works
- built-in PCI devices all work, I didn't test firewire though
- snapper audio works
- CPU speed control ( via sysctl machdep.cpu.* ) works on 970MP CPUs
- fan control / thermal management works on smu and fcu-based machines
- X works
What doesn't work:
- booting from local disk, ofwboot.xcf needs help. Netbooting with root
forced to a local disk ( or over nfs ) works though.
- LP64 mode
- CPU speed control on CPUs other than 970MP
This has so far been tested only on a PowerMac11,2 ( last generation,
PCIe slots, 970MP CPU ) and a PowerMac7,3 ( PCI-X, 970FX CPUs ). Other
machines may or may not work.
Here's the obligatory dmesg porn:
[ 1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[ 1.000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[ 1.000000] 2018 The NetBSD Foundation, Inc. All rights reserved.
[ 1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.000000] The Regents of the University of California. All rights reserved.
[ 1.000000] NetBSD 8.99.19 (GLENDEVERON.MP) #59: Fri Jun 1 11:41:36 EDT 2018
[ 1.000000] ml@blackbush:/stuff/build/obj/sys/arch/macppc/compile/GLENDEVERON.MP
[ 1.000000] total memory = 2048 MB
[ 1.000000] oea_startup: failed to allocate DEAD ZONE: error=12
[ 1.000000] avail memory = 1960 MB
[ 1.000000] timecounter: Timecounters tick every 10.000 msec
[ 1.000000] found U3/U4 HT PIC at f8040000
[ 1.000000] OpenPIC Version 1.2: Supports 4 CPUs and 124 interrupt sources.
[ 1.000000] bootpath: /ht@0,f2000000/pci@2/bcom5714@4:192.168.0.44,netbsd.pcie.mp
[ 1.000000] mainbus0 (root)
[ 1.000000] cpu0 at mainbus0: 970MP (Revision 1.1), ID 0 (primary)
[ 1.000000] cpu0: HID0 0x513081<NAP,DPM,NHR,TBCTRL,EXTBEN,ENATTN> 0x80000000<EMCP>, powersave: 1
[ 1.000000] cpu1 at mainbus0: 970MP (Revision 1.1), ID 1
[ 1.000000] cpu1: HID0 0x513081<NAP,DPM,NHR,TBCTRL,EXTBEN,ENATTN> 0x80000000<EMCP>, powersave: 1
[ 1.000000] u3_ht_establish_irq: setting IRQ 128 3 to priority 7 80470080
[ 1.000000] memory0 at mainbus0: len=1024
[ 1.000000] spdmem0 at memory0
[ 1.000000] spdmem0: DDR2 SDRAM, no parity or ECC, 1GB, 667MHz (PC2-5300)
[ 1.000000] spdmem0: 14 rows, 10 cols, 2 ranks, 4 banks/chip, 3.00ns cycle time
[ 1.000000] spdmem0: tAA-tRCD-tRP-tRAS: 5-5-5-15
[ 1.000000] spdmem0: voltage SSTL 1.8V, refresh time 7.8us (self-refreshing)
[ 1.000000] spdmem1 at memory0
[ 1.000000] spdmem1: DDR2 SDRAM, no parity or ECC, 1GB, 667MHz (PC2-5300)
[ 1.000000] spdmem1: 14 rows, 10 cols, 2 ranks, 4 banks/chip, 3.00ns cycle time
[ 1.000000] spdmem1: tAA-tRCD-tRP-tRAS: 5-5-5-15
[ 1.000000] spdmem1: voltage SSTL 1.8V, refresh time 7.8us (self-refreshing)
[ 1.000000] spdmem2 at memory0
[ 1.000000] spdmem2: DDR2 SDRAM, no parity or ECC, 1GB, 667MHz (PC2-5300)
[ 1.000000] spdmem2: 14 rows, 10 cols, 1 ranks, 8 banks/chip, 3.00ns cycle time
[ 1.000000] spdmem2: tAA-tRCD-tRP-tRAS: 5-5-5-15
[ 1.000000] spdmem2: voltage SSTL 1.8V, refresh time 7.8us (self-refreshing)
[ 1.000000] spdmem3 at memory0
[ 1.000000] spdmem3: DDR2 SDRAM, no parity or ECC, 1GB, 667MHz (PC2-5300)
[ 1.000000] spdmem3: 14 rows, 10 cols, 1 ranks, 8 banks/chip, 3.00ns cycle time
[ 1.000000] spdmem3: tAA-tRCD-tRP-tRAS: 5-5-5-15
[ 1.000000] spdmem3: voltage SSTL 1.8V, refresh time 7.8us (self-refreshing)
[ 1.000000] uni_n0 at mainbus0 address 0xf8000000
[ 1.000000] ki2c0 at uni_n0 address 0xf8001000
[ 1.000000] iic0 at ki2c0: I2C bus
[ 1.000000] lmtemp0 at iic0 addr 0xca: temp-monitor LM75 Temperature Sensor
[ 1.000000] dstemp0 at iic0 addr 0xcb: DS1361
[ 1.000000] admtemp0 at iic0 addr 0xcc: MAX6690 temperature sensor: id. 0x4d, rev. 0x09
[ 1.000000] admtemp1 at iic0 addr 0xce: MAX6690 temperature sensor: id. 0x4d, rev. 0x09
[ 1.000000] dart at uni_n0 address 0xf8033000 not configured
[ 1.000000] mpic at uni_n0 address 0xf8040000 not configured
[ 1.000000] uninorth0 at mainbus0
[ 1.000000] pci0 at uninorth0 bus 10
[ 1.000000] pci0: i/o space, memory space enabled
[ 1.000000] genfb0 at pci0 dev 0 function 0: vendor 1002 product 7240 (rev. 0x00)
[ 1.000000] genfb0: framebuffer at 0x98008000, size 1920x1080, depth 8, stride 2048
[ 1.000000] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
[ 1.000000] wsmux1: connecting to wsdisplay0
[ 1.000000] drm at genfb0 not configured
[ 1.000000] ibmcpc0 at mainbus0
[ 1.000000] Mapping in config space @ pa 0xf2000000, size: 0x02800000
[ 1.000000] pci1 at ibmcpc0 bus 4
[ 1.000000] pci1: i/o space, memory space enabled
[ 1.000000] pci2 at ibmcpc0 bus 5
[ 1.000000] pci2: i/o space, memory space enabled
[ 1.000000] bge0 at pci2 dev 4 function 0: Broadcom BCM5780 Gigabit Ethernet
[ 1.000000] u3_ht_establish_irq: setting IRQ 66 3 to priority 5 80050042
[ 1.000000] bge0: interrupting at irq 66
[ 1.000000] bge0: HW config 00000015, 00000015, 00000000, 00000000 00000000
[ 1.000000] bge0: ASIC BCM5714 B3 (0x8003), Ethernet address xx:xx:xx:xx:xx:xx
[ 1.000000] bge0: setting short Tx thresholds
[ 1.000000] brgphy0 at bge0 phy 1: BCM5780 1000BASE-T/X media interface, rev. 0
[ 1.000000] brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[ 1.000000] bge1 at pci2 dev 4 function 1: Broadcom BCM5780 Gigabit Ethernet
[ 1.000000] u3_ht_establish_irq: setting IRQ 67 3 to priority 5 80050043
[ 1.000000] bge1: interrupting at irq 67
[ 1.000000] bge1: NVRAM lock timedout!
[ 1.000000] bge1: HW config 00000014, 00000014, 00000000, 00000000 00000000
[ 1.000000] bge1: ASIC BCM5714 B3 (0x8003), Ethernet address xx:xx:xx:xx:xx:xx
[ 1.000000] bge1: setting short Tx thresholds
[ 1.000000] brgphy1 at bge1 phy 1: BCM5780 1000BASE-T/X media interface, rev. 0
[ 1.000000] brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[ 1.000000] pci3 at ibmcpc0 bus 6
[ 1.000000] pci3: i/o space, memory space enabled
[ 1.000000] pci4 at ibmcpc0 bus 7
[ 1.000000] pci4: i/o space, memory space enabled
[ 1.000000] pci5 at ibmcpc0 bus 8
[ 1.000000] pci5: i/o space, memory space enabled
[ 1.000000] pci6 at ibmcpc0 bus 9
[ 1.000000] pci6: i/o space, memory space enabled
[ 1.000000] pci7 at ibmcpc0 bus 2
[ 1.000000] pci7: i/o space, memory space enabled
[ 1.000000] gem0 at pci7 dev 15 function 0: vendor 106b product 0051 (rev. 0x00)
[ 1.000000] gem0: no Ethernet address found
[ 1.000000] pci_intr_map: no mapping for pin A
[ 1.000000] gem0: unable to map interrupt
[ 1.000000] pci8 at ibmcpc0 bus 1
[ 1.000000] pci8: i/o space, memory space enabled
[ 1.000000] obio0 at pci8 dev 7 function 0: addr 0x80000000
[ 1.000000] zsc0 at obio0 irq 23,24
[ 1.000000] zstty0 at zsc0 channel 0
[ 1.000000] zstty1 at zsc0 channel 1
[ 1.000000] u3_ht_establish_irq: setting IRQ 23 2 to priority 5 80050017
[ 1.000000] u3_ht_establish_irq: setting IRQ 24 2 to priority 5 80050018
[ 1.000000] ki2c1 at obio0
[ 1.000000] iic1 at ki2c1: I2C bus
[ 1.000000] deq0 at iic1 addr 0x46 Audio Codec (pcm3052)
[ 1.000000] deq1 at iic1 addr 0x12 Audio Codec (cs8416)
[ 1.000000] i2s at obio0 offset 0x0 not configured
[ 1.000000] ohci0 at pci8 dev 11 function 0: vendor 1033 product 0035 (rev. 0x43)
[ 1.000000] u3_ht_establish_irq: setting IRQ 70 3 to priority 5 80050046
[ 1.000000] ohci0: interrupting at irq 70
[ 1.000000] ohci0: OHCI version 1.0
[ 1.000000] usb0 at ohci0: USB revision 1.0
[ 1.000000] ohci1 at pci8 dev 11 function 1: vendor 1033 product 0035 (rev. 0x43)
[ 1.000000] u3_ht_establish_irq: setting IRQ 70 3 to priority 5 80050046
[ 1.000000] ohci1: interrupting at irq 70
[ 1.000000] ohci1: OHCI version 1.0
[ 1.000000] usb1 at ohci1: USB revision 1.0
[ 1.000000] ehci0 at pci8 dev 11 function 2: vendor 1033 product 00e0 (rev. 0x04)
[ 1.000000] u3_ht_establish_irq: setting IRQ 70 3 to priority 5 80050046
[ 1.000000] ehci0: interrupting at irq 70
[ 1.000000] ehci0: EHCI version 1.0
[ 1.000000] ehci0: 2 companion controllers, 3 ports each: ohci0 ohci1
[ 1.000000] usb2 at ehci0: USB revision 2.0
[ 1.000000] pci9 at ibmcpc0 bus 3
[ 1.000000] pci9: i/o space, memory space enabled
[ 1.000000] svwsata0 at pci9 dev 12 function 0: ServerWorks K2 SATA Controller (rev. 0x00)
[ 1.000000] svwsata0: bus-master DMA support present
[ 1.000000] u3_ht_establish_irq: setting IRQ 10 3 to priority 5 8005000a
[ 1.000000] svwsata0: using irq 10 for native-PCI interrupt
[ 1.000000] svwsata0: primary channel wired to native-PCI mode
[ 1.000000] atabus0 at svwsata0 channel 0
[ 1.000000] svwsata0: secondary channel wired to native-PCI mode
[ 1.000000] atabus1 at svwsata0 channel 1
[ 1.000000] svwsata0: secondary channel wired to compatibility mode
[ 1.000000] atabus2 at svwsata0 channel 2
[ 1.000000] svwsata0: secondary channel configured to compatibility mode
[ 1.000000] atabus3 at svwsata0 channel 3
[ 1.000000] wdc0 at pci9 dev 13 function 0: interrupting at irq 38
[ 1.000000] u3_ht_establish_irq: setting IRQ 38 3 to priority 5 80050026
[ 1.000000] atabus4 at wdc0 channel 0
[ 1.000000] vendor 106b product 0052 (IEEE1394 serial bus, OpenHCI) at pci9 dev 14 function 0 not configured
[ 1.000000] smu0 at mainbus0 mbox 0x860c gpio 0x62 irq 53u3_ht_establish_irq: setting IRQ 53 2 to priority 5 80050035
[ 1.000000] smuiic0 at smu0
[ 1.000000] iic2 at smuiic0: I2C bus
[ 1.000000] smusat0 at iic2 addr 0x58
[ 1.000000] system-clock at iic2 addr 0x6a not configured
[ 1.000000] smuiic1 at smu0
[ 1.000000] iic3 at smuiic1: I2C bus
[ 1.000000] using 4 fans for CPU zone
[ 1.000000] using 1 fans for drive bay zone
[ 1.000000] using 2 fans for expansion slots zone
[ 1.000000] vmmask 3fc00000 schedmask 3fc00000 highmask 7fc00000
[ 1.000000] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[ 1.000003] timecounter: Timecounter "mftb" frequency 33333333 Hz quality 100
[ 1.000003] cpu1 started
[ 1.049997] uhub0 at usb0: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[ 1.049997] uhub0: 3 ports with 3 removable, self powered
[ 1.049997] uhub1 at usb2: NetBSD (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
[ 1.049997] uhub1: 5 ports with 5 removable, self powered
[ 1.049997] uhub2 at usb1: NetBSD (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
[ 1.049997] uhub2: 2 ports with 2 removable, self powered
[ 1.129999] svwsata0 port 0: device present, speed: 1.5Gb/s
[ 1.219997] wd0 at atabus0 drive 0
[ 1.239998] wd0: <SAMSUNG HD153WI>
[ 1.239998] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
[ 1.239998] wd0: 1397 GB, 2907021 cyl, 16 head, 63 sec, 512 bytes/sect x 2930277168 sectors
[ 1.259997] dk0 at wd0: "System/a", 41943040 blocks at 2815547280, type: ffs
[ 1.259997] dk1 at wd0: "System/b", 8388608 blocks at 2857490320, type: swap
[ 1.259997] dk2 at wd0: "System/d", 64398240 blocks at 2865878928, type: ffs
[ 1.259997] dk3 at wd0: "System/e", 1600 blocks at 2815545680, type: hfs
[ 1.259997] dk4 at wd0: "System/f", 629145600 blocks at 262208, type: hfs
[ 1.259997] dk5 at wd0: "System/g", 2185875728 blocks at 629669952, type: hfs
[ 1.259997] dk6: secperunit and ncylinders are zero
[ 1.259997] dk6 at wd0: "System/h", 0 blocks at 0, type: other
[ 1.259997] dk7: secperunit and ncylinders are zero
[ 1.259997] dk7 at wd0: "System/i", 0 blocks at 0, type: other
[ 1.259997] dk8: secperunit and ncylinders are zero
[ 1.259997] dk8 at wd0: "System/j", 0 blocks at 0, type: other
[ 1.259997] dk9: secperunit and ncylinders are zero
[ 1.259997] dk9 at wd0: "System/k", 0 blocks at 0, type: other
[ 1.259997] dk10: secperunit and ncylinders are zero
[ 1.259997] dk10 at wd0: "System/l", 0 blocks at 0, type: other
[ 1.289997] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), NCQ (32 tags) w/PRIO
[ 1.289997] wd0(svwsata0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
[ 2.119996] svwsata0 port 1: PHY offline
[ 2.159998] atapibus0 at atabus4: 2 targets
[ 2.179996] cd0 at atapibus0 drive 0: <HL-DT-ST DVD-RW GWA-4165B, 76DB8EB84B89, C006> cdrom removable
[ 2.199998] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
[ 2.199998] cd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66) (using DMA)
[ 2.359996] ehci0: handing over full speed device on port 1 to ohci0
[ 3.899995] uhub3 at uhub0 port 1: Mitsumi Electric (0x5ac) Hub in Apple Extended USB Keyboard (0x1003), class 9/0, rev 1.10/4.10, addr 2
[ 3.909995] uhub3: 3 ports with 2 removable, bus powered
[ 3.949994] uhub4 at uhub1 port 2: vendor 1a40 (0x1a40) USB 2.0 Hub [MTT] (0x201), class 9/0, rev 2.00/1.00, addr 2
[ 3.949994] uhub4: multiple transaction translators
[ 3.949994] uhub4: 7 ports with 7 removable, self powered
[ 5.239993] uhidev0 at uhub3 port 3 configuration 1 interface 0
[ 5.239993] uhidev0: Mitsumi Electric (0x5ac) Apple Extended USB Keyboard (0x20b), rev 1.10/4.10, addr 3, iclass 3/1
[ 5.249993] ukbd0 at uhidev0: 8 Variable keys, 6 Array codes
[ 5.269996] umass0 at uhub4 port 6 configuration 1 interface 0
[ 5.269996] umass0: LaCie (0x59f) P'9220 Mobile Drive (0x1052), rev 2.10/0.06, addr 3
[ 5.269996] umass0: using SCSI over Bulk-Only
[ 5.279993] scsibus0 at umass0: 2 targets, 1 lun per target
[ 5.279993] sd0 at scsibus0 target 0 lun 0: <ST950032, 5AS, 0003> disk fixed
[ 5.279993] sd0: 465 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
[ 5.329993] sd0: no NetBSD disk label
[ 5.329993] dk11 at sd0: "porsche/a", 41943040 blocks at 4724449, type: ffs
[ 5.329993] dk12 at sd0: "porsche/b", 4194304 blocks at 530145, type: swap
[ 5.329993] dk13 at sd0: "porsche/d", 41943040 blocks at 46667489, type: ffs
[ 5.329993] dk14 at sd0: "porsche/e", 888162639 blocks at 88610529, type: ffs
[ 5.329993] dk15 at sd0: "porsche/g", 530082 blocks at 63, type: msdos
[ 5.329993] WARNING: 15 errors while detecting hardware; check system log.
[ 5.329993] boot device: bge0
[ 5.329993] root on dk0 dumps on dk1
[ 5.359993] kern.module.path=/stand/macppc/8.99.19/modules
[ 5.659993] wskbd0 at ukbd0: console keyboard, using wsdisplay0
[ 5.659993] uhidev1 at uhub3 port 3 configuration 1 interface 1
[ 5.659993] uhidev1: Mitsumi Electric (0x5ac) Apple Extended USB Keyboard (0x20b), rev 1.10/4.10, addr 3, iclass 3/0
[ 5.669993] uhidev1: 3 report ids
[ 5.669993] uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
[ 5.669993] uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0
[ 6.709996] uhidev2 at uhub3 port 1 configuration 1 interface 0
[ 6.709996] uhidev2: Logitech (0x46d) Trackball (0xc404), rev 1.10/2.20, addr 4, iclass 3/1
[ 6.729996] ums0 at uhidev2: 3 buttons and Z dir
[ 6.729996] wsmouse0 at ums0 mux 0
[ 9.819991] wsdisplay0: screen 1 added (default, vt100 emulation)
[ 9.819991] wsdisplay0: screen 2 added (default, vt100 emulation)
[ 9.829992] wsdisplay0: screen 3 added (default, vt100 emulation)
[ 9.829992] wsdisplay0: screen 4 added (default, vt100 emulation)
have fun
Michael
Home |
Main Index |
Thread Index |
Old Index