From nobody Wed Sep 20 19:05:53 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 4RrSg15HYcz4v31h for ; Wed, 20 Sep 2023 19:06:05 +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 4RrSg133QSz3Ylr for ; Wed, 20 Sep 2023 19:06:05 +0000 (UTC) (envelope-from pmh@hausen.com) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (87.138.185.145) by mail2.pluspunkthosting.de (Axigen) with (ECDHE-RSA-AES256-GCM-SHA384 encrypted) ESMTPSA id 20B9E9; Wed, 20 Sep 2023 21:06:03 +0200 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 16.0 \(3731.700.6\)) Subject: Re: Getting a stable MAC address for a RPI CM3+ with ue0 interface From: "Patrick M. Hausen" In-Reply-To: <77E70D30-8E7D-42DC-A041-3A783E1C6908@yahoo.com> Date: Wed, 20 Sep 2023 21:05:53 +0200 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <5205C76E-BAB4-4AB7-8A03-1E8A2D4353BB@hausen.com> References: <3C1032FF-B914-4863-8A03-759A8B4BE216@hausen.com> <77E70D30-8E7D-42DC-A041-3A783E1C6908@yahoo.com> To: Mark Millard X-Mailer: Apple Mail (2.3731.700.6) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16188, ipnet:217.29.32.0/20, country:DE] X-Rspamd-Queue-Id: 4RrSg133QSz3Ylr Hi! > Am 20.09.2023 um 20:25 schrieb Mark Millard : > Quoting a post from a "Raspberry Pi Engineer & Forum Moderator" > (PhilE) from https://forums.raspberrypi.com/viewtopic.php?t=3D327562 : >=20 > QUOTE > Re: /boot/cmdline.txt help > Thu Jan 13, 2022 8:35 am >=20 > And on all Pis you can use the config.txt setting "force_mac_address": >=20 > force_mac_address=3Daa:bb:cc:dd:ee:ff > END QUOTE >=20 > That makes the live dtb match and is the earliest assignment > available, before any external visability. No worky. root@generic:~ # ifconfig ue0 ue0: flags=3D1008843 = metric 0 mtu 1500 options=3D80009 ether 5e:2f:31:ef:bc:b4 root@generic:~ # cat /boot/efi/config.txt=20 [all] arm_64bit=3D1 dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don dtoverlay=3Dmmc dtoverlay=3Ddisable-bt device_tree_address=3D0x4000 kernel=3Du-boot.bin force_mac_address=3Db8:27:eb:09:cb:7d In that thread you cited PhilE also wrote: > With the right overlay and a supporting Ethernet driver it could be = made to change the MAC address of any > single interface - it depends on where the ethernet0 alias points to. So do we possibly not have the "right overlay and supporting Ethernet = driver"? I'll go with static configuration for now to get this puppy up and = running - still very interested in a proper solution. Kind regards, Patrick=