On 31.10.17 8:41 , Mike Larkin wrote: > This machine is not a macppc. This machine is an amd64.
I was talking about the Mac mini 2005, which was macppc when I last used it. My current Mac mini 2014 is intel and amd64. Anyway, my call is still on. Who wants to help with getting OpenBSD to run on amd64 Mac Mini 2014? Attaching again my patch and the dmesg of the Mac mini 2014. *Kristian
--- 6.2/src/sys/dev/acpi/dsdt.c Sun May 28 17:36:45 2017 +++ src/sys/dev/acpi/dsdt.c Mon Oct 30 16:08:39 2017 @@ -2488,6 +2488,11 @@ aml_rwgas(ref1, fld->v_field.bitpos + bpos, blen, val, mode, fld->v_field.flags); break; + case ACPI_OPREG_CMOS: + printf("RegionSpace: %u\n", ref1->v_opregion.iospace); + aml_rwgas(ref1, fld->v_field.bitpos + bpos, blen, + val, mode, fld->v_field.flags); + break; default: aml_die("Unsupported RegionSpace 0x%x", ref1->v_opregion.iospace);
OpenBSD 6.2-stable (GENERIC.MP) #3: Mon Oct 30 16:47:38 CET 2017 root@test.localnet:/home/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4147183616 (3955MB) avail mem = 4014477312 (3828MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x88d10000 (49 entries) bios0: vendor Apple Inc. version "MM71.88Z.0224.B00.1708080033" date 08/08/2017 bios0: Apple Inc. Macmini7,1 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC SBST ECDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT DMAR MCFG acpi0: wakeup devices P0P2(S3) EC__(S3) HDEF(S3) RP03(S4) ARPT(S4) RP04(S4) GIGE(S4) SDXC(S3) RP05(S3) RP06(S3) XHC1(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-4260U CPU @ 1.40GHz, 2000.33 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: TSC frequency 2000329420 Hz cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i5-4260U CPU @ 1.40GHz, 2000.00 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5-4260U CPU @ 1.40GHz, 2000.00 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 0, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Core(TM) i5-4260U CPU @ 1.40GHz, 2000.00 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 40 pins acpiec0 at acpi0 acpimcfg0 at acpi0 addr 0xe0000000, bus 0-154 RegionSpace: 5 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P2) acpiprt2 at acpi0: bus 2 (RP03) acpiprt3 at acpi0: bus 3 (RP04) acpiprt4 at acpi0: bus 4 (RP05) acpiprt5 at acpi0: bus -1 (RP06) acpicpu0 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS "APP0001" at acpi0 not configured acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpivideo0 at acpi0: IGPU cpu0: Enhanced SpeedStep 2000 MHz: speeds: 2001, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800, 780 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x09 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 5000" rev 0x09 drm0 at inteldrm0 inteldrm0: msi inteldrm0: 1920x1080, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x09: msi azalia0: No codecs found xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x04: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: msi azalia1: codecs: Cirrus Logic CS4208 audio0 at azalia1 ppb0 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xe4 pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 2 "Intel 8 Series PCIE" rev 0xe4: msi pci2 at ppb1 bus 2 "Broadcom BCM4360" rev 0x03 at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xe4: msi pci3 at ppb2 bus 3 bge0 at pci3 dev 0 function 0 "Broadcom BCM57766" rev 0x01, unknown BCM57766 (0x57766001): msi, address a8:60:b6:34:13:00 brgphy0 at bge0 phy 1: BCM57765 10/100/1000baseT PHY, rev. 1 sdhc0 at pci3 dev 0 function 1 "Broadcom SD Host Controller" rev 0x01: apic 2 int 16 sdhc0: SDHC 3.0, 200 MHz base clock sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, dma ppb3 at pci0 dev 28 function 4 "Intel 8 Series PCIE" rev 0xe4: msi pci4 at ppb3 bus 4 ppb4 at pci4 dev 0 function 0 "Intel DSL5520 Thunderbolt" rev 0x00 pci5 at ppb4 bus 5 ppb5 at pci5 dev 0 function 0 "Intel DSL5520 Thunderbolt" rev 0x00: msi pci6 at ppb5 bus 6 "Intel DSL5520 Thunderbolt" rev 0x00 at pci6 dev 0 function 0 not configured ppb6 at pci5 dev 3 function 0 "Intel DSL5520 Thunderbolt" rev 0x00: msi pci7 at ppb6 bus 7 ppb7 at pci5 dev 4 function 0 "Intel DSL5520 Thunderbolt" rev 0x00: msi pci8 at ppb7 bus 56 ppb8 at pci5 dev 5 function 0 "Intel DSL5520 Thunderbolt" rev 0x00: msi pci9 at ppb8 bus 57 ppb9 at pci5 dev 6 function 0 "Intel DSL5520 Thunderbolt" rev 0x00: msi pci10 at ppb9 bus 106 pcib0 at pci0 dev 31 function 0 "Intel 8 Series LPC" rev 0x04 ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi, AHCI 1.3 ahci0: port 0: 3.0Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, APPLE HDD HTS545, GG2A> SCSI3 0/direct fixed naa.5000cca842e7ef12 sd0: 476940MB, 512 bytes/sector, 976773168 sectors ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04: apic 2 int 18 iic0 at ichiic0 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns8250, no fifo pcppi0 at isa0 port 0x61 spkr0 at pcppi0 asmc0 at isa0 port 0x300/32: rev 2.24f624, 623 keys vmm0 at mainbus0: VMX/EPT efifb at mainbus0 not configured uhub1 at uhub0 port 1 configuration 1 interface 0 "Apple Inc. Keyboard Hub" rev 2.00/96.15 addr 2 uhidev0 at uhub1 port 2 configuration 1 interface 0 "Apple Inc. Apple Keyboard" rev 2.00/0.70 addr 3 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 5 key codes, country code 13 wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev1 at uhub1 port 2 configuration 1 interface 1 "Apple Inc. Apple Keyboard" rev 2.00/0.70 addr 3 uhidev1: iclass 3/0 uhid0 at uhidev1: input=1, output=0, feature=0 uhidev2 at uhub1 port 3 configuration 1 interface 0 "Logitech Apple Optical USB Mouse" rev 2.00/3.40 addr 4 uhidev2: iclass 3/1 ums0 at uhidev2: 1 button wsmouse0 at ums0 mux 0 umass0 at uhub0 port 2 configuration 1 interface 0 "Sunplus Innovation Technology. USB to Serial-ATA bridge" rev 2.00/1.0f addr 5 umass0: using SCSI over Bulk-Only scsibus2 at umass0: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: <APPLE HD, D HTS547550A9E38, 4> SCSI2 0/direct fixed serial.1bcf0c31260051FFFF0C sd1: 476940MB, 512 bytes/sector, 976773168 sectors uhub2 at uhub0 port 3 configuration 1 interface 0 "Apple Inc. BRCM20702 Hub" rev 2.00/1.00 addr 6 uhidev3 at uhub2 port 1 configuration 1 interface 0 "Apple Computer product 0x820a" rev 2.00/1.00 addr 7 uhidev3: iclass 3/1, 1 report id ukbd1 at uhidev3 reportid 1: 8 variable keys, 6 key codes wskbd1 at ukbd1 mux 1 wskbd1: connecting to wsdisplay0 uhidev4 at uhub2 port 2 configuration 1 interface 0 "Apple Computer product 0x820b" rev 2.00/1.00 addr 8 uhidev4: iclass 3/1, 2 report ids ums1 at uhidev4 reportid 2: 3 buttons wsmouse1 at ums1 mux 0 ugen0 at uhub2 port 3 "Apple Inc. Bluetooth USB Host Controller" rev 2.00/1.43 addr 9 uhidev5 at uhub0 port 4 configuration 1 interface 0 "Apple, Inc. IR Receiver" rev 2.00/1.00 addr 10 uhidev5: iclass 3/0, 38 report ids uhid1 at uhidev5 reportid 36: input=4, output=0, feature=0 uhid2 at uhidev5 reportid 37: input=4, output=0, feature=0 uhid3 at uhidev5 reportid 38: input=4, output=0, feature=0 vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root scsibus4 at softraid0: 256 targets root on sd1a (3d0096e3bc61e2e0.a) swap on sd1b dump on sd1b