Jump to content
8755 posts in this topic

Recommended Posts

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

 

 

1078347922_Screenshot2019-06-15at01_07_48.thumb.png.5b239ae6f43e7e1b19cdcc40921692ed.png

Hi, obus, can you please tell me how to deal with USB ports as PMHeart told you?

Edited by crazyi
correction
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

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’)

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 by Matgen84
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

 

  • Like 1
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

  • Like 1
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. 

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 by arsradu
  • Like 1
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 by SavageAUS

I am looking original’s Mac Pro 7.1 ACPI folder.:)

Hack more

235802751_ScreenShot2019-12-01at10_16_33PM.thumb.png.3845d0ab7f1fc6ce66edda78eb3379ee.png

  • Like 2
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 

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 by Matgen84
  • Like 2
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.

  • Like 1
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.

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.

  • Like 2

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.

  • Like 1
×
×
  • Create New...