Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2022 21:14:49 +1100
From:      Peter Jeremy <peterj@freebsd.org>
To:        Archimedes Gaviola <archimedes.gaviola@gmail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Raspberry Pi Serial Number
Message-ID:  <YhYJGeIPqVcQy6mK@server.rulingia.com>
In-Reply-To: <CAJFbk7GZu3wTGmfKPO-EizVMb%2B%2BmS43M08UAry3Gv50D0Cbfqg@mail.gmail.com>
References:  <CAJFbk7GZu3wTGmfKPO-EizVMb%2B%2BmS43M08UAry3Gv50D0Cbfqg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--CpAFE7VuugNAXIPK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2022-Feb-23 17:48:18 +0800, Archimedes Gaviola <archimedes.gaviola@gmail=
=2Ecom> wrote:
>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 a=
s:
>
>Hardware        : BCM2835
>Revision        : b03112
>Serial          : 10000000bc8a56a3
>Model           : Raspberry Pi 4 Model B Rev 1.2

I don't have a RPi4 but at least on my RPi2, the data appears to
be in sysctl:
hw.board.serial: 00000000d206f16c
hw.board.revision: 10620993
hw.platform: bcm2836

--=20
Peter Jeremy

--CpAFE7VuugNAXIPK
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKSBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAmIWCRRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF
QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi
CzQLBg/1GSyNnyfjeUkbGujt4Td3KjkXllchrFrp/F+whH/hwv6JPGdOBB7Siyyr
6Bion7FAMVSusYLk7k2gjW5hOJ7c9g94UgP1Pp7b30kUJ+ca+5RiuHKp+2ou3YUB
zk06A34EAkAf6Cb9OEEqXgVGa5/DTmiP9GCJRyymbV0duixCVNMBCpHfOp8fB0+X
jZr8Je03TlKGGRYHjABR3d3IPqtDrLjH67owJ/W5JFWcIXu36T/07n4oED90aAP3
/bOrw9plN6Ts3IRXAXqrpseuz47wfyRD22ILf88f/HVmjCG57shUO1eVxdj73ZAi
d1DU5ldsr8G+76rJiPnOPB2lpd7NjWyHPBar4LEc+zr1jp4WQM7uYzypkq7aAK1l
6E+09WUEzxQo2n5ZRA6UgurkIcGds459RX/XYDd1LIBPcBa691kKsa4Lit76ucE8
9TGgy9QUtCQ7QrZ/QI4ae2E99VmyQ4CYb4oUvElUZ+6JrsuDbRcpLnizvMMlCrKb
6trkKe6azLwJGQ3EvO7AFK1L4ZTTg6iwv+SBqcK3di3a9E8NYFFBnGXK1wNq5U49
rYgVoCG/QJ9z4EyL/qTLJD/+GRjQ5We3jQN92xCWH1TJf9yoC9RCU0UZ39fHh9Uu
BrgUITjBM44vwO3vOpwxgP13xn4HXOZnjjX1G19tFV3FHRTDeQ==
=jatk
-----END PGP SIGNATURE-----

--CpAFE7VuugNAXIPK--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YhYJGeIPqVcQy6mK>