Re: Raspberry Pi Serial Number

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Wed, 23 Feb 2022 10:23:03 UTC
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:


 
Van: Archimedes Gaviola <archimedes.gaviola@gmail.com>
Datum: woensdag, 23 februari 2022 10:48
Aan: freebsd-arm@freebsd.org
Onderwerp: Raspberry Pi Serial Number
> 
> Hi,
>  
> How to obtain the RPi serial number? I'm checking sysctl info but there seems to be none with FreeBSD-13.0-RELEASE and 14.0-CURRENT or I just missed it somewhere? In CentOS it is reflected in the /proc/cpuinfo such as:
>  
> Hardware        : BCM2835
> Revision        : b03112
> Serial          : 10000000bc8a56a3
> Model           : Raspberry Pi 4 Model B Rev 1.2
>  
> Thanks,
> Archimedes
>