我需要我的设备的唯一标识符,并且在 Raspberry PI 上我可以从/proc/cpuinfo
文件中获取 CPU 的序列号。但是在 Coral 上没有/proc/cpuinfo
.
还有其他方法可以唯一标识我的设备吗?怎么样/etc/machine-id
?
来自 Google 支持的回复
NXP SoC has a unique serial number which could be read from sw.
It is suggested to check IMX8M reference manual for that information.
That approach will require you to add/modify kernel driver to expose that SN via sysfs node.
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句