Missing serial number jetson nano

Missing serial number on jetson nano,

root@jetson:/home/jetson# cat /proc/device-tree/serial-number
cat: /proc/device-tree/serial-number: No such file or directory

This file is involved in the activation of the program license.

I can’t answer how to get around this issue, but here is some related information you might be interested in…

Files in “/proc” are not actual files, but are instead the result of device drivers pretending to be a file, and that content lives in RAM. For the case of everything under “/proc/device-tree”, this is literally what the kernel sees in the device tree. If the device tree itself lacks a “serial-number” node, then this won’t exist in “/proc/device-tree”.

The device tree itself basically exists to manually pass arguments to kernel drivers. Devices which can self-describe are what you might term “plug-n-play”, but a large number of hardware devices in the system are not plug-n-play. The drivers for those devices typically need a physical address along with different options when the driver loads. As such, every device tree entry is something someone has written out without the aid of automated discovery. The file “serial-number” would be one such manually created node in the device tree. This is not tied to the hardware and couldn’t actually be “trusted”.

If you want to see the source file format of that device tree content, then you can run this command (you might have to first “sudo apt-get install device-tree-compiler”):
dtc -I fs -O dts -o extracted.dts /proc/device-tree

One could also change the tree and set up the new content to be available on boot. I’d be very suspicious of any program which uses a device tree to validate a serial number.

hello trickititit,

please try dump eeprom to check the serial number, i.e. $ sudo i2cdump -f -y 2 0x50

Thanks for answer, how i can change tree and set up the new content with serial number?
I need it (serial-number) once to generate the runtime key.


No size specified (using byte-data access)
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 01 00 fc 00 78 0d 00 00 04 43 00 00 00 00 00 00    ?.?.x?..?C......
10: 00 00 00 00 36 39 39 2d 31 33 34 34 38 2d 30 30    ....699-13448-00
20: 30 30 2d 34 30 31 20 43 2e 30 00 00 00 00 00 00    00-401 C.0......
30: 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
40: ff ff ff ff 1d c6 3c 2d b0 48 31 34 32 31 36 32    ....??<-?H142162
50: 31 30 30 30 38 34 32 00 00 00 00 00 00 00 00 00    1000842.........
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 4e 56 43 42 1c 00 4d 31 00 00    ......NVCB?.M1..
a0: ff ff ff ff ff ff ff ff ff ff ff ff 1d c6 3c 2d    ............??<-
b0: b0 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ?H..............
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7d    ...............}

After that, i should have got a serial number?

If there is a serial number in the eeprom, then this is where you should change it. However, if you look at the previous post I made on how to export the device tree to file name “extracted.dts”, then you can edit this file and add the serial number node. Then compile this back to binary format, save an original version of whatever device tree is loaded during boot, and replace it with the edited version (or better yet, make a new name for the tree and create a new boot entry in “/boot/extlinux/extlinux.conf” which you can pick with serial console until tested).

Basic flow if using device tree (not recommended for serial number):

  1. Export “/proc/device-tree”, or else find the file name used to create this, and decompile to source format.
  2. Edit this to add whatever serial number node you want.
  3. Recompile back to binary format.
  4. Install on the Jetson.

here it is.

may also I know what’s your actual use-case.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.