TS-4100 U-Boot-pswitch: Difference between revisions

From embeddedTS Manuals
No edit summary
No edit summary
Line 1: Line 1:
The baseboard offers a [[#FPGA_GPIO_Table|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 [[#Linux_USB_Boot|a script file]] from an attached USB mass storage device before dropping to the U-Boot shell.
The baseboard offers a [[#FPGA_GPIO_Table|push switch]] which is broken out from pin 9 on CN1 of the TS-4100. 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 [[#Linux_USB_Boot|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 [[#Linux_USB_Boot|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.
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 [[#Linux_USB_Boot|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.

Revision as of 13:41, 7 May 2020

The baseboard offers a push switch which is broken out from pin 9 on CN1 of the TS-4100. 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.