Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add another pi-config option #38
Conversation
|
given that this option permanently changes the ROM code i'm not sure we should expose it in a generic config option you can run on any Pi. |
|
Just a note to confirm that @sergey-borovkov has signed the CLA. |
|
@ogra1 can you please explain how it is changing the rom code permanently? |
|
@zyga it toggles a register permanently ... some users might not want that so i'd prefer to not have it available as a generic option but rather somehow specifically set from the gadget itself $ vcgencmd otp_dump | grep 17: is what is described in the documentation link above to find if it was toggled, to my knowledge there is no way to reset this back to factory defaults once you toggled it. |
|
Based on what @ogra1 said I think it should be more carefully exposed. Perhaps we need a privileged interface or an interactive flow that allows this. What is the use case? Anyone can toggle this manually (since it changes the board the OS is not important) and I cannot imagine this changing in the field. |
sergey-borovkov commentedMay 8, 2017
This commit allows to use boot from usb functionality. It was implemented in the core at the end of previous year if I remember correctly but to use it this option is required according to this - https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md