Difference between revisions of "Boot-args (iBoot variable)"

From The iPhone Wiki
Jump to: navigation, search
("rd=md0 nand-enable-reformat=1 -progress" is also used by update ramdisks)
(Reformatted into a table)
Line 1: Line 1:
This variable is ignored in firmware >=2.0 when booting to NAND. See also [[Talk:Restore Mode]] These can be booted with a patched iBoot, redsn0w does this when you set custom bootargs.
+
These are boot arguments that the iOS [[kernel]] accepts. These can be booted with a patched [[iBoot]]; untethered [[BootROM]] jailbreaks such as [[redsn0w]] and [[checkra1n]] do this when you set custom boot-args.
   
=Known Settings=
+
= Known Boot Arguments =
  +
{| class="wikitable"
* "rd=md0 nand-enable-reformat=1 -progress" (Used in restore and update ramdisks)
 
  +
|-
* pmd= (used in the [[Ramdisk Hack]])
 
  +
! boot-arg
* 1 (?)
 
  +
! Values
* "-v" ([[Verbose boot]])
 
  +
! Description
* auto-boot (true/false. False does not try to boot the kernelcache)
 
  +
! Notes
* backlight-level (value from 1 to 128 for backlight level)
 
  +
|-
* debug=# (# can be replaced with 0x09 for kernel debugging)
 
  +
| backlight-level=#
* serial=3 (same as [[Debug-uarts (iBoot variable)]])
 
  +
| <code>1</code>-<code>128</code>
  +
| Set LCD backlight level
  +
|
  +
|-
  +
| debug=#
  +
| <code>0x09</code>: Kernel debugging
  +
| Set kernel debug options
  +
|
  +
|-
  +
| nand-enable-reformat=#
  +
| <code>0</code>, <code>1</code>
  +
| Set whether or not to reformat [[NAND]] when restoring
  +
| Used when [[Restore Process|restoring]]
  +
|-
  +
| pmd=#.#
  +
| Start/end address of ramdisk
  +
| Specify a [[Ramdisk|ramdisk]] in memory to boot from
  +
| Used in the [[Ramdisk Hack]]
  +
|-
  +
| -progress
  +
| {{n/a}}
  +
| Enable progress bar when restoring
  +
| Used when [[Restore Process|restoring]]
  +
|-
  +
| rd=?
  +
| <code>'md#'</code>
  +
| Specify a [[Ramdisk|ramdisk]] to boot from
  +
| Used when [[Restore Process|restoring]]
  +
|-
  +
| serial=#
  +
| <code>3</code>: Debug output over serial
  +
| Set serial debug options
  +
| Same as <code>[[Debug-uarts (iBoot variable)|debug-uarts]]</code>
  +
|-
  +
| -v
  +
| {{n/a}}
  +
| Enable verbose booting
  +
|
  +
|-
  +
|}
  +
  +
= See Also =
  +
* [[Talk:Restore Mode]]

Revision as of 20:19, 9 June 2020

These are boot arguments that the iOS kernel accepts. These can be booted with a patched iBoot; untethered BootROM jailbreaks such as redsn0w and checkra1n do this when you set custom boot-args.

Known Boot Arguments

boot-arg Values Description Notes
backlight-level=# 1-128 Set LCD backlight level
debug=# 0x09: Kernel debugging Set kernel debug options
nand-enable-reformat=# 0, 1 Set whether or not to reformat NAND when restoring Used when restoring
pmd=#.# Start/end address of ramdisk Specify a ramdisk in memory to boot from Used in the Ramdisk Hack
-progress N/A Enable progress bar when restoring Used when restoring
rd=? 'md#' Specify a ramdisk to boot from Used when restoring
serial=# 3: Debug output over serial Set serial debug options Same as debug-uarts
-v N/A Enable verbose booting

See Also