Jump to content

Ryzen !


gils83
 Share

144 posts in this topic

Recommended Posts

Micky made changes for Nvidia on Sierra with Enoch. 

 

I did not know this flag !!   :worried_anim:  It's good nV works with chameleon :)

 

OpenGL results are still as bad  with nV <_<

Enoch (r2890 Ryzen Test) [2017-07-16 14:48:26]
Logging started: 2017/07/16, 19:57:46
[ CPU INFO ]
	Looking to disable C1E if is already enabled by the BIOS:

	Attempting to scan GPT boot volumes [biosdev=80h]:
Attempting to read GPT
Read GPT
Reading GPT partition 1, type C12A7328-F81F-11D2-BA4B-00A0C93EC93B
Reading GPT partition 2, type EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
Reading GPT partition 3, type 48465300-0000-11AA-AA11-00306543ECAC
Reading GPT partition 4, type 48465300-0000-11AA-AA11-00306543ECAC
Reading GPT partition 5, type 426F6F74-0000-11AA-AA11-00306543ECAC
Reading GPT partition 6, type 48465300-0000-11AA-AA11-00306543ECAC
Reading GPT partition 7, type EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
	Attempting to scan GPT boot volumes [biosdev=81h]:
	Attempting to scan FDISK boot volumes [biosdev=81h]:
Scanning device 80...
Boot UUID of 'sierra'  (GPT HFS+): 3C2CFA8A-F0EA-3157-9866-AF0229C65BA5
No kexts.plist replacement found.
Kernel Cache file path (OS X 10.11 and newer): /System/Library/PrelinkedKernels/prelinkedkernel
Loading Kernel Cache from: 'sierra' (GPT HFS+)
Booting on macOS 10.12.6 (16G24b)

System Integrity Protection status: disabled (Default Configuration).
CsrActiveConfig = 0x67 (1100111)

Configuration:
Kext Signing: disabled
Filesystem Protections: disabled
Task for PID: disabled
Debugging Restrictions: enabled
Apple Internal: enabled
DTrace Restrictions: disabled
NVRAM Protections: disabled

Decompressing Kernel Cache:
	- Decompressing Kernel Using lzvn

[ KERNEL PATCHER START ]

	Will patch for 16.5.0 kernel version compatible.

	KernelBooter_kexts state:  enabled!
	KernelPm           state:  enabled!
	KernelLapicError   state: disabled!
	KernelLapicVersion state: disabled!
	KernelHaswell      state: disabled!
	KernelcpuFamily    state: disabled!
	KernelSSE3         state: disabled!
	- Searching for booter extensions pattern:
	Found Sierra EXT pattern: patched!
	1 substitution(s) made.
	- Patching kernel power management...
	Kernel power management patch region not found!
Kernel patcher: end!

[ KEXTS PATCHER START ]
	Patching NVDAStartupWeb (force load w/o nvram):
	  1 substitutions made!
Kexts patcher: end!

	ACPI Table not found: DSDT.aml
No DSDT found, using 0 as uid value.
Using PCI-Root-UID value: 0
[ ETHERNET DEVICE INFO ]
	Class code: [0200]
	EthernetBuiltIn = Yes
	Location number: 1
	Setting up lan keys
	Realteck RTL8111/8168 PCI-E Gigabit Ethernet [10ec:8168]
	PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x2)/Pci(0x6,0x0)/Pci(0x0,0x0)

[ ETHERNET DEVICE INFO ]
	Class code: [0200]
	EthernetBuiltIn = Yes
	Location number: 2
	Setting up lan keys
	Realteck RTL8111/8168 PCI-E Gigabit Ethernet [10ec:8168]
	PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x2)/Pci(0x7,0x0)/Pci(0x0,0x0)

SMBIOS orig was = f05e0
SMBIOS new is = 2c32000

SMBIOS rev.: 2.4, DMI rev.: 2.4

Handle: 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: Apple Inc.
	Version: IM142.88Z.0118.B00.1309031249
	Release Date: 03/09/13
	BIOS Revision: 0.1

Handle: 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: Apple Inc.
	Product Name: iMac14,2
	Version: 1.0
	Serial Number: ** PRIVATE **
	UUID: ** PRIVATE **
	Wake-up Type: Power Switch
	SKU Number: Default SKU#
	Family: iMac

Handle: 0x0002, DMI type 2, 16 bytes
Base Board Information
	Manufacturer: Apple Inc.
	Product Name: Mac-27ADBB7B4CEE8E61
	Version: Rev X.0x
	Serial Number: ** PRIVATE **
	Asset Tag: Default Asset Tag#
	Location In Chassis: Default string
	Type: Motherboard

