From mboxrd@z Thu Jan 1 00:00:00 1970 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 C40DDC433EF for ; Mon, 15 Nov 2021 15:26:08 +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 144D461B04 for ; Mon, 15 Nov 2021 15:26:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 144D461B04 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de 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 EB7D28372D; Mon, 15 Nov 2021 16:26:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1636989966; bh=NFaHYLoBFTgOy4SbFcQtvwCHD1q4A2ELhoXxM2s6KiQ=; h=To:cc:From:Subject:In-reply-to:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=u99oDhsaQcfFyxOXvYcpndgkrbP2Pbb4D0lQ7+p/XFatYPzFmPnet+zpO57b4XhDC XFfnRhXkQNFzX7gL0ULUqvqdKlCJPq2t7j5aIHMCeN263urhjY7ZKtbHU58wa9ax/E huEhs50215gJn3ExKXzTzwzKZN65vtezHKKRpZhpPPUCX+BzLBwNoYZk6348FkW6kh EsTNEJymnLfmjy+C4eggft7Fcl//8ZPMeHKwF9RCfO18TP5iA/Dz3I2XHDdvT5Vqi/ hxMR+jWsUZ2BR+ns0uGrTbNgItvLYge/BixS58Ccg7J3kZgfnJXs4pCvLuAmw/1Qg6 i2bbkJgjBRVDQ== Received: from janitor.denx.de (unknown [62.91.23.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: noc@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id E6E2E836BE for ; Mon, 15 Nov 2021 16:26:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1636989962; bh=NFaHYLoBFTgOy4SbFcQtvwCHD1q4A2ELhoXxM2s6KiQ=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=oymkHbe5ONVISd5+F7R1DazrvmYYqxA6agQqg99L5nY7mc9h7Ldq+KBL8jyL7fYZ0 Eto0PbjLCF4jEt2HEUtLWizUui0YoanfGz/sJuJ87vFzBzwlWg33oFkxoG4cPqsWXT wyh3TOk5FUeYOPJ1gg61NDs/ug3GfHc/0+treeJz2vSzLAZo07TI/j/7qbYOzwBzZH HF0FOPP5b+79bAb2QBB4SDsdrU4upctmiI1O4K8eOXLYh9v/wYtZL+fYAe7fKEd1Km GB62wAA/mOdCWl0iSU4eIpBC8pSeI3VOC/FCkilNl1rJ6JSiXUrjbJTTkj/WUEQYwS duQ31ySguG40g== Received: by janitor.denx.de (Postfix, from userid 108) id 3C191A02B9; Mon, 15 Nov 2021 16:26:02 +0100 (CET) Received: from gemini.denx.de (gemini.denx.de [10.4.0.2]) by janitor.denx.de (Postfix) with ESMTPS id B07D8A0048; Mon, 15 Nov 2021 16:25:55 +0100 (CET) Received: from gemini.denx.de (localhost [IPv6:::1]) by gemini.denx.de (Postfix) with ESMTP id 507F01E0CB7; Mon, 15 Nov 2021 16:25:55 +0100 (CET) To: Tom Rini cc: Michael Walle , Marek Vasut , u-boot@lists.denx.de, Grygorii Strashko , Michal Simek , fried.dev@gmail.com, joe.hershberger@ni.com, sjg@chromium.org From: Wolfgang Denk Subject: Re: [PATCH RFC] cmd: fix net list command MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8bit In-reply-to: <20211115151956.GN24579@bill-the-cat> References: <20211115121152.3470910-1-michael@walle.cc> <32aff992-c84b-7b71-b412-7594c2a7d20e@denx.de> <257391f0-9d69-62cc-2353-8f4fc0751d7d@denx.de> <1646331.1636986670@gemini.denx.de> <20211115151220.GM24579@bill-the-cat> <20211115151956.GN24579@bill-the-cat> Comments: In-reply-to Tom Rini message dated "Mon, 15 Nov 2021 10:19:56 -0500." Date: Mon, 15 Nov 2021 16:25:55 +0100 Message-ID: <1650296.1636989955@gemini.denx.de> 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 Dear Tom, In message <20211115151956.GN24579@bill-the-cat> you wrote: > > Well, what I mean is, where are the real MAC addresses? What is the > rationale for setting NET_RANDOM_ETHADDR? One practical use case is board provisioning in the factory, which includes setting up valid produt data like serial number, MAC address etc. Yes, this can be done over serial consone as well, but 1) this is slower than network and 2) many commecial products don't have the connector etc. populated. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de How many Unix hacks does it take to change a light bulb? Let's see, can you use a shell script for that or does it need a C program?