Skip to content

Commit feb996b

Browse files
author
andrum99
authored
bcm2711_bootloader_config.md: improve XHCI_DEBUG section. (raspberrypi#1677)
* Update bcm2711_bootloader_config.md * fix table * Restore double spaces
1 parent 0de1746 commit feb996b

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

hardware/raspberrypi/bcm2711_bootloader_config.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -284,24 +284,28 @@ Default: 1000 (1 second)
284284
Version: 2020-09-03
285285

286286
### XHCI_DEBUG
287-
This property is a bit field which controls the verbosity of USB trace messages for mass storage boot mode. Enabling all of these messages generates a huge amount of log data which will slow down booting and may even cause boot to fail. For verbose logs it's best to use `NETCONSOLE`
287+
This property controls the verbosity of USB debug messages for mass storage boot mode. Enabling all of these messages generates a huge amount of log data which will slow down booting and may even cause boot to fail. For verbose logs it's best to use `NETCONSOLE`.
288288

289-
* Bit 0 - USB descriptors
290-
* Bit 1 - Mass storage mode state machine
291-
* Bit 2 - Mass storage mode state machine - verbose
292-
* Bit 3 - All USB requests
293-
* Bit 4 - Log device and hub state machines
294-
* Bit 5 - Log all xHCI TRBs (VERY VERBOSE)
295-
* Bit 6 - Log all xHCI events (VERY VERBOSE)
289+
| Value | Log |
290+
|-------|-------------------------------------------|
291+
| 0x1 | USB descriptors |
292+
| 0x2 | Mass storage mode state machine |
293+
| 0x4 | Mass storage mode state machine - verbose |
294+
| 0x8 | All USB requests |
295+
| 0x10 | Device and hub state machines |
296+
| 0x20 | All xHCI TRBs (VERY VERBOSE) |
297+
| 0x40 | All xHCI events (VERY VERBOSE) |
296298

297-
By default, no extra debug messages are enabled.
299+
To combine values, add them together.
300+
301+
(`0x` means these numbers are in hexadecimal. If you're not sure how to add these up, simply type the sum into Google, e.g. `=0x2+0x4`).
298302

299303
```
300304
# Example: Enable mass storage and USB descriptor logging
301305
XHCI_DEBUG=0x3
302306
```
303307

304-
Default: 0x0
308+
Default: 0x0 (no USB debug messages enabled)
305309
Version: 2020-09-03
306310

307311
## config.txt - configuration properties

0 commit comments

Comments
 (0)