Handle: 0x0003, DMI type 3, 21 bytes
Chassis Information
	Manufacturer: Apple Inc.
	Type: Unknown
	Version: Default string
	Serial Number: ** PRIVATE **
	Asset Tag: Default Asset Tag#

Handle: 0x0023, DMI type 11, 5 bytes
OEM Strings
	String 1: Default string
	String 2: Default string
	String 3: PEPSI
	String 4: Default string
	String 5: FFFFFFFFFFFFF
	String 6: FFFFFFFFFFFFF
	String 7: FFFFFFFFFFFFF
	String 8: Default string

Handle: 0x002E, DMI type 4, 38 bytes
Processor Information
	Socket Designation: AM4
	Type: Central Processor
	Family: 0x6B
	Manufacturer: Advanced Micro Devices, Inc.
	ID: 0x178BFBFF00800F11
	Version: AMD Ryzen 7 1700 Eight-Core Processor          
	External Clock: 0 MHz
	Max Speed: 2994 MHz
	Current Speed: 3000 MHz
	Upgrade: <OUT OF SPEC>
	Serial Number: ** PRIVATE **
	Asset Tag: Unknown
	Part Number: Unknown
	Core Count: 8
	Core Enabled: 8
	Thread Count: 16

Handle: 0x0030, DMI type 17, 27 bytes
Memory Device
	Error Information Handle: No Error
	Size: 8192 MB
	Form Factor: DIMM
	Locator: DIMM_A1
	Bank Locator: BANK 0
	Memory Type: DDR4
	Speed: 2400 MHz
	Manufacturer: Unknown
	Serial Number: ** PRIVATE **
	Asset Tag: Not Specified
	Part Number: CMK8GX4M1A2400C14

Handle: 0x0033, DMI type 17, 27 bytes
Memory Device
	Error Information Handle: No Error
	Size: No Module Installed
	Form Factor: Unknown
	Locator: DIMM_A2
	Bank Locator: BANK 1
	Memory Type: RAM
	Speed: 0 MHz
	Manufacturer: Unknown
	Serial Number: ** PRIVATE **
	Asset Tag: Not Specified
	Part Number: Unknown

Handle: 0x0035, DMI type 17, 27 bytes
Memory Device
	Error Information Handle: No Error
	Size: No Module Installed
	Form Factor: Unknown
	Locator: DIMM_B1
	Bank Locator: BANK 2
	Memory Type: RAM
	Speed: 0 MHz
	Manufacturer: Unknown
	Serial Number: ** PRIVATE **
	Asset Tag: Not Specified
	Part Number: Unknown

Handle: 0x0037, DMI type 17, 27 bytes
Memory Device
	Error Information Handle: No Error
	Size: No Module Installed
	Form Factor: Unknown
	Locator: DIMM_B2
	Bank Locator: BANK 3
	Memory Type: RAM
	Speed: 0 MHz
	Manufacturer: Unknown
	Serial Number: ** PRIVATE **
	Asset Tag: Not Specified
	Part Number: Unknown

Handle: 0x0038, DMI type 131, 6 bytes
Apple specific Processor Type
	Cpu-type = 0x0402

Handle: 0x0039, DMI type 132, 6 bytes
Apple specific Processor Interconnect Speed
	QPI = 0 MT/s

Handle 0x003a, DMI type 127, 4  bytes
End of Table

Adding device-properties string to DT
[ ACPI PATCHER ]
	ACPI Table not found: DSDT.aml
	Generating P-States config: No
	Generating C-States config: No
	ACPI Table not found: SSDT.aml
	No ACPI version 1 found. Ignoring
	RSDP version 2 found @f05b0. Length=36
	RSDT @cea21028, Length 100
	TABLE FACP,	FADT found @cea21148, Length 132
	Not an Intel platform, FACP Restart Fix will not be applied!
	Hardware Signature=0x77F9FFA7: using.
	TABLE APIC,	TABLE FPDT,	TABLE SSDT,	TABLE SSDT,	TABLE FIDT,	TABLE SSDT,	TABLE CRAT,	TABLE CDIT,	TABLE SSDT,	TABLE MCFG,	TABLE HPET,	TABLE SSDT,	TABLE UEFI,	TABLE IVRS,	TABLE SSDT,
	RSDT: Original checksum 153, 	New checksum 45 at 2c38000

	XSDT @0;cea21098, Length=164
	FADT found @0cea29240, Length 276
	Not an Intel platform, FACP Restart Fix will not be applied!
	Hardware Signature=0x77F9FFA7: using.
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)

	RSDP: Original checksum 138, 	New checksum 237
	RSDP: Original extended checksum 196, 	New extended checksum 119
	ACPI version 2 patching finished

