Skip to content

Commit

Permalink
Little spring cleaning...
Browse files Browse the repository at this point in the history
  • Loading branch information
kholia committed May 22, 2020
1 parent 840ec87 commit 6edaaa0
Show file tree
Hide file tree
Showing 90 changed files with 1,829 additions and 4,111 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ mac_hdd.img
*.dist
*.smd
*.dmg
OVMF_VARS-1024x768.fd
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "resources/OcBinaryData"]
path = resources/OcBinaryData
url = https://github.com/acidanthera/OcBinaryData.git
2 changes: 2 additions & 0 deletions CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@
* zimbatm - portability enhancements, cool crazy ideas (thanks!)

* https://github.com/Leoyzen/KVM-Opencore - OpenCore support

* Kyle Dayton - UEFI, Clover, and GPU passthrough notes
24 changes: 5 additions & 19 deletions OVMF-notes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
Update (29-April-2019): OVMF blobs built from https://github.com/kholia/edk2/tree/macOS-NG-v2.
Current OVMF blobs are borrowed from the following URL,

http://download.proxmox.com/debian/dists/buster/pve-no-subscription/binary-amd64/pve-edk2-firmware_2.20200229-1_all.deb

OVMF for non-OpenCore boot loaders: https://github.com/kholia/edk2/tree/macOS-NG-v3.

Building OVMF
-------------
Expand All @@ -16,24 +20,6 @@ make -C BaseTools
. edksetup.sh BaseTools
build -a X64 -t GCC5 -p OvmfPkg/OvmfPkgX64.dsc -b RELEASE

(OBSOLETE) The included blobs were built from commit 2913ebb2b550f50a.


Host OS
-------

OVMF blobs (OVMF_CODE.fd, OVMF_VARS.fd) were built on Ubuntu 18.04 LTS based on
https://github.com/kholia/edk2 (upstream commit 328409ce8de7f3 and some local
commits).

Older OVMF blobs (OVMF_CODE.fd, OVMF_VARS.fd) were built on Ubuntu 14.04.5 LTS
(Trusty Tahr).

OVMF_CODE-pure-efi.fd and OVMF_VARS-pure-efi.fd files (in backup folder) come
from the "edk2.git-ovmf-x64-0-20170922.b3006.gfe4049471b.noarch.rpm" archive
downloaded from https://www.kraxel.org/repos/jenkins/edk2/ site.


References
----------

Expand Down
Binary file modified OVMF_CODE.fd
Binary file not shown.
Binary file modified OVMF_VARS-1024x768.fd
Binary file not shown.
Binary file modified OVMF_VARS.fd
Binary file not shown.
4 changes: 3 additions & 1 deletion OpenCore-Boot.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env bash

# All credits for OpenCore support go to https://github.com/Leoyzen/KVM-Opencore. Thank you!
# All credits for OpenCore support go to https://github.com/Leoyzen/KVM-Opencore and
# https://github.com/thenickdude/KVM-Opencore/. Thanks!


