From nobody Mon May 6 16:24:17 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+49232+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+49232+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1571402505; cv=none; d=zoho.com; s=zohoarc; b=fyu08i1ybr25A8KJ1y9swbd7rDxUoqJm5cPDZitxT1W/9KcD61nbyIuQpk74vQzsOUQtqdd9a/c9tqE9PRYxi2LnP9RQuqqa9Wx9XIIdqbQGroWiXKg5/hkt5walFyHYSFEM/hAy4ZR61hCiOFsVo0YnrHkBICx8DfxfMKwUe34= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571402505; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=nKXmqEB+7VZ1Lr5ITxrx3oRnivk8GCezfx4lm1gxUs8=; b=VmsEXx498b/oirk5l23FbCCZCZV+geh65n7t1fzEJRdHu5a9dZjg+ji2eKX6VISkb1ITeLrSd26oAyF8Gi11UnvgNlw83kETP4+ZLu5n9Zcobq0EG/O9pNl8aM1YcTdCqa2qyJmZB/KgfI7fvPOgvYuu1k+wWon6QN2X1NuwyZI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+49232+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1571402505888512.34498267734; Fri, 18 Oct 2019 05:41:45 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id a0ZKYY1788612xXyLL7iEve1; Fri, 18 Oct 2019 05:41:45 -0700 X-Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mx.groups.io with SMTP id smtpd.web10.5246.1571402504261652004 for ; Fri, 18 Oct 2019 05:41:44 -0700 X-Received: by mail-wr1-f46.google.com with SMTP id b9so6128700wrs.0 for ; Fri, 18 Oct 2019 05:41:44 -0700 (PDT) X-Gm-Message-State: JwL7I42QF0fp4pUGC4HrvsZ6x1787277AA= X-Google-Smtp-Source: APXvYqyfHwtWu0vnOYPpzmATzgHAzIg3nce1hPeAFjTeefLoTkGWnZ1O8cFI8WwSU1lkRPPTrx2qrg== X-Received: by 2002:a5d:4808:: with SMTP id l8mr7526592wrq.118.1571402502549; Fri, 18 Oct 2019 05:41:42 -0700 (PDT) X-Received: from localhost.localdomain ([84.203.68.221]) by smtp.gmail.com with ESMTPSA id m18sm6091941wrg.97.2019.10.18.05.41.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Oct 2019 05:41:41 -0700 (PDT) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org Subject: [edk2-devel] [edk2-platforms][PATCH v2 1/1] Platform/RPi3: Add TFTP command to UEFI Shell Date: Fri, 18 Oct 2019 13:41:30 +0100 Message-Id: <20191018124130.8456-2-pete@akeo.ie> In-Reply-To: <20191018124130.8456-1-pete@akeo.ie> References: <20191018124130.8456-1-pete@akeo.ie> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pete@akeo.ie Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1571402505; bh=k2PIN5PEsV+0G/GLpdgU0/uO0CCoNar1uy3rYWXLn3Y=; h=Cc:Date:From:Reply-To:Subject:To; b=CeR4IO++x4FTFhlOXOmbdFZlNDJbYQXkMzah4KEU+JiEXX3Rodx2tfChsbSHN3/sSm5 zU/Z3fkHqbushNX/AymJ8yhoGn7h6KZEkacdSAbDBHMQB+N5nuCMiiPUEE97yR41J4Tm8 fe/TtbVM+gq4EL8Fwf5g15rc5nKAudyt1q4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" TFTP support, which is enabled by default, can be disabled by setting INCLUDE_TFTP_COMMAND to FALSE. Signed-off-by: Pete Batard Reviewed-by: Leif Lindholm Reviewed-by: Philippe Mathieu-Daude --- Platform/RaspberryPi/RPi3/RPi3.dsc | 8 ++++++++ Platform/RaspberryPi/RPi3/RPi3.fdf | 3 +++ 2 files changed, 11 insertions(+) diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3= /RPi3.dsc index bc424a06bb45..2289ad8c2ed2 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.dsc +++ b/Platform/RaspberryPi/RPi3/RPi3.dsc @@ -36,6 +36,7 @@ [Defines] # -D FLAG=3DVALUE # DEFINE SECURE_BOOT_ENABLE =3D FALSE + DEFINE INCLUDE_TFTP_COMMAND =3D TRUE DEFINE DEBUG_PRINT_ERROR_LEVEL =3D 0x8000004F =20 ##########################################################################= ###### @@ -181,6 +182,10 @@ [LibraryClasses.common.DXE_DRIVER] SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.= inf MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf +!if $(INCLUDE_TFTP_COMMAND) =3D=3D TRUE + ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf + FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf +!endif =20 [LibraryClasses.common.UEFI_APPLICATION] PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.= inf @@ -616,3 +621,6 @@ [Components.common] gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x200000 } +!if $(INCLUDE_TFTP_COMMAND) =3D=3D TRUE + ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf +!endif diff --git a/Platform/RaspberryPi/RPi3/RPi3.fdf b/Platform/RaspberryPi/RPi3= /RPi3.fdf index 17c0094ac1cf..b06a15fb8ec3 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.fdf +++ b/Platform/RaspberryPi/RPi3/RPi3.fdf @@ -232,6 +232,9 @@ [FV.FvMain] # UEFI application (Shell Embedded Boot Loader) # INF ShellPkg/Application/Shell/Shell.inf +!if $(INCLUDE_TFTP_COMMAND) =3D=3D TRUE + INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf +!endif =20 # # ACPI Support --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#49232): https://edk2.groups.io/g/devel/message/49232 Mute This Topic: https://groups.io/mt/35014112/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-