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
* Update bcm2711_bootloader_config.md
Document max length limitations and default values for the NETCONSOLE property
* Update bcm2711_bootloader_config.md
Copy file name to clipboardExpand all lines: hardware/raspberrypi/bcm2711_bootloader_config.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,6 +146,7 @@ Version: 2020-04-16
146
146
Specify the custom directory prefix string used when `TFTP_PREFIX` is set to 1. For example:- `TFTP_PREFIX_STR=tftp_test/`
147
147
148
148
Default: ""
149
+
Max length: 32 characters
149
150
Version: 2020-04-16
150
151
151
152
### PXE_OPTION43
@@ -228,22 +229,28 @@ N.B. NETCONSOLE blocks until the ethernet link is established or a timeout occur
228
229
#### Format
229
230
See https://wiki.archlinux.org/index.php/Netconsole
230
231
```
231
-
src_port@src_ip/dev_name,dst_port@tgt_ip/tgt_mac
232
-
E.g. 6665@169.254.1.1/eth0,6666@/
232
+
src_port@src_ip/dev_name,dst_port@dst_ip/dst_mac
233
+
E.g. 6665@169.254.1.1/,6666@/
233
234
```
234
-
In order to simplify parsing, the bootloader requires every field separator to be present. In the example the target IP address (255.255.255.255) and target mac address (00:00:00:00:00) are assigned default values.
235
+
In order to simplify parsing, the bootloader requires every field separator to be present. The source ip address must be specified but the following fields may be left blank and assigned default values.
236
+
237
+
* src_port - 6665
238
+
* dev_name - "" (the device name is always ignored)
239
+
* dst_port - 6666
240
+
* dst_ip - 255.255.255.255
241
+
* dst_mac - 00:00:00:00:00
235
242
236
243
One way to view the data is to connect the test Pi 4 to another Pi running WireShark and select “udp.srcport == 6665” as a filter and select `Analyze -> Follow -> UDP stream` to view as an ASCII log.
237
244
238
245
`NETCONSOLE` should not be enabled by default because it may cause network problems. It can be enabled on demand via a GPIO filter e.g.
0 commit comments