From patchwork Thu Jun 17 05:05:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinuvasan Arjunan X-Patchwork-Id: 1493858 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G5WgR0Cfyz9sT6 for ; Fri, 18 Jun 2021 05:04:02 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8AC8A82BB0; Thu, 17 Jun 2021 21:03:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=mentor.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 36EA880D17; Thu, 17 Jun 2021 07:05:34 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F41D480772 for ; Thu, 17 Jun 2021 07:05:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=mentor.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Srinuvasan_A@mentor.com IronPort-SDR: jTougTQal7Kh99MGyJy9w1GkOrYWyD1t9FUDa7Sx3DLbTZ6d7aYRkXhGdIjMLAyKPaZe/fgvPX lRsBpCuVwZAfHqJH1ZmU/61g9VMrPrKCL+baiN6Yj19uJSW0gr2DRnpKomHfAMHLhQ+KPM93Jp wJg/xurCL7a2NAjYjbjKJUym94IXsOUU5/QnJq6Tp2o829CDITpVYOS0sDHeIaNgddVTeW06Sf 4g+QMr33G2aMtvXIV7Ye2CEy2FQO7onofc28o6kxKmD/d7HNEafIz42i3FSLMZNyukLsedELhE jBM= X-IronPort-AV: E=Sophos;i="5.83,278,1616486400"; d="scan'208";a="64914491" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 16 Jun 2021 21:05:28 -0800 IronPort-SDR: 1EWs647QuT3YIsc/cDRN3yv+FnnpDr9Kxm3wEMBxxCM/MZqzXHdJLEznWdL7YqRxEgZ6G0iJkq CAl3nlvrItGKzobDeq+P/X3JafYLQeqOCopgEI+ZF2sAYggb/8wKklsP/oUr1g7QalGhumGjhm +OFgB2HqWz8aE0wecv0VVlKnQAaE9avVQRXSqz4tTf1RvJ1hJ94kbBQdZeNNUeCVNNTPD0wIph 1M5IUyJCW7Jz4IyUPbM4Ooc5q9NgPOyo30tEJZoaZkrwR7PT54As4IPJ0gNsstzZEGIK4LLy6J FJ0= From: Srinuvasan A To: CC: Srinuvasan A Subject: [PATCH] socfpga_de0_nano_soc: enable CONFIG_NET_RANDOM_ETHADDR Date: Thu, 17 Jun 2021 10:35:05 +0530 Message-ID: <20210617050505.2034015-1-Srinuvasan_A@mentor.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-ClientProxiedBy: SVR-ORW-MBX-05.mgc.mentorg.com (147.34.90.205) To svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) X-Mailman-Approved-At: Thu, 17 Jun 2021 21:03:39 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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 Ethernet failed to work if ethaddr is empty when Ethernet driver is probed. Setting ethaddr in Uboot command prompt can't solve this. Enable random ethaddr to solve it Signed-off-by: Srinuvasan A --- configs/socfpga_de0_nano_soc_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/socfpga_de0_nano_soc_defconfig b/configs/socfpga_de0_nano_soc_defconfig index 53efc9f5bd..a3d26b6ad0 100644 --- a/configs/socfpga_de0_nano_soc_defconfig +++ b/configs/socfpga_de0_nano_soc_defconfig @@ -63,4 +63,5 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0525 CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_USB_GADGET_DOWNLOAD=y +CONFIG_NET_RANDOM_ETHADDR=y # CONFIG_SPL_WDT is not set