You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: configuration/config-txt/boot.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
-
##Boot options in config.txt
1
+
# Boot options in config.txt
2
2
3
-
###start_file, fixup_file
3
+
## start_file, fixup_file
4
4
5
5
These options specify the firmware files transferred to the Videocore GPU prior to booting.
6
6
7
7
`start_file` specifies the Videocore (VC4) firmware file to use.
8
8
`fixup_file` specifies the file used to fix up memory locations used in the `start_file` to match the GPU memory split. Note that the `start_file` and the `fixup_file` are a matched pair - using unmatched files will stop the board from booting. This is an advanced option, so we advise that you use `start_x` and `start_debug` rather than this option.
9
9
10
-
###start_x, start_debug
10
+
## start_x, start_debug
11
11
12
12
These provide a shortcut to some alternative `start_file` and `fixup_file` settings, and are the recommended methods for selecting firmware configurations.
13
13
@@ -21,61 +21,61 @@ These provide a shortcut to some alternative `start_file` and `fixup_file` setti
21
21
22
22
`start_x=1` should be specified when using the camera module. Enabling the camera via `raspi-config` will set this automatically.
23
23
24
-
###disable_commandline_tags
24
+
## disable_commandline_tags
25
25
26
26
Set the `disable_commandline_tags` command to `1` to stop `start.elf` from filling in ATAGS (memory from `0x100`) before launching the kernel.
27
27
28
-
###cmdline
28
+
## cmdline
29
29
30
30
`cmdline` is the alternative filename on the boot partition from which to read the kernel command line string; the default value is `cmdline.txt`.
31
31
32
-
###kernel
32
+
## kernel
33
33
34
34
`kernel` is the alternative filename on the boot partition to use when loading the kernel. The default value on the Pi 1, Pi Zero, and Compute Module is `kernel.img`, and on the Pi 2, Pi 3, and Compute Module 3 it is `kernel7.img`. If `kernel8.img` is present on the Pi 3 or Compute Module 3, it will be loaded in preference and entered in 64-bit mode.
35
35
36
-
###kernel_address
36
+
## kernel_address
37
37
38
38
`kernel_address` is the memory address to which the kernel image should be loaded. 32-bit kernels are loaded to address `0x8000` by default, and 64-bit kernels to address `0x80000`. If `kernel_old` is set, kernels are loaded to the address `0x0`.
39
39
40
-
###kernel_old
40
+
## kernel_old
41
41
42
42
Set `kernel_old` to `1` to load the kernel to the memory address `0x0`.
43
43
44
-
###ramfsfile
44
+
## ramfsfile
45
45
46
46
`ramfsfile` is the optional filename on the boot partition of a ramfs to load. More information is available [here](https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=10532).
47
47
48
-
###ramfsaddr
48
+
## ramfsaddr
49
49
50
50
`ramfsaddr` is the memory address to which the `ramfsfile` should be loaded.
51
51
52
-
###initramfs
52
+
## initramfs
53
53
54
54
The `initramfs` command specifies both the ramfs filename **and** the memory address to which to load it. It performs the actions of both `ramfsfile` and `ramfsaddr` in one parameter. Example values are: `initramfs initramf.gz 0x00800000`. **NOTE:** This option uses different syntax from all the other options, and you should not use a `=` character here.
55
55
56
-
###init_uart_baud
56
+
## init_uart_baud
57
57
58
58
`init_uart_baud` is the initial UART baud rate. The default value is `115200`.
59
59
60
-
###init_uart_clock
60
+
## init_uart_clock
61
61
62
62
`init_uart_clock` is the initial UART clock frequency. The default value is `48000000` (48MHz). Note that this clock only applies to UART0 (ttyAMA0 in Linux), and that the maximum baudrate for the UART is limited to 1/16th of the clock. The default UART on the Pi 3 and Pi Zero is UART1 (ttyS0 in Linux), and its clock is the core VPU clock - at least 250MHz.
63
63
64
-
###bootcode_delay
64
+
## bootcode_delay
65
65
66
66
The `bootcode_delay` command delays for a given number of seconds in `bootcode.bin` before loading `start.elf`: the default value is `0`.
67
67
68
68
This is particularly useful to insert a delay before reading the EDID of the monitor, for example if the Pi and monitor are powered from the same source, but the monitor takes longer to start up than the Pi. Try setting this value if the display detection is wrong on initial boot, but is correct if you soft-reboot the Pi without removing power from the monitor.
69
69
70
-
###boot_delay
70
+
## boot_delay
71
71
72
72
The `boot_delay` command instructs to wait for a given number of seconds in `start.elf` before loading the kernel: the default value is `1`. The total delay in milliseconds is calculated as `(1000 x boot_delay) + boot_delay_ms`. This can be useful if your SD card needs a while to get ready before Linux is able to boot from it.
73
73
74
-
###boot_delay_ms
74
+
## boot_delay_ms
75
75
76
76
The `boot_delay_ms` command means wait for a given number of milliseconds in `start.elf`, together with `boot_delay`, before loading the kernel. The default value is `0`.
77
77
78
-
###disable_splash
78
+
## disable_splash
79
79
80
80
If `disable_splash` is set to `1`, the rainbow splash screen will not be shown on boot. The default value is `0`.
0 commit comments