2010-09-14 11:00:29     How to check cpu silicon revision

Document created by Aaronwu Employee on Aug 22, 2013
Version 1Show Document
  • View in full screen mode

2010-09-14 11:00:29     How to check cpu silicon revision

Emil Bart (POLAND)

Message: 93432   

 

Hello,

 

Is it available any function which can be used in application (user space) to get the cpu revision ? I know that I can read it from /proc/cpuinfo file but I'm curious if there is any function ?

 

Emil,

QuoteReplyEditDelete

 

 

2010-09-14 11:05:42     Re: How to check cpu silicon revision

Mike Frysinger (UNITED STATES)

Message: 93433   

 

there is nothing for userspace to get the value at runtime

 

you could use the __SILICON_REVISION__ define to see what version you're compiling for

QuoteReplyEditDelete

 

 

2010-09-14 14:46:59     Re: How to check cpu silicon revision

Mike Frysinger (UNITED STATES)

Message: 93437   

 

well, from userspace, you could use the debug mmrs interface to get at the ID MMRs.

 

find /sys/kernel/debug/blackfin/ -name CHIPID -o -name DSPID

 

but this is really only meant for development systems and not for deploying in production ... not sure why you want this information

Attachments

    Outcomes