Please provide the following info (tick the boxes after creating this topic): Software Version
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other
Target Operating System
Linux
QNX
other
Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other
SDK Manager Version
1.9.3.10904
other
Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
Hello
I just tried to flash the new Drive Orin with sdkmanger and the flash fails.
Dear @servanti,
What is the DRIVE OS version on target before flashing DRIVE OS 6.0.6?
Is it a new Devkit and you are flashing first time?
Could you check flashing using docker container as well?
Do you see an additional NVIDIA device on host when running lsusbdevice when you put the target in recovery mode?
Check lsusb on host
Run tegrarecovery x1 on and tegrareset x1 on aurix console
The host is also a brand new installation of Ubuntu 20. I just installed enough dependencies to run sdkmanger , All host and target components
were installed by sdk manager, there were some errors on the host side installation but sdkmanager recovered, install cuda , cuDNN etc, and as a test I did try to compile the host and cross compile for the target, all the samples and it all succeeded.
I did try tegrarecovery x1 on and tegrareset on the aurix console. I have not tried the docker but I have never had to do that sinc PX2, Pegasus etc. A native host system always worked. I will try it but is there a reason why a fresh new Ubuntu host should not work?
Trying the docker image but having some issues. I remember a while a go we tried to use the dockers for Pegasus and had a bunch of issues. We really prefer using native ubuntu and sdkmanger if possible. Besides this is what I see in the logs, will the docker be any different?
Dear @servanti,
I see only one NVIDIA device in attached picture of lsusb output. As asked earlier, do you see additional NVIDIA device in lsusb output after setting board in recovery mode? You need to run lsusb before and after setting the board in recovery mode to see the difference. This confirm if the board goes into recovery mode.
Note that when using docker container/sdkmanager for flashing, the board should be in normal mode. Put the board in normal mode using tegrarecovery x1 off & tegrareset x1 on aurix console.
Sometimes I have to issue tegrarecovery twice to make sure the device is in recovery
I have tried all the options in the link that you provided by checking force wipe of user options and at least on my flash.py --init_persistent_partition is an invalid command.
I will do a few more tests but have not been able to see multiple nvidia devices on lsusb. There maybe an issue with the device going to recovery mode. I can force it to recovery on minicom Aurix console but as I said sometime I have to issue the command twice
Update
I have done some more tests , multiple USB ports usb hubs on two separate hosts just using minicom and trying to force tegrarecovery and many times it does not work. The Orin is sitting there logged in to the user. Aurix reports that th command was executed. Also on tegra reset I get some errors in Aurix console
but not sure if this is important, I remember seeing errors on Pegasus as well but FYI
I have now ran multiple tests and I do not see Orin go into recovery mode. issuing tegrarecovery x1 on on the aurix console, does not work, Aurix claims to execute the command but the Orin remain up and running. I also tried to echo from the host “echo -e ‘tegrarecovery x1 on’ > /dev/ttyACM1” and saw the command arrive on Aurix and execute and no effect. I tried sudo reboot --force force-recovery and see some errors, the Orin did not reboot and the process was aborted. Here is the log from a minicom session on ttyACM0 .
I see
Dear SivaRamaKrishnaNV
No I have never seen multiple nvidia devices on lsusb after doiing tegrarecovery and tegrareset command. I don’t even see Orin go in to recovery mode after I issue tegrarecovery x1 on. I also see this error when flash fails:
AbnormalTermination(“Could not put {} in recovery”.format(name), nverror.NvError_ResourceError)
Here is another odd error :
Info: Executing cmd: xxversion, argc: 0, args:
Error: Unknown command
Invalid Command
sdkmanager is sending xxversion? that is an invalid command
tried this on host while watching minicom aurix console console :
echo ‘version’ > /dev/ttyACM1
and this is on the console
Also per your suggestion I did
`
/etc/systemd/scripts/nv_aurix_check_fw.sh
Here are some tests based on the other thread that you suggested
aurix : tegrareset x1 h
host : lsusb -d 0955:
Bus 003 Device 013: ID 0955:7045 NVIDIA Corp.
aurix: tegrarecovery x1 on
host: Bus 003 Device 013: ID 0955:7045 NVIDIA Corp.
Anyway , I am not sure why this device does not go in to recovery mode and therefore cannot be flashed .
Dear @servanti,
I notice you said “I can force it to recovery on minicom Aurix console but as I said sometime I have to issue the command twice”
Please confirm if you see two NVIDIA devices in lsusb in this case?
Generally, if board goes to recovery mode, we should see two NVIDIA devices in lsusb on host.
If board goes in recovery mode, we can try manual flashing steps. If not, I will check internally on how to proceed with this case.
I am assuming the board was never flashed and you are trying to flash first time with this new board. Please share below things.
Is this board used at office or car?
Did you receive wire to connect host and target in Devkit and using the same wire?
Could you check changing host target connection wires?
Could you share the board connection pictures as well?
Could you check and share the events on host when running tegrarecovery x1 on → tegrareset x1 . You can monitor the events using sudo udevadm monitor command on host
Dear SivaRamaKrishnaNV
Yes thank you so much, I thought that I had replied on one of the posts. Yes the issue is resolved. None of our previous NVIDIA devices (Pegasus, PX2 etc) needed 2 USB connections.