From nobody Wed Dec 25 02:51:37 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1512453449998420.5126776668129; Mon, 4 Dec 2017 21:57:29 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 5CF5120356263; Mon, 4 Dec 2017 21:52:58 -0800 (PST) Received: from mail-lf0-x244.google.com (mail-lf0-x244.google.com [IPv6:2a00:1450:4010:c07::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5986B2035624D for ; Mon, 4 Dec 2017 21:52:56 -0800 (PST) Received: by mail-lf0-x244.google.com with SMTP id l81so21842369lfl.6 for ; Mon, 04 Dec 2017 21:57:26 -0800 (PST) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id t80sm1033671lfe.26.2017.12.04.21.57.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Dec 2017 21:57:23 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::244; helo=mail-lf0-x244.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Ps5Eq3+eotZsZAH4oCHVdOrhewNyhSJcOab+9TCqly4=; b=O0kCDMaGLE0RYMsFYXmREOOI2/MmxA3TBLwJEubSj8wzmDOfH3NSYH7nAT9rGf3qLO O+H9ONQbut+ZJdlL3/aZbC3EK4h2dD7Y0xZhMoLc7vdDPWJ2Yj7oAAVuX54upCCUEoDi UyOMrsIEaefLt2yqI9LijDwGzoDWnJsDMVgHOFZNR0uWiSp7H+KWM0cmkH/Nq27NZS+2 6kgD/qgYyo79M/efSFOE1wIighCpmdkqEPR/2aQauf7ghrzX/rMtYvk2z0WeOrWvf8f2 4AQAkpKLZS3rnTDLCZMOGM72RmH2dJleO6AdzRnkzNiYXtiCgufMJYF92o0FFIFbjuVP iFyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Ps5Eq3+eotZsZAH4oCHVdOrhewNyhSJcOab+9TCqly4=; b=Qj8mMz4Hov9ou3HFEH+N5nQ+MiKklPlyemfAVHymgUemefzDGBK/8SIJtbrqQO1ekM GGcC0LEC48bHYqaKoWO0aIExyR4mpps/yknujnFK9nX8zXFwx6X4xTeAF4uh2Y1jhSZJ yhpkh0rDmpoY1KpIh3KlvTz1yLlFutowywUa/jTBNdhgldesq5K3LpV5XfQ6G0lZMCc5 w9hxwFPhpxaxWsN2TBCGPZJeV4Kc0AGE2a45NKm/G0GuH5ozyzjakiZpOxbOxWeoKtJR YsLIfqeJO471CAfBnRkYRP+953tOjHpgIoAUyVlSviSGOI32Nxl0LPRRk49QdwsQarcC ujrA== X-Gm-Message-State: AJaThX40DbrND59t03x2H4hGhs05WwAu9dfSlWBA6fwgP6IU4HIXxylt ZCiygb6RN3KJemQcTDGaqU6wNlYShrI= X-Google-Smtp-Source: AGs4zMZ1FdffRsjdwuBScLOdLFZDYgtPPUq5e+pB5QVozRNMW4SVx51uvI8Yw+0y7QI4g10yavoqww== X-Received: by 10.46.20.83 with SMTP id 19mr10641057lju.23.1512453444812; Mon, 04 Dec 2017 21:57:24 -0800 (PST) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Tue, 5 Dec 2017 06:57:02 +0100 Message-Id: <1512453425-25446-2-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512453425-25446-1-git-send-email-mw@semihalf.com> References: <1512453425-25446-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v3 1/4] Marvell/Armada: Switch to dynamic tftp command X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" After removal of the tftp library in EDK2, the tftp was disabled on Armada platform. Re-enable this functionality as a dynamic command on Armada 70x0 DB board. For this purpose add it as an option, depending on a new INCLUDE_TFTP_COMMAND parameter, which can be passed in the command line during build time. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Armada/Armada.dsc.inc | 4 ++++ Platform/Marvell/Armada/Armada70x0.fdf | 3 +++ 2 files changed, 7 insertions(+) diff --git a/Platform/Marvell/Armada/Armada.dsc.inc b/Platform/Marvell/Arma= da/Armada.dsc.inc index 2a8a226..6040493 100644 --- a/Platform/Marvell/Armada/Armada.dsc.inc +++ b/Platform/Marvell/Armada/Armada.dsc.inc @@ -525,6 +525,10 @@ gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000 } =20 +!ifdef $(INCLUDE_TFTP_COMMAND) + ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf +!endif #$(INCLUDE_TFTP_COMMAND) + [BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,B= uildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICA= TION] GCC:*_*_*_DLINK_FLAGS =3D -z common-page-size=3D0x1000 =20 diff --git a/Platform/Marvell/Armada/Armada70x0.fdf b/Platform/Marvell/Arma= da/Armada70x0.fdf index ca92c60..c03bc42 100644 --- a/Platform/Marvell/Armada/Armada70x0.fdf +++ b/Platform/Marvell/Armada/Armada70x0.fdf @@ -176,6 +176,9 @@ FvNameGuid =3D 5eda4200-2c5f-43cb-9da3-0baf74b1= b30c =20 # UEFI application (Shell Embedded Boot Loader) INF ShellPkg/Application/Shell/Shell.inf +!ifdef $(INCLUDE_TFTP_COMMAND) + INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf +!endif #$(INCLUDE_TFTP_COMMAND) =20 # Bds INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel