How can I read the serial number reported here direct from the hardware?. I looked through the BCM2835 datasheet, and I can't find a register that reports this. I don't know the linux source tree all that well -- I know the answer is in there somewhere, but I was hoping someone might be able to tell me quickly.
Code: Select all
Processor : ARMv6-compatible processor rev 7 (v6l) BogoMIPS : 697.95 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 : 0002 Serial : 000000001a5ce8e3
I'm writing in C - and I'd prefer to not call out to an external script to parse the string output from /proc/cpuinfo
Thanks in advance