How to judge which version of SDK host has installed?

For building program on different devices,I want to know which version of SDK the host has installed,PX2 or AGX?

Thank you.

On your host you can check it inside SDKM.

Fabian

Hi,Fabian

Where is SDKM? and how to read it?
Could you please speak more specific?
Thanks.

When you install the SDK you do that via SDKM. There you can see what you have installed on your host.

Fabian

Hi,Fabian

Of course,I know which SDK I have installed,
but I want to get the version number of SDK via program for auto-building on different host,
Do you have way to get?

Thank you.

You can do cat <top_dir>/DriveSDK/drive-t186ref-linux/targetfs/etc/nvidia/version-ubuntu-rootfs.txt.

Fabian

Hi,Fabian

Thank you for your help, but I have an another problem:
I get three version numbers of sdk from three host,shown as below:

5.1.0.2-15191604
5.0.10.3-12606092
5.0.13.2-13679417

Can you discriminate them? which is get from px2? which is get from agx?
Thank you.

Hi kmyang,

NVIDIA DRIVE Software™ 9.0 (including DRIVE OS 5.1.0.2) is for DRIVE AGX.
NVIDIA DRIVE™ OS 5.0.10.3 with NVIDIA DriveWorks SDK is NVIDIA DRIVE™ PX 2.

Please refer to: https://developer.nvidia.com/drive/downloads

Thanks

Hi kayccc

I can discriminate them ,Thank you for your help and cooperation.