-
Notifications
You must be signed in to change notification settings - Fork 2k
USB host/device boot - various improvements #1126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
2efd3c0
Mention in bold that USB host boot only available on Pi 3 and 2v1.2
3af4ee0
Mention in bold that USB host boot only available on Pi 3 and 2v1.2
d20a997
Fix: USB *mass storage* boot only on 3 and 2v1.2
683406b
Mention only Pi 3 and 2v1.2 can do net boot, correct a sub-heading
e5b632d
Make mention of which Pi models can do USB host boot consistent with …
a0754d6
Fix capitalisation in page heading
44ecfbf
Make page title consistent with link from hardware/raspberrypi/README.md
666f428
Revert "Make page title consistent with link from hardware/raspberryp…
bff4b0f
Make page title consistent with link from hardware/raspberrypi/bootmo…
6fa06a1
bootmodes/device.md - improve page heading, improve wording
06b8aa8
Change warning about which Pi's can do USB boot
b276448
Add Pi A and 3A+ to USB device mode boot docs
7c114aa
3A+ cannot net boot (no NIC)
7b8c133
bootmodes/host.md: explain 3A+ can do MSD, not netboot
3b1e3be
3A+ cannot net boot (no NIC) (take 2)
c1aedf5
bootmodes/README.md - fix up some wording around USB host boot
c17ccdb
use lurch's wording
fe57a63
capitalise Ethernet to match other instances
d27a19d
clarify / simplify wording
a3491d3
Improve accuracy
18d0680
Combine BCM2837A0 and B0 variants into single page
65eb7e5
add B0 variant Pi models
b5d2626
Revert "add B0 variant Pi models"
3781df9
Revert "Combine BCM2837A0 and B0 variants into single page"
5295414
bootflow.md - this page only applies to 2837-based Pi's add relevant …
de81ff4
tweak: move period outside link
96e3545
fix markup
e2e0216
MSD -> mass storage device
94abcf0
MSD -> mass storage device (take 2)
37d158f
tweak wording
284db1c
msd.md - standardise heading
b8c4a06
fix typo
dfa90f1
Don't say that USB device boot is enabled on all Pi's, since it doesn…
d5a3de9
fix wording
09f624a
fix wording
6e99f70
mention OTP bit for USB device mode is enabled by default, but don't …
f1f4f8d
fix wording
55b5561
Update device.md
3213e1e
some models -> above models of Pi
9eeedfd
fix wording "the required built in net iface" -> "a built in..."
dfbad1f
Minor changes in copy-edit
01806cb
Minor changes in copy-edit
dbeda0d
Minor changes in copy-edit
9e94f62
Minor changes in copy-edit
bf7dd70
Minor changes in copy-edit
eeb057b
V minor change in copy-edit
adc0a50
Merge branch 'master' into patch-2
JamesH65 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
# USB boot modes | ||
|
||
There are two separate boot modes for USB: | ||
There are two separate boot modes for USB (available only on certain models): | ||
|
||
* [USB device boot](device.md) | ||
* [USB host boot](host.md) with boot options: | ||
* [USB mass storage boot](msd.md) | ||
* [Network boot](net.md) | ||
|
||
Note that network boot is only possible on Raspberry Pi models that have a built-in wired Ethernet interface. | ||
|
||
The choice between the two boot modes is made by the firmware at boot time when it reads the OTP bits. There are two bits to control USB boot: the first enables device boot and is enabled by default on all Raspberry Pi computers. The second bit enables USB host boot; if this bit is also set, then the processor reads the OTGID pin to decide whether to boot as a host (driven to zero as on the Raspberry Pi Model B) or as a device (left floating). The Pi Zero has access to this pin through the OTGID pin on the USB connector, and the Compute Module has access to this pin on the edge connector. | ||
The choice between the two boot modes is made by the firmware at boot time when it reads the OTP bits. There are two bits to control USB boot: the first enables USB device boot and is enabled by default. The second enables USB host boot; if the USB host boot mode bit is set, then the processor reads the OTGID pin to decide whether to boot as a host (driven to zero as on the Raspberry Pi Model B) or as a device (left floating). The Pi Zero has access to this pin through the OTGID pin on the USB connector, and the Compute Module has access to this pin on the edge connector. | ||
|
||
There are also OTP bits that allow certain GPIO pins to be used for selecting which boot modes the Pi should attempt to use. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.