Skip to content
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

More information on SPI and NAND boot modes #1355

Closed
LonerDan opened this issue Mar 21, 2020 · 6 comments
Closed

More information on SPI and NAND boot modes #1355

LonerDan opened this issue Mar 21, 2020 · 6 comments

Comments

@LonerDan
Copy link

Hello,
in the documentation of the GPIO boot mode, there is a mention of SPI and NAND boot modes with a note that there is no Linux support for them at the time.
image
Since those boot modes especially intrigue me for my use case, I wanted to ask for more information. Is the Linux support being worked on? Alternatively, could this boot mode be used to load next stage bootloader (e.g. u-boot) that would then boot the full system (either from the same source or from sd card)?

@MDr164
Copy link

MDr164 commented Dec 10, 2021

I think it has somewhat been discussed here #874 as well but there is no further clarification to be found somewhere. The documentation still says those two modes are somewhat supported but not how to actually make use of them. The documentation also says those are being cycled through by the first stage bootloader but that's about it. The linked issue says those modes don't work while docs says otherwise but not how. Still kind of confusing.

@pelwell
Copy link
Contributor

pelwell commented Dec 10, 2021

Documenting a feature that we have no plan to use (and haven't spent time finding the pitfalls of) isn't a good use of resources. Users would be forgiven for thinking that the feature was both tested and supported, when the opposite is true.

@pelwell pelwell closed this as completed Dec 10, 2021
@MDr164
Copy link

MDr164 commented Dec 10, 2021

Yes that makes total sense, but please then remove the lines in the documentation on raspberrypi.com, stating it works then OR add a disclaimer that it technically works when looking at the SoC side of things but that it's not implemented (and probably won't be). As of now it just unnecessarily confuses users reading that.

@JamesH65
Copy link
Contributor

Can you link to the page in question?

@pelwell
Copy link
Contributor

pelwell commented Dec 10, 2021

Confuses? Not the most obvious word for that sentence. Teases, perhaps, although that's not the intention. By documenting what the bit does (if not how to use it) the hope is that it saves curiosity from killing the Pi.

Won't fix.

@MDr164
Copy link

MDr164 commented Dec 10, 2021

https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#boot-sequence is the page in question and the line that "confused" me in this case would be "NAND boot and SPI boot modes do work, although they do not yet have full GPU support." which was also mentioned in the linked issue. I think the fact that it explicitly says NAND boot and SPI boot modes do work should also mention what works in that context means, like the SoC support is there but the firmware has no support for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants