Firefly Open Source Community

   Login   |   Register   |
New_Topic

How to get cpuid?

24

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
24
Posted at 5/16/2022 18:50:35     
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?
Reply

Use props Report

250

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
250
Posted at 5/17/2022 15:42:31     
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'.
Reply

Use props Report

24

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
24
Posted at 5/21/2022 19:13:20     
时间的蝴蝶 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?
Reply

Use props Report

250

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
250
Posted at 6/1/2022 17:24:58     
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
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list