Firefly Open Source Community

Title: How to get cpuid? [Print This Page]

Author: lexaguskov    Time: 5/16/2022 18:50
Title: How to get cpuid?
If I understand correctly, cpuid on rockchip devices is achievable via smth called 'efuses'. Looks like it must be defined in .dtd file for the platform, as it is done for RK3399, but i see no efuses definition in .dtd/.dtdi files for RK35xx family.

Is there any way this can be added?
Author: 时间的蝴蝶    Time: 5/17/2022 15:42
For rk356x, 'otp' is used instead of 'efuse'.
This command can be used to view cpuid `cat /proc/cpuinfo`.You will see something like this, 'Serial : 144876a0841ff711'.
Author: lexaguskov    Time: 5/21/2022 19:13
时间的蝴蝶 Posted at 5/17/2022 15:42
For rk356x, 'otp' is used instead of 'efuse'.
This command can be used to view cpuid `cat /proc/cpu ...

I'm using armbian and looks like my .dtd file does not contain declarations for otp device. Where can I find official .dtd/.dts file for Station M2?

Author: 时间的蝴蝶    Time: 6/1/2022 17:24
lexaguskov Posted at 5/21/2022 19:13
I'm using armbian and looks like my .dtd file does not contain declarations for otp device. Where  ...

https://gitlab.com/firefly-linux ... -firefly-roc-pc.dts
Author: keithfo399    Time: 1/12/2026 17:31
This is a truly impressive article, thank you for your sharing. This MB-310 new exam camp file helped me move up in my career and get a raise. Now it’s free to all. Wishing you success in your career journey!




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1