# qemu-img create -f qcow2 mac_hdd_ng.img 128G
#
Expand Down
Binary file modified OpenCore-Catalina/EFI/BOOT/BOOTx64.efi
100755 → 100644
Binary file not shown.
Empty file modified OpenCore-Catalina/EFI/OC/ACPI/SSDT-DTGP.aml
100755 → 100644
Empty file.
Empty file modified OpenCore-Catalina/EFI/OC/ACPI/SSDT-EC.aml
100755 → 100644
Empty file.
Empty file modified OpenCore-Catalina/EFI/OC/ACPI/SSDT-EHCI.aml
100755 → 100644
Empty file.
Empty file modified OpenCore-Catalina/EFI/OC/ACPI/SSDT-PLUG.aml
100755 → 100644
Empty file.
Binary file not shown.
Binary file added OpenCore-Catalina/EFI/OC/Drivers/OpenCanopy.efi
Binary file not shown.
Binary file modified OpenCore-Catalina/EFI/OC/Drivers/OpenRuntime.efi
Binary file not shown.
Binary file modified OpenCore-Catalina/EFI/OC/Drivers/VBoxHfs.efi
100755 → 100644
Binary file not shown.
Binary file removed OpenCore-Catalina/EFI/OC/Drivers/apfs-nolog.efi
Binary file not shown.
150 changes: 141 additions & 9 deletions OpenCore-Catalina/EFI/OC/Kexts/AppleALC.kext/Contents/Info.plist
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.4.7</string>
<string>1.4.8</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.4.7</string>
<string>1.4.8</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down Expand Up @@ -622,23 +622,23 @@
AwAAAA==
</data>
<key>Codec</key>
<string>Goldfish64 - ALC221 for HP Compaq Pro 4300/Pro 6300/Elite 8300</string>
<string>Goldfish64 - ALC221 for HP Compaq Pro 4300/Pro 6300/Elite 8300 (All Form Factors)</string>
<key>CodecID</key>
<integer>283902497</integer>
<key>ConfigData</key>
<data>
AUccIAFHHUABRx4BAUcfAQFHDAIBdxwQAXcd
AQF3HhcBdx+QAXcMAgGnHEABpx0QAacegQGn
HwIBtxwwAbcdMAG3HoEBtx8BAhccUAIXHRAC
Fx4hAhcfAgIXDAI=
HwIBpwckAbccMAG3HTABtx6BAbcfAQIXHFAC
Fx0QAhceIQIXHwICFwwC
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>11</integer>
<key>WakeConfigData</key>
<data>
AUcMAg==
AUcMAgF3DAIBpwckAhcMAg==
</data>
<key>WakeVerbReinit</key>
<true/>
Expand Down Expand Up @@ -1601,6 +1601,28 @@
<data>
AwAAAA==
</data>
<key>Codec</key>
<string>Armênio - Realtek ALC255/ALC3234 - Dell 7348</string>
<key>CodecID</key>
<integer>283902549</integer>
<key>ConfigData</key>
<data>
ASccEAEnHQEBJx6gAScfkAGXHCABlx0wAZce
gQGXHwEBRxwwAUcdYQFHHhABRx+QAUcMAgIX
HEACFx1wAhceIQIXHwECFwwC
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>7</integer>
<key>WakeConfigData</key>
<data>
AUcMAg==
</data>
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>Codec</key>
<string>Realtek ALC255(3234) for Dell Optiplex series by Heporis</string>
<key>CodecID</key>
Expand Down Expand Up @@ -2374,6 +2396,58 @@
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>Codec</key>
<string>Realtek ALC257 for Lenovo XiaoXin Pro 2019(81XB/81XD) by DalianSky</string>
<key>CodecID</key>
<integer>283902551</integer>
<key>ConfigData</key>
<data>
ASccMAEnHQEBJx6mAScfkAIXHCACFx0QAhce
IQIXHwQBlxxAAZcdEAGXHoEBlx8EAUccEAFH
HQEBRx4XAUcfkAFHDAI=
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>99</integer>
<key>WakeConfigData</key>
<data>
AUcMAg==
</data>
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>Codec</key>
<string>Realtek ALC257 for Lenovo XiaoXin Pro 2019(81XB/81XD) by DalianSky</string>
<key>CodecID</key>
<integer>283902551</integer>
<key>ConfigData</key>
<data>
ASccMAEnHQEBJx6mAScfkAIXHCACFx0QAhce
IQIXHwQBlxxAAZcdEAGXHoEBlx8EAUccEAFH
HQEBRx4XAUcfkAFHDAI=
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>100</integer>
<key>WakeConfigData</key>
<data>
AUcMAg==
</data>
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
Expand Down Expand Up @@ -3080,6 +3154,28 @@
<key>LayoutID</key>
<integer>21</integer>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>Codec</key>
<string>ALC269</string>
<key>CodecID</key>
<integer>283902569</integer>
<key>Comment</key>
<string>Andres ZeroCross - ALC269VC for Acer Veriton Z4640G</string>
<key>ConfigData</key>
<data>
AaccEAGnHQABpx4XAacfkAGXHDABlx0QAZce
gQGXHwABJxxAAScdAAEnHqABJx+QAVccUAFX
HRABVx4hAVcfAA==
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>22</integer>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
Expand Down Expand Up @@ -4661,6 +4757,36 @@
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>Codec</key>
<string>Realtek ALC283 for DELL R14 3437 by Zoran</string>
<key>CodecID</key>
<integer>283902595</integer>
<key>ConfigData</key>
<data>
AUccEAFHHQEBRx4XAUcfkAFHDAIBdxzwAXcd
AAF3HgABdx9AAYcc8AGHHQABhx4AAYcfQAGX
HEABlx0gAZceiwGXHwIBpxzwAacdAAGnHgAB
px9AAbcc8AG3HQABtx4AAbcfQAHXHPAB1x0A
AdceAAHXH0AB5xzwAecdAAHnHgAB5x9AAScc
MAEnHQEBJx6mAScfkAIXHCACFx0QAhceIQIX
HwICFwwC
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>88</integer>
<key>WakeConfigData</key>
<data>
AUcMAg==
</data>
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
<data>
Expand Down Expand Up @@ -9355,7 +9481,7 @@
<data>
AXccEAF3HQABdx4XAXcfkAGnHCABpx0AAace
oAGnH5ABlxwwAZcdEAGXHosBlx8BAWccQAFn
HRABZx4rAWcfAQF3DAIBZwwC
HRABZx4rAWcfAQF3DAIBZwwCAZcHJA==
</data>
<key>FuncGroup</key>
<integer>1</integer>
Expand Down Expand Up @@ -9998,13 +10124,19 @@
<key>ConfigData</key>
<data>
AWccQAFnHRABZx4hAWcfBAF3HBABdx0BAXce
FwF3H5ABlxwwAZcdEAGXHoEBlx8EAaccIAGn
HQEBpx6gAacfkA==
FwF3H5ABlxwwAZcdEAGXHoEBlx8EAZcHJAGn
HCABpx0BAaceoAGnH5ABpwck
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>28</integer>
<key>WakeConfigData</key>
<data>
AZcHJAGnByQ=
</data>
<key>WakeVerbReinit</key>
<true/>
</dict>
<dict>
<key>AFGLowPowerState</key>
Expand Down
Binary file not shown.
6 changes: 3 additions & 3 deletions OpenCore-Catalina/EFI/OC/Kexts/Lilu.kext/Contents/Info.plist
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.4.2</string>
<string>1.4.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.4.2</string>
<string>1.4.3</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down Expand Up @@ -57,7 +57,7 @@
</dict>
</dict>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016-2018 vit9696. All rights reserved.</string>
<string>Copyright © 2016-2020 vit9696. All rights reserved.</string>
<key>OSBundleCompatibleVersion</key>
<string>1.2.0</string>
<key>OSBundleLibraries</key>
Expand Down
Binary file modified OpenCore-Catalina/EFI/OC/Kexts/Lilu.kext/Contents/MacOS/Lilu
Binary file not shown.
7 changes: 7 additions & 0 deletions OpenCore-Catalina/EFI/OC/Kexts/Versions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
https://github.com/acidanthera/virtualsmc/releases - 1.1.2

https://github.com/acidanthera/Lilu/releases - 1.4.3

https://github.com/acidanthera/WhateverGreen/releases - 1.3.8

https://github.com/acidanthera/AppleALC/releases - 1.4.8
4 changes: 2 additions & 2 deletions OpenCore-Catalina/EFI/OC/Kexts/VirtualSMC.kext/Contents/Info.plist
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.1.1</string>
<string>1.1.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.1.1</string>
<string>1.1.2</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
Expand Down
Binary file not shown.
Loading

0 comments on commit 6edaaa0

Please sign in to comment.