Jetson Nano: How can I get the device ID of Jetson Nano from software?

I want to get the device ID or production number。

hello 1132105369,

there’s Jetson Module EEPROM Layout for board information. you may dump it for checking.
for example,

$ sudo i2cdump -f -y 2 0x50
...
10: 00 00 00 00 36 39 39 2d 31 33 34 34 38 2d 30 30    ....699-13448-00
20: 30 32 2d 34 30 30 20 46 2e 30 00 00 00 00 00 00    02-400 F.0......

I see. Thank you!

Hi, Id on the device ≠ EEPROM read data.
Please take a look at it again.

hello 1132105369,

may I know what’s the use-case,
you may dump EEPROM for the board-id, as I mentioned in post #3.
you can also check DTB for serial number, for example, $ cat /proc/device-tree/serial-number
If you want the UUID, please check below sysnode for details. i.e. $ cat /proc/device-tree/chosen/uuid

here’s also similar discussion thread for your reference, Topic 77503.
thanks

My purpose is to use ‘Serial Number’ to encrypt our software.

Thank you!
The Topic you recommended is very useful. I think I have solved my problem.