Linux – /proc/cpuinfo doesn’t show CPU frequency at all

cpulinuxproc

/proc/cpuinfo doesn't show CPU frequency at all.

I built the kernel on my own. Did I miss some kernel configuration?

pi@raspberrypi ~ $ cat /proc/cpuinfo 
processor   : 0
model name  : ARMv6-compatible processor rev 7 (v6l)
Features    : swp half thumb fastmult vfp edsp java tls 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xb76
CPU revision    : 7

Hardware    : BCM2708
Revision    : 000e
Serial      : 000000009b0dee2f

Kernel version.

pi@raspberrypi ~ $ uname -a
Linux raspberrypi 3.12.9+ #3 PREEMPT Fri Mar 28 16:20:08 KST 2014 armv6l GNU/Linux

Best Answer

This is expected behavior, it's an architecture-dependent feature. Embedded Linux doesn't provide this info, most likely because the CPUs don't.

Here's an example from a router of mine:

system type             : Atheros AR7161 rev 2
machine                 : NETGEAR WNDR3700/WNDR3800/WNDRMAC
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 452.19
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0f98, 0x0f78, 0x0df8]
ASEs implemented        : mips16
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available