TS-4100 U-Boot-pswitch

From embeddedTS Manuals
Revision as of 16:18, 5 July 2019 by Kris (talk | contribs) (Create page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The baseboard offers a push switch. This button can be held down before applying power, and at least 5 seconds after power is applied. Doing do will cause U-Boot to read a script file from an attached USB mass storage device before dropping to the U-Boot shell.

This allows for out of the box functionality and customized production via a USB drive. In order to provide increased security, the push switch entry to U-Boot can be disabled via the U-Boot environment variable "rstuboot". The following U-Boot commands can be used to disable the push switch check, thereby preventing it from entering the U-Boot shell.

env set rstuboot 0
env save

Removing the U-Boot environment variable, or setting it to a 1, will re-enable the ability for the push switch to interrupt U-Boot and drop to its shell.