Chameleon

Chameleon Svn Source Tree

Root/branches/azimutz/Chazi/doc-azi/BootArgs-Options.txt

1kNVCAP nvidia.c, getValFK - key is declared as a "variable", char kNVCAP[12], on setup_nvidia_devprop().
2Check: http://efixusers.com/showthread.php?t=644, Update Version 1.1.9 (Asere's booter).
3"If you want to override the NVCAP value, you must determine the PCI DeviceID of your graphic card.
4For instance: my new GTX260 has the DeviceID 0×05e2. Knowing the DeviceID add this to your com.apple.Boot.plist:
5<key>NVCAP_05e2</key>
6<string>0000000000000000000000000000000000000000</string>
7The NVCAP value is exactly 20 bytes long. You have to specify it using ASCII-HEX (0-9,a-f)."
8
9
1000000000000000000000000000000000000000000000000000000000000000000000000000000080
11 Chameleon Bootloader
12 boot time help
13
14The boot prompt waits for you to type advanced startup options. If you don't
15type anything, the computer continues starting up normally. It will use the
16kernel and configuration files on the selected/default device, which it also
17uses as the root device.
18Use the following syntax, when typing advanced startup options:
19
20 [device]<kernel> [arguments]
21
22Arguments consist of either just a name, e.g. -v or a key=value pair,
23e.g. rd=disk0s2. The latest are commonly referred to as "keys" and the first
24as "flags". ?????????????????
25Use the following syntax when typing arguments (recommended):
26
27 [flags] [Wait=y key] [any other key]
28
29WARNINGS: (feedback is welcome)
30- At least Wait=y is breaking other keys/flags?, when typed after them. This
31 is the main reason for the "argument" syntax above. If you have any problem
32 of this nature please try the recommended syntax or play with it.
33- Arguments with spaces on their name (marked with (*)) are failing when
34 wrapped in quotation marks.
35
36 Syntax examples:
37
38 backup_kernel -legacy -v DSDT=/extra/test.aml Wait=y <-- :( DSDT= failed
39 backup_kernel -legacy -v Wait=y DSDT=/extra/test.aml <-- :)
40
41 rd(0,0)/test_kernel -v debug=0x144
42 -v Wait=y UseMemDetect=n SMBIOSDefaults=n SMBIOS=/path/to/smbios.plist
43
44Argument's names are case sensitive, values are not. Thus:
45 /Extra/DSDT.aml = /extra/dsdt.aml, etc...
46
47 Thanks ?????
48 ============================================================================79
49
50Special booter hotkeys:
51
52 F5 Rescans optical drive.
53 F10 Scans and displays all BIOS accessible drives.
54
55Special booter commands:
56
57 ? Displays this file.
58 ?memory Displays information about the computer's memory.
59 ?video Displays VESA video modes supported by the computer's BIOS.
60 ?norescan Leaves optical drive rescan mode.
61 ?lspci Displays information about PCI buses and devices in the system.
62 ?more Displays the text on an extra txt file (needs to be supplied).
63 Ex: ?more /extra/MoreInfo.txt
64
65 ==============================================================================
66
67Most used "flags" include: ?????????????
68
69 rd=<BSD device name> or rd=*<IODeviceTree path> flag
70 Used to specify the root device (selected volume), from were the booter
71 will load start the System. ....when using Apple software RAID helper
72 partitions (apple boot).?????????
73 Ex: rd=disk0s2 or rd=uuid (used in conjunction with boot-uuid=<UUID>)??
74 Ex: rd=*/PCI0@0/CHN0@0/@0:1
75
76 <kernel name>
77 Specify a different kernel to be loaded. Kernel must be in the "/" (root)
78 of the selected/default volume.
79 Ex: my_kernel
80
81 boot-uuid=<UUID> flag
82 Specify the UUID of the boot volume.
83 Ex: boot-uuid=12345678-1234-1234-1234-123456789012
84
85 -v Verbose boot: see what booter and kernel are doing on your back :)
86 -s Single User Mode: Boot into CLI to perform tasks.
87 -x Safe Mode: ignore System caches and disable most devices.
88 -f Ignore caches: ignore System caches and boot normally.
89 -F Ignore "Kernel Flags" specified in boot configuration file.
90 32 Boot i386 architecture. <---revert??
91 -legacy Legacy Mode: disable handling 64 bit apps on i386 arch boot.
92 64 Boot x86_64 architecture. <---revert??
93
94 kernel debug flags: e.g. debug=0x144
95 IOkit debug flags: e.g. io=0xffffffff (defined in IOKit/IOKitDebug.h)
96
97 ==============================================================================
98
99Options useful either at the prompt or in com.apple.Boot.plist file: ?????
100
101 "Root UUID"=<UUID> or y/n?????? (*) ...... man...... :-S key
102
103 "Boot Device"=hd(x,y) ?????????? key
104
105 Wait=Yes
106 Pause before starting the kernel.??????
107
108 config=<path to file>
109 Use an alternate/backup "override" Boot.plist file.
110 Ex: config=/extra/testBoot.plist
111
112 kext=<path to folder> (ends with a / (slash))
113 Use an alternate/backup folder with drivers, kext or mkext.
114 Ex: kext=/extra/test/
115
116 "MKext Cache"=<path to file>
117 Use an alternate/backup "System" cache file.
118 Ex: "MKext Cache"=rd(0,0)/Extensions.mkext
119
120 Kernel=<file name>
121
122 "Kernel Cache"=<path to file>
123 Use an alternate/backup "Kernel" cache file.
124 Ex: "Kernel Cache"=bt(0,0)/kernelcache_i386.A701C40B
125
126- Devices/Other:???
127
128 UseMemDetect=No
129 Disable memory modules?? info detection.
1300000000000000000000000000000000000000000000000000000000000000000000000000000079
131
132 EthernetBuiltIn=Yes
133 Automatic device-properties generation, that sets "built-in" property
134 for ethernet interfaces.
135
136 USBBusFix=Yes
137 Enable all USB fixes below (fixes can be used individually):
138 EHCIacquire=Yes - Enable the EHCI fix.
139 UHCIreset=Yes - Enable the UHCI fix.
140 USBLegacyOff=Yes - Enable the USB Legacy fix.
141
142 ForceHPET=Yes
143 Force enabling HPET device on the PC's BIOS.
144
145- Hibernation:
146
147 Wake=No ????????change all to n/y and explain this + b.plist way.
148 Disable wake up after hibernation.
149
150 ForceWake=Yes
151 Force using the sleepimage (when desired), if you get the message:
152 "Hibernate image is too old by n seconds. Use ForceWake=y to override."
153
154 WakeImage=<path to file>
155 Use an alternate sleepimage file.
156 Default path: /private/var/vm/sleepimage
157
158- ACPI:
159
160 DSDT=<path to file> or <file name>??????????????
161 Override the default dsdt.aml paths/name.
162 Default name: dsdt.aml
163 Default paths:?????
164 Ex:
1650000000000000000000000000000000000000000000000000000000000000000000000000000079
166
167 DropSSDT=Yes
168 Skip the SSDT tables while relocating the ACPI tables.
169
170 PciRoot=<value>
171 Use an alternate value for PciRoot UID. Can be retrieved from dsdt.aml
172 by the booter, if supplied by the user and present on the ACPI table.
173 Default value: 0
174
175 RestartFix=yes
176 Enable restart fix for Intel chipsets.
177
178 GeneratePStates=Yes
179 Enable automatic generation PStates. ???????
180
181 GenerateCStates=Yes
182 Enable automatic generation of CStates. ???????
183
184 EnableC4State=Yes
185 Enable automatic generation of C4State. ???????
186- Bios/smbios:???
187
188 SMBIOS=<path to file> or <file name>
189 Override the default smbios.plist paths/name.
190 Default name: smbios.plist
191 Default paths:?????
192 Ex:
193
194 SMBIOSdefaults=No
195 Disable the use of Default values for SMBIOS overriding, when smbios.plist
196 is not used.
197
198 SystemType=<value>
199 Set the system type where n is between 0..6 (default value =1 (Desktop).
2000000000000000000000000000000000000000000000000000000000000000000000000000000079
201
202According to CHANGES file, this should be SystemID, not SystemId! ????????
203 SystemId=<UUID>
204 Set manually the system UUID. (also known as Platform or Hardware UUID)
205 SMUUID (reserved field) in smbios.plist config is deprecated.
206 Ex: SystemId=12345678-1234-1234-1234-123456789012
207
208- CD-ROM: (dvd??)
209
210 "Rescan Prompt"=Yes (*)
211 Prompts for enable CD-ROM rescan mode.
212
213 Rescan=Yes
214 Enable CD-ROM rescan mode.
215
216 "Scan Single Drive"=Yes (*)
217 Scan "only" the drive where the booter got loaded from.
218 Fixes rescan pbs when using a DVD reader in AHCI mode, on some PC's.
219- Ramdisk:
220
221 add ramdisk stuff: ?rd, ?rd [m, u, e, d, i]
222
223 md0=<file name??>
224 Override the default "name"??? of raw img file, to be loaded into memory
225 for use as the kernel's md0 ramdisk.
226 Default name: Postboot.img
227 Default paths:?????
228 Ex:
229
230- Gui/Graphics:
231
2320000000000000000000000000000000000000000000000000000000000000000000000000000079
233 "Legacy Logo"=Yes (*)
234 Use the legacy grey apple logo on the boot screen.
235
236 GraphicsEnabler=Yes
237 Automatic device-properties generation for gfx cards.
238 Note: it doesn't work for all cards and you may have to perform
239 additional patching to get advantage of
240 the automatic dev-prop generation. (Leo??)
241
242 UseAtiROM=Yes
243 Use an alternate Ati ROM image
244 Default path: /Extra/<vendorid>_<devid>.rom
245 Ex: /Extra/1002_1234.rom
246
247 UseNvidiaROM=Yes
248 Use an alternate Nvidia ROM image.
249 Default path: /Extra/<vendorid>_<devid>.rom)
250 Ex: /Extra/10DE_1234.rom
251
252 VBIOS=Yes (nVidia only)
253 Inject VBIOS to device-properties.
254
255 NVCAP_<devid>=<value> (nVidia only)
256 Specify NVCAP value. This value is a 20 bytes long hex string.
257 Ex: NVCAP_05e2=0000000000000000000000000000000000000000
258
259 AutoResolution=Yes
260 Enable native resolution setting for booter Gui and System, even when
261 graphics acceleration (qe/ci) is not available.
262
263 Graphics Mode=WIDTHxHEIGHTxDEPTH + F2 (*) (AutoResolution only)
264 Change or set current resolution while at boot prompt.
265 Ex: Graphics Mode=1024x768x32 + press F2 key
266
267- Modules:
268
269 PatchKernel=Yes
270 Enable on the fly kernel patching.
271
272

Archive Download this file

Revision: 815