From nobody Sat Apr 20 02:16:09 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+42028+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+42028+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1559915779; cv=none; d=zoho.com; s=zohoarc; b=C18fE6CgPdEy3CulyZR18bEsj5qN/TfIzbs53vlj8Q5VAJlc2qUJ4K9RWtQFIIA3E3Bui8JFlPwsvZOlU84p/kruFwHw4mPWkMJcOEvc8GhFEPybv/r0xDTV627X2Ayqf5rNshiFAV4O6W0cVp3JUOW7Vw96I5prnxyKCGCKgYE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559915779; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=k8JYt7Re9yOVDaag4dyZYKZ6AzEGBY20j6wKeEbToZA=; b=Qs02it4fInopxqomsmQX71DMsYVWHrA2XQMAkXE1qSUytX6JOgaHj318NabXFdGHViCDWCTWg6aV2m6iXnq9X2M1QOddt0nJSCvriL5j4Tfii1guZiU9CnKBZfNNqAO/7nGcC9RogOU5h3zEHuYPLJCo7rDOXDwVpq6QmrHfJfw= 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+42028+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1559915779203802.5037108163727; Fri, 7 Jun 2019 06:56:19 -0700 (PDT) Return-Path: X-Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) by groups.io with SMTP; Fri, 07 Jun 2019 06:56:17 -0700 X-Received: by mail-ed1-f46.google.com with SMTP id p26so3188256edr.2 for ; Fri, 07 Jun 2019 06:56:17 -0700 (PDT) X-Gm-Message-State: APjAAAVMEmCQ9fUaP5JtifkQxQ65KZEW67eRDmO/LtNRqbqf4Oyb/oIE 5Qdy49XFQEe3IVhkVNZiROJEHkYnidCuRQ== X-Google-Smtp-Source: APXvYqzUrC3d6F174bSMZX8k9UUbv/t27MJ42Uth7SuLBOCXIV9imY5Rxy8+Ozla/svbBmi+HbeULA== X-Received: by 2002:a17:906:5583:: with SMTP id y3mr31301981ejp.236.1559915775952; Fri, 07 Jun 2019 06:56:15 -0700 (PDT) X-Received: from localhost.localdomain ([84.203.79.95]) by smtp.gmail.com with ESMTPSA id f3sm378992ejo.90.2019.06.07.06.56.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Jun 2019 06:56:15 -0700 (PDT) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org Subject: [edk2-devel] [PATCH 1/2] RaspberryPi/RPi3: Enable RAM Disk Date: Fri, 7 Jun 2019 14:55:57 +0100 Message-Id: <20190607135558.2460-2-pete@akeo.ie> In-Reply-To: <20190607135558.2460-1-pete@akeo.ie> References: <20190607135558.2460-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=1559915778; bh=fZy83SgJFa8OpdJPEZcLmvPYJ9qCnK2z+w+v8b+ULgQ=; h=Cc:Date:From:Reply-To:Subject:To; b=WPdnPelIO8pe5dWr5eC6R4SCUNvPj9FVfH69uIhjbLr6cjpOMVzvzXlTNNETdKyDAv7 0X5+Yqe88/WTXmlmHDpReg3bQl2vv7gpLqyKCAwY7t10t32I8H5jZJm65ZeZfBMk48Zkt mTfeovh6gso9yG9HtCyyI6YX8r6XFDavlAw= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Also remove UsbNetworking/Ax88772b/Ax88772b.inf references since this module is no longer present. Signed-off-by: Pete Batard Reviewed-by: Leif Lindholm --- Platform/RaspberryPi/RPi3/RPi3.dsc | 6 +++++- Platform/RaspberryPi/RPi3/RPi3.fdf | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3= /RPi3.dsc index 53b87ba4e5e0..f87d06f9b080 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.dsc +++ b/Platform/RaspberryPi/RPi3/RPi3.dsc @@ -541,6 +541,11 @@ [Components.common] Platform/RaspberryPi/$(PLATFORM_NAME)/Drivers/PlatformSmbiosDxe/Platform= SmbiosDxe.inf MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf =20 + # + # RAM Disk Support + # + MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf + # # Bds # @@ -571,7 +576,6 @@ [Components.common] MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf - OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/Ax88772b.inf =20 # # SD/MMC support diff --git a/Platform/RaspberryPi/RPi3/RPi3.fdf b/Platform/RaspberryPi/RPi3= /RPi3.fdf index cf4b99a5e9b7..3bd2be314401 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.fdf +++ b/Platform/RaspberryPi/RPi3/RPi3.fdf @@ -247,6 +247,11 @@ [FV.FvMain] INF Platform/RaspberryPi/$(PLATFORM_NAME)/Drivers/PlatformSmbiosDxe/Plat= formSmbiosDxe.inf INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf =20 + # + # RAM Disk Support + # + INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf + # # Bds # @@ -289,7 +294,6 @@ [FV.FvMain] INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf - INF OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/Ax88772b.inf =20 # # SD/MMC 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 (#42028): https://edk2.groups.io/g/devel/message/42028 Mute This Topic: https://groups.io/mt/31974934/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- From nobody Sat Apr 20 02:16:09 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+42029+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+42029+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1559915780; cv=none; d=zoho.com; s=zohoarc; b=gHHdosEAaNUDgbZcyRtpXJnWmAoq7F2c2Wao2Y4SKMQosvOACMWzODOmXZn/dDNEFO8IfHmw0WOeuAgCPu2OD30xpuFudOpkdGhKt6jfT94IcF/IC6hoh92Rue4JvhctXXvRpSoHvoQymaTG7oiNItsRr60V7Rnldc+/bVuixFI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559915780; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=7qSPZrUDRMyNPCeGZC0wKPdZMimmJ7uOhN7EASBYbhQ=; b=QU/0ZyPE0l0NJru76VlAP41bkssxmNdKpNjTvGWaKORKjLEpfARzcinSXGm/tylXQJfz2dWHzMJoMTPSd4+4bcC20JEIcAb0AXcZHBSn51/cApVH2wFlat6MO3Mo2yOdeMSgK9yt3/eCYsof+qcXB5f6cm2NWrCSKGBp+W6iZio= 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+42029+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1559915780589351.6889239036494; Fri, 7 Jun 2019 06:56:20 -0700 (PDT) Return-Path: X-Received: from mail-ed1-f68.google.com (mail-ed1-f68.google.com [209.85.208.68]) by groups.io with SMTP; Fri, 07 Jun 2019 06:56:19 -0700 X-Received: by mail-ed1-f68.google.com with SMTP id p15so3156687eds.8 for ; Fri, 07 Jun 2019 06:56:18 -0700 (PDT) X-Gm-Message-State: APjAAAWmdv4n+K/W9eT8M18MIRJv7Avx0SUX2iSuL1gBlPuqnL22Tyt0 CIKKaHLyIeDcx4TxP76I7+8ILf336210FA== X-Google-Smtp-Source: APXvYqzweD1UGzg6ACXOEt8EWnDXOpv2RKOZbKL6afP6TRCiRnjWpfr7LXs3Q5xsrx/gIBL/tzhckQ== X-Received: by 2002:a17:906:1181:: with SMTP id n1mr16779135eja.177.1559915777403; Fri, 07 Jun 2019 06:56:17 -0700 (PDT) X-Received: from localhost.localdomain ([84.203.79.95]) by smtp.gmail.com with ESMTPSA id f3sm378992ejo.90.2019.06.07.06.56.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Jun 2019 06:56:16 -0700 (PDT) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org Subject: [edk2-devel] [PATCH 2/2] RaspberryPi/RPi3: Update DSC/FDF to use NetworkPkg DSC/FDF Date: Fri, 7 Jun 2019 14:55:58 +0100 Message-Id: <20190607135558.2460-3-pete@akeo.ie> In-Reply-To: <20190607135558.2460-1-pete@akeo.ie> References: <20190607135558.2460-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=1559915780; bh=ylIeBQRxhiwDl+A/vwF2IEP1lpo9tzpQOpBPDoU77Ng=; h=Cc:Date:From:Reply-To:Subject:To; b=T+Yd7W6ceFtbaGY5+J6xxXUedP7PmJhh6c8dWbSwMlD03zFUcpeLU1ibZWzbPW/Pyk/ Ydj3qY/1LxoWWoTimH3PB/vqLf57DKBkJ4/Znv7f1hbpppUOKDAOAlX/0JEqqHcZqbhLP //dGGWaBm4T1K4IXnKpEpfD7xOKfmPx8cx0= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" This patch updates the platform DSC/FDF files to use the include fragment files provided by NetworkPkg. Signed-off-by: Pete Batard Reviewed-by: Leif Lindholm --- Platform/RaspberryPi/RPi3/RPi3.dsc | 31 ++++++++------------ Platform/RaspberryPi/RPi3/RPi3.fdf | 11 +------ 2 files changed, 13 insertions(+), 29 deletions(-) diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3= /RPi3.dsc index f87d06f9b080..7c9ee5ef4802 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.dsc +++ b/Platform/RaspberryPi/RPi3/RPi3.dsc @@ -25,6 +25,12 @@ [Defines] SKUID_IDENTIFIER =3D DEFAULT FLASH_DEFINITION =3D Platform/RaspberryPi/$(PLATFORM_NAME)= /$(PLATFORM_NAME).fdf =20 + # + # Network definition + # + DEFINE NETWORK_TLS_ENABLE =3D FALSE + DEFINE NETWORK_HTTP_BOOT_ENABLE =3D FALSE + # # Defines for default states. These can be changed on the command line. # -D FLAG=3DVALUE @@ -85,12 +91,6 @@ [LibraryClasses.common] # use the accelerated BaseMemoryLibOptDxe by default, overrides for SEC/= PEI below BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf =20 - # Networking Requirements - NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf - DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf - UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf - IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf - # # It is not possible to prevent the ARM compiler from inserting calls to= intrinsic functions. # This library provides the instrinsic functions such a compiler may gen= erate calls to. @@ -117,6 +117,11 @@ [LibraryClasses.common] PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatfor= mHookLibNull.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf =20 + # Cryptographic libraries + IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf + BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf + # # Uncomment (and comment out the next line) For RealView Debugger. The S= tandard IO window # in the debugger will show load and unload commands for symbols. You ca= n cut and paste this @@ -140,11 +145,8 @@ [LibraryClasses.common] # Secure Boot dependencies # !if $(SECURE_BOOT_ENABLE) =3D=3D TRUE - IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf - OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasure= mentLib.inf AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf - BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf =20 # re-use the UserPhysicalPresent() dummy implementation from the ovmf tr= ee PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf @@ -587,16 +589,7 @@ [Components.common] # # Networking stack # - MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf - MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf - MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf - MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf - MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf - MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf - MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf - MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf - NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf - NetworkPkg/TcpDxe/TcpDxe.inf +!include NetworkPkg/Network.dsc.inc =20 # # RNG diff --git a/Platform/RaspberryPi/RPi3/RPi3.fdf b/Platform/RaspberryPi/RPi3= /RPi3.fdf index 3bd2be314401..f2c0ee09af1e 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.fdf +++ b/Platform/RaspberryPi/RPi3/RPi3.fdf @@ -265,16 +265,7 @@ [FV.FvMain] # # Networking stack # - INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf - INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf - INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf - INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf - INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf - INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf - INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf - INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf - INF NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf - INF NetworkPkg/TcpDxe/TcpDxe.inf +!include NetworkPkg/Network.fdf.inc =20 # # RNG --=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 (#42029): https://edk2.groups.io/g/devel/message/42029 Mute This Topic: https://groups.io/mt/31974935/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-