Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch upstream 05/07/2022 #6

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 5 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
*.dist
*.dmg
*.img
*.iso
mac_hdd.img
mac_hdd_ng.img
*.pkg
*.sha256sum
*.sucatalog
*.img
*.dmg
*.dist
*.smd
*.dmg
OVMF_VARS-1024x768.fd
*.sucatalog
OVMF_VARS*.fd
OpenCore-Catalina/EFI/OC/Resources/
6 changes: 5 additions & 1 deletion CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

* Jan Kuri (jkuri) - Mojave ISO creation fixes

* Mike Hardy (mikehardy) - Network documentation improvements
* Mike Hardy (mikehardy) - Network documentation improvements, Ventura 'ISO' script

* CuriousTommy + pickled_monkey - Information on vmxnet3 network adapter

Expand Down Expand Up @@ -140,4 +140,8 @@

- MobCode100 - Ventura + AVX2 docs

- Murilo Rocha Pereira - https://github.com/murilopereirame - Typo fixes

- gotjoshua - Typo fixes

Note: Individual files have more specific 'credits' in them.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ BaseSystem.img: BaseSystem.dmg
qemu-img convert BaseSystem.dmg -O raw BaseSystem.img

BaseSystem.dmg:
./fetch-macOS-v2.py --short=$(SHORTNAME)
./fetch-macOS-v2.py --shortname=$(SHORTNAME)

mac_hdd_ng.img:
qemu-img create -f qcow2 mac_hdd_ng.img ${DISK_SIZE}
Expand Down
2 changes: 1 addition & 1 deletion OVMF-notes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Current OVMF blobs are borrowed from the following URL(s),

- http://ftp.debian.org/debian/pool/main/e/edk2/ (ovmf_2022.08-1_all.deb)
- http://ftp.debian.org/debian/pool/main/e/edk2/ (ovmf_2023.05-2_all.deb)

Building OVMF
-------------
Expand Down
Binary file modified OVMF_CODE.fd
Binary file not shown.
Binary file added OVMF_VARS-1920x1080.fd
Binary file not shown.
24 changes: 16 additions & 8 deletions OpenCore-Boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@
#
# echo 1 > /sys/module/kvm/parameters/ignore_msrs (this is required)

############################################################################
###############################################################################
# NOTE: Tweak the "MY_OPTIONS" line in case you are having booting problems!
############################################################################
###############################################################################
#
# Change `Penryn` to `Haswell-noTSX` in OpenCore-Boot.sh file for macOS Sonoma!
#
###############################################################################


MY_OPTIONS="+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check"

Expand All @@ -30,18 +35,20 @@ OVMF_DIR="."
args=(
-enable-kvm -m "$ALLOCATED_RAM" -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,"$MY_OPTIONS"
-machine q35
-usb -device usb-kbd -device usb-tablet
-device qemu-xhci,id=xhci
-device usb-kbd,bus=xhci.0 -device usb-tablet,bus=xhci.0
-smp "$CPU_THREADS",cores="$CPU_CORES",sockets="$CPU_SOCKETS"
-device usb-ehci,id=ehci
# -device usb-kbd,bus=ehci.0
# -device usb-mouse,bus=ehci.0
-device nec-usb-xhci,id=xhci
-global nec-usb-xhci.msi=off
# -device nec-usb-xhci,id=xhci
# -global nec-usb-xhci.msi=off
# -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off
# -device usb-host,vendorid=0x8086,productid=0x0808 # 2 USD USB Sound Card
# -device usb-host,vendorid=0x1b3f,productid=0x2008 # Another 2 USD USB Sound Card
-device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
-drive if=pflash,format=raw,readonly=on,file="$REPO_PATH/$OVMF_DIR/OVMF_CODE.fd"
-drive if=pflash,format=raw,file="$REPO_PATH/$OVMF_DIR/OVMF_VARS-1024x768.fd"
-drive if=pflash,format=raw,file="$REPO_PATH/$OVMF_DIR/OVMF_VARS-1920x1080.fd"
-smbios type=2
-device ich9-intel-hda -device hda-duplex
-device ich9-ahci,id=sata
Expand All @@ -52,10 +59,11 @@ args=(
-drive id=MacHDD,if=none,file="$REPO_PATH/mac_hdd_ng.img",format=qcow2
-device ide-hd,bus=sata.4,drive=MacHDD
# -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device virtio-net-pci,netdev=net0,id=net0,mac=52:54:00:c9:18:27
-netdev user,id=net0 -device virtio-net-pci,netdev=net0,id=net0,mac=52:54:00:c9:18:27
-netdev user,id=net0,hostfwd=tcp::2222-:22 -device virtio-net-pci,netdev=net0,id=net0,mac=52:54:00:c9:18:27
# -netdev user,id=net0 -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:c9:18:27 # Note: Use this line for High Sierra
-monitor stdio
-device VGA,vgamem_mb=128
-device vmware-svga
# -spice port=5900,addr=127.0.0.1,disable-ticketing=on
)

qemu-system-x86_64 "${args[@]}"
Binary file modified OpenCore/EFI/BOOT/BOOTx64.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/OpenCanopy.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/OpenHfsPlus.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/OpenPartitionDxe.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/OpenRuntime.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/ResetNvramEntry.efi
Binary file not shown.
Binary file modified OpenCore/EFI/OC/Drivers/ToggleSipEntry.efi
Binary file not shown.
Loading