From nobody Wed Jul 06 01:00:55 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 71BD71D0FD76 for ; Wed, 6 Jul 2022 01:01:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ld1Sd1sbnz4vCx for ; Wed, 6 Jul 2022 01:01:05 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657069258; bh=5ISKKCAJfrJoqKHGgAdl0GoguBklCUxsmfiNTvXICRs=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=eat/H+B4jTxmaz4VcZoyMrxcCVKPRp/erMXSuaa+hdygoB+YrfJNClAX+mKHlrtUM5fS93jEQ4hkmJvbvUAcgiK9qX5MwPqFxeimFuClEFMS3xnmfvrDOq76TXFY7kQutrRaFX5k2w0VlC4VXEnMU+CGErZjFAHLLCErBcm0ZhRu3SmTe12rofjE7C8GXtwGcHCnrWbFW/tkI/OnraAC7BRytf2hn91rQ7Xe3X0vEiHaT4dZIGOeMGpq0tVcQw6ce+OiqYhzMjeZKpsGfQmCR1kIFN09ySYTNFPb2HBL+2AcdLH30Yfc4TUvdAmv2nD+UySXanemeQFw+meCCqLAbQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657069258; bh=ral66P6gZRzS37YOJAdJj8+wGVqvou/Y5G4NmZTsrG/=; h=X-Sonic-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ih8UVUMjK_rPBtAUPaGOgOvu3NQjzMwO3eNS.LNHz3LGDABOlaqyNxVlV3 OBu19Di23H6HH6GEFs6goOapljtbyxo_oVYtyhXENukvo2DTqJTw2f2lTsObkalp76YHwBMMjiTO 7.FbVf0SC0Y__XTU0fYMY0CHM1q7AuNMirt1a1NoMcTVH_POCe2LwMB5an_Q8jdFL0IWQBVgD5Ni UTTqlpVwQ0Br.3cihPlmkVpz2SpUjp4yEPMbOMrAOtV5I64HhiTfnQjtMltuSA8lcmSLiFuh.9Yk ZFjHd5y4BYWCLCls_U4Ii_BuIS6cgwtfL5XlK1ACjHi_qaUiHB.hM7gy4gbYfdHgez9bjCQNivP3 _JJ1DPunyXFpAkuH_Lw2rZfxXtKCFoDqlktKczT2I4RZkWGVy7wGEXALifZaWwBX23xwP1n8uJSV Wu5UxjhA0Y6xzpcYhKjmutBWXWYoCaMC6zG_iV9Shep0GMCson7n3__YWQu_5UbOf.GjL8u3494q b4r6B1cNElwnlYAoEM9c6pr3vpvd9mCIP0AdjivHo3XBCQxfR2zSu171f_PMJ9Pd3BPZwZS2M1Qn xoJM- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Wed, 6 Jul 2022 01:00:58 +0000 Received: by hermes--production-gq1-56bb98dbc7-sdpv4 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 57bdd805573f9bb2f6057a83cab1a0fc; Wed, 06 Jul 2022 01:00:55 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 14.0 \(3654.120.0.1.13\)) Subject: Re: 13.1R problems on Pi3 From: Mark Millard In-Reply-To: <20220706002754.GB9228@www.zefox.net> Date: Tue, 5 Jul 2022 18:00:55 -0700 Cc: Karl Denninger , freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <996A34D9-DF3F-4CBD-A69F-1E9840C56381@yahoo.com> References: <20220704003639.GA1165@www.zefox.net> <8820A9EC-A25E-4D0A-9F8F-52114E58B66F@yahoo.com> <6c377413-9430-54d2-3f92-1215055ca30a@denninger.net> <20220704152834.GA1771@www.zefox.net> <7ce87eef-ded5-8b00-3f11-14407b8af78d@denninger.net> <20220704182526.GB1771@www.zefox.net> <212C86C0-17DB-45F5-A59D-8BDC1932378E@yahoo.com> <8755F460-D5A5-4ED1-857F-37B894A9B875@yahoo.com> <20220706002754.GB9228@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Ld1Sd1sbnz4vCx X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="eat/H+B4"; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-1.85 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.65)[0.652]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; BLOCKLISTDE_FAIL(0.00)[98.137.64.84:server fail]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.84:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.84:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Jul-5, at 17:27, bob prohaska wrote: > On Mon, Jul 04, 2022 at 01:29:59PM -0700, Mark Millard wrote: >> [This ends with a possible config.txt way to control the >> default Ether MAC address used, independent of which OS >> happens to be running. Possibly better than using the >> only-FreeBSD technique.] >> >> >> Did you get the two RPi3*'s in the same purchase? Ending up with >> 2 that both happen to have b8:27:eb:71:46:4e seems odd unless >> possibly the means of setting the values at the factory was >> not varying the values like it should in some production lot (or >> over some range of lots). Independent purchases at different >> times would make it seem even odder. >> > Oddness won this round. They were bought in 2016 and 2018 Wow. Technically that means the two RPi3* serial numbers should be of the pattern: ??:71:46:4e with the ?? part being different. (I might have the ordering wrong.) Such matches is part of why the RPi4B's no longer use part of the serial number to form the MAC address. >> >> >> I've found references to an undocumented control in config.txt : >> >> force_mac_address=??:??:??:??:??:?? >> >> See, for example, https://forums.raspberrypi.com/viewtopic.php?t=327562 >> >> Apparently, force_mac_address controls what value shows up in >> the device tree for what the ethernet0 alias points to in the >> device tree. >> >> Note that having a odd .dtb file could lead to force_mac_address >> not working. (The RPi* firmware reads the file and then makes >> a device tree with some modifications applied.) >> > > With the files on the 13.1R image force_mac_address seems to work. > Cool. One advantage of force_mac_address is that all activity gets the address assigned. Doing such assignment just in FreeBSD's /etc/rc.conf means that any Ethernet activity from any of the below would use the bad MAC address for the machine: RPi* EEPROM/firmware U-Boot or EDK2 UEFI/ACPI FreeBSD loader It is definitely the kind of assignment where earlier is better. That makes the force_mac_address in config.txt for the RPi* firmware to use the best place: everything later uses the definition as well. === Mark Millard marklmi at yahoo.com