@@ -159,13 +159,17 @@ Or you can manually enter the values generated above:
159159 ...
160160 ...
161161 ...
162- <key >Resolution</key >
163162 <string >{{WIDTH}}x{{HEIGHT}}@32</string >
164- <key >SanitiseClearScreen</key >
163+ ...
164+ ...
165+ ...
166+ <key >boot-args</key >
167+ <string >-v keepsyms=1 tlbto_us=0 vti=9 {{KERNEL_ARGS}}</string >
168+
165169```
166170```
167171 {{DEVICE_MODEL}}, {{SERIAL}}, {{BOARD_SERIAL}},
168- {{UUID}}, {{ROM}}, {{WIDTH}}, {{HEIGHT}}
172+ {{UUID}}, {{ROM}}, {{WIDTH}}, {{HEIGHT}}, {{KERNEL_ARGS}}
169173```
170174
171175``` bash
@@ -177,6 +181,7 @@ General options:
177181 --output-dir < directory> Optionally change the script output location
178182 --width < string> Resolution x axis length in px, default 1920
179183 --height < string> Resolution y axis length in px, default 1080
184+ --kernel-args < string> Additional boot-args
180185 --master-plist-url < url> Specify an alternative master plist, via URL
181186 --master-plist < filename> Optionally change the input plist
182187 --custom-plist < filename> Same as --master-plist
@@ -192,7 +197,7 @@ Additional options only if you are creating ONE serial set:
192197
193198Custom plist placeholders:
194199 {{DEVICE_MODEL}}, {{SERIAL}}, {{BOARD_SERIAL}},
195- {{UUID}}, {{ROM}}, {{WIDTH}}, {{HEIGHT}}
200+ {{UUID}}, {{ROM}}, {{WIDTH}}, {{HEIGHT}}, {{KERNEL_ARGS}}
196201
197202Example:
198203 ./generate-unique-machine-values.sh --count 1 --plists --bootdisks --envs
@@ -223,6 +228,7 @@ Required options:
223228Optional options:
224229 --width <integer> Resolution x axis length in px, default 1920
225230 --height <integer> Resolution y axis length in px, default 1080
231+ --kernel-args <string> Additional boot-args
226232 --master-plist-url <url> Specify an alternative master plist, via URL
227233 --custom-plist <filename>
228234 || --master-plist <filename> Optionally change the input plist.
@@ -231,7 +237,7 @@ Optional options:
231237 --help, -h, help Display this help and exit
232238
233239Placeholders: {{DEVICE_MODEL}}, {{SERIAL}}, {{BOARD_SERIAL}}, {{UUID}},
234- {{ROM}}, {{WIDTH}}, {{HEIGHT}}
240+ {{ROM}}, {{WIDTH}}, {{HEIGHT}}, {{KERNEL_ARGS}}
235241```
236242
237243Example using your serials generated earlier:
@@ -248,7 +254,8 @@ CUSTOM_PLIST=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/ma
248254 --mac-address A8:5C:2C:9A:46:2F \
249255 --output-bootdisk ./OpenCore-nopicker.qcow2 \
250256 --width 1920 \
251- --height 1080
257+ --height 1080 \
258+ --kernel-args "-pmap_trace"
252259```
253260
254261
0 commit comments