TESTED for Jetpack 4.5.1
Official docker image had few utilities missed, which caused flashing to fail with Jetson AGX Xavier. To fix that I added them to docker image.
-
Rebuild docker image
mkdir sdkmanager; cd sdkmanager
# create dockefile from below gist
docker build -t sdkmanager-fixed -f .
# `/opt/sdmanager` will be used for all sdkmanager data.
sudo mkdir /opt/sdkmanager ; sudo chmod 777 /opt/sdkmanager
-
Place
sdkmanager
(from below) to/usr/local/bin
and make it executable withchmod +x /usr/local/bin/sdkmanager
. -
Flash
sdkmanager --cli install --logintype devzone --product Jetson --version 4.5.1 --targetos Linux --target P2888-0001 --flash all --datacollection disable --license accept --exitonfinish
Thank you very much for the gist! Been struggling for that for a while, because NVIDIA apparently does not care for users with OS other than ubuntu 16 and 18.
Just for the record script above works for flashing Xavier AGX with host system Ubuntu 20 04.