Date: Wed, 23 Feb 2022 18:42:45 +0800 From: Archimedes Gaviola <archimedes.gaviola@gmail.com> To: Peter Jeremy <peterj@freebsd.org> Cc: freebsd-arm@freebsd.org Subject: Re: Raspberry Pi Serial Number Message-ID: <CAJFbk7FEp4%2BhJBZ9qmgJJZyDGp723jk5LR6CLma4cJMj8fer4A@mail.gmail.com> In-Reply-To: <YhYJGeIPqVcQy6mK@server.rulingia.com> References: <CAJFbk7GZu3wTGmfKPO-EizVMb%2B%2BmS43M08UAry3Gv50D0Cbfqg@mail.gmail.com> <YhYJGeIPqVcQy6mK@server.rulingia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000e9475f05d8ad208d Content-Type: text/plain; charset="UTF-8" On Wed, Feb 23, 2022 at 6:14 PM Peter Jeremy <peterj@freebsd.org> wrote: > On 2022-Feb-23 17:48:18 +0800, Archimedes Gaviola < > archimedes.gaviola@gmail.com> 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 > as: > > > >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 > Thanks Peter, I'm wondering why there's no such output in sysctl with RPi4? Archimedes --000000000000e9475f05d8ad208d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Wed, Feb 23, 2022 at 6:14 PM Peter= Jeremy <<a href=3D"mailto:peterj@freebsd.org">peterj@freebsd.org</a>>= ; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px= 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2022= -Feb-23 17:48:18 +0800, Archimedes Gaviola <<a href=3D"mailto:archimedes= .gaviola@gmail.com" target=3D"_blank">archimedes.gaviola@gmail.com</a>> = wrote:<br> >How to obtain the RPi serial number? I'm checking sysctl info but t= here<br> >seems to be none with FreeBSD-13.0-RELEASE and 14.0-CURRENT or I just<b= r> >missed it somewhere? In CentOS it is reflected in the /proc/cpuinfo suc= h as:<br> ><br> >Hardware=C2=A0 =C2=A0 =C2=A0 =C2=A0 : BCM2835<br> >Revision=C2=A0 =C2=A0 =C2=A0 =C2=A0 : b03112<br> >Serial=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : 10000000bc8a56a3<br> >Model=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: Raspberry Pi 4 Model B = Rev 1.2<br> <br> I don't have a RPi4 but at least on my RPi2, the data appears to<br> be in sysctl:<br> hw.board.serial: 00000000d206f16c<br> hw.board.revision: 10620993<br> hw.platform: bcm2836<br></blockquote></div><div class=3D"gmail_quote"><br><= /div><div class=3D"gmail_quote">Thanks Peter, I'm wondering why there&#= 39;s no such output in sysctl with RPi4?</div><div class=3D"gmail_quote"><b= r></div><div class=3D"gmail_quote">Archimedes<br></div></div> --000000000000e9475f05d8ad208d--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJFbk7FEp4%2BhJBZ9qmgJJZyDGp723jk5LR6CLma4cJMj8fer4A>