Put AGX Orin into Forced Recovery Mode from Host

Hello I am working on a couple personal scripts to automate flashing devices. One of the hurdles I have found is Forced Recovery Mode. I have been using the manual way of putting the Jetson AGX Orin into Forced Recovery mode. I would like to be able to automate that process, and didn’t know if it was possible to place the device into recovery mode from the host machine?
Thank you!

Specs:
Jetson AGX Orin 64gb Dev Kit
Ubuntu 22.04.4 being run off VMware pro 16

Hello @blake.williams,

You could try running the following command from a console on the host using ssh:

sudo reboot –force forced-recovery

Please let us know if that helps.

regards,
Andrew
support@proventusnova.com

I was hoping not to use ssh, and use the Serial connection instead (Usb-A to Usb-C). For my application I’m limited on internet access.

@blake.williams,

Got it.
Makes sense.

And what about using the OTG connection that the board sets up when connected through USB?

You should be able to access the board through IP 192.168.55.1

Would you be opposed to giving that a try ?

regards,
Andrew
support@proventusnova.com

That would work for my application. If you wouldn’t mind, what would be the commands to connect and issue the reboot command?

@blake.williams,

Sounds great!

The steps would be:

  1. Connect the board to the host machine through the port which you would flash the embedded device.
  2. Connect to the board through ssh: ssh <user>@192.168.55.1
  3. Issue the command:sudo reboot –force forced-recovery
  4. The board should reboot in recovery mode. Then you can verify by running on your host machine: lsusb
  5. Flash the board

Please let us know if you require further assistance.

regards,
Andrew
support@proventusnova.com

If it is a brand new device, would these steps still apply (as in never been flashed), and if so what would the username be?

@blake.williams,

That is a great question.

Most devices come already flashed from the manufacturer.
Usually their default username and passwords is nvidia.

However, that is not for certain.

In a production setting, we would recommend working out with the manufacturer so that the devices come with some sort of base Jetpack already installed. That is usually not hard for them to do.

For instance, if you were to implement some sort of OTA AB update support, you would still need to have those devices already flashed. Therefore, you would need to do that in-house or ask the manufacturer to that for you.

Usually our customers get that figured out with the manufacturer.

regards,
Andrew
support@proventusnova.com

Thank you for the help! When I do run sudo reboot -force forced-recovery through the serial ssh connection I get the following error
image
Thanks again!

@blake.williams,

Sure, no problem!

That is interesting, when I run it on a Jetson Nano I have laying around, it works just fine:

image

Could it be the JP version.
What Jetpack are you running ?

regards,
Andrew
support@proventusnova.com

I’m using Jetpack 6.0 with Jetson Linux r36.3.

@blake.williams,

I think i found the issue, you are missing a dash ‘-’ before the ‘-force’ entry.
Please note there needs to be 2 dashes in order for the command to work ‘–force’

regards,
Andrew
support@proventusnova.com

1 Like

Yes that was it. Thank you for the Help!

Hey @blake.williams,

No problem!
Glad to help.

Please don’t hesitate to reach out if you require help with anything else along your journey.
We would love to learn about your project and help you reach your goals.

regards,
Andrew
support@proventusnova.com

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.