https://github.com/jetsonhacks/allxon-ota-example
Example files for an over the air (OTA) update using the Allxon service for NVIDIA Jetson
https://github.com/jetsonhacks/allxon-ota-example
Last synced: 2 months ago
JSON representation
Example files for an over the air (OTA) update using the Allxon service for NVIDIA Jetson
- Host: GitHub
- URL: https://github.com/jetsonhacks/allxon-ota-example
- Owner: jetsonhacks
- License: mit
- Created: 2024-07-13T23:48:11.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-19T23:56:31.000Z (10 months ago)
- Last Synced: 2025-01-22T00:34:13.526Z (4 months ago)
- Language: Python
- Size: 214 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# allxon-ota-example
Example files for an over the air (OTA) update using the Allxon service for NVIDIA Jetson. Example for JetsonHacks video on YouTube. Here's the article: https://wp.me/p7ZgI9-3QrThere are deliberate placed issues for the scripts presented here. These are addressed when going through the educational video.
One issue is that when jetson-stats is installed, it is setup for all users on the device. However, a particular user must register to be in the 'jtop' group to be able to use the jtop service.
If the Jetson is logged into a user, and you only have one user, then consider adding the following to ota_deploy.sh :
```
active_user=$(who | awk 'NR==1{print $1}')
sudo usermod -aG jtop $active_user
```
If you want to enable jtop for all of the users, then you should modify the script by looking up the users on the system, and then add them to the group.For example (untested!):
```
for user in $(cut -d: -f1 /etc/passwd); do sudo usermod -aG jtop $user; done
```
You can also make sure that new users are added to the group automatically by modifying the file /etc/default/useraddThe other example is a Python script which displays a window with an image on startup of a graphical desktop for a user. This is a simple example, and assumes that the system is running with a GUI. The Python script startup_display_kanga.py has a sleep command, which tells the script to wait a little while when the user logs into the system. The amount of time may need to be adjusted, depending on the system.
# Release
### Initial Release July, 2024
* Tested on JetPack 6
* This should also work on newer releases of JetPack 5 (untested)