Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2056CC433F5 for ; Tue, 16 Nov 2021 14:10:49 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 83E0261BF5 for ; Tue, 16 Nov 2021 14:10:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 83E0261BF5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D51A283938; Tue, 16 Nov 2021 15:10:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="IBvfzbxe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 994928393A; Tue, 16 Nov 2021 15:10:42 +0100 (CET) Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D0D4183936 for ; Tue, 16 Nov 2021 15:10:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x730.google.com with SMTP id t83so18212914qke.8 for ; Tue, 16 Nov 2021 06:10:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=oVJmfS+m3yofcaNw00LwYgEf5P+cihIjynI+J1jrdkA=; b=IBvfzbxeqF+/hTFzRFPLc9K1UiXaPCmzwjs4zhYwnW1UqgXGY+8V7Vw+IMhYR1jIi1 JxY+rEt0Onm9iwKluN9ekWH0IbMxxivwnaZd287A79xyrCwc5esiYmBZtBRcKfvs4IYa zYGW2+8TjLc/whQWGJZOpo4TVlQ/8gxn8ugR4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=oVJmfS+m3yofcaNw00LwYgEf5P+cihIjynI+J1jrdkA=; b=KnPZgJsCAhnqog5JFSl4vvDDp3jA+xCyV6AGxMyQCS/TiVIBbc9Y2f1PaqyslxT9LM bNtGn73ExbmC/BmhvUb4LhNgVuS7IXaBbfkpXy5c7BUTX6vfggc7OW85za2Kv+BQKbGq 4qaIU4njiS3jy9ljbZpEzuEfbTuEV6xlUi/02oTHWzk8kCc2QUw1asPvCw5VJKc6XF4t uJKznJAK9ESQqu8gYigbvpkfGM+2NihnVVRG0R7J3SN9xGhk0HMVxvCdew/W3q2/Yi+9 o3GPaWuVY1WCUkAXArzPCGwAAGmDpkVzm6ha14G+MvxzdIdg+IRt30+BKuV9VBHgyRFA ZF6A== X-Gm-Message-State: AOAM530dQnfSm8dznd98WdWgCJl0amJH/xg66Y6AmEqnTKHos8cTab0G btHNwHmcCRJCm4xgaD/wNYNEJQ== X-Google-Smtp-Source: ABdhPJzEvdAGZl66XeYT/xQk3WDMcPMtxjaMgXvXX+2oR7rttw7IuA1pWXBDlnfNp2cMQ/cOAPPljg== X-Received: by 2002:a37:44e:: with SMTP id 75mr6218380qke.417.1637071833278; Tue, 16 Nov 2021 06:10:33 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-24a1-dfd8-1438-caaa.res6.spectrum.com. [2603:6081:7b01:cbda:24a1:dfd8:1438:caaa]) by smtp.gmail.com with ESMTPSA id h11sm8799033qkp.46.2021.11.16.06.10.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Nov 2021 06:10:32 -0800 (PST) Date: Tue, 16 Nov 2021 09:10:30 -0500 From: Tom Rini To: Wolfgang Denk Cc: Ramon Fried , Marek Vasut , Michael Walle , U-Boot Mailing List , Grygorii Strashko , Michal Simek , fried.dev@gmail.com, Joe Hershberger , Simon Glass Subject: Re: [PATCH RFC] cmd: fix net list command Message-ID: <20211116141030.GC24579@bill-the-cat> References: <257391f0-9d69-62cc-2353-8f4fc0751d7d@denx.de> <1646331.1636986670@gemini.denx.de> <1649428.1636989301@gemini.denx.de> <3dd9bee3879377db10e3398ab7aeb46c@walle.cc> <1732641.1637069581@gemini.denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tCGPKzauxhvk96xu" Content-Disposition: inline In-Reply-To: <1732641.1637069581@gemini.denx.de> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --tCGPKzauxhvk96xu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 16, 2021 at 02:33:01PM +0100, Wolfgang Denk wrote: > Dear Ramon, >=20 > In message you wrote: > > > > It appears that Michael has some board and a scenario that *this* bug > > was working for his best interest, where he can have two distinct MAC > > addresses, one in U-boot and one in Linux. >=20 > If the Linux environment is supposed to be a specific MAC address > (which may be different from the one passed by U-Boot), then there > are standard tools available to set the address. I don't see a > problem here. One thing I'm not totally sure on yet is, looking at the README I see: "If Ethernet drivers implement the 'write_hwaddr' function, valid MAC addresses will be programmed into hardware as part of the initialization process. This may be skipped by setting the appropriate 'ethmacskip' environment variable. The naming convention is as follows: "ethmacskip" (=3D>eth0), "eth1macskip" (=3D>eth1) etc." As I'm sure that predates device trees being used to the extent they are now, should 'ethmacskip' be involved in the "fixup the device tree" logic, and appropriate rST / Kconfig help text updated? My first reaction is that in spirit, this is how to solve Michael's use case and README / doc/README.enetaddr do not specify when/why the "also fixup the device tree if it exists" is done. --=20 Tom --tCGPKzauxhvk96xu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmGTu84ACgkQFHw5/5Y0 tyw+jQwAmyIsoSFnK/tZ23iIleJYRdhZxC6GsvLPhR5TlI2aresYd+iRjoy1sLaC hR0j4bIf5+0xAXfzAsNP7y/KHaLmcef+yfyejrx8uoyFAoJ9YtZ3FIgS57jcHqu/ V4E6w2tZ77zBiAmaZEe5GEoZnAS+vTZAEnNH9/eSoNw9YP7aHFhTQn2ANwrs0VfI HM7877wxQ+a3AUQTt2PDGKY/OzqQTSZqVwjwe2ot44ne76aPZWREIQDIFXRjvT5s Fh43IUz9UtoX8M7m+qZBGnHW5HR692GIhKHAr9x/t0iBsi5JaUxdp7k4hYO2uKno cbuxnCFT9Xp4MAPOQbegLqI2YdieuDxR3xgZHGWSiyQpKH1lqqhFe9XCC56ShdVD Ze+9WRni5/XLoVhI1cjzBBKmw5AqxVZsDF07Tr9L62qooaR/Ukge7ZsEyATh8FGv C9+qGVbx4i2JFeNq4+XpGCwikB/DhNjKxWgaCS4whsj1sgUmsBk0EY2bjsOp5ZU2 LwYoDSFv =ceXR -----END PGP SIGNATURE----- --tCGPKzauxhvk96xu--