AnsweredAssumed Answered

How do we set Revision and Serial from proc/cpuinfo

Question asked by Michael Worster on Jul 25, 2017
Latest reply on Jul 27, 2017 by Michael Worster

I'm trying to use devregs from the meta-freescale repo and one of the first things that tool does is read /proc/cpuinfo to parse out the "Revision :" field. The tool was coming back with a "Error reading CPU type" message due to the fact that Revision was returning all 0s.

It does seem odd that "Revision" and "Serial" from cpuinfo are returning all 0s for this i.MX6DL. What are correct values to be returned? How do these get set correctly?

 

# cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 10 (v7l)
BogoMIPS        : 3.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x2
CPU part        : 0xc09
CPU revision    : 10

 

processor       : 1
model name      : ARMv7 Processor rev 10 (v7l)
BogoMIPS        : 3.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x2
CPU part        : 0xc09
CPU revision    : 10

 

Hardware        : Freescale i.MX6 Quad/DualLite (Device Tree)
Revision        : 0000
Serial          : 0000000000000000

Outcomes