crazyi Posted November 30, 2019 Share Posted November 30, 2019 (edited) On 6/15/2019 at 7:08 AM, obus said: If you have 16 ports ore more you need to inject XhciPortLimit -- YES. I f you have 15 ports or less you don't need it as I learnt from my friend @PMheart Hi, obus, can you please tell me how to deal with USB ports as PMHeart told you? Edited November 30, 2019 by crazyi correction Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699207 Share on other sites More sharing options...
LAbyOne Posted November 30, 2019 Share Posted November 30, 2019 Hi guys. Sorry to bother you again, but something lead to a failure upon compiling opencoreshellpkg my guess is into hii-database.diff some patches aren't following.. the new udk moduels Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699233 Share on other sites More sharing options...
mhaeuser Posted November 30, 2019 Share Posted November 30, 2019 @LAbyOne Patches are not applied automatically. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699234 Share on other sites More sharing options...
LAbyOne Posted November 30, 2019 Share Posted November 30, 2019 1 hour ago, Download-Fritz said: @LAbyOne Patches are not applied automatically. That is true if building cloning opencoreshellpkg into UDK but if you just clone opencoreshellpkg and use ./macbuild.tool (apparently) patches are loaded automatically... this what the command gives when using macbuild ---------------------------------------------------------------------- Ran 280 tests in 3.922s OK error: patch failed: MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.c:85 error: MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.c: patch does not apply error: patch failed: MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c:4869 error: MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c: patch does not apply i Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699236 Share on other sites More sharing options...
canyondust Posted November 30, 2019 Share Posted November 30, 2019 56 minutes ago, LAbyOne said: That is true if building cloning opencoreshellpkg into UDK but if you just clone opencoreshellpkg and use ./macbuild.tool (apparently) patches are loaded automatically... this what the command gives when using macbuild ---------------------------------------------------------------------- Ran 280 tests in 3.922s OK error: patch failed: MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.c:85 error: MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.c: patch does not apply error: patch failed: MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c:4869 error: MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c: patch does not apply i This happens for me too. (also, on my system, the Aug 11 release build of OpencoreShell executes the ‘map’ command without issue, but hangs the system on ‘map -b’) Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699242 Share on other sites More sharing options...
Matgen84 Posted December 1, 2019 Share Posted December 1, 2019 (edited) 9 hours ago, LAbyOne said: That is true if building cloning opencoreshellpkg into UDK but if you just clone opencoreshellpkg and use ./macbuild.tool (apparently) patches are loaded automatically... this what the command gives when using macbuild ---------------------------------------------------------------------- Ran 280 tests in 3.922s OK error: patch failed: MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.c:85 error: MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.c: patch does not apply error: patch failed: MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c:4869 error: MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c: patch does not apply i Hi @LAbyOne Just my opinion: If I clone OpencoreshellPkg and use macbuildtool: same issue. Yesterday, @vit9696 has removed 'Patches' from repo, but the command is already in macbuildtool. I try to delete it, and compile: all works fine. In latest commit, OpenShellPKG use AUDK I remove this in macbuildtool: if [ ! -f patches.ready ]; then for i in ../Patches/* ; do git apply "$i" || exit 1 git add * || exit 1 git commit -m "Applied patch $i" || exit 1 done touch patches.ready fi Edited December 1, 2019 by Matgen84 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699253 Share on other sites More sharing options...
cecekpawon Posted December 1, 2019 Share Posted December 1, 2019 Adding "--whitespace=fix" on "git apply" doesnt help? 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699259 Share on other sites More sharing options...
Matgen84 Posted December 1, 2019 Share Posted December 1, 2019 18 minutes ago, cecekpawon said: Adding "--whitespace=fix" on "git apply" doesnt help? It seems to work but with the comment below: ../Patches/hii-database.diff:27: trailing whitespace. // Retrieve the pointer to the UEFI HII String Protocol ../Patches/hii-database.diff:143: trailing whitespace. // Get the full request string from IFR when HiiPackage is registered to HiiHandle warning: 2 lines add whitespace errors. [master 3058dde] Applied patch ../Patches/hii-database.diff 7 files changed, 55 insertions(+), 42 deletions(-) create mode 100644 UDK.ready [master 782e8fd] Applied patch ../Patches/legacy-switch-to-text.diff 1 file changed, 27 insertions(+) [master ee16926] Applied patch ../Patches/optional-device-path.diff 1 file changed, 2 insertions(+), 6 deletions(-) [master 3ac6450] Applied patch ../Patches/skip-non-device-connect.diff 1 file changed, 14 insertions(+) ../Patches/unicode-collation-add.diff:43: trailing whitespace. /** @file ../Patches/unicode-collation-add.diff:44: trailing whitespace. Driver to implement English version of Unicode Collation Protocol. ../Patches/unicode-collation-add.diff:45: trailing whitespace. ../Patches/unicode-collation-add.diff:46: trailing whitespace. Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR> ../Patches/unicode-collation-add.diff:47: trailing whitespace. This program and the accompanying materials warning: squelched 680 whitespace errors warning: 685 lines add whitespace errors. [master 3f0574d] Applied patch ../Patches/unicode-collation-add.diff 4 files changed, 690 insertions(+) create mode 100644 ShellPkg/Library/UefiShellCommandLib/UnicodeCollationEng.c create mode 100644 ShellPkg/Library/UefiShellCommandLib/UnicodeCollationEng.h 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699261 Share on other sites More sharing options...
LAbyOne Posted December 1, 2019 Share Posted December 1, 2019 1 hour ago, Matgen84 said: Hi @LAbyOne Just my opinion: If I clone OpencoreshellPkg and use macbuildtool: same issue. Yesterday, @vit9696 has removed 'Patches' from repo, but the command is already in macbuildtool. I try to delete it, and compile: all works fine. In latest commit, OpenShellPKG use AUDK I remove this in macbuildtool: if [ ! -f patches.ready ]; then for i in ../Patches/* ; do git apply "$i" || exit 1 git add * || exit 1 git commit -m "Applied patch $i" || exit 1 done touch patches.ready fi Well point is ... doing so, no need anymore to get that package, just build shell from UDK directly... as stated above the patch causing troubles is inside hii-database.diff then, just remove that 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699264 Share on other sites More sharing options...
LAbyOne Posted December 1, 2019 Share Posted December 1, 2019 34 minutes ago, cecekpawon said: Adding "--whitespace=fix" on "git apply" doesnt help? yes but my concern was, another... It does, the job if "you" build it, and since a long time, i made a tool to compile and install altogether, so it really doesn't in my case... or eventually to do so, i should insert that part of code directly into my tool, i''see thanks for the input. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699265 Share on other sites More sharing options...
arsradu Posted December 1, 2019 Share Posted December 1, 2019 Hi guys, Any idea what's this about? Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699278 Share on other sites More sharing options...
vandroiy2012 Posted December 1, 2019 Share Posted December 1, 2019 10 minutes ago, arsradu said: Hi guys, Any idea what's this about? Problems with ACPI. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699279 Share on other sites More sharing options...
arsradu Posted December 1, 2019 Share Posted December 1, 2019 (edited) OK, any idea what could cause these issues and how to fix them? I don't remember having them with previous versions of OC. Edit: nevermind... Config issues in ACPI. It's fixed now. Thank you. Edited December 1, 2019 by arsradu 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699280 Share on other sites More sharing options...
SavageAUS Posted December 1, 2019 Share Posted December 1, 2019 Can anyone help as to why my Haswell laptop freezes just after picking macOS from boot picker? I get the Apple logo but no progress bar. EFI.zip Anyone?Sent from my iPhone using Tapatalk 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699306 Share on other sites More sharing options...
vit9696 Posted December 1, 2019 Share Posted December 1, 2019 @SavageAUS, this looks like a typo in kext injection. E.g. missing executable file or something like that. 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699314 Share on other sites More sharing options...
SavageAUS Posted December 1, 2019 Share Posted December 1, 2019 (edited) 4 hours ago, vit9696 said: @SavageAUS, this looks like a typo in kext injection. E.g. missing executable file or something like that. I have double checked and have found no typo's. No missing executables. Noting i can see would stop me from booting? Edited December 2, 2019 by SavageAUS Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699316 Share on other sites More sharing options...
nmano Posted December 2, 2019 Share Posted December 2, 2019 I am looking original’s Mac Pro 7.1 ACPI folder. Hack more 2 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699326 Share on other sites More sharing options...
rockhard301 Posted December 2, 2019 Share Posted December 2, 2019 22 hours ago, arsradu said: OK, any idea what could cause these issues and how to fix them? I don't remember having them with previous versions of OC. Edit: nevermind... Config issues in ACPI. It's fixed now. Thank you. Hello there. How did you fix it? I am having the same problem after updating to 0.5.3 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699359 Share on other sites More sharing options...
Matgen84 Posted December 2, 2019 Share Posted December 2, 2019 (edited) 14 hours ago, SavageAUS said: I have double checked and have found no typo's. No missing executables. Noting i can see would stop me from booting? Sorry for some stupid opinion: what version of Opencore do you use? In the actual sample.plist, you will find these keys bellow for Kext and Patch <key>MaxKernel</key> <string></string> <key>MinKernel</key> <string></string> Edited December 2, 2019 by Matgen84 2 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699364 Share on other sites More sharing options...
arsradu Posted December 2, 2019 Share Posted December 2, 2019 3 hours ago, rockhard301 said: Hello there. How did you fix it? I am having the same problem after updating to 0.5.3 I'm not near my pc right now. But open up your config and check out your ACPI -> Block section. It shouldn't be empty. You can take some inspiration from the sample config inside the Docs folder. 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699375 Share on other sites More sharing options...
Pavo Posted December 2, 2019 Share Posted December 2, 2019 41 minutes ago, arsradu said: I'm not near my pc right now. But open up your config and check out your ACPI -> Block section. It shouldn't be empty. You can take some inspiration from the sample config inside the Docs folder. ACPI > Block section can absolutely be empty. Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699380 Share on other sites More sharing options...
arsradu Posted December 2, 2019 Share Posted December 2, 2019 ACPI > Block section can absolutely be empty.Well then there’s probably something else in there that’s broken. Since no one could give me a straight answer, i had to try and figure it out on my own. It works now and that’s what matters. I’ll take a look when i get home to see what else could be causing this. So far, as i said, the sample config is your best friend. 2 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699382 Share on other sites More sharing options...
yapan4 Posted December 2, 2019 Share Posted December 2, 2019 16 hours ago, nmano said: I am looking original’s Mac Pro 7.1 ACPI folder. ACPI_MP71.zip 3 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699399 Share on other sites More sharing options...
arsradu Posted December 2, 2019 Share Posted December 2, 2019 Ok, so I wasn't able to replicate that issue anymore... And as Pavo said, yeah, doesn't look like that section of ACPI had anything to do with it... In fact, my whole ACPI section is completely blank right now and everything boots just fine. So...not sure what was it. But if I find out, I'll post it here. 1 Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699416 Share on other sites More sharing options...
Andrey1970 Posted December 2, 2019 Share Posted December 2, 2019 3 hours ago, yapan4 said: ACPI_MP71.zip You have IOReg from real MacPro7,1 ? Link to comment https://www.insanelymac.com/forum/topic/350754-opencore-general-discussion/page/103/#findComment-2699419 Share on other sites More sharing options...
Recommended Posts