• Become a Premium Member for $25/year with no ads to improve your community experience.

[Guide] ASRock EP2C602-4L/D16 - 2x 10-Core Intel Xeon E5-2690 v2 - 32GB RAM - AMD Radeon RX580

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
6,547
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
13.x
Bootloader
  1. OpenCore (UEFI)
Mac
  1. Mac mini
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
This is a complete installation guide to install macOS Mojave 10.14 on your custom built hardware featuring ASRock EP2C602-4L/D16 paired with 2x 10-Core Intel Xeon E5-2690 v2. The purpose of this guide is to provide a step-by-step guide to install Mojave using Clover UEFI.


Specifications

Motherboard: ASRock EP2C602-4L/D16
CPU: 2x 10-Core Intel Xeon E5-2690 v2
RAM: 32 GB DDR3 1600MHz
Graphics: AMD Radeon RX580
Monitor: LG
SSD: KingDian S280 240GB
Ethernet: Intel 82574L
Audio: No Onboard Audio

Summary

What's works?

Graphics ✔
Ethernet ✔
HDMI (Audio)✔
Power Management ✔
iMessage ✔
FaceTime ✔
iCloud ✔
USB 2.0, and 3.0Ports ✔


Not working
Everything works so far.

Bootable Media Creation
To create a Bootable media for Mojave, follow the steps below.

1. Insert your USB Flash Drive and open Disk Utility. The Disk Utility is located at /Applications/Utilities/Disk Utility
2. Select your USB Flash Drive in the left pane and click on Erase button, at top.
3. A pop-up will appear.
4. Under Name type USB
5. Under Format select Mac OS X Extended (Journaled)
6. Under Scheme select GUID Partition Map, and click on Erase.
7. When done, click on Done.
8. Launch terminal, located at /Applications/Utilities/Terminal.
9. Copy and paste the following sudo command in terminal.
Code:
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/USB
10. Enter your password
11. Press (Y) to confirm and then press enter key and it will start to erase the disk and will create macOS Bootable USB.

Once the process completes, close the terminal. The USB Flash Drive will be renamed as Install macOS Mojave.

Note :
  • At this point, the bootable USB can be only used to boot Mac only. In order to boot the computer using the USB, follow the steps below.

Install Clover Bootloader
The next step is to install the Clover Bootloader to your USB Flash Drive.

1. Download Clover EFI Bootloader.
2. Extract the Clover EFI bootloader installer package and right click on the .pkg file and select Open
3. By default, the Clover Bootloader will select the system drive i.e Macintosh HD. Simply click on Change Install Location and select your installation Drive i.e Install macOS Mojave.
4. Click on Customize and configure the following settings.
  • Install Clover for UEFI booting only
  • Install Clover in the ESP
  • Themes: Select any
  • Drivers64UEFI: AptioMemoryFix-64 and ApsDriverLoader-64
The rest necessary drivers will be installed automatically by default.

6. Confirm the above options and click on Install. When promoted, enter your password. The clover bootloader will be installed to your installation drive.
7. Once done, simply click on Close

After installing the Clover bootloader, the EFI partition should be mounted on your Desktop.

Notes :
  • Do not forget ApfsDriverLoader-64 to install.
  • With the use of AptioMemoryFix-64, you don't need to use EmuVariableUefi-64.
  • Do not install AppleKeyFeeder-64 from Drivers UEFI.

Now you’ve successfully installed clover and the required drivers on your USB.

Placing required kexts
In order to boot into the installation, you need to place the necessary kexts. Follow the guide below to place the necessary kexts.

Downloads

Notes :
  • Do not download the project files. The pre-built binaries/downloads are available in the README.md section. Make sure you read it carefully.
  • Download the latest version for better support.
  • Use the kext from Release folder.
Copy all the kexts from the release folder downloaded above.
Navigate to /EFI/CLOVER/kexts/Others/ and place all the 6 kexts (FakeSMC.kext, VoodPS2Controller.kext, USBInjectAll.kext, Lilu.kext, WhateverGreen.kext and VoodooTSCSync.kext)

Preparing Post Installation Tools
The next step is to place the required tools, kexts to the another Flash Drive which will help you in the post installation.

1. Insert your another USB
2. Format the USB with the following parameters
Under Name type Post Install
Under Format select Mac OS X Extended (Journaled)
Under Scheme select GUID Partition Map, and click on Erase.

When done, click on Done.

3. Copy the important tools such as DPCIManager, Clover Configurator, IOReg, MaciASL.
4. Copy Intel 82574L Ethernet kext so that you can have a working Internet connection on your build.

When done, simply eject your second Flash Drive.

Copy the Config.plist
I've written a guide to create a config.plist. Read here: https://www.elitemacx86.com/threads/guide-creating-a-basic-config-plist-file-for-booting-macos.257/

1. Download the config.plist file from the above linked guide.
2. Open the config.plist file using Clover Configurator and do the following edits.

