Need to reboot module from the remote PC after software update using TEZI.
Currently it can be done by reboot -f command with module-PC serial connection from TEZI command line.
Is it possible to do the same with module-PC ethernet connection?
Hi @Serghey,
Unfortunately, it’s not possible to send commands to Tezi over the ethernet (by using SSH for example), only with the USB serial connection.
I would like to recommend you to use the wrapup.sh script instead.
If you download, for example, the Colibri-iMX8X_Reference-Minimal image, inside you will see these files below.
├── image.json
├── imx-boot
├── LA_OPT_NXP_SW.html
├── marketing.tar
├── prepare.sh
├── Reference-Minimal-Image-colibri-imx8x.bootfs.tar.xz
├── Reference-Minimal-Image-colibri-imx8x.tar.xz
├── toradexlinux.png
├── u-boot-initial-env-sd
└── wrapup.sh
The wrapup.sh script will get called after your image has been flashed successfully. You can add a reboot to this script, as below, and then you don’t have to do it manually.
#!/bin/sh
reboot -f
exit 0
Let me know if you need anything else from my side.
Best regards,
Hiago.
Great, it works.
Thank you very much!
Happy to Help!