Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
is anyone aware about a method to get CPUID and brand string, as well as maybe even features, similar to MMX/SSE etc. detection for NEON in Linux ARM?

It seems to lack any form of __cpuid and cpuid.h ain't existing also - at least on my distro (OpenSuSE12.3)

It's not vital for my project, but still interesting.
Posted

 
Share this answer
 
You didn't say which ARM you are dealing with, but the Raspberry Pi (and others) tell you the CPU ID and other info with command line
cat /proc/cpuinfo

which you can use from C/C++ with a system() call.
 
Share this answer
 
Linux ARM, not x86. There are no answers for ARM. I'd be happy it would have been so easy :)
 
Share this answer
 
in this case its a Pandaboard, using an OMAP4430, CortexA9 Dual Core. I am aware about the cpuinfo, indeed it gives out basically all info I want to have, but I was interested in reading it out myself, just like for x86. As said, it's not vital, just curiosity since I can't imagine there is no way, but no one seems to know it.
 
Share this answer
 
Comments
Richard MacCutchan 27-May-13 4:26am    
You could always try reading the technical documentation for the board and the chipset.
Smirftsch 28-May-13 1:50am    
Did that already too, but I wasn't able to find whats needed so far. That's why I am digging for a general solution here now.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900