Adding booter spec to the Platform Expert 
Starting Darwin/x86_64 [Darwin Kernel Version 16.5.0: –≤—Ç–æ—Ä–Ω–∏–∫,  9 –º–∞—è 2017 –≥. 15:57:49 (MSK); root:xnu-3789.51.2/BUILD/obj/RELEASE_X86_64]
Boot Args: npci=0x2000 dart=0 NVIDIAWebDrv=Yes busratio=30 fsb=100 Mhz
T

NVIDIAWebDrv=Yes  :thumbsup_anim:

Luckily you are there Shaneee, I think the boot to Bronya should work with this flag :)

  • Like 3
Link to comment
Share on other sites

Can anyone with Rayzen do some test on this?

 

Credits to Bronya.

 

Enoch 2890 Ryzen Test

--> attachicon.gifEnoch_2890_Ryzen_Test.zip

 

ErmaC

Thanks for this new boot, but it can not work in my Ryzen 1700X hackintosh.

To boot partition at MBR HD it always got blank screen then reboot.

To boot partition at GPT it always got KP with error message: unable to load tsc-init at EFI.

post-70188-0-82087500-1500302671_thumb.jpg

post-70188-0-56847700-1500302695_thumb.jpg

Link to comment
Share on other sites

Try flag fsb=100 and busratio=... and here answer .

Thanks for this instruction which works in Ryzen 1700X hackintosh now.

I need set both parameters are correct, otherwise it always got instant reboot or KP as reported before.

Looking forward to your new Clover EFI which can boot all AMD CPUs at 10.9.5 to 10.12.x.

Link to comment
Share on other sites

I need set both parameters are correct, otherwise it always got instant reboot or KP as reported before.

 

 Hi ! I know this problem .

 

Looking forward to your new Clover EFI which can boot all AMD CPUs at 10.9.5 to 10.12.x.

 

Sorry , i have no time. And problem situation ... 

Link to comment
Share on other sites

:)

 

fix with fsb=100 Mhz :)

 

sound video UHD not fixed :)  + artefact :) + bad OpenGL 62 fps for HD 7950 :)

Enoch (r2892 Ryzen Bronya) [2017-07-17 22:49:07]
Logging started: 2017/07/17, 22:00:58
[ CPU INFO ]
	Looking to disable C1E if is already enabled by the BIOS:

	Attempting to scan GPT boot volumes [biosdev=80h]:
Attempting to read GPT
Read GPT
Reading GPT partition 1, type C12A7328-F81F-11D2-BA4B-00A0C93EC93B
Reading GPT partition 2, type EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
Reading GPT partition 3, type 48465300-0000-11AA-AA11-00306543ECAC
Reading GPT partition 4, type 48465300-0000-11AA-AA11-00306543ECAC
Reading GPT partition 5, type 426F6F74-0000-11AA-AA11-00306543ECAC
Reading GPT partition 6, type 48465300-0000-11AA-AA11-00306543ECAC
Reading GPT partition 7, type EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
	Attempting to scan GPT boot volumes [biosdev=81h]:
	Attempting to scan FDISK boot volumes [biosdev=81h]:
Scanning device 80...
Boot UUID of 'sierra'  (GPT HFS+): 3C2CFA8A-F0EA-3157-9866-AF0229C65BA5
No kexts.plist replacement found.
Kernel Cache file path (OS X 10.11 and newer): /System/Library/PrelinkedKernels/prelinkedkernel
Loading Kernel Cache from: 'sierra' (GPT HFS+)
Booting on macOS 10.12.6 (16G24b)

System Integrity Protection status: disabled (Default Configuration).
CsrActiveConfig = 0x67 (1100111)

Configuration:
Kext Signing: disabled
Filesystem Protections: disabled
Task for PID: disabled
Debugging Restrictions: enabled
Apple Internal: enabled
DTrace Restrictions: disabled
NVRAM Protections: disabled

Decompressing Kernel Cache:
	- Decompressing Kernel Using lzvn

[ KERNEL PATCHER START ]

	Will patch for 16.5.0 kernel version compatible.

	KernelBooter_kexts state:  enabled!
	KernelPm           state:  enabled!
	KernelLapicError   state: disabled!
	KernelLapicVersion state: disabled!
	KernelHaswell      state: disabled!
	KernelcpuFamily    state: disabled!
	KernelSSE3         state: disabled!
	- Searching for booter extensions pattern:
	Found Sierra EXT pattern: patched!
	1 substitution(s) made.
	- Patching kernel power management...
	Kernel power management patch region not found!
