Re: Raspberry Pi Serial Number

Karl Denninger <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On 2/23/2022 11:44, Carl Johnson wrote:
> Archimedes Gaviola<[email protected]>  writes:
>
>> On Wed, Feb 23, 2022 at 6:23 PM Ronald Klop<[email protected]>  wrote:
>>
>>> Is that this number?
>>>
>>> [root@rpi4 ~]# ofwdump -p -a | head
>>> Node 0x48:
>>>    memreserve:
>>>      3b 30 00 00 04 c0 00 00
>>>    serial-number:
>>>      31 30 30 30 30 30 30 30 36 34 39 35 32 31 61 30 00
>>>      '10000000649521a0'
>>>    compatible:
>>>      72 61 73 70 62 65 72 72 79 70 69 2c 34 2d 6d 6f 64 65 6c 2d
>>>      62 00 62 72 63 6d 2c 62 63 6d 32 37 31 31 00
>>>    model:
>>>
>>>
>> I believe so Ronald as it matches the serial number from my CentOS in the
>> same hardware.
>>
>> root@generic:~ # ofwdump -p -a | head
>> Node 0x48:
>>    memreserve:
>>      3b 40 00 00 04 c0 00 00
>>    serial-number:
>>      31 30 30 30 30 30 30 30 62 63 38 61 35 36 61 33 00
>>      '10000000bc8a56a3'
> The serial number also appears to be available with
> 'kenv smbios.system.serial' on my RPi4.
That also works on the Pi3 under 12.x (and, if I recall correctly, on 
prior-to-12.x as well.)
-- 
Karl Denninger
[email protected]
/The Market Ticker/
/[S/MIME encrypted email preferred]/
smime.p7s (application/pkcs7-signature, 4.8 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.