2
\$\begingroup\$

I'm cross-compiling for an embedded Linux board, based in BCM5892 ARM11 processor.

I need to know about architecture detail of this processor(‘armv6’, ‘armv6j’, ‘armv6k’, ‘armv6kz’, ‘armv6t2’, ‘armv6z’, ‘armv6zk’) for feeding -mcpu flag for compiling my application, but there is no such information in Broadcom website and manufacturer does not provide any information too.

then is there any way for determining this information from Processor or OS?

\$\endgroup\$
3
\$\begingroup\$

From this website, the answer is ARMv6TEJ:

~ $ cat /proc/cpuinfo 
Processor       : ARMv6-compatible processor rev 5 (v6l)
BogoMIPS        : 398.13
Features        : swp half thumb fastmult edsp java 
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant     : 0x1
CPU part        : 0xb36
CPU revision    : 5

Hardware        : Broadcom BCM5892 Chip
Revision        : 0000
Serial          : 0000000000000000

Also confirmed from the Linux boot messages here:

[ 0.000000] Linux version 2.6.32.9 (root@localhost.localdomain) (gcc version 4.2.3) #72 PREEMPT Mon Mar 19 01:37:54 EDT 2012
[ 0.000000] CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TEJ), cr=00c5387d
[ 0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Broadcom BCM5892 Chip
\$\endgroup\$
1
\$\begingroup\$

If you are running on a Linux system, you can use 'cat /proc/cpuinfo' to get some more details about the CPU. Your feature details set may be listed there.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.