On a Xavier NX Dev kit I have tried but failed to flash the Jetson OS from the Docker image of the Nvidia SDK Manager.
Here are the steps I have followed:
Install Docker and enable to manage Docker as non-root user on my host machine (a Linux Pop!OS 20.10 BTW).
Install SDK manager Docker image:
docker load -i ./sdkmanager-220.127.116.1102_docker.tar.gz
docker tag sdkmanager:18.104.22.16802 sdkmanager:latest
docker images -a
REPOSITORY TAG IMAGE ID CREATED SIZE
hello-world latest d1165f221234 4 days ago 13.3kB
sdkmanager 22.214.171.12402 37507cccf9bf 4 weeks ago 914MB
sdkmanager latest 37507cccf9bf 4 weeks ago 914MB
Plug the Xavier NX dev kit via a mini-USB to USB cable, power it up and run the following command line on the host:
docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb/ --name JetPack_450_NX_Devkit sdkmanager --cli install --logintype devzone --staylogin true --product Jetson --target P3668-0000 --targetos Linux --version 4.5 --flash all --select 'Jetson OS' --deselect 'Jetson SDK Components' --license accept --datacollection enable
The Jetson OS components were downloaded, but the sdkmanager failed when creating the OS image:
Waiting for user information from NVIDIA authentication server…
Retrieving user information…
Loading and processing available products…
Loading user information…
User information loaded successfully.
Loading server data…
Server data loaded successfully.
Installation of this software is under the terms and conditions of the license agreements located in /opt/nvidia/sdkmanager/Eula/
===== INSTALLATION FAILED =====
- Drivers for Jetson: Installed
- File System and OS: Failed
- Device Mode Host Setup in Flash: Failed
- Flash Jetson Xavier NX (Devkit): Failed
===== Installation failed - Total 4 components =====
===== 1 succeeded, 3 failed, 0 up-to-date, 0 skipped =====
Here are some screenshots of the terminal log (sorry I do not know how to retrieve the logs from the docker image), we can see that some dpkg commands failed:
Did I do something wrong ?