Is there a way to grab a serial number or UID from the Tx2 module via a c++ or python application? Are there register files or library apis that one could call? If not I can likely just use the MAC of the wifi or Ethernet modules.
Module ID should be here:
nvidia@nvidia-desktop:~$ xxd /proc/device-tree/serial-number
00000000: 3034 3234 3231 3830 3332 3038 3700 0424218032087.
Can I assume /proc/device-tree/serial-number is readable as a string consists of 13 digits?
If you are using on same platform (e.g all TX2), then I think the answer is yes.
Never mind. These are set by jetson-stats I installed.
I see these environment variables are set in a shell. Can someone tell me where they are set?:
JETSON_TYPE=TX2
JETSON_CUDA_ARCH_BIN=6.2
JETSON_OPENCV=3.3.1
JETSON_L4T_RELEASE=32
JETSON_L4T=32.2.0
JETSON_VISIONWORKS=1.6.0.500n
JETSON_OPENCV_CUDA=NO
JETSON_DESCRIPTION=NVIDIA Jetson TX2
JETSON_JETPACK=4.2.1
JETSON_CUDA=10.0.326
JETSON_L4T_REVISION=2.0
JETSON_SERIAL_NUMBER=04239xxxxxxxx
JETSON_BOARD=TX2
JETSON_TENSORRT=5.1.6.1-1+cuda10.0
JETSON_CUDNN=7.5.0.56-1+cuda10.0
Hi tadayuki,
Sorry that we don’t know what is that tool and don’t know how does it parse the info.
You could check the release information in below node.
nvidia@nvidia-desktop:~$ cat /etc/nv_tegra_release
This is the tool I installed:
I know it’s not a nvidia provided tool.
I wrongly assumed the env vars were set by the system by default, but they were actually set by the tool I installed.