From nobody Thu Sep 21 05:35:19 2023 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 4RrkdL68s2z4tYN3 for ; Thu, 21 Sep 2023 05:35:34 +0000 (UTC) (envelope-from pmh@hausen.com) Received: from mail2.pluspunkthosting.de (mail2.pluspunkthosting.de [217.29.33.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RrkdJ6lGjz3VSF for ; Thu, 21 Sep 2023 05:35:32 +0000 (UTC) (envelope-from pmh@hausen.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of pmh@hausen.com designates 217.29.33.228 as permitted sender) smtp.mailfrom=pmh@hausen.com; dmarc=none Received: from smtpclient.apple (87.138.185.145) by mail2.pluspunkthosting.de (Axigen) with (ECDHE-RSA-AES256-GCM-SHA384 encrypted) ESMTPSA id 148238; Thu, 21 Sep 2023 07:35:30 +0200 From: "Patrick M. Hausen" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: Getting a stable MAC address for a RPI CM3+ with ue0 interface Date: Thu, 21 Sep 2023 07:35:19 +0200 References: <3C1032FF-B914-4863-8A03-759A8B4BE216@hausen.com> <77E70D30-8E7D-42DC-A041-3A783E1C6908@yahoo.com> <5205C76E-BAB4-4AB7-8A03-1E8A2D4353BB@hausen.com> <4C192A4E-8F53-4FE5-B1E3-836943F9A050@hausen.com> <3306D438-576B-46A6-A124-1F1D803A2236@hausen.com> <6a842b75-c9ea-d697-c223-c2d8c5653d68@FreeBSD.org> <38325594-6F01-4E43-86A9-D3C92A5151B7@yahoo.com> To: freebsd-arm In-Reply-To: <38325594-6F01-4E43-86A9-D3C92A5151B7@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3731.700.6) X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.61 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.997]; NEURAL_HAM_SHORT(-0.82)[-0.818]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+a:mail2.pluspunkthosting.de]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:16188, ipnet:217.29.32.0/20, country:DE]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[hausen.com]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4RrkdJ6lGjz3VSF HI all, > Am 21.09.2023 um 06:09 schrieb Mark Millard : > sysctl -b hw.fdt.dtb | dtc -I dtb -s > current_sorted.dts Without the explicit "force_mac_address" line I find this in the output: ----------------- aliases { i2c_arm =3D "/soc/i2c@7e804000"; i2c =3D "/soc/i2c@7e804000"; i2c_vc =3D "/soc/i2c0mux/i2c@0"; serial0 =3D "/soc/serial@7e201000"; serial1 =3D "/soc/serial@7e215040"; aux =3D "/soc/aux@7e215000"; sound =3D "/soc/sound"; soc =3D "/soc"; dma =3D "/soc/dma@7e007000"; intc =3D "/soc/interrupt-controller@7e00b200"; watchdog =3D "/soc/watchdog@7e100000"; random =3D "/soc/rng@7e104000"; mailbox =3D "/soc/mailbox@7e00b880"; gpio =3D "/soc/gpio@7e200000"; uart0 =3D "/soc/serial@7e201000"; uart1 =3D "/soc/serial@7e215040"; sdhost =3D "/soc/mmc@7e202000"; mmc =3D "/soc/mmc@7e300000"; mmc1 =3D "/soc/mmc@7e300000"; mmc0 =3D "/soc/mmc@7e202000"; i2s =3D "/soc/i2s@7e203000"; i2c0 =3D "/soc/i2c0mux/i2c@0"; i2c1 =3D "/soc/i2c@7e804000"; i2c10 =3D "/soc/i2c0mux/i2c@1"; spi0 =3D "/soc/spi@7e204000"; spi1 =3D "/soc/spi@7e215080"; spi2 =3D "/soc/spi@7e2150c0"; usb =3D "/soc/usb@7e980000"; leds =3D "/leds"; fb =3D "/soc/fb"; thermal =3D "/soc/thermal@7e212000"; axiperf =3D "/soc/axiperf"; i2c2 =3D "/soc/i2c@7e805000"; }; chosen { fixup-applied; u-boot,version =3D "2023.07.02"; user-warnings =3D [64 74 65 72 72 6f 72 3a 20 63 61 6e = 27 74 20 66 69 6e 64 20 73 79 6d 62 6f 6c 20 27 75 61 72 74 30 5f 70 69 = 6e 73 27 0a 46 61 69 6c 65 64 20 74 6f 20 72 65 73 6f 6c 76 65 20 6f 76 = 65 72 6c 61 79 20 27 64 69 73 61 62 6c 65 2d 62 74 27 0a]; rng-seed =3D <0x17f7438c 0x2ab979c8 0xc4352759 = 0x305da3e8 0x4304ea0a 0x6ce10bfb 0xa633ae6 0xcada5dfc 0x854eeecb 0x925b 1f20 0x12bdb423 0x1ebbf917 0x4b434ef3 0x21939e04 0x4ee3dcc7 0xe3f5af57>; kaslr-seed =3D <0x64f204d4 0x19ed2123>; os_prefix; overlay_prefix =3D [6f 76 65 72 6c 61 79 73 2f]; rpi-boardrev-ext =3D <0x0>; log =3D <0x3ff80000 0x7ffe0>; bootargs =3D "coherent_pool=3D1M = snd_bcm2835.enable_headphones=3D0 snd_bcm2835.enable_hdmi=3D1 = bcm2708_fb.fbwidth=3D656 bcm2708_fb.fbheight=3D416 bcm2708_fb.fbswap=3D1 = smsc95xx.macaddr=3DB8:27:EB:09:CB:7D vc_mem.mem_base=3D0x3ec00000 = vc_mem.mem_size=3D0x40000000 force_mac_address=3Db8:27:eb:09:cb:7d"; phandle =3D <0x2f>; bootloader { boot-mode =3D <0x1>; tryboot =3D <0x0>; rsts =3D <0x1000>; partition =3D <0x0>; }; }; ----------------- The MAC address shown in the "bootargs" line is matching the serial = number of the CM. What now? Kind regards, Patrick=