From nobody Wed Dec 25 05:15:10 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 1512142536208395.235574307448; Fri, 1 Dec 2017 07:35:36 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 65D6D22183C95; Fri, 1 Dec 2017 07:31:08 -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 247572194BB23 for ; Fri, 1 Dec 2017 07:31:06 -0800 (PST) Received: by mail-lf0-x244.google.com with SMTP id f18so12138256lfg.8 for ; Fri, 01 Dec 2017 07:35:32 -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 t25sm1332898lja.92.2017.12.01.07.35.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 Dec 2017 07:35:29 -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=JXG1nOLSxogGpiHViXYyXOt0WdGT1ZQv/EIGK2fViqM=; b=fUCwuHLVva0uOpakVRzdUScDvECTdcndLO+EcokRX3ND+4O6dTxVNJHP0qYEM6rU14 lXajaO1rboD7Q/4D+NTm86I8xtfq6+J3GjENPZLHbNV+BPG4faVOPMHj+mwrNUkZZhpB TsEReaxAn1JsO7xvTIotrhQ+F1MLo6a5Vs/XNmt1LVqn4xww4PU7fIi+9yKsYho8qq3o TeY7YtQG9sRIuLICIq5VoES1DvQgZnWWccfRSF7bc7nonf2YYfk9RAGCh8AfnaznfWhl nv8tJF9Xskdf0KdejEmIUjMC8gOtA7tqRFzBDNa+Ea089HQlSt4faEyiADwUafl/iIKo lJug== 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=JXG1nOLSxogGpiHViXYyXOt0WdGT1ZQv/EIGK2fViqM=; b=Mqicb7bjS90iSbTadQeG5kMVs+0rB2U0BZ58flxdTjG1IDbWzUogiKp7uOQQx/eA+d 2Cu67Ofx9CaLh46O9RE8iHk/DUOt+ewQvMWspmZyKGXZNeCmwmlOMstpwPKsmgU46rSu ZKagPzt5CE4WytwUahHyftHiSEm+lfE40/LW2c0nAOWASePThAVkvOD72HXPLMOc690z EsEzRL8bdjlHWM+UAnFnzMpOjCpuUXmJ8B765ZhytALCByWG8kxNEdoqnJm4lcf5LbC6 vYrln5hkBmwnEPKng1U+Fi+wwV6xzRHiUhgfolKxUTiInfJhHUgpJGOcSiKsa9NZsTpp gPSA== X-Gm-Message-State: AJaThX5NJOnCP1svwO7q0aLUJRx8u+Uv+V/fpImbwia7mOuEiymRy38/ 9ojU9BryLaqebe4IgEGTkVpj+LJ3ic8= X-Google-Smtp-Source: AGs4zMYcGvHT7jW/D7POXO+mo9HGMVvfvPdwPBTgDhk/xBhsw0+Snow4UD4/ssr5SYu1qR5f2WTY6w== X-Received: by 10.25.15.73 with SMTP id e70mr4483780lfi.64.1512142530588; Fri, 01 Dec 2017 07:35:30 -0800 (PST) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Fri, 1 Dec 2017 16:35:04 +0100 Message-Id: <1512142507-23282-2-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512142507-23282-1-git-send-email-mw@semihalf.com> References: <1512142507-23282-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 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 a build-time selectable option, depending on a new INCLUDE_TFTP_COMMAND parameter. 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.dsc | 1 + Platform/Marvell/Armada/Armada70x0.fdf | 3 +++ 3 files changed, 8 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.dsc b/Platform/Marvell/Arma= da/Armada70x0.dsc index 8e4cdb2..4e7d43c 100644 --- a/Platform/Marvell/Armada/Armada70x0.dsc +++ b/Platform/Marvell/Armada/Armada70x0.dsc @@ -44,6 +44,7 @@ BUILD_TARGETS =3D DEBUG|RELEASE SKUID_IDENTIFIER =3D DEFAULT FLASH_DEFINITION =3D Platform/Marvell/Armada/Armada70x0.fdf + DEFINE INCLUDE_TFTP_COMMAND =3D 1 =20 !include Armada.dsc.inc =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