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

From embeddedTS Manuals
(Create page)
 
(Clean up, removing to relocate info about scripting)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
The baseboard offers a [[#DIO|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 [[#U-Boot_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.


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|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]] <source inline>rstuboot</source>. The following U-Boot commands can be used to disable the push switch check, thereby preventing it from being able to enter the U-Boot shell.
<source lang=bash>
<source lang=bash>
env set rstuboot 0
env set rstuboot 0
Line 7: Line 7:
</source>
</source>


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.
Removing the <source inline>rstuboot</source> 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.

Latest revision as of 13:43, 23 September 2021

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.

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 being able to enter the U-Boot shell.

env set rstuboot 0
env save

Removing the rstuboot 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.