Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Commit 50b45ed

Browse files
timg236JamesH65
andauthored
Update bcm2711_bootloader_config.md (raspberrypi#1523)
* Update bcm2711_bootloader_config.md Reference config.txt and GPIO filters Bump the version number for network boot to reference the latest production critical update. * Update bcm2711_bootloader_config.md Co-authored-by: James Hughes <JamesH65@users.noreply.github.com>
1 parent b385eec commit 50b45ed

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

hardware/raspberrypi/bcm2711_bootloader_config.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ sudo rpi-eeprom-update -d -f ./pieeprom-new.bin
3232
sudo reboot
3333
```
3434

35-
## Configuration Items
36-
This section describes all the configuration items available in the bootloader.
35+
## Configuration Properties
36+
This section describes all the configuration items available in the bootloader. The syntax is the same as [config.txt](../../configuration/config-txt/) but the properties are specific to the bootloader. [Conditional filters](../../configuration/config-txt/conditional.md) are also supported except for EDID.
3737

3838
### BOOT_UART
3939

@@ -75,42 +75,43 @@ BOOT_ORDER fields
7575
* 0x2 - NETWORK
7676

7777
Default: 0x00000001 (with 3 SD boot retries to match the current bootloader behaviour)
78+
Version: pieeprom-2020-04-16.bin
7879

7980
### SD_BOOT_MAX_RETRIES
8081
Specify the maximum number of times that the bootloader will retry booting from the SD card.
8182
-1 means infinite retries
8283
Default: 0
83-
Version: stable/pieeprom-2020-01-17.bin
84+
Version: pieeprom-2020-04-16.bin
8485

8586
### NET_BOOT_MAX_RETRIES
8687
Specify the maximum number of times that the bootloader will retry network boot.
8788
-1 means infinite retries
8889
Default: 0
89-
Version: stable/pieeprom-2020-01-17.bin
90+
Version: pieeprom-2020-04-16.bin
9091

9192
### DHCP_TIMEOUT
9293
The timeout in milliseconds for the entire DHCP sequence before failing the current iteration.
9394
Default: 45000
9495
Minimum: 5000
95-
Version: stable/pieeprom-2020-01-17.bin
96+
Version: pieeprom-2020-04-16.bin
9697

9798
### DHCP_REQ_TIMEOUT
9899
The timeout in milliseconds before retrying DHCP DISCOVER or DHCP REQ.
99100
Default: 4000
100101
Minimum: 500
101-
Version: stable/pieeprom-2020-01-17.bin
102+
Version: pieeprom-2020-04-16.bin
102103

103104
### TFTP_TIMEOUT
104105
The timeout in milliseconds for an individual file download via TFTP.
105106
Default: 15000
106107
Minimum: 5000
107-
Version: stable/pieeprom-2020-01-17.bin
108+
Version: pieeprom-2020-04-16.bin
108109

109110
### TFTP_IP
110111
Optional dotted decimal ip address (e.g. "192.168.1.99") for the TFTP server which overrides the server-ip from the DHCP request.
111112
This maybe useful on home networks because tftpd-hpa can be used instead of dnsmasq where broadband router is the DHCP server.
112113
Default: ""
113-
Version: stable/pieeprom-2020-01-17.bin
114+
Version: pieeprom-2020-04-16.bin
114115

115116
### TFTP_PREFIX
116117
In order to support unique TFTP boot directories for each Pi the bootloader prefixes the filenames with a device specific directory. If neither start4.elf nor start.elf are found in the prefixed directory then the prefix is cleared.
@@ -120,17 +121,17 @@ On earlier models the serial number is used as the prefix, however, on Pi4 the M
120121
* 1 - Use the string specified by TFTP_PREFIX_STR
121122
* 2 - Use the MAC address e.g. "DC-A6-32-01-36-C2/"
122123
Default: 0
123-
Version: stable/pieeprom-2020-01-17.bin
124+
Version: pieeprom-2020-04-16.bin
124125

125126
### TFTP_PREFIX_STR
126127
Specify the custom directory prefix string used when TFTP_PREFIX is set to 1. For example:- TFTP_PREFIX_STR=tftp_test/
127128
Default: ""
128-
Version: stable/pieeprom-2020-01-17.bin
129+
Version: pieeprom-2020-04-16.bin
129130

130131
### PXE_OPTION43
131132
Overrides the PXE Option43 match string with a different string. It's normally better to apply customisations to the DHCP server than change the client behaviour but this option is provided in case that's not possible.
132133
Default: "Raspberry Pi Boot"
133-
Version: stable/pieeprom-2020-03-19.bin
134+
Version: pieeprom-2020-04-16.bin
134135

135136
### DHCP_OPTION97
136137
In earlier releases the client GUID (Option97) was just the serial number repeated 4 times. By default, the new GUID format is
@@ -140,32 +141,32 @@ This is intended to be unique but also provide structured information to the DHC
140141
Specify DHCP_OPTION97=0 to revert the the old behaviour or a non-zero hex-value to specify a custom 4-byte prefix.
141142

142143
Default: 0x34695052
143-
Version: stable/pieeprom-2020-03-19.bin
144+
Version: pieeprom-2020-04-16.bin
144145

145146
### Static IP address configuration
146147
If TFTP_IP and the following options are set then DHCP is skipped and the static IP configuration is applied. If the TFTP server is on the same subnet as the client then GATEWAY may be omitted.
147148

148149
#### CLIENT_IP
149150
The IP address of the client e.g. "192.168.0.32"
150151
Default: ""
151-
Version: stable/pieeprom-2020-03-19.bin
152+
Version: pieeprom-2020-04-16.bin
152153

153154
#### SUBNET
154155
The subnet address mask e.g. "255.255.255.0"
155156
Default: ""
156-
Version: stable/pieeprom-2020-03-19.bin
157+
Version: pieeprom-2020-04-16.bin
157158

158159
#### GATEWAY
159160
The gateway address to use if the TFTP server is on a differenet subnet e.g. "192.168.0.1"
160161
Default: ""
161-
Version: stable/pieeprom-2020-03-19.bin
162+
Version: pieeprom-2020-04-16.bin
162163

163164
### DISABLE_HDMI
164165
Disables the [HDMI boot diagnostics](./boot_diagnostics.md) display if a fatal error is encountered. This may also be disabled by setting `disable_splash=1` in config.txt.
165166

166167
N.B. By default, the HDMI diagnostics screen is automatically blanked after 2 minutes.
167168
Default: 0
168-
Version: stable/pieeprom-2020-03-19.bin
169+
Version: pieeprom-2020-04-16.bin
169170

170171
### SELF_UPDATE
171172
Allows the bootloader to update itself instead of requiring recovery.bin. This is intended to make it easier to update the bootloader firmware via network boot. To enable set SELF_UPDATE=1 and add bootloader_update=1 in config.txt.
@@ -178,7 +179,7 @@ Since the updates files are in the same format as generated by rpi-eeprom-update
178179
**The bootloader only reads the configuration from the bootconf.txt in the EEPROM and not the one in the update files. Therefore, in order to enable SELF_UPDATE you have to first update the bootloader via the SD-CARD or FLASHROM.**
179180

180181
Default: 0
181-
Version: stable/pieeprom-2020-03-19.bin
182+
Version: pieeprom-2020-04-16.bin
182183

183184
## Network Boot
184185
### Server configuration
@@ -194,24 +195,23 @@ vcgencmd otp_dump | grep 28: | sed s/.*://g
194195
```
195196

196197
### Installation - firmware update
197-
Network boot functionality requires the 2020-02-13 Raspbian Buster release (or newer) and an updated bootloader. For advanced boot modes (USB, network) it is normally best to use the latest 'stable' bootloader.
198+
Network boot is available in the latest production bootloader (pieeprom-2020-04-16.bin). Previous beta/stable releases which supported network boot are still available but are deprecated.
198199

199200
```
200201
# Update the rpi-eeprom package
201202
sudo apt update
202203
sudo apt upgrade
203-
204-
# Network boot is only available in the stable and beta releases.
205-
# Switch from critical updates to the stable release series.
206-
# As root:-
207-
echo FIRMWARE_RELEASE_STATUS="stable" > /etc/default/rpi-eeprom-update
204+
# Check the current version
205+
sudo rpi-eeprom-update
206+
# Update to latest
207+
sudo rpi-eeprom-update
208208
```
209209

210210
### Enable network boot
211211
Network boot is not enabled by default in the bootloader. To enable it the bootloader configuration file must be edited.
212212
```
213213
# Extract the configuration file
214-
cp /lib/firmware/raspberrypi/bootloader/stable/pieeprom-2020-01-17.bin pieeprom.bin
214+
cp /lib/firmware/raspberrypi/bootloader/critical/pieeprom-2020-04-16.bin pieeprom.bin
215215
rpi-eeprom-config pieeprom.bin > bootconf.txt
216216
```
217217
Change BOOT_ORDER to be 0x21 instead of 0x1. This tells the bootloader to try sd-card boot first and network boot second. You should normally include sd-card (0x1) in the boot sequence in-case of network failure.

0 commit comments

Comments
 (0)