Sdkmanager (1.3.1-7110 jp 4.4) CLI installation - is exclusion of the "Jetson OS" possible?

Is it possible to prevent the CLI installation from installing the “Jetson OS Image”?

The reason I need to be able to do this is that I have a prebuilt OS image and just want to add the “Jetson SDK Components”.

If I run the full UI sdkmanager I am able to deselect the OS Image; is there a way to get this behaviour in the CLI?

┌─ JetPack 4.4 Linux for Jetson AGX Xavier
│ TARGET COMPONENTS

// I don’t want this:-
⌄ Jetson OS
⌄ Jetson OS image [▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ ] ◵ Creating OS image - 99.5%
◦ Drivers for Jetson [▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇] ✔ OS image ready
◦ File System and OS [▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ ] ◵ Creating OS image - 99.0%

// Just these components
⌄ Jetson SDK Components
⌄ CUDA [▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇] ⊚ Install Pending
et cetera…

Thanks,

jolyon

Hi,

Please share your current command of running sdkm cli.

Thanks for the speedy response Wayne; hopefully these notes will make things clearer…

Before invoking the sdkmanager

I have the previously downloaded files in /media/jw/jw2tb/nv/downloads. This directory includes contains:-

  • downloaded toolchain etc for building the kernel and friends
  • previously downloaded sdkmanager artefacts

The Linux_for_Tegra directory looks like this:-

/media/jw/jw2tb/nv/downloads/Linux_for_Tegra/
└── source
    └── public
        └── kernel_src.tbz2

2 directories, 1 file

Here are all the files in the root folder:-

