From nobody Wed Feb 23 10:14:49 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 18FE419D5387 for ; Wed, 23 Feb 2022 10:14:58 +0000 (UTC) (envelope-from peterj@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K3X356fTCz4kTb; Wed, 23 Feb 2022 10:14:57 +0000 (UTC) (envelope-from peterj@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645611298; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=b10NMBwH21MHCn/NnQV8yPu0+uF3erlILXgx25606Mc=; b=p5ZXRDWAObTB/nJJXosvzP8tTiiqG0Iqzeu5N89ci0+8UUMM6VUZWpnP2dQzomOnxorExZ 10Spe5/0qXb/CALWIIvb3UyoUbUsjlyY3s0vNozG7H804yNTi76hjN84q/50+s4HPwI+Ex l+WhSkKuw6lwGURSRok73e9nMY4VGPnl3F2wPWaLzwdtRgeyb9yHW0iCCTweH2vG8eOscF nWDXlkiZHpd+6iV6XFfKNh464D5tLi9py+TTyCtWbGbUclieFL1pd75Z0e7WrG5PGObChs lKpzEkfxFN/iftD5Tv2osQfH6LSSJ6/gjioMynzE4YoJSJw9XH1rf8pMTUZnmQ== Received: from server.rulingia.com (ppp239-208.static.internode.on.net [59.167.239.208]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: peterj) by smtp.freebsd.org (Postfix) with ESMTPSA id B72072B7A8; Wed, 23 Feb 2022 10:14:56 +0000 (UTC) (envelope-from peterj@freebsd.org) Date: Wed, 23 Feb 2022 21:14:49 +1100 From: Peter Jeremy To: Archimedes Gaviola Cc: freebsd-arm@freebsd.org Subject: Re: Raspberry Pi Serial Number Message-ID: References: List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CpAFE7VuugNAXIPK" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.rulingia.com/keys/peter.pgp ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645611298; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=b10NMBwH21MHCn/NnQV8yPu0+uF3erlILXgx25606Mc=; b=QSJNmLilZx3GU3u//FGc8whzBfw/BLs1JcFH5sYKTGsDEJXKT2ZqQYOxhkOOwt/hdBnjyV Pf+53MOg1g+bzhpid0/XQdHWIJpm0yUzYjppCFS64bYahJfWig8aED8PhbW2/pi0IXy9rF 94IL9NLmFQ92tCAg0KmlaZgI8RhtYCrFvYR9Mkjy2nUSBTwNyONPtFvs5I+2k3+y2dEEFG 8+kiglj2PWQ7B3KZHHyurEJ6Bp/w1+D5gEZn76QcZP6vCxseChpGupk/KMYQPc+ULQf+CJ PjOdMDTdnlQQy8Rz/e3h7GJwmq7eXYlr40Owtbtn7eeSdWCkKWLwx0oy/WxWng== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645611298; a=rsa-sha256; cv=none; b=S5YUkirdnMFzJofEwDl3IM53l8Y5C9q3zhVGS23bI6iQf6LXsixmY2P1w7Pcr3DjFVbPja niUSElTooa0ArYeywnO+f97Xc1j8BI+uvMsm2I70FUM0oGXbn+ouc6GKGgbyekcaLQmZVi uCTEkITj8/GFvTytyWKRwrlQjlcdXnE5Ra60NzPnbjMltV92yd9SzHYK6VKk5Kk0SO7WQi sD5Zb3hCqiDmc0qccdA2I4Bj4xgd3n4mv+V69u9c8tgqswYVQg7AS/d+/D5vZLOPQo/p3V q4PchPVEztSM0noSQRjNfrd9Qb69W9WKgLPB16NPuyIyDH/YH/wQYT1dcQWFOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --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 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--