Remote Device image based OTA

Hello Guys,

We are in the process of upgrading our devices from Jetpack 4.5.1 to jetpack 4.6.1

our devices had a system service to connect to a remote server, and we are using this remote server to access the devices on the field

We followed all the steps in the documentation, with no issue

  1. prepare the recovery image
  2. generate the OTA payload package
  3. send the payload package to the device
  4. start the OTA upgrade
  5. reboot

after the reboot, we lose the connection as the service was removed after the upgrade

question:

is there a way to keep some services running after the reboot, or a way to create this service within the package payload, to auto-reconnect the server after the upgrade and the reboot?

thanks,

Maybe you should add your service when generate the OTA payload package.

Hello @WayneWWW
thanks for the fast response
could you please guide me in the steps of generating the OTA payload with the service

thanks

Every file that is in use on jetson will be firstly put under Linux_for_Tegra/rootfs first. If you want your service could be there after any kind of flash, you need to put the file in it.