From 326053dd61f49375d5dfb28ee715d38b04b5cd8e Mon Sep 17 00:00:00 2001 From: Dhiru Kholia Date: Mon, 15 Apr 2024 20:43:30 +0530 Subject: [PATCH 1/2] Couple of documentation updates --- OpenCore/config.plist | 4 ++-- README.md | 2 +- notes.md | 7 ++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/OpenCore/config.plist b/OpenCore/config.plist index 94df017..d2c9cc6 100644 --- a/OpenCore/config.plist +++ b/OpenCore/config.plist @@ -1083,7 +1083,7 @@ PasswordSalt ScanPolicy - 0 + 17761027 SecureBootModel Disabled Vault @@ -1795,7 +1795,7 @@ ReplaceTabWithSpace Resolution - 1344x840@32 + 1920x1080@32 SanitiseClearScreen TextRenderer diff --git a/README.md b/README.md index fe64ebf..72a4508 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ processors work just fine (even for macOS Sonoma). ``` sudo apt-get install qemu uml-utilities virt-manager git \ wget libguestfs-tools p7zip-full make dmg2img tesseract-ocr \ - tesseract-ocr-eng genisoimage -y + tesseract-ocr-eng genisoimage vim net-tools screen -y ``` This step may need to be adapted for your Linux distribution. diff --git a/notes.md b/notes.md index dee5e84..e2b6752 100644 --- a/notes.md +++ b/notes.md @@ -82,8 +82,8 @@ These steps will need to be adapted for your particular setup. A host machine with IOMMU support is required. Consult [this Arch Wiki article](https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF) for general-purpose guidance and details. -I am running Ubuntu 20.04.2 LTS on Intel i5-6500 + ASUS Z170-AR motherboard + -AMD RX 570 GPU (May 2021). +I am running Ubuntu 22.04.4 LTS on Intel i5-6500 + ASUS Z170-AR motherboard + +AMD RX 6600 GPU (April 2024). - Blacklist the required kernel modules. @@ -213,7 +213,8 @@ to dump the AMD GPU bios, and pass on to QEMU. This is especially required if your AMD GPU is not starting up properly (resulting in "no signal" on the monitor). -Tested GPUs: ZOTAC GeForce GT 710 DDR3 (<= Big Sur), Sapphire Radeon RX 570. +Tested GPUs: Sapphire AMD RX 6600 (RECOMMENDED!), ZOTAC GeForce GT 710 DDR3 (<= +Big Sur), Sapphire Radeon RX 570. UPDATE: Project sponsors get access to the `Private OSX-KVM repository`, and direct support. This private repository has a playbook to automate 95% of this From d3d9b0834ddcd9b0ad83f55c05f3bc40e6c4e479 Mon Sep 17 00:00:00 2001 From: Aditya Garg <85610623+AdityaGarg8@users.noreply.github.com> Date: Mon, 27 May 2024 15:24:04 +0530 Subject: [PATCH 2/2] Make output of fetch-macOS-v2 more clear. --- fetch-macOS-v2.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fetch-macOS-v2.py b/fetch-macOS-v2.py index 250a63f..e15bdcf 100755 --- a/fetch-macOS-v2.py +++ b/fetch-macOS-v2.py @@ -221,7 +221,7 @@ def save_image(url, sess, filename='', directory=''): if filename.find('/') >= 0 or filename == '': raise RuntimeError('Invalid save path ' + filename) - print(f'Saving {url} to {directory}/{filename}...') + print(f'\nSaving {url} to {directory}/{filename}...') with open(os.path.join(directory, filename), 'wb') as fh: response = run_query(url, headers, raw=True) @@ -229,9 +229,9 @@ def save_image(url, sess, filename='', directory=''): # print(total_size) if total_size < 1: total_size = response.headers['content-length'] - print("Note: The total download size is %s bytes" % total_size) + print("\nNote: The total download size is %s bytes" % total_size) else: - print("Note: The total download size is %0.2f MB" % total_size) + print("\nNote: The total download size is %0.2f MB" % total_size) size = 0 while True: chunk = response.read(2**20) @@ -241,13 +241,13 @@ def save_image(url, sess, filename='', directory=''): size += len(chunk) print(f'\r{size / (2**20)} MBs downloaded...', end='') sys.stdout.flush() - print('\rDownload complete!\t\t\t\t\t') + print('\rDownload complete!' + ' ' * 20) return os.path.join(directory, os.path.basename(filename)) def verify_image(dmgpath, cnkpath): - print('Verifying image with chunklist...') + print('\nVerifying image with chunklist...') with open(dmgpath, 'rb') as dmgf: cnkcount = 0 @@ -297,7 +297,7 @@ def action_download(args): info = get_image_info(session, bid=args.board_id, mlb=args.mlb, diag=args.diagnostics, os_type=args.os_type) if args.verbose: print(info) - print(f'Downloading {info[INFO_PRODUCT]}...') + print(f'\nDownloading {info[INFO_PRODUCT]}...') dmgname = '' if args.basename == '' else args.basename + '.dmg' dmgpath = save_image(info[INFO_IMAGE_LINK], info[INFO_IMAGE_SESS], dmgname, args.outdir) cnkname = '' if args.basename == '' else args.basename + '.chunklist'