Hi, I have tried everything listed on your developer forum and I cannot flash my AGX Orin devkit board. Here is a brief rundown of what I have tried so far and I cannot get past the this error which says:
sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1
###############################################################################
# L4T BSP Information:
# R35 , REVISION: 4.1
# User release: 0.0
###############################################################################
Error: probing the target board failed.
Make sure the target board is connected through
USB port and is in recovery mode.
Setup for AGX Orin
The NVIDIA AGX Orin comes with oem linux flashed but does not work. Neither the documentation is updated to reflect changes made after users registered issues about misconfigurations on the Discussion Forum.
So before setting up the first time, there are a few things to run by
- Setup Linux host instance
Get a Linux host (Ubuntu) on the MacBook.
- Go ahead and pick your fav virtualization software (VMWare Fusion) to spin up an Ubuntu 20.04 instance from the .iso files.
- Initial storage of 20G will be insufficient so make sure to have at least 64G dedicated for the root volume mount.
- Follow the steps listed here
NOTE: Don’t turn off Network Adapter as mentioned in the article. - Hit enter and keep all defaults throughout the installation process
Post-installation steps should have a GUI-desktop environment to use Firefox to download the required drivers.
- Setup, Flash Jetson Linux into AGX Orin
- Use Ubuntu’s desktop env to download *.tbz2 files included here.
- export env variables:
export L4TRELEASEVERSION=R35.4.1_aarch64
export L4T_RELEASE_PACKAGE=Jetson_Linux_${L4TRELEASEVERSION}.tbz2
export SAMPLE_FS_PACKAGE=Tegra_Linux_Sample-Root-Filesystem_${L4TRELEASEVERSION}.tbz2
export BOARD=jetson-agx-orin-devkit
- install dependencies
sudo apt-get install qemu-user-static minicom
- untar files and setup Jetson Linux filesystem
mv ~/Downloads/* .
tar xf ${L4T_RELEASE_PACKAGE}
cd Linux_for_Tegra/rootfs/
sudo tar xpf ../../${SAMPLE_FS_PACKAGE}
cd ..
sudo ./apply_binaries.sh
- Here is another kicker: you have to setup the user and password BEFORE flashing else you will get a black screen.
sudo ./tools/l4t_create_default_user.sh -u <username> -p <password>
$ Creating: Username - *****, Password - ********, Autologin - false
...
$ Creating: Hostname - tegra-ubuntu
Keep this layout handy, since during flash step, you will need the debug-UART with minicom to flash the board, but for oem-config to actually setup Linux in the next step, you will need the USB-C cable. Flashing with USB-C cable does not seem to work. And the UART debug is also not robust.
-
Connect the USB-C cable for power. The board will power up by default
-
So power-off by pressing the power button for 10s
-
IMPORTANT: Connect a micro-USB for flashing and debugging as mentioned in this link
-
Put the board in force-recovery mode:
- Hold down the force-recovery (middle) button
- Push and release the power button (left)
- Release the middle button. A white light will turn on with no fan running.
- Upon connecting, AGX will ask you to connect to either Mac or Linux. My guess is that one should select Linux.
- To determine whether it is in force-recovery mode run
lsusb
. The output should read out
Bus <bbb> Device <ddd>: ID 0955: 7023 Nvidia Corp
where, bbb, ddd are three-digit numbers, and 7023 refers to AGX Orin
Bus 002 Device 007: ID 0955:7023 NVIDIA Corp. VMware Virtual USB Mouse
- Why is this a USB Mouse? Maybe because I was using USB-C cable to flash the board. That doesn’t seem to be the case, since this article wants you to use the serial console via a USB-micro for flashing and debugging.
- Well when I connect with a micro-USB (via a docking hub), then lsusb reads out
Bus 002 Device 013: ID 0955:7045 NVIDIA Corp. VMware Virtual USB Keyboard
Alright here’s the fun part. The so-called “documentation” will ask you to run
sudo ./flash.sh jetson-agx-orin-devkit mmcblk0
and this is where I am stuck.
I cannot find any /dev/ttyUSB* device to run minicom, neither the screen cmd displays anything. Also upon connecting the board the first time, I do find a bunch of README files in the Tegra folder that mounts onto the Ubuntu VM (i.e. README-usb-dev-mode, etc), but there is no filesystem that I see, so I believe the board needs to be flashed.