Difference between revisions of "Enable/Power peripherals"

From Take-Air Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
To configure this a the script is provided: <code>/opt/take-air/OpenOC2-boot.sh</code>.
 
To configure this a the script is provided: <code>/opt/take-air/OpenOC2-boot.sh</code>.
 
This script automatically gets executed during boot.
 
This script automatically gets executed during boot.
 +
 +
== Change configuration ==
  
 
*To disable automatic power-on of the ESP, change the line: <code>START_ESP="yes"</code> to <code>START_ESP="no"</code>.
 
*To disable automatic power-on of the ESP, change the line: <code>START_ESP="yes"</code> to <code>START_ESP="no"</code>.
Line 7: Line 9:
 
*Perform a reboot apply the change(s):
 
*Perform a reboot apply the change(s):
 
*:<code>$ sudo reboot 0</code>
 
*:<code>$ sudo reboot 0</code>
 +
 +
== Bootscript status ==
 +
To check if the bootscript gets executed correctly, use:
 +
$ systemctl status openoc2boot.service

Revision as of 20:30, 31 October 2021

After installation the ESP module and Cube are enabled by default: They will be powered when booting the Jetson. To configure this a the script is provided: /opt/take-air/OpenOC2-boot.sh. This script automatically gets executed during boot.

Change configuration

  • To disable automatic power-on of the ESP, change the line: START_ESP="yes" to START_ESP="no".
  • Similarly, to disable automatic power-on of the Cube, change the line: START_CUBE="yes" to START_CUBE="no".
  • Perform a reboot apply the change(s):
    $ sudo reboot 0

Bootscript status

To check if the bootscript gets executed correctly, use:

$ systemctl status openoc2boot.service