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 C1771C433EF for ; Tue, 16 Nov 2021 13:33:15 +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 EACA661B44 for ; Tue, 16 Nov 2021 13:33:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EACA661B44 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 2625A83910; Tue, 16 Nov 2021 14:33:13 +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=1637069593; bh=/yKUWD+Jk4rbAj3e88L+MYlv7ldT7olyBQ6pD+qD8eE=; h=To:cc:From:Subject:In-reply-to:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=z4Xe62wjOqUYxcTIfCtQWljctA/kyHuvyz6KlDGhlsZF1yG4T8E7fdLwujjTEV+cL OLMaDFLYnCOc8Idtvc4FLZXrGATJ9/sNJIt9ScB+oTeUHC+iOno+xMD9F9IDoehd0w faYBvuph3llMQqUpNNRoTmQLdp0bHODQVOe4qX2hWDtl9GgBj4cAuTG5sRhJLY9ldG OevOK3XFHfv58sHUkbAvburW662jWOlSRNe2lURT1EjPM4P5AgTowvTCHZynbz6huQ OjSm5gOhAFSZwAYckzKp9pnb2rzXAt1qGfyR9oFN94lQWFnmRj0eLU/WJQ6nYNyO5H mloikApvjNGxw== 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 5BE908390A for ; Tue, 16 Nov 2021 14:33:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1637069591; bh=/yKUWD+Jk4rbAj3e88L+MYlv7ldT7olyBQ6pD+qD8eE=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=iO18Rkc5BFH6wiVec76iEHeO/EVQA522BMByHStGm9Fa/j2DCYXwdsuQVN4t/K3OM Hz4kz1FOoFSXqdQ+I3WuUD2an9wWBu3KoTfOFjGbY9/XRrodl5or1x7jOzSB4b3LQF K3enoViDopq8EVAkJNw3lxefhc36UwFXzePI3q5Kg9DKi+FlUMDhp4yybzUtsfXIWX vQ4VkkQSEXTfYILk/yvYFivDatEszPQvhCCvTOw50UBSGPm2raDqbII7cjpQvkdPzw imYfmV2zxmmVqhtoYlBNs5dKjpXglJ0AVkjiembrEllph6xaWnkxNksaflJavV3dFt l4nQ2qPipNkFw== Received: by janitor.denx.de (Postfix, from userid 108) id AC3D2A0281; Tue, 16 Nov 2021 14:33:10 +0100 (CET) Received: from gemini.denx.de (gemini.denx.de [10.4.0.2]) by janitor.denx.de (Postfix) with ESMTPS id 42D83A005E; Tue, 16 Nov 2021 14:33:02 +0100 (CET) Received: from gemini.denx.de (localhost [IPv6:::1]) by gemini.denx.de (Postfix) with ESMTP id E3AFA1E0CB7; Tue, 16 Nov 2021 14:33:01 +0100 (CET) To: Ramon Fried cc: Marek Vasut , Michael Walle , U-Boot Mailing List , Grygorii Strashko , Michal Simek , fried.dev@gmail.com, Joe Hershberger , Simon Glass , Tom Rini 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: 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> <1649428.1636989301@gemini.denx.de> <3dd9bee3879377db10e3398ab7aeb46c@walle.cc> Comments: In-reply-to Ramon Fried message dated "Tue, 16 Nov 2021 08:14:09 +0200." Date: Tue, 16 Nov 2021 14:33:01 +0100 Message-ID: <1732641.1637069581@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 Ramon, 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. 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. > Mark and I already provided work around for Michael to delete the > environment variable before he boots. or implement the necessary OTP > driver in U-Boot. As Marek pointed out, in this specific case it would be best to provide such a driver. > From my end, I think we can conclude the discussion. ACK. Thanks. 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 My challenge to the goto-less programmer is to recode tcp_input() without any gotos ... without any loss of efficiency (there has to be a catch). - W. R. Stevens