From owner-freebsd-arm@freebsd.org Sat Nov 26 09:21:09 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22430C57E22 for ; Sat, 26 Nov 2016 09:21:09 +0000 (UTC) (envelope-from John.Kitz@xs4all.nl) Received: from lb1-smtp-cloud2.xs4all.net (lb1-smtp-cloud2.xs4all.net [194.109.24.21]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "*.xs4all.nl", Issuer "GlobalSign Domain Validation CA - SHA256 - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BF406FCD for ; Sat, 26 Nov 2016 09:21:08 +0000 (UTC) (envelope-from John.Kitz@xs4all.nl) Received: from picard ([82.95.89.208]) by smtp-cloud2.xs4all.net with ESMTP id CZLx1u0024VixDu01ZLyjE; Sat, 26 Nov 2016 10:20:59 +0100 Reply-To: From: "John W. Kitz" To: References: <001701d245ce$e64e33f0$b2ea9bd0$@Kitz@xs4all.nl> <454137dc-30f7-cd33-6c75-0cc3045090dd@t-online.de> <002801d24755$f9017420$eb045c60$@Kitz@xs4all.nl> <177ae37f-db52-c7ee-77fa-d9bc7d61b4ee@t-online.de> In-Reply-To: <177ae37f-db52-c7ee-77fa-d9bc7d61b4ee@t-online.de> Subject: RE: How to change MAC address on RPI-B? Date: Sat, 26 Nov 2016 10:20:57 +0100 Message-ID: <000901d247c6$6a8d5670$3fa80350$@Kitz@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdJHciWcXzvHmUl5QSmiRF72AJyACgAUCP3w Content-Language: en-us X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2016 09:21:09 -0000 Reiner, My remarks are based on this example: "autoload=no ethaddr=12:34:56:78:99:aa <=== fdt_high=ffffffff serverip=192.168.1.130 bootargs=earlyprintk console=ttyS0,115200 boot_tftp=dhcp; tftp 0x46000000 arch/arm/boot/uImage; tftp 0x49000000 arch/arm/boot/dts/sun7i-a20-cubieboard2.dtb; bootm 0x46000000 - 0x49000000 uenvcmd=run boot_tftp" which I found in this http://linux-sunxi.org/UEnv.txt article and a bit of documentation that is being referred to in it, which can be found here https://www.kernel.org/doc/Documentation/kernel-parameters.txt. > So when doing so the locally administered MAC address is passed on > from uEnv.txt to the O/S during boot and is then used to override the > globally I didn't think, that it will be passed from the U-Boot Enviroment settings. You can set the MAC address, but the FreeBSD kernel shows always the unique MAC address. JKi: Please note that my remarks weren't intended to be a statement, rather a question. > unique MAC address or does the O/S check both the information found in > its configuration files and what is configured in uEnv.txt before > configuring and activating the network interface(s)? Which configuration files do you mean? AFAIK there is only the FDT blob. I guess it ignores the setting in uEnv.txt. JKi: Also please note that I have no experience using an ARM based board at this time. I've only ordered one recently. > Makes me wonder which of the two (i.e. locally administered through > uEnv.txt or locally administered through the O/S) takes precedence. Only the unique MAC address and the locally administered MAC address, will take affect. JKi: Looking at the email exchange on this topic I thought it was established previously that this can't be true. > In addition this might affect configuration decisions when one would > want to configure a device for net booting (at least when browsing > through what can be configured by means of uEnv.txt I believe that was > one of the options I > saw) through uEnv.txt? Regards, Jk.