#1
|
||||
|
||||
PC EFI 10.5 AnV Style with major updates to the ACPI Patcher
I have recently reworked PC EFI 10.5 so it can replace/add more tables (or drop them)
They also have been updated with Apple data (identification set the same as real macs). The following ACPI tables can be added/replaced/dropped: DSDT table (ofcourse, but not dropable!) SSDT tables (SSDT-0.aml to SSDT-30.aml) HPET table (HPET.aml) Smart Battery Subsystem Table (SBST.aml) Environment Controller Description Table (ECDT.aml) (this adds boot-ec to IORegistry!) Alert Standard Format Table (ASFT.aml, identified as ASF!) DMAR table (DMAR.aml) FADT table (FACP table, FADT.aml) Update, Release 2: -- New -- Loading FADT (FACP) replacement... This version also updates the XSDT (original code didn't). Update, Release 3: -- New -- Automatic ACPI V1 to V4 upgrading through UpdateACPIVersion=Yes boot argument. Automatic old short style FADT to newer V4 FADT autopatching with UpdateACPIVersion=Yes. Auto generation of an XSDT table from the RSDT table for ACPI V1. Loading APIC replacement. Loading MCFG replacement. -*- Downloads -*- Sources: http://rapidshare.com/files/34155062...c-AnV_Rel3.zip Source diff: http://rapidshare.com/files/34310454...ments.diff.zip Release for Laptop: http://rapidshare.com/files/34154825...P_Rel3.pkg.zip Release for Desktop: http://rapidshare.com/files/34154862...P_Rel3.pkg.zip ECDT table (should work for all): http://rapidshare.com/files/325673058/ECDT.aml.zip Enjoy another new release BTW... Those that like it and wouldn't mind sponsoring me for my work... please do a Paypal donation. Last edited by andyvand; 01-29-2010 at 10:43 PM. |
#2
|
||||
|
||||
Yo Andy! That's a great work, as always. When you can, as we talked about it, please add FACP/FADT tables to be loadable so gigabyte users can use it (restart fix) not to load OHR.kext. Thanks a bunch and keep up the great work!
|
#3
|
|||
|
|||
Very Nice!!
Any chance to update v4 with said code?? GigaByte EP45T-UD3R V1.1 E8200@stock 4GB DDR3 1600 2x500GB/1x1.5TB HD Zotac 9800 GT ECO 1GB Snow Leopard 10.6.4
|
#4
|
||||
|
||||
I've updated it for loading FADT replacement...
The original code didn't update the xsdt... this one does... |
#5
|
||||
|
||||
Sure... I think you can just use dsdt_patcher.c from my sources with that one and recompile...
That wouldn't add the mods to the fake_efi.c file (like Apple identification, etc...) but it would enable the other overrides after recompile. |
#6
|
|||
|
|||
Quote:
//Edit: Attached my fadt.dls - if it's required. AMD Phenom II X4 955 - ASRock AM3A770DE - 8GB DDR3-1333 - Radeon HD 5570 1GB passiv - BCM4318 802.11b/g - Snow Leopard Retail
+++ AMD Phenom X3 8450 - ASRock AM2NF6G-VSTA (BIOS L2.39) - 4GB DDR2-800 - Radeon HD 4650 512MB - Snow Leopard Retail (retired) / OpenBSD Last edited by Imkantus; 12-30-2009 at 02:16 AM. |
#7
|
||||
|
||||
Milanca has some experience in doing that...
You should attach FADT.aml... the FACP table is incomplete on Gigabyte motherboards... Look on the net and modify your FADT.aml accordingly... Then just put FADT.aml in the root (/) or /Extra folder... |
#8
|
|||
|
|||
Well the file I attached is what I got when I dumped "/proc/acpi/fadt" on Linux and disassambled it using iasl -d....
Currently I am using OSXRestart.kext as solution, occording to the author it works by altering "FACP table data"... So if the way I was doing by dumping on Linux was wrong / the file not usefull, maybe someone can explain me how I can do else? Should I use acpidump instead? Also a way for getting the table currently used on my OS X setup would be nice I think (as I reckon it should be fixed by that kext I am using) - but I don't know how to do that on OS X... AMD Phenom II X4 955 - ASRock AM3A770DE - 8GB DDR3-1333 - Radeon HD 5570 1GB passiv - BCM4318 802.11b/g - Snow Leopard Retail
+++ AMD Phenom X3 8450 - ASRock AM2NF6G-VSTA (BIOS L2.39) - 4GB DDR2-800 - Radeon HD 4650 512MB - Snow Leopard Retail (retired) / OpenBSD |
#9
|
||||
|
||||
Happy New Year guys !!! My first post in 2010.
lmkantus, your dumped fadt from linux is ok, that's it. But it can't be compiled back to aml, so you have to use values from your original table and with hex editor insert them into the complete fadt file with all the required fields, reset register, etc. I could send you mine or edit it with the values from your .dsl but i am not at home right now. Easier solution is to use the bootloader which can automatically, on-the-fly load and fix your FADT. All you have to do is insert key/string RestartFix/YES in your com.apple.boot.plist. No need to use fadt.aml or OpenHaltRestart/OSXRestart. Happy New Year !!! |
#10
|
|||
|
|||
Same to you & Thanks for your response, it took me some additionaly reading, but you realy helped me on the way to understand this better.
Quote:
One additional kext less again. Quote:
Though I have it working with that booter, I took some further reading through that topic and found the point where Duvel300 explained how-to hex edit the .aml and cparm explained what he changed at his table to fix it: http://www.insanelymac.com/forum/ind...60&p=1363538&# Now PM2 Control Block Length, C2 Latency & C3 Latency already have the correct values in my .dsl the two other sections cparm mentioned in his posting are not even present in my decompiled table. Is that what Andy ment when he told me that my attached table is incomplete? I hope I am not behaving completely stupid here / not digging it... 💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers. AMD Phenom II X4 955 - ASRock AM3A770DE - 8GB DDR3-1333 - Radeon HD 5570 1GB passiv - BCM4318 802.11b/g - Snow Leopard Retail
+++ AMD Phenom X3 8450 - ASRock AM2NF6G-VSTA (BIOS L2.39) - 4GB DDR2-800 - Radeon HD 4650 512MB - Snow Leopard Retail (retired) / OpenBSD Last edited by Imkantus; 01-03-2010 at 01:02 AM. |