Go to Acpi tab and include the below patch.
Code:
Comment: Rename EUSB to EH01
Find* [HEX]: 45555342
Replace [HEX]: 45483031
Code:
Comment: Rename USBE to EH02
Find* [HEX]: 55534245
Replace [HEX]: 45483032
3. Go to Boot tab and select "npci=0x2000"
4. You need to set the SMBIOS to MacPro6,1. The rest will be same as in the config.plist sample.

UEFI Settings
To access your BIOS/UEFI, press and hold Delete key on your Keyboard and then set the following.

Set Optimized Defaults.
Set X.M.P. Memory Profile to Profile 1.
Set Fast Boot to Disabled.
Set Windows 8/10 Features to Other OS.
Set Initial Display Output to PCIe 1 slot.
Set Intel Platform Trust Technology (PTT) to Disabled.
Set Network Stack to Disabled.
Set XHCI Hand-Off to Enabled.
Set SATA Mode to AHCI.
Set VT-d to Disabled.
Set Internal Graphics to Auto.
Save & Exit Setup.


Installation
Follow the steps below for the installation.

1. Turn on your PC
2. Press F12 to enter boot menu.
3. Select your USB Flash Drive with the UEFI prefix and press enter to boot.
4. When at Clover screen, select Boot macOS Install from Install macOS Mojave.
5. It will take couple of minutes to boot into installer screen. Once you reach the installer, select your preferred language and continue.
6. For a fresh installation, you must erase the drive you wish to install on. Follow the steps below to erase the destination drive.
7. On top, click on Utilities and then select Disk Utility.
8. When at Disk Utility, click on View and select Show all Devices.
9. Now select the SSD.
10. Make sure that you don’t select partition, select the Drive and click on Erase button.

Under Name type Macintosh HD.

Under Format select Mac OS Extended (Journaled).

Under Scheme select GUID Partition Map, and click on erase button.

Close Disk Utility

11. Select Install macOS and continue with the options.

12. Now select Macintosh HD and click on Install.
13. Upon completion, the system will automatically restart. The system may restart few times to complete the installation.
14. If the system restarts, select Boot macOS Install from Macintosh HD.

15. After installation, boot it using USB, but this time select Macintosh HD.
16. The first boot maybe slower as the caches are not build yet. Once the caches are built, it will boot normally.
17. When you're at the welcome screen, continue with the basics options such as Keyboard setup, Network, Computer Account and Privacy settings.

Now the installation is complete, but the drive isn't bootable yet. You need to configure the Post Installation


Post Installation
Now, configuring the Post Installation

The post installation is required to achieve the fully system functionality.
Typically, the post installation includes enabling boot from the system drive, Graphics, Network, Audio, and USB.

Boot from System Drive
This is one of the most important part as it allows to boot it using the system drive without any need of installation USB.
Mount the EFI Partition.

Be sure to mount both the EFI partitions of your Hard Drive and macOS Sierra Bootable USB. Both the EFI partition of your Hard Drive and USB Flash Drive will be mounted on your Desktop.

Assuming that you’ve mounted your EFI Partition, continue the following.

1. Open your EFI Partition of your Hard Drive.
2. Select EFI folder and then move to Trash.
3. Now open your EFI Partition of your macOS Sierra Bootable USB.
4. Now copy the EFI folder to your EFI Partition of your Hard Drive.

By using this method, You’ll able to install Clover Bootloader automatically to your Hard Drive.

Graphics
This build is having AMD RX580 Graphics Card. The GPU works out of the box.

Network
The motherboard uses Intel I219-V Ethernet Chipset. All you need to do is to install the kext and reboot the system in order to activate Ethernet. The downloads for Intel Ethernet is available in the downloads section.

Audio
The motherboard uses a Realtek ALC1220 Audio Codec. The codec delivers a high Output Audio quality with Smart Headphone Amp.

There are several ways to activate audio. I'm using Apple ALC to enable audio on this build.
Download the Apple ALC and Lilu kexts
Extract the kexts
Navigate to : EFI/Clover/Kexts/10.14 and place both the kexts

Notes :
  • Use layout id=11 only. If you use any other layout, there maybe distortion with the Speakers or the Headphones.
  • Use the kexts from RELEASE.Zip only
  • This will also enable HDMI Audio for this specific GPU.

USB Ports
There are two USB Chipset used by this motherboard. The default Chipset from Intel and the ASMedia for USB Type-C and Type-A. The ports works OOTB. All the USB ports are activated by default.

Note :
  • With the release of macOS Mojave, a new USB port limit patch has been introduced.
Add USB port limit patch
Mount your EFI Partition
Open your config.plist file using Clover Configurator
Navigate to kernel and kext patches tab and add the following patch in your config.plist.

Code:
Name: com.apple.driver.usb.AppleUSBXHCI
Find* [HEX]: 83FB0F0F 83030500 0
Replace* [HEX]: 83FB0F90 90909090 90
Comment: USB 10.14.x by PMHeart
MatchOS: 10.14.x

Save your config.plist file

Restart your System
After completing the post installation, restart your system.
 

Forum statistics

Threads
1,447
Messages
13,764
Members
20,574
Latest member
eeeee