Difference between revisions of "Enable/Power peripherals"
Jump to navigation
Jump to search
Joost.Weijs (talk | contribs) (Created page with "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: <code>/opt/take-ai...") |
|||
| (3 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | After installation the ESP module and Cube are enabled by default: | + | 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: <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 == | |
| − | |||
| − | |||
| − | |||
| − | Similarly, to disable automatic power-on of the Cube, change the line: | + | *To disable automatic power-on of the ESP, change the line: <code>START_ESP="yes"</code> to <code>START_ESP="no"</code>. |
| − | + | *Similarly, to disable automatic power-on of the Cube, change the line: <code>START_CUBE="yes"</code> to <code>START_CUBE="no"</code>. | |
| − | to | + | *Perform a reboot apply the change(s): |
| − | + | *:<code>$ sudo reboot 0</code> | |
| − | + | == Bootscript status == | |
| + | To check if the bootscript gets executed correctly, use: | ||
| + | $ systemctl status openoc2boot.service | ||
Latest revision as of 17:38, 1 November 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"toSTART_ESP="no". - Similarly, to disable automatic power-on of the Cube, change the line:
START_CUBE="yes"toSTART_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