Code: Select all
program_usb_boot_mode=1What implications does that have in functionality ? What if I ever want to boot from MicroSD card again by usingDougieLawson wrote:Yes. OTP == one time programmable. Once an OTP bit is set it can never be reset.
It's addingto /boot/config.txt that sets the bit USB/PXE boot bit in OTP byte 17.Code: Select all
program_usb_boot_mode=1
Code: Select all
program_usb_boot_mode=0Thanks. Very thorough information but just a little bit too complicated to exactly understand what the implication is when the OTP bit for usb_boot_mode is set.
thats ok. I just thought it would work like that but apparently it does notDougieLawson wrote:That's a syntactically invalid directive so will be 100% completely, totally ignored.
clearDougieLawson wrote: Once a OTP is set it can NEVER be reset, at all ever, for all of future time.
After having set the OTP USB boot bit I could live with having to remove USB sticks if I wanted to boot from MicroSD but what concerns me is if it would take longer before booting from MicroSD starts, because maybe it tries to boot from USB sticks (not present) first. Did you notice a delay since you set the OTP USB boot bit or not ?DougieLawson wrote: All three of my Raspberry Pi 3Bs boot perfectly OK from an SDCard with that OTP set. The bigger problem was when I left a USB stick (with no bootcode.bin on it) in one of those machines - that resulted in a boot failure even though one of the USB devices was bootable.
you're right !DougieLawson wrote:The time from entering shutdown -r now to the new kernel running is less than eight seconds. I don't think there's any value in trying to save microseconds from that incredibly short timespan.