InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   AnVAL (ACPI Loader) (http://infinitemac.com/showthread.php?t=6798)

valv 12-14-2010 03:57 PM

AnVAL (ACPI Loader)
 
2 Attachment(s)
As many of u was waiting for this, let me introduce a new friend to your HDD on its way to vanilla.
I call it AnVAL. Big thanks to Andy and the VoodooTeam for the hard work.

Your support is welcome:
Testing: Every Feedback is welcome. Don't forget your bdmesg.
Donating: It would help get an amd test platform, for the next support level: AMD-Aware. https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif

Update: 01-21-2011
Attachment 1495
Code:

Changelog:
reworked: Autoresolution; Thanks to Azimutz for his rework.
reworked: kernel patcher defaults to disabled (make use of PatchKernel to re-enable);
bug-fix: some minor issues

Update: 01-16-2011
Code:

Changelog:
added: kernel patcher (to be updated); credits to meklort
added: Sandy Bridge support
reworked: on Phenom/Shanghai's code
bug-fix: nVidia rom's size
added: new key (FixTM) for TM1/TM2 enabling (disabled by default)
bug-fix: Compilie utilities as fat 64 / 32bit binaries; Thanks to meklort

Update: 01-10-2011
Code:

Changelog:
added: via support
reworked: amd code
added: intel cpu model 0xC (i7 & atom) support
bug-fix: boot-log size increased (thanks Azi)

Update: 12-31-2010
Code:

Changelog:
bug fix: an attempt to get it working for atom & pentium D
bug fix: tried to stabilize T-States support detection
bug fix: hopefully no more sound issues when over-clocking
added: more device-ids for nVidia cards
added: enable TM1 for all cores if one hits #prochot
added: slowly starting support for amd cpus

Update: 12-22-2010
Code:

Changelog:
added: T-States auto-generation (GenerateTStates)
added: a fix for incompatible p-states number (mbp4,1 & mba1,1 for now)
added: device-ids for ATI Radeon HD 4650

Update: 12-20-2010
Code:

Changelog:
added: png files proper to FreeBSD & OpenBSD (Thanks to Blackosx)
added: support for nvidia's device-id 0x10DE10C3
corrected: minor changes to SMBios default values

Update: 12-14-2010
Code:

Changelog:
added: feature to activate Thermal Monitor 1 & 2
added: EIST and IDA are now forced if inactive
added: C2Enhanced, C4Enhanced and Hard C4E (only when using oem ssdts)
added: more SMBios injections
bug fix: GraphicsEnabler not working for 9600M GT

Update: 11-19-2010
Code:

Changelog:
bug fix: typo zeroed frequency

Code:

Changelog:
bug fix: Turbo boost calculus
bug fix: Uakari FrameBuffer for ATI 5970
bug fix: "over the limit" behavior
added: PStart key to choose the first p-state to begin with

Update: 11-14-2010
Code:

Changelog:
bug fix: cpu frequency calculation
bug fix: Vervet FrameBuffer for ATI 5770

Code:

Changelog:
added two keys: moreVolt & lessVolt that would affect all the states

Update: 11-13-2010
Code:

Changelog:
p-states and c-states injections perfected
under/over-volting functionality
max turbo for the i-series
bclk & ratio injection for i-series too
editable number of pstates to load (cparm's idea)
mobile processors detection reworked
model injection corrected
eist and apic features detection added
boot-time temperature plus tjmax injection
lebidou's autodetection for ati, nvidia and intel
display-cfg injection added (hopefully working)
rom "characteristics" and "rom-size" smbios injection
and many more

Update: 07-13-2010
Code:

Changelog:
added support for newer intel CPUs (i7/i5/i3)
newer and more accurate CPU injection
a better FSB detection code
busratio injection implemented
healed other ACPI tables dependency on DSDT
more nVidia IDs added

Update: 06-04-2010
Code:

Changelog:
added 18seven's Quick-args macro
added ramdisk load capability at boot-time, thanks to Meklort
moved efisysinst.sh to i386/boot1 and removed checking for boot0

Update: 05-23-2010
Code:

Changelog:
Source code made available, from now on, in
forge.voodooprojects.org/chameleon/branches/valv

Update: 05-14-2010
Code:

Changelog:
Heavily reworked on bootloader's code.
Themes are hopefully working again
got rid of old pci.plist
added more ati/nvidia/intel resolution/edid support
merged memory-detection
nVidia Nvcap, courtesy to asere
merged boot0hfs
...and many more

Initial release: 04-28-2010

Supported graphic cards

Manual Installation Procedures:

Snow LeopardLeopard (Thanks to FKA)To monitor your cpu's frequency, voltage, temperature... u may need MSR_Tools

Enjoy, and keep tuned for next good news.
Greetz

RayFlower 12-14-2010 05:27 PM

Thanks for this update, but i still can't use my 5750 with the new atidrivers, have to use those from the early macmini update.

Code:

Config: [hd(0,2)/Library/Preferences/SystemConfiguration/com.apple.Boot.plist] 430 bytes.
CPU: Vendor/Family/ExtFamily: 0x68747541/0xf/0x1
CPU: Model/ExtModel/Stepping: 0x4/0x0/0x2
CPU: Multipliers x10:        max=0, min=0
CPU: MaxDiv/CurrDiv:          0x0/0x0
CPU: TSCFreq:                3013MHz
CPU: CPUFreq:                0MHz
CPU: FSBFreq:                0MHz
CPU: NoCores/NoThreads:      1/4
CPU: Features:                0x36900221
Failed to find boot signature on BIOS device 82h
Chipset is UNKNOWN (pci id 0x59581002)
We have an AtomBios Card
Creating 1 Mode Tables
New table with id : 0
Standard VESA Table at offset * 0xa0
Using DTD Format modelines
Aspect Ratio is 16/10
Patching Table #0 :
Mode 320x200 -> 320x1200

Darwin/x86 boot v5.0.132 - Chameleon v5.0.1 r164
Build date: 2010-12-12 22:09:10
4093MB memory
VESA v3.0 16MB (ATI ATOMBIOS)
Scanning device 80...Use  keys to select the startup volume.    hd(0,2) Snow                           
    hd(1,1) System Reserved               
    hd(1,2) Windows NTFS                   
    hd(1,3) Hackintosh HD                 
    hd(1,5) Extra                         
    hd(2,1) Macintosh FW HD               
Press Enter to start up Darwin/x86 with no options, or you can:
  Type -v and press Enter to start up with diagnostic messages
  Type ? and press Enter to learn about advanced startup options

boot: Config: [hd(0,2)/Library/Preferences/SystemConfiguration/com.apple.Boot.plist] 430 bytes.
Setting boot-uuid to: 21E406DA-E238-32E9-95BE-0AABA647E5E9
Closing VBios
Table #0 : Freeing backup        [OK]
Table #0 : Freeing                [OK]
Freeing map                        [OK]
Loading Darwin 10.6
Loading kernel mach_kernel
LoadDrivers: /Extra/Extensions.mkext
LoadDrivers: /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext
ACPI: [hd(0,2)/DSDT.aml] 26771 bytes.
Using PCI-Root-UID value: 0
ATI VGA Controller [1002:68be] :: PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x0)
old pci command - 7
boot display - 0
dumping pci config space, 256 bytes
Found bios image
Adding binimage to card 68be from mmio space with size f600
Patched DMI Table
Found SMBIOS System Information Table 1
Customizing SystemID with : 30303234-3144-4332-3633-3634ffffffff
ACPI: [hd(0,2)/DSDT.aml] 26771 bytes.
Not an Intel platform: Restart Fix not applied !!!
Patched ACPI version 1 DSDT
Starting Darwin x86


Geek93 12-18-2010 06:57 PM

Hello....but this loader can make works ati mobility with QE/CI?? If yes when could i see the compatibility to have Quartz and Core on ATI Mobility 4650?? Thank you for the answer

SaCleoCheater 12-19-2010 10:30 PM

If I can ever get OS X running on this machine, I will use this bootloader and Andy's GTX 460 repackage, to get (hopefully) QE/CI and such.

I will report how it goes once I get past the streams of "Still waiting for root device"

PS. Awesome job guys :D

valv 12-22-2010 10:55 PM

Updated to 5.0.8.

valv 12-31-2010 05:41 PM

Updated to 5.0.9
Happy new year everybody :)