-rw-r--r-- 1 jw jw  2.9M Oct 20 08:00 cboot_src_t19x.tbz2
-rw------- 1 jw jw 1011M Oct 20 08:00 cuda-repo-l4t-10-2-local-10.2.89_1.0-1_arm64.deb
-rw-r--r-- 1 jw jw  110M Oct 20 08:00 gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz
-rw------- 1 jw jw   15K Oct 20 08:00 graphsurgeon-tf_7.1.3-1+cuda10.2_arm64.deb
-rw------- 1 jw jw  272M Oct 20 08:00 Jetson_Linux_R32.4.3_aarch64.tbz2
-rw------- 1 jw jw  201M Oct 20 08:00 libcudnn8_8.0.0.180-1+cuda10.2_arm64.deb
-rw------- 1 jw jw  339M Oct 20 08:01 libcudnn8-dev_8.0.0.180-1+cuda10.2_arm64.deb
-rw------- 1 jw jw  4.7M Oct 20 08:00 libcudnn8-doc_8.0.0.180-1+cuda10.2_arm64.deb
-rw------- 1 jw jw   42K Oct 20 08:00 libnvidia-container0_0.9.0_beta.1_arm64.deb
-rw------- 1 jw jw   13K Oct 20 08:00 libnvidia-container-tools_0.9.0_beta.1_arm64.deb
-rw------- 1 jw jw   58M Oct 20 08:00 libnvinfer7_7.1.3-1+cuda10.2_arm64.deb
-rw------- 1 jw jw   92K Oct 20 08:00 libnvinfer-bin_7.1.3-1+cuda10.2_arm64.deb
-rw------- 1 jw jw   59M Oct 20 08:00 libnvinfer-dev_7.1.3-1+cuda10.2_arm64.deb
-rw------- 1 jw jw  4.5M Oct 20 08:01 libnvinfer-doc_7.1.3-1+cuda10.2_all.deb
-rw------- 1 jw jw  2.3M Oct 20 08:00 libnvinfer-plugin7_7.1.3-1+cuda10.2_arm64.deb
-rw------- 1 jw jw  2.4M Oct 20 08:00 libnvinfer-plugin-dev_7.1.3-1+cuda10.2_arm64.deb
-rw------- 1 jw jw  432M Oct 20 08:01 libnvinfer-samples_7.1.3-1+cuda10.2_all.deb
-rw------- 1 jw jw  545K Oct 20 08:01 libnvonnxparsers7_7.1.3-1+cuda10.2_arm64.deb
-rw------- 1 jw jw  328K Oct 20 08:01 libnvonnxparsers-dev_7.1.3-1+cuda10.2_arm64.deb
-rw------- 1 jw jw  697K Oct 20 08:01 libnvparsers7_7.1.3-1+cuda10.2_arm64.deb
-rw------- 1 jw jw  532K Oct 20 08:01 libnvparsers-dev_7.1.3-1+cuda10.2_arm64.deb
-rw------- 1 jw jw   59M Oct 20 08:00 libvisionworks-repo_1.6.0.501_arm64.deb
-rw------- 1 jw jw   20M Oct 20 08:00 libvisionworks-sfm-repo_0.90.4.501_arm64.deb
-rw------- 1 jw jw   13M Oct 20 08:01 libvisionworks-tracking-repo_0.88.2.501_arm64.deb
drwxr-xr-x 3 jw jw  4.0K Oct 20 08:01 Linux_for_Tegra
-rw------- 1 jw jw   15K Oct 20 08:00 nvidia-container-csv-cuda_10.2.89-1_arm64.deb
-rw------- 1 jw jw   10K Oct 20 08:01 nvidia-container-csv-cudnn_8.0.0.180-1+cuda10.2_arm64.deb
-rw------- 1 jw jw   14K Oct 20 08:00 nvidia-container-csv-tensorrt_7.1.3.0-1+cuda10.2_arm64.deb
-rw------- 1 jw jw   31K Oct 20 08:00 nvidia-container-csv-visionworks_1.6.0.501_arm64.deb
-rw------- 1 jw jw  523K Oct 20 08:00 nvidia-container-runtime_3.1.0-1_arm64.deb
-rw------- 1 jw jw  491K Oct 20 08:00 nvidia-container-toolkit_1.0.1-1_arm64.deb
-rw------- 1 jw jw  2.9K Oct 20 08:00 nvidia-docker2_2.2.0-1_all.deb
-rw------- 1 jw jw   68M Oct 20 08:00 nvidia-l4t-jetson-multimedia-api_32.4.3-20200625213407_arm64.deb
-rw------- 1 jw jw  999K Oct 20 08:01 OpenCV-4.1.1-2-gd5a58aa75-aarch64-dev.deb
-rw------- 1 jw jw  9.5M Oct 20 08:00 OpenCV-4.1.1-2-gd5a58aa75-aarch64-libs.deb
-rw------- 1 jw jw   14K Oct 20 08:00 OpenCV-4.1.1-2-gd5a58aa75-aarch64-licenses.deb
-rw------- 1 jw jw  2.3M Oct 20 08:00 OpenCV-4.1.1-2-gd5a58aa75-aarch64-python.deb
-rw------- 1 jw jw  188K Oct 20 08:00 OpenCV-4.1.1-2-gd5a58aa75-aarch64-samples.deb
-rw-r--r-- 1 jw jw  163M Oct 20 08:00 public_sources.tbz2
-rw------- 1 jw jw  340K Oct 20 08:00 python3-libnvinfer_7.1.3-1+cuda10.2_arm64.deb
-rw------- 1 jw jw  3.6K Oct 20 08:00 python3-libnvinfer-dev_7.1.3-1+cuda10.2_arm64.deb
-rw------- 1 jw jw  342K Oct 20 08:00 python-libnvinfer_7.1.3-1+cuda10.2_arm64.deb
-rw------- 1 jw jw  3.6K Oct 20 08:00 python-libnvinfer-dev_7.1.3-1+cuda10.2_arm64.deb
-r--r--r-- 1 jw jw   91M Oct 20 08:00 sdkmanager_1.3.1-7110_amd64.deb
-rw------- 1 jw jw  201K Oct 20 08:00 sdkml3_jetpack_l4t_44_ga.json
-rw-r--r-- 1 jw jw  272M Oct 20 07:59 Tegra186_Linux_R32.4.3_aarch64.tbz2
-rw-r--r-- 1 jw jw  1.3G Oct 20 08:00 Tegra_Linux_Sample-Root-Filesystem_R32.4.3_aarch64.tbz2
-rw------- 1 jw jw  3.6K Oct 20 08:00 tensorrt_7.1.3.0-1+cuda10.2_arm64.deb
-rw------- 1 jw jw   27K Oct 20 08:00 uff-converter-tf_7.1.3-1+cuda10.2_arm64.deb
-rw------- 1 jw jw   37K Oct 20 08:00 vpi-dev-0.3.7-cuda10-aarch64-l4t.deb
-rw------- 1 jw jw   26M Oct 20 08:00 vpi-lib-0.3.7-cuda10-aarch64-l4t.deb
-rw------- 1 jw jw   14M Oct 20 08:00 vpi-samples-0.3.7-cuda10-aarch64-l4t.deb

Response File

I am using a minimal response file (sdkm_responsefile_jw.ini) that looks like this:-

[client_arguments]
product = Jetson
targetos = Linux
host = false
target = P2888-0001
flash = skip
offline = true
license = accept

[pre-flash-settings]
recovery = skip

[post-flash-settings]
postFlash = install
ip = 192.168.1.95
user = jolyon
password = jolyon
retries = 2

sdkmanager Invocation

When the sdkmanager is invoked the xavier is flashed and waiting for the SDK components to be installed. Here is how I am invoking the sdkmanager:-

sdkmanager --cli install --offline --version 4.4 --downloadfolder /media/jw/jw2tb/nv/downloads  --responsefile sdkm_responsefile_jw.ini

what just happened?

After the CLI install has finished the Jetson OS has appeared in /media/jw/jw2tb/nv/downloads/JetPack_4.4_Linux_JETSON_AGX_XAVIER/

Hi,

There should be a chance (about 10 seconds) to select/deselect components with keyboard to install.

Please see attached screenshot for the details. Are you able to see this?

Thanks - I am able to do this; but I am aiming to make this process as automated as possible,

jolyon

Update: you can use this command to skip the flash from sdkm.

sdkmanager --cli install  --logintype devzone --product Jetson --host --target P3668-0000 --targetos Linux --version 4.4 --flash skip