How to get revision and serial numbers with device tree?

2 messages, 2 authors, 2012-09-27 · open the first message on its own page

How to get revision and serial numbers with device tree?

From: Lauri Hintsala <hidden>
Date: 2012-09-27 05:18:58

Hi,

/proc/cpuinfo contains revision and serial numbers. They are got from 
ATAGs when device tree is disabled. How are they managed when device 
tree is in use? On my imx28 based board they are zeros.

Best regards,
Lauri Hintsala

How to get revision and serial numbers with device tree?

From: arnd@arndb.de (Arnd Bergmann)
Date: 2012-09-27 13:48:56

On Thursday 27 September 2012, Lauri Hintsala wrote:
/proc/cpuinfo contains revision and serial numbers. They are got from 
ATAGs when device tree is disabled. How are they managed when device 
tree is in use? On my imx28 based board they are zeros.
Right, we don't currently interpret a serial number from the device tree.
At least IBM uses a "system-id" property in the root node for the serial
number, and we could theoretically show this in /proc/cpuid, but I don't
think any of the ARM systems currently fill this correctly, and it is
a string property, so we can't use it interchangeably with the integer
in the ATAGs.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help