Chameleon

Chameleon Svn Source Tree

Root/branches/ErmaC/Enoch/CHANGES

1- Zenith432 : Add turning off USB legacy for XHCI (XHCILegacyOff)
2- Zenith432 : saio_types.h, biosfn.c - minor typo in bios-defined data structure that isn't actually used.
3fake_efi.c - eliminate redundant scan of bt(0,0) in setupSmbiosConfigFile. loadConfigFile already does a fall-back scan of bt(0,0), so another scan isn't needed.
4sys.c - While scanning a volume, getOSVersion looks for 5 files and switches back-n-forth between hd(X,Y)/....SystemVersion.plist on the newly scanned volume and bt(0,0)/hd(X,Y)/...SystemVersion.plist - which is an invalid path - should always return an error.
5- Zenith432 : Change to disk.c - Prevent getOSVersion from looking for SystemVersion.plist on FAT32 or exFAT file systems - since those filesystems never serve as system volumes.
6UFS may serve as system volume, but there's no driver to read from it.
7Change to sys.c - Eliminate a dubious recursion in diskScanBootVolumes(). It recognises the filesystem, then calls getOSVersion, which attempts to open 5 files in order to find SystemVersion - then when parsing the device name - calls diskScanBootVolumes() - as a form of on-demand scanning. This doesn't result in an infinite recursion - because the volume is already in the map. However, this auto-scan is only useful if user enters an explicit hd(X,Y) device-spec that has never been scanned before - an unlikely occurrence.
8- Zenith432 : Patch from Issue 388, init_module_system() in modules.c dereferences NULL pointer
9- Zenith432 : Full implementation of exfat support for Chameleon's boot2 stage.
10- Micky1979 : Incorporated force umount option -u (boot1-install.c)
11- Zenith432 : Replace boot0 with boot0xg. Now boot0xg has all features of previous boot0. ( http://www.insanelymac.com/forum/topic/302938-exfat-volume-boot-record-for-chameleon )
12- ErmaC : Add UseIntelHDMI for hda-gfx = onboard-1 or 2 that vale will be injected into the GFX0 and HDEF devices. credits Clover Team
13- ErmaC : Improve gma detection for HD4600
14- cparm : Merge (security, stability, bugs fixes) improvements.
15- ErmaC : C6 & C7 States credits to Clover Team.
16- Zenith432 : Completed patch for ExFAT support ( http://www.insanelymac.com/forum/topic/302938-exfat-volume-boot-record-for-chameleon )
17- Zenith432 : add EXFAT boot support by Zenith432
18- zenith432 : Merge patch from issue 386 (boot2 does not know how to read files from FAT partitions on GPT)
19- ErmaC : define recursive cpu series for BrandString
20- meklort : Update laoder.h to latest, declare gMI global, Load modules passed in via the multiboot header / first bootloader,
21Fix mboot.h include, Add ?log command to print out bdmesg without needing Wait=y, Add slightly more debugging for modules.
22- ErmaC : Rename CPU_MODEL_xxx into CPUID_MODEL_xxx follow Apple source name
23- ErmaC : Rename decompress_lzvn function to lzvn_decode follow Apple source name.
24- ErmaC : Add more chameleon UI stuff (default) made by blackosx
25- ErmaC : Rollback changes for msdos.c (2327) thx to bltz
26- ErmaC : Split out states generator from acpi_patcher (Credits to Clover Teams)
27- ErmaC : Merged proposed patch by N3 (Boot from vanilla Recovery HD, Installation DMG)
28- bitshoveler : Make 'buffer' arg to aml_add_buffer 'const char *', was just 'char *' (aml_generator)
29- bitshoveler : Fix "sed: RE error: illegal byte sequence", which turns out to be from feeding sed a TIFF file (buildpkg.sh)
30- bitshoveler : Remove "-x" option from "ld" command which breaks build under newer Xcode versions (MakeInc.dir)
31- bitshoveler : CacheInit(), CacheRead() prototypes: use u_int32_t instead of long where appropriate (saio_internal.h)
32- bitshoveler : Improved defensiveness against malloc failure (disk.c)
33- bitshoveler : Use u_int32_t instead of long where appropriate (cache.c)
34- bitshoveler : Make some constant arrays static; other minor fixes (acpi_patcher.c)
35- bitshoveler : Various fixes to problems exposed by Clang static analyzer (picopng.c)
36- bitshoveler : Remove "-x" option from "ld" command which breaks build under newer Xcode versions (/i386/modules/MakeInc.dir)
37- bitshoveler : Comment out some unused functions by expanding "#if UNUSED" conditional (stringTable.c)
38- bitshoveler : Comment out unused static functions, which cause build to fail in "release" mode (vbe.c)
39- bitshoveler : Fix null pointer handling (nvidia.c)
40- bitshoveler : Only write terminating null char if malloc succeeded (strndup.c)
41- bitshoveler : Fix memory leak (bdmesg.c)
42- ErmaC : (re)enable klibc module
43- ErmaC : Merge Recovery Icons(png) courtesy of blackosx
44- ErmaC : Merge Yosemite patch (ready from June 2014) Thanks all involved in the test and develop;
45Special thanks: Alex J, viv xix, zenith432 from http://forge.voodooprojects.org/p/chameleon/issues/375/
46Testing and improvements: Pike R. Alpha, ErmaC, Bungo, blackosx, Micky1979, crazybirdy, oldnapalm, janek202, MinusZwei and Andy Vandijck.
47
48- Pike R. Alpha : dynamic "random-seed" implementation ( http://www.insanelymac.com/forum/topic/301350-lets-make-random-seed-really-random/ )
49- ErmaC : getCPUTick() helper function ( http://www.insanelymac.com/forum/topic/301350-lets-make-random-seed-really-random/ )
50- ErmaC : Add Yosemite Icons detection for chameleon UI
51- blackosx : Add chameleon UI Icons for Yosemite
52- ErmaC : Use macro instead of full checkOSVersion
53- viv xix : Move checkOSVersion into boot header
54- ErmaC : define macro for OS X Versions
55- Slice and Clover Team : Replace "NULL" terminated strings and fit Boot2 Sectors size
56- ErmaC : Update bootargs
57- crazybirdy : Fit length for "Loading Darwin"
58- meklort : Update align directives to 2^(old_align)
59- Ermac : Bump svn to 2.3
60- ErmaC : Update efi Header
61- cparm : buffer BPS
62- cparm : devprop_generate_string optimized by cparm
63- ErmaC : Update CPUID and change conditional logic.
64- ErmaC : Typo & ID names
65- meklort : Make compile on gcc w/ errors enabled.
66- bitshoveler : Remove the '-x' option from the offending 'ld' command
67- Jief : Makefile dependency missing for boot0 and boot1h
68- ErmaC : Temp disable klibc module
69- meklort : Silence output.
70- meklort : Add --no-print-directory.
71- meklort : Replace \t with tab.
72- ErmaC : Update Chameleon.xcodeproj
73- ErmaC : Merge LZVN decompression routine by MinusZwei (C Conversion) based on works from Pike R. Alpha and AnV Software (Andy Vandijck).
74- Bungo : Loading custom ECDT.aml, Darwin version string printing, clean boot-args, change firmware rev. to real Mac (0x0001000a), added kernel-compatibility, boot-file, boot-args, machine-signature, random-seed DT properties & some minor changes.
75- ErmaC : Merge tja's patch http://forum.voodooprojects.org/index.php/topic,5951.0.html
76- bitshoveler : Optimized basic string functions strlen, strncmp, strncat, strcat
77- ErmaC : Replaced sprintf with snprintf in spd.c.
78- bitshoveler : Fixed inadvertent text buffer overflow in getDDRSerial
79- bitshoveler : optimize get_hda_controller_name()
80- Bungo : One of the changes as of rev2284 is boot option SystemId has now been deprecated. Instead use key SMsystemuuid in smbios.plist.
81- bitshoveler : Defend against buffer overruns
82- bitshoveler : Fix memory leak, defend against buffer overruns, add a check for malloc() failure
83- bitshoveler : getMemoryInfoString: defend against buffer overruns, change O(n^2) algorithm to O(n)
84- bitshoveler : Add closedir() to match opendir() call; relocate a malloc() call to fix a memory leak on error; better defense against buffer overruns
85- bitshoveler : Improve robustness against buffer overruns
86- bitshoveler : Add closedir() for every opendir() call, make more robust against buffer overruns
87- bitshoveler : Fix memory leak
88- bitshoveler : Fix cppcheck detected memory leak and error, make more robust against buffer overrun
89- bitshoveler : get_pci_dev_path: get rid of tmp buffer, use snprintf, improved O(n) algorithm instead of O(n^2) (whoopee); dump_pci_dt: hack fix for printf format string vs. args mismatch
90- bitshoveler : Fix memory leak; use snprintf instead of sprintf to make more robust
91- bitshoveler : Fix badly formed comment inside #ifdef
92- bitshoveler : setup_gma_devprop: fix memory leak
93- bitshoveler : setup_nhm: fix cppcheck error
94- bitshoveler : Correct cppcheck detected errors, make more robust against errors
95- bitshoveler : AllocateMemoryRange: fix cppcheck detected memory leak
96- bitshoveler : search_and_get_acpi_fd: fix pointer-to-temporary return problem; use snprintf instead of sprintf to prevent buffer overflows
97- bitshoveler : sym_expand_string_value(): fix cppcheck errors; more to be done here
98- bitshoveler : append_string(): fix cppcheck errors
99- bitshoveler : conf_write_autoconf(): fix cppcheck errors
100- bitshoveler : Fix memory leak for new_layout in main()
101- bitshoveler : Implement snprintf(); implement missing zero-fill in strncpy()
102- bitshoveler : Use original *BSD source for strlcpy()
103- ErmaC: Port from Enoch the support for IVY Bridge and Haswell Intel Graphics cards. http://www.insanelymac.com/forum/topic/288241-intel-hd4000-and-haswell-inject-aaplig-platform-id/
104- 2255: ErmaC add Skip flag key for Intel/nVidia/ATi from Enoch
105- 2252: revert define processors name to match with xnu kernel name
106- 2252: Merge from Enoch the Geoff Seeley patch http://forge.voodooprojects.org/p/chameleon/issues/59/
107- 2251: bdmesg can show Chameleon and Clover boot logs
108- 2248: Infos about lack for 32/64 bit (Credits to Pike R. Alpha)
109- 2248: Fix issue booting x86 after rev.2175 (Credits to Bronxteck, Alex Burma and Leon).
110- 2245: ErmaC : Add new CPU Model IDs
111- 2245: Add boot support to 10.9 (thx old napalm)
112- 2245: ErmaC : Update gui Icons OS detection
113- 2245: Update default theme Icon set (thx BlackOsx)
114- 2243: Add Linux GPT Partition Label
115- 2234: Fix menuBVR initialization problem
116- Implement ErmaC's HDAEnabler.dylib module
117- Fix Bug in the loop that look for an ATI card. Credits to Jief Luce
118- Fix extension without kPropOSBundleRequired property weren't loaded. Credits to Jief Luce
119- Fix Revision mismatch http://forge.voodooprojects.org/p/chameleon/issues/330/
120- ErmaC : Improve PCI info. Interface program and device revision.
121- Fix Possible bug in i386/libsaio/device_inject.c devprop_add_device() http://forge.voodooprojects.org/p/chameleon/issues/319/
122- Fix warnings/errors from new llvm/clang (xcode 4.6)
123- Fix base64 decode, fixes Issue http://forge.voodooprojects.org/p/chameleon/issues/320/
124- meklort : FileNVRAM module import
125- Merge more cparm's (security, stability, bugs fixes) improvements from his branch.
126- cparm : Added two boot options for High resolution display and reboot on kernel panic
127- cparm : Added a workaroud for Xcode 4.4.x compatibility 504B030414030100630004731141000000007D0000008B00000003000B0062696E01990700020041450308001AED80DA50DF6080B0390FE095B3BC129E1FC27C104EC97897EF27CD1175766CB18C66FF42EFB7023911BDFD5E4BC9AEEC32FF3473963F70B255581D7B74DE9F
128- cparm : Fixed a buffer overflow in the plist loader
129- Add more nVidia and Ati Device and Subdevice IDs.
130- Substitutes some simpler command in place of md which fixes this first issue
131 credits to bltz http://forge.voodooprojects.org/p/chameleon/issues/279/
132- Fix crash with missing *_o.png image
133 credits to bltz http://forge.voodooprojects.org/p/chameleon/issues/280/
134- General code cleanups.
135- This revision is devoted to Samantha, AKA DHP or Revogirl in the OSx86 scene.
136 A young talent we lost prematurely.
137 Part of her work will now live on in the Chameleon source code.
138 Changes: code cleaned, improvements taken from Revoboot.
139 http://www.insanelymac.com/forum/index.php?showtopic=259090
140- Apply patch by Andrey B http://forge.voodooprojects.org/p/chameleon/issues/270/
141- cparm : Added a Sata module, known as YellowIconFixer in my branch, useful to fix yellow icon issue (can also fix an issue with the apple's dvd player application in moutain lion)
142- cparm : Ported the nvidia plist helper (less time to spend on the device id more time to code :-) )
143- Added Recovery Icon for Default Theme (TODO) (credits to blackosx).
144- Merge more cparm's (security, stability, bugs fixes) improvements from his branch.
145 http://forge.voodooprojects.org/p/chameleon/source/tree/HEAD/branches/cparm
146- Merge "Restart fix Removed" from trunk r1992 by Slice's patch
147- Added nVidia process sub-dev ids.
148- Merge EnableHDMIAudio changes from commit 1950 by Cosmosis Jones.
149- Merge patch by Geoff Seeley http://forge.voodooprojects.org/p/chameleon/issues/59/
150- Apply patch by Michael Seydl http://forge.voodooprojects.org/p/chameleon/issues/48/
151- Apply patch by Michael Seydl http://forge.voodooprojects.org/p/chameleon/issues/247/
152- Apply patch by rafi rafi http://forge.voodooprojects.org/p/chameleon/issues/246/
153- Added ID for Radeon HD5570 and some subID: http://forge.voodooprojects.org/p/chameleon/issues/243/
154- Merge cparm's (security, stability, bugs fixes) improvements from his branch.
155- Added ID and correct FB for: http://forge.voodooprojects.org/p/chameleon/issues/238/
156- Added next coming CHIPSET and ID definition (Mosts of it commented) ML?
157 (found via netkas.org): http://lists.freedesktop.org/archives/dri-devel/2012-March/020388.html
158- Added boot support for Mountain Lion 10.8 (credits to ErmaC) & updated the default theme (credits to blackosx)
159- cparm : Fixed naming convention for raid hfs devices in gui
160- Added support for using UUIDs with ext2 filesystems (credits to bitz): http://forge.voodooprojects.org/p/chameleon/issues/208/
161- Added Guerrero's patch on gui.c: http://forge.voodooprojects.org/p/chameleon/issues/178/
162- cparm : Ported the OS detection to the trunk, updated the default theme to v 1.1 (credit to blackosx)
163- Merge correction for "Invalid package length algorithm in aml_generator.c" (credits to rphilipson)
164 http://forum.voodooprojects.org/index.php/topic,2297.0.html
165- Added scorpius's patch (to get an unstretched boot screen for nVidia cards on DVI) in boot0.s,
166 disabled by default: http://forum.voodooprojects.org/index.php/topic,2158.0.html
167- Added exFAT volume label support (FAT64) support (credit to dmazar):
168 http://forum.voodooprojects.org/index.php/topic,2095.0.html
169- disableIRQs() http://www.insanelymac.com/forum/index.php?s=&showtopic=255866&view=findpost&p=1677779
170 Port of original patch by: CPARM (who basically did this in boot.c) Thanks!
171 The ACPI specification dictates that the 8259 (PC-AT compatible) vectors
172 must be disabled (that is, masked) when enabling the ACPI APIC operation
173 but this isn't done (apparently) on all mobo's and thus we do that here.
174- Added AtiPorts option to GraphicsEnabler, so users can override the default number of ports. It proved
175 to be useful when used to limit the number of ports that a framebuffer registers, which seems to be a
176 requirement on laptops that can only use 2 ports at the same time.
177 Thanks to Akbar for testing and AniV also for the tip:
178 http://forum.voodooprojects.org/index.php/topic,1959.msg10402.html#msg10402
179- Added NVidia ION AHCI controllers dev id to AHCIPortInjector kext.
180 Forgot to mention source on the commit: http://forum.voodooprojects.org/index.php/topic,1170.0.html
181- Renamed com.apple.Boot.plist to org.chameleon.Boot.plist.
182- Added "ShowInfo" key (enabled by default for now), which enables/disables the display of
183 partition and resolution related info, on the Gui.
184 This info may not play well with some custom themes.
185- Modules can now be selected between not compiled, compiled into chameleon, or compiled as modules.
186- New makefile + configuration system.
187- Added the BOOT2_MAX_LENGTH constant in memory.h. This is now used in mboot.c to relocate the correct
188 number of bytes for boot2.
189- Added new ATi/AMD Graphics Card Enabler.
190- Added new SMBIOS patcher.
191Includes changes to "manufacter" keys, from SM*manufacter to SM*manufacturer.
192- Added module system.
193- Added automatic P-States & C-States generation for native power management.
194- Added Booter Log Dump Tool
195- Added Booter message Logging (":/boot-log" ioreg property)
196- Removed -x32 option, use arch=i386 instead
197- Added automatic SMBusspeed detection for lga1156 core i5/7 cpus
198- Added new iMac11,1 sbios default model for lga1156 core i5/17 mobos
199- md0 code. Notified xnu when an md ramdisk is specified
200- Added rollover image support for selected device icons.
201 Use device_<type>_o.png in theme folder. Credits goes to Blackosx.
202- Revisited theme resource embedding. Using the device_<type> icons are optional with
203 the exception of device_generic.
204- Optimized memory detection speed
205- Added displaying source device and partition number for file read operations.
206- Increased boot2's maximum size from 383.5k to 447.5k.
207 Updated stage 1 loaders for handling the new size limit.
208- Added alternate format for setting the default partition. The user can specify the selected
209 volume UUID for the "Default Partition" key.
210- Implemented SPD memory automatic detection and injection,seems to work really great ...
211- Factorized code to prepare a dynamic memory detection algorithm ...
212- Optimized smbios table address search
213- Optimized cursor spinout in textmode if no verbose mode is set
214- Added ram table structures definitions
215- Added getSmbios() a param permitting to select between orig and new smbios entries
216- Changed "Default Partition" behavior to accept only native system volumes or foreign partitions.
217- Added NVIDIA new NVCAP customization support and support for ION gfx cards from aserebln
218- Added ATI new framebuffers support and new cards from PCEFI10.6
219- improved ACPI file search algo by implementing a cache.
220- Nvidia injection fix
221- pciroot would not always return correct UID in auto detection mode
222- Fixed the hibernation problem in boot2/resume.c
223- Fixed all new booter versions with SystemType would override the facp value even if correct,
224 now keeps the facp value if correct and no override has been done, implemented a best effort algo.
225 for maximizing the chance to get the most correct value before we decide to use a fixed value (1=desktop)
226- Fixed display cosmetics of UUID, now a convert.c file contains all
227 conversions api, to be completed by function that we should reuse.
228
229- Fixed SystemType would be always forced to a value, now optionally changed
230 only if overridden
231- Kept SystemID as the only option to change manually the system-id
232 For theses reasons, SystemId from bootConfig and SMUUID from smbiosConfig are now DEPRECATED.
233
234- Integrated JrCs fadt patch (kept for RC5 the existing DSDT.aml retry algo that disappeared in his patch,
235 should be more discussed for RC6)
236- Added JrCs modified convention name change to coding_standards
237- Now malloc (ex. MALLOC in Asere patch) is renamed malloc(size) and is an alias
238 to safe_malloc(size, file, line) with _FILE_ and _LINE_ preprocessor definitions
239- Added a new 'Rename Partition Feature', now permitting to rename partition
240 like 'System reserved' to a more meaningful name
241- Added SystemID option permitting to change the System UUID to a fixed value.
242- Added the PciRoot auto detection feature imported from pcefi10.5
243- Added automatic "system-id" injection from dmi bios, also compatible
244 with SystemID boot option and former SMUUID from smbios,plist
245- Added "system-type' automatic injection (1=Desktop) plus override possibility
246 with the new system-type option in bootConfig
247- Added SMserial and SMproductname new options for smbios.plist
248- Merged with asere patch, while keeping my fake_efi.c changes, and adding a new
249 stringForKey() API, also changed the DT__XXXX() set of functions
250 to handle const char * values instead of char*.
251

Archive Download this file

Revision: 2534