andyvand 01-02-2011 10:37 AM

Quote:

Originally Posted by valv (Post 51995)
Updated to 5.0.9
Happy new year everybody :)

Latest doesn't work on my netbook (Intel Atom N280 cpu).
It just reboots...

valv 01-02-2011 12:02 PM

Quote:

Originally Posted by andyvand (Post 52014)
Latest doesn't work on my netbook (Intel Atom N280 cpu).
It just reboots...

well, I did something since 5.0.6 that broke atoms support.
could you provide me with a sysctl -a | grep cpu dump from linux (if possible) ?

andyvand 01-02-2011 12:45 PM

Quote:

Originally Posted by valv (Post 52015)
well, I did something since 5.0.6 that broke atoms support.
could you provide me with a sysctl -a | grep cpu dump from linux (if possible) ?

I don't have Linux lying around but sysctl -a | grep cpu from OS X:

hw.ncpu = 2
hw.cpufrequency = 1660000000
hw.availcpu = 2
hw.ncpu: 2
hw.activecpu: 2
hw.physicalcpu: 1
hw.physicalcpu_max: 1
hw.logicalcpu: 2
hw.logicalcpu_max: 2
hw.cputype: 7
hw.cpusubtype: 4
hw.cpu64bit_capable: 0
hw.cpufamily: 1114597871
hw.cpufrequency: 1660000000
hw.cpufrequency_min: 1660000000
hw.cpufrequency_max: 1660000000
hw.cputhreadtype: 1
machdep.cpu.max_basic: 10
machdep.cpu.max_ext: 2147483656
machdep.cpu.vendor: GenuineIntel
machdep.cpu.brand_string: Intel(R) Atom(TM) CPU N280 @ 1.66GHz
machdep.cpu.family: 6
machdep.cpu.model: 15
machdep.cpu.extmodel: 1
machdep.cpu.extfamily: 0
machdep.cpu.stepping: 2
machdep.cpu.feature_bits: 3219782655 4244381
machdep.cpu.extfeature_bits: 0 1
machdep.cpu.signature: 67266
machdep.cpu.brand: 0
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM SSE3 MON DSCPL EST TM2 SSSE3 TPR PDCM
machdep.cpu.extfeatures: LAHF
machdep.cpu.logical_per_package: 2
machdep.cpu.cores_per_package: 1
machdep.cpu.microcode_version: 530
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.sub_Cstates: 131616
machdep.cpu.thermal.sensor: 1
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.invariant_APIC_timer: 0
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.arch_perf.version: 3
machdep.cpu.arch_perf.number: 2
machdep.cpu.arch_perf.width: 40
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.events: 0
machdep.cpu.arch_perf.fixed_number: 1
machdep.cpu.arch_perf.fixed_width: 40
machdep.cpu.cache.linesize: 64
machdep.cpu.cache.L2_associativity: 8
machdep.cpu.cache.size: 512
machdep.cpu.tlb.inst.small: 32
machdep.cpu.tlb.data.small: 16
machdep.cpu.tlb.data.large_level1: 64
machdep.cpu.address_bits.physical: 32
machdep.cpu.address_bits.virtual: 32
machdep.cpu.core_count: 1
machdep.cpu.thread_count: 2

valv 01-02-2011 01:28 PM

1 Attachment(s)
@Andy, try this one: Attachment 1470