Chameleon

Chameleon Commit Details

Date:2012-09-03 12:10:17 (11 years 7 months ago)
Author:armel cadet-petit
Commit:2052
Parents: 2051
Message:updated README, added two boot options
Changes:
M/branches/cparm/i386/libsaio/saio_types.h
M/branches/cparm/doc/README
M/branches/cparm/i386/boot2/boot.c
M/branches/cparm/CHANGES

File differences

branches/cparm/doc/README
4040
4141
4242
43
44
43
44
4545
4646
47
48
47
48
4949
5050
5151
......
5757
5858
5959
60
61
62
6360
6461
65
62
6663
6764
6865
69
66
7067
7168
7269
......
10299
103100
104101
105
102
106103
107104
108105
109106
110107
111108
112
109
113110
114111
115112
sudo cp boot /
- Install Symbols and modules to the partition's root directory or the partition's booter (if needed):
* Symbols.dylib is absolutely needed if you plan to use any other module,
* otherwise Symbols.dylib is useless, assume that /Extra is already created (if you need special permissions, use sudo)
* Symbols.bundle is absolutely needed if you plan to use any other module,
* otherwise Symbols.bundle necessary, assume that /Extra is already created (if you need special permissions, use sudo)
mkdir /Extra/modules
cp Symbols.dylib /Extra/modules
cp "Any other module wanted".dylib /Extra/modules
cp Symbols.bundle /Extra/modules
cp "Any other module wanted".bundle /Extra/modules (additionally you can also insert a bundle as a plugin in any other module, in "THE_BUNDLE".bundle/Contents/PlugIns)
No need to use startupfiletool anymore!
- IF YOU DON'T NEED TO PATCH THE KERNEL ON THE FLY, PLEASE DO NOT INSTALL THE KERNELPATCHER MODULE,
- ETC,ETC,ETC
PLEASE DO NOT USE ACPIPATCHER AND ACPICODEC TOGETHER, THEY DO THE SAME THING BUT IN A DIFFERENT WAY, YOU HAVE TO CHOOSE ONE OF THEM (ACPICODEC IS RECOMMENDED), THIS ISSUE WILL BE FIXED WITH THE BUNDLED MODULES
PLEASE DO NOT USE SMBIOSGETTERS AND SMBIOSPATCHER TOGETHER, THEY DO THE SAME THING BUT IN A DIFFERENT WAY, YOU HAVE TO CHOOSE ONE OF THEM (SMBIOSGETTERS IS RECOMMENDED), THIS ISSUE WILL BE FIXED WITH THE BUNDLED MODULES
HERE IS ONE OF THE MOST COMMON USAGE:
- ACPICODEC (FOR ACPI FIXES, AND IF YOU DON'T HAVE AN ALREADY PATCHED BIOS)
- ACPICODEC and ACPIPATCHER (FOR ACPI FIXES, AND IF YOU DON'T HAVE AN ALREADY PATCHED BIOS)
- GRAPGHICENABLER (IF YOU HAVE NOT FIXED THIS BY THE DSDT, THIS MODULE CAN ADD THE EFI STRING FOR YOUR GRAPHIC CARD)
- GUI (IF YOU WANT A GUI)
- KEYMAPPER (IF YOU WANT TO REMAP YOUR KEYBOARD (AN AZERTY PRESET IS AVAILABLE), SEE MODULEHELP.TXT FOR USAGE)
- SMBIOSGETTERS (FOR SMBIOS FIXES, AND IF YOU DON'T HAVE AN ALREADY PATCHED BIOS)
- SMBIOSGETTERS and SMBIOSPATCHER (FOR SMBIOS FIXES, AND IF YOU DON'T HAVE AN ALREADY PATCHED BIOS)
- MEMORY (FOR RAM DETECTION, THIS MODULE IS ACTUALLY A PLUGIN FOR SMBIOSGETTERS OR SMBIOSPATCHER, AND IT WILL NOT WORK WITHOUT ONE OF THEM, IT WILL BE MORE CLEAR WITH THE BUNDLED MODULES)
- SYMBOLS IS ABSOLUTELY NEEDED IF YOU USE AT LEAST ONE OTHER MODULE
--------
If you have any questions, issues etc. feel free to join us
at irc.voodooprojects.org #chameleon
at irc.voodooprojects.org #chameleon or http://forum.voodooprojects.org/
Source Code
-----------
For downloading the source code please visit the project page at
http://chameleon.osx86.hu
http://forge.voodooprojects.org/p/chameleon/
Licensing
branches/cparm/CHANGES
1
2
13
24
35
- Added two boot options for High resolution display and reboot on kernel panic
- Added fake_crt.c to fix a linker issue ... but it still dont work.
- Added minor changes to makeinc.dir
branches/cparm/i386/libsaio/saio_types.h
6767
6868
6969
70
7071
7172
7273
......
7980
8081
8182
82
8383
84
85
86
87
88
89
8490
8591
8692
#define kInsantMenuKey"Instant Menu"
#define kDefaultKernel"mach_kernel"
#define kWaitForKeypressKey"Wait"
/* AsereBLN: added the other keys */
#define kProductVersion"ProductVersion"/* boot.c */
#define kSystemType"SystemType"/* fake_efi.c */
#define kPCIRootUID"PCIRootUID"/* pci_root.c */
#define kDefaultPartition"Default Partition"/* sys.c */
#define kAcpiMethod"Acpi2Method"// 2 (= method 2) for some machines that may hang on acpi 2 (aka acpi 64 bit) detection (replace the old kUnsafeACPI "UnsafeACPI")
#define kAcpiMethod"Acpi2Method"// 2 (= method 2) for some machines that may hang on acpi 2 (aka acpi 64 bit) detection (replace the old kUnsafeACPI "UnsafeACPI")
#define kRebootOnPanic"RebootOnPanic"
#define kEnableHiDPI"EnableHiDPI"// enable High resolution display (aka Retina)
#define PLATFORM_NAME_LEN 64
#define ROOT_PATH_LEN 256
branches/cparm/i386/boot2/boot.c
159159
160160
161161
162
163
164
165
166
167
168
169
170
171
172
162173
163174
164175
int ret;
bootArgs->kaddr = bootArgs->ksize = 0;
{
bool KPRebootOption = false;
bool HiDPIOption = false;
getBoolForKey(kRebootOnPanic, &KPRebootOption, DEFAULT_BOOT_CONFIG);
if (KPRebootOption == true) bootArgs->flags |= kBootArgsFlagRebootOnPanic;
getBoolForKey(kEnableHiDPI, &HiDPIOption, DEFAULT_BOOT_CONFIG);
if (HiDPIOption == true) bootArgs->flags |= kBootArgsFlagHiDPI;
}
if(((BVRef)(uint32_t)get_env(envgBootVolume))->OSVersion[3] <= '6')
{

Archive Download the corresponding diff file

Revision: 2052