From patchwork Tue May 16 17:50:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 99889 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp2176851qge; Tue, 16 May 2017 12:24:09 -0700 (PDT) X-Received: by 10.80.148.52 with SMTP id p49mr201441eda.2.1494962649314; Tue, 16 May 2017 12:24:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494962649; cv=none; d=google.com; s=arc-20160816; b=Nz/qpy06sAg8dJRoV6kxAoZDwHASEe4y+c73eq0hspEOeOuQNzyRmLqqrjkcEcvuPe yMsQQDdE1RZj9f3EA4oCWFBvDesMm4wu5jY0JmvW6Hs+SyCJkim3VJQCtK16buFfcAcT Y73O9vBokbub3fAYUmnv/W5GE6yBpeE7+IAu9iwYc12nvNuIyEEmZHTuMk/OjSHFthja 0IClncHPPdnpTp5OgdreDoGyPMLuVQTxUQcRQDWxqbaCdq0Y+p5ZXTofjoz1D3XvPIPC o/v2VCh7DL0wp46vRZZdJEmiJEJ9eExhAvEwNPCqDkuXlBP/AgLzDsPn66JzT3gRYNIa f0Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:dkim-signature :arc-authentication-results; bh=846g3dcxz8eIuqX3JYtGccCnJ4rxsPn+D8Q6nIfpi2w=; b=R3bIDRrFPe2D5F8paH+P27VI48yo7ry7xJmDGnqvBk+leu8zuApI4ZYq0psFp44SYM GRBv9nHeMqNwFL4YlDtVdw2tP323EIu+HllVf4surrzK7InPQM3k2YV164+udJPs53kj JK00X2/D+nbWlWNvfMr0N+yIO/Z2irkz2Vc/qVxzlJC+VDy+muT7+nkwSAOduwDAroxr H3zXVS5lW098eVyZTI2DKF7RdQNjHyMDALBkNXKTGfp9BWihZ9Gwsog6jtvy5V+hrwtl LPmJbTt/ZyuSuQX/xxjByJDxtURKapXv/VbD7yiBqbs3zYc7oGZtcq8aPvRStd/SCe8e hfVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id o2si130980edd.229.2017.05.16.12.24.09; Tue, 16 May 2017 12:24:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: by lists.denx.de (Postfix, from userid 105) id A7F1DC21F85; Tue, 16 May 2017 18:43:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 788FDC21E92; Tue, 16 May 2017 18:42:48 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A9B4EC21D88; Tue, 16 May 2017 17:54:37 +0000 (UTC) Received: from lelnx193.ext.ti.com (lelnx193.ext.ti.com [198.47.27.77]) by lists.denx.de (Postfix) with ESMTPS id 136EDC21DD3 for ; Tue, 16 May 2017 17:50:32 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id v4GHoPYe001093; Tue, 16 May 2017 12:50:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1494957025; bh=nG1qaNpNWcNAFLmYNGFJNoCTaPcbW3ZKRnTkRl6UVYI=; h=From:To:CC:Subject:Date; b=LS6FXIwXdfbqR4drlot8teqhBLWRdDc55QhlrHEpYk+faJ4XbOiOLfcrR9AnUzwow M4sKDB5gz3EpBkGdoY4namOsrkaKV2daR9/03OaZHdZ2hWzT8A12OjfLjRYrgWnoop rmwRRarSHKh5uNUOrFt4+bMZJK5hSKi3a8DEjBNY= Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v4GHoOlV024909; Tue, 16 May 2017 12:50:25 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.294.0; Tue, 16 May 2017 12:50:24 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v4GHoOAY023137; Tue, 16 May 2017 12:50:24 -0500 Received: from localhost (irmo.dhcp.ti.com [128.247.58.167]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id v4GHoO326580; Tue, 16 May 2017 12:50:24 -0500 (CDT) From: Suman Anna To: Peter Howard , Tom Rini Date: Tue, 16 May 2017 12:50:18 -0500 Message-ID: <20170516175018.30220-1-s-anna@ti.com> X-Mailer: git-send-email 2.12.0 MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH] configs: davinci: omapl138_lcdk: add random eth address support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Any TFTP or DHCP boot on the Davinci OMAP-L138 LCDK board requires that the 'ethaddr' variable be defined. There are no e-fuses to store the ethernet mac address for this platform, and neither is a MAC address reserved in any format. So enable random MAC address support so that networking boot can be supported. Signed-off-by: Suman Anna Reviewed-by: Tom Rini Reviewed-by: Lokesh Vutla --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig index 0629f9636fd4..23fe084e5476 100644 --- a/configs/omapl138_lcdk_defconfig +++ b/configs/omapl138_lcdk_defconfig @@ -21,6 +21,7 @@ CONFIG_HUSH_PARSER=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_DIAG=y CONFIG_CMD_UBI=y +CONFIG_NET_RANDOM_ETHADDR=y CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y CONFIG_SYS_NAND_U_BOOT_OFFS=0x28000 CONFIG_SPI_FLASH=y