Recovery mode

Is there a way of putting the jetson AGX into recovery mode without using the button? we are trying to build a regression test for a custom image and I can’t figure out an easy path to automating setting up the board to reflash (particularly in case of failure)

You might try the command:
sudo reboot --force forced-recovery
(sorry, this doesn’t help in the case of something not already booted, but I don’t think there is a way to go into recovery mode other than the recovery button)