Patron: Get CPU serial number

  • Ping @Martin-Kudláček

    If I want to find out the Patron CPU serial number, is it like this?

    cat /sys/devices/soc0/serial_number


    cat /sys/devices/soc0/soc_uid

    Second question: If this is the serial number of the CPU, is it unique to all devices?

    Thank you!


  • administrators

    Hello @Vesa-Kauppinen,

    this has been subject to change between Linux kernel versions - the older one

    cat /sys/devices/soc0/soc_uid

    comes from the original iMX kernel and has been removed by NXP in newer releases. In our kernel image, we additionally preserve it for backward compatibility.


    cat /sys/devices/soc0/serial_number

    is a "Linux standard" provided by recent NXP kernels that we recommend using as a unique identification.

Log in to reply