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 [[# | 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 [[# | 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 | 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.