Kernel patcher: end!

[ KEXTS PATCHER START ]
	Patching NVDAStartupWeb (force load w/o nvram):
	  1 substitutions made!
Kexts patcher: end!

	ACPI Table not found: DSDT.aml
No DSDT found, using 0 as uid value.
Using PCI-Root-UID value: 0
[ ETHERNET DEVICE INFO ]
	Class code: [0200]
	EthernetBuiltIn = Yes
	Location number: 1
	Setting up lan keys
	Realteck RTL8111/8168 PCI-E Gigabit Ethernet [10ec:8168]
	PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x2)/Pci(0x6,0x0)/Pci(0x0,0x0)

[ ETHERNET DEVICE INFO ]
	Class code: [0200]
	EthernetBuiltIn = Yes
	Location number: 2
	Setting up lan keys
	Realteck RTL8111/8168 PCI-E Gigabit Ethernet [10ec:8168]
	PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x2)/Pci(0x7,0x0)/Pci(0x0,0x0)

SMBIOS orig was = f05e0
SMBIOS new is = 2c32000

SMBIOS rev.: 2.4, DMI rev.: 2.4

Handle: 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: Apple Inc.
	Version: IM142.88Z.0118.B00.1309031249
	Release Date: 03/09/13
	BIOS Revision: 0.1

Handle: 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: Apple Inc.
	Product Name: iMac14,2
	Version: 1.0
	Serial Number: ** PRIVATE **
	UUID: ** PRIVATE **
	Wake-up Type: Power Switch
	SKU Number: Default SKU#
	Family: iMac

Handle: 0x0002, DMI type 2, 16 bytes
Base Board Information
	Manufacturer: Apple Inc.
	Product Name: Mac-27ADBB7B4CEE8E61
	Version: Rev X.0x
	Serial Number: ** PRIVATE **
	Asset Tag: Default Asset Tag#
	Location In Chassis: Default string
	Type: Motherboard

Handle: 0x0003, DMI type 3, 21 bytes
Chassis Information
	Manufacturer: Apple Inc.
	Type: Unknown
	Version: Default string
	Serial Number: ** PRIVATE **
	Asset Tag: Default Asset Tag#

Handle: 0x0023, DMI type 11, 5 bytes
OEM Strings
	String 1: Default string
	String 2: Default string
	String 3: PEPSI
	String 4: Default string
	String 5: FFFFFFFFFFFFF
	String 6: FFFFFFFFFFFFF
	String 7: FFFFFFFFFFFFF
	String 8: Default string

Handle: 0x002E, DMI type 4, 38 bytes
Processor Information
	Socket Designation: AM4
	Type: Central Processor
	Family: 0x6B
	Manufacturer: Advanced Micro Devices, Inc.
	ID: 0x178BFBFF00800F11
	Version: AMD Ryzen 7 1700 Eight-Core Processor          
	External Clock: 0 MHz
	Max Speed: 2994 MHz
	Current Speed: 3000 MHz
	Upgrade: <OUT OF SPEC>
	Serial Number: ** PRIVATE **
	Asset Tag: Unknown
	Part Number: Unknown
	Core Count: 8
	Core Enabled: 8
	Thread Count: 16

Handle: 0x0030, DMI type 17, 27 bytes
Memory Device
	Error Information Handle: No Error
	Size: 8192 MB
	Form Factor: DIMM
	Locator: DIMM_A1
	Bank Locator: BANK 0
	Memory Type: DDR4
	Speed: 2133 MHz
	Manufacturer: Unknown
	Serial Number: ** PRIVATE **
	Asset Tag: Not Specified
	Part Number: CMK8GX4M1A2400C14

Handle: 0x0033, DMI type 17, 27 bytes
Memory Device
	Error Information Handle: No Error
	Size: No Module Installed
	Form Factor: Unknown
	Locator: DIMM_A2
	Bank Locator: BANK 1
	Memory Type: RAM
	Speed: 0 MHz
	Manufacturer: Unknown
	Serial Number: ** PRIVATE **
	Asset Tag: Not Specified
	Part Number: Unknown

Handle: 0x0035, DMI type 17, 27 bytes
Memory Device
	Error Information Handle: No Error
	Size: No Module Installed
	Form Factor: Unknown
	Locator: DIMM_B1
	Bank Locator: BANK 2
	Memory Type: RAM
	Speed: 0 MHz
	Manufacturer: Unknown
	Serial Number: ** PRIVATE **
	Asset Tag: Not Specified
	Part Number: Unknown

Handle: 0x0037, DMI type 17, 27 bytes
Memory Device
	Error Information Handle: No Error
	Size: No Module Installed
	Form Factor: Unknown
	Locator: DIMM_B2
	Bank Locator: BANK 3
	Memory Type: RAM
	Speed: 0 MHz
	Manufacturer: Unknown
	Serial Number: ** PRIVATE **
	Asset Tag: Not Specified
	Part Number: Unknown

Handle: 0x0038, DMI type 131, 6 bytes
Apple specific Processor Type
	Cpu-type = 0x0402

Handle: 0x0039, DMI type 132, 6 bytes
Apple specific Processor Interconnect Speed
	QPI = 0 MT/s

Handle 0x003a, DMI type 127, 4  bytes
End of Table

Adding device-properties string to DT
[ ACPI PATCHER ]
	ACPI Table not found: DSDT.aml
	Generating P-States config: No
	Generating C-States config: No
	ACPI Table not found: SSDT.aml
	No ACPI version 1 found. Ignoring
	RSDP version 2 found @f05b0. Length=36
	RSDT @cea21028, Length 100
	TABLE FACP,	FADT found @cea21148, Length 132
	Not an Intel platform, FACP Restart Fix will not be applied!
	Hardware Signature=0x4C412EB2: using.
	TABLE APIC,	TABLE FPDT,	TABLE SSDT,	TABLE SSDT,	TABLE FIDT,	TABLE SSDT,	TABLE CRAT,	TABLE CDIT,	TABLE SSDT,	TABLE MCFG,	TABLE HPET,	TABLE SSDT,	TABLE UEFI,	TABLE IVRS,	TABLE SSDT,
	RSDT: Original checksum 153, 	New checksum 45 at 2c38000

	XSDT @0;cea21098, Length=164
	FADT found @0cea29240, Length 276
	Not an Intel platform, FACP Restart Fix will not be applied!
	Hardware Signature=0x4C412EB2: using.
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)
	copied (OEM)

	RSDP: Original checksum 138, 	New checksum 237
	RSDP: Original extended checksum 196, 	New extended checksum 119
	ACPI version 2 patching finished

Adding booter spec to the Platform Expert 
Starting Darwin/x86_64 [Darwin Kernel Version 16.5.0: –≤—Ç–æ—Ä–Ω–∏–∫,  9 –º–∞—è 2017 –≥. 15:57:49 (MSK); root:xnu-3789.51.2/BUILD/obj/RELEASE_X86_64]
Boot Args: npci=0x2000 dart=0 NVIDIAWebDrv=Yes fsb=100 Mhz
T

Edited by papiercul
Link to comment
Share on other sites

Please without flag fsb=...

 

no boot :)

 

hw.tbfrequency: 1000000000

hw.cpufrequency_max: 2994000000

hw.cpufrequency_min: 2994000000

hw.cpufrequency: 2994000000

hw.busfrequency_max: 100000000

hw.busfrequency_min: 100000000

hw.busfrequency: 100000000

machdep.tsc.frequency: 2900000001

 

in the bed, bye :)

Edited by papiercul
  • Like 1
Link to comment
Share on other sites

Please without flag fsb=...

It still need this flag fsb=100 without busratio=nn now.

Otherwise it will reboot after blank screen.

Excellent performance by Cinebench R15 in Ryzen 1700X hackintosh and also fix reboot issue at 10.9.5, 10.11.6, & 10.12.6.

But at 10.10.5 it still got interrupted sound output for VoodooHDA 2.8.9 and unable to correctly reboot as before.

That means the kernel of 10.10.5 need some patch or optimization.

post-70188-0-43029200-1500331828_thumb.png

Edited by jsl
  • Like 2
Link to comment
Share on other sites

 

hi !
I make is chameleon , the supports fractional number . 
This for test !
And if works , then will make in Enoch !

 

try boot without flags ! 

attachicon.gifboot_ryzen_new.zip

 

 

Hello Bronya :)

 

why ? 

 

bootloader fat 32, 

 

the kernel in key usb, now  flag = Extra/kernel/rd(2,5) -f    

 

2,5 is volume start :)  

 

thanks :) 

boot block "system/Libray....."

 

now root: Extra/kernel/rd(2,5)/System/Library/coreservices/boot.efi  is good ? 

 

:angel_not:

 

ahahahahah !!! 

post-2087795-0-33890300-1500410898_thumb.png

Link to comment
Share on other sites

 Share

×
×
  • Create New...