From nobody Mon Nov 25 03:59:01 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78739+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78739+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1628181373; cv=none; d=zohomail.com; s=zohoarc; b=fAV//a/so33biquBconTm0qc+uhXyvu4Vf8ulDLcyB4yl5cmYPJE2idK2ZyfmLVqGpbdPzqAS+hp09ZxPTJ83CG1ipSWuLfKRu8ltqY/iJE1AwSCKFxii2naWpL+qBMirzQkGzufE60fOMVcawJ7NUF8icYwlAk9D7oz1C0Pfd4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1628181373; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=lzjrg6RuvmuyxTPxpKK+zJrPMhsvmMSy86pRf2rE87s=; b=HJCmzXImWb+APMENvew4XheWTNqlahMKMuzv5oyvqRmQjyIjAVcM+daDsaqOV4nNRWe6oZMImUXNKp/AJOcZFnxuF07PDfa4eAUYA9MYtb+EHRgD8ByWq/qZaJzt0F5f2yI36KujnMYWWJwuSs/wHzV9s7RjMLLAFJ0BmsUm4u0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78739+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1628181373626884.8548391146109; Thu, 5 Aug 2021 09:36:13 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id dexNYY1788612xoIxmxYAZ0a; Thu, 05 Aug 2021 09:36:13 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web12.11322.1628181370652190570 for ; Thu, 05 Aug 2021 09:36:10 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4D1FE11FB; Thu, 5 Aug 2021 09:36:10 -0700 (PDT) X-Received: from u200856.usa.arm.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E8E863F66F; Thu, 5 Aug 2021 09:36:09 -0700 (PDT) From: "Jeremy Linton" To: devel@edk2.groups.io Cc: pete@akeo.ie, ardb+tianocore@kernel.org, awarkentin@vmware.com, Sunny.Wang@arm.com, samer.el-haj-mahmoud@arm.com, Jeremy Linton Subject: [edk2-devel] [PATCH 5/5] Platform/RaspberryPi: Enable NVMe boot on cm4 Date: Thu, 5 Aug 2021 11:35:51 -0500 Message-Id: <20210805163551.488035-6-jeremy.linton@arm.com> In-Reply-To: <20210805163551.488035-1-jeremy.linton@arm.com> References: <20210805163551.488035-1-jeremy.linton@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: 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,jeremy.linton@arm.com X-Gm-Message-State: sLJKmNbyw4pZezi9PnL9pWNPx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628181373; bh=VLwU8WGZjYSs6n+p0kzWccdwLAj0XSsxmnfgY6vglpI=; h=Cc:Date:From:Reply-To:Subject:To; b=xRJjgL9jjeS+50MY8VVm+5OeR1Hi5JoKN1k+aGxjQSJm34mX5KyBEJgiQV7PBA8+YKI hz7/bbKWLo+DpoTiYn/e4k9xa6w91O6IuO0fEBYM1g6Iu+tNoiRC6F9tGjOOLV2iPoZEy Gjgcexxm0K+J0zqJdGdoIwOynO/LwUOn0sM= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628181375098100019 Content-Type: text/plain; charset="utf-8" The CM4 has a number of carrier boards with PCIe slots. With the PCIe changes in place its quite possible to setup a NVMe root device. Lets allow people to boot from it. Signed-off-by: Jeremy Linton --- Platform/RaspberryPi/RPi4/RPi4.dsc | 5 +++++ Platform/RaspberryPi/RPi4/RPi4.fdf | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/Platform/RaspberryPi/RPi4/RPi4.dsc b/Platform/RaspberryPi/RPi4= /RPi4.dsc index babcbb2f41..25c29a0fbf 100644 --- a/Platform/RaspberryPi/RPi4/RPi4.dsc +++ b/Platform/RaspberryPi/RPi4/RPi4.dsc @@ -754,6 +754,11 @@ } =20 # + # NVMe boot devices + # + MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf + + # # UEFI application (Shell Embedded Boot Loader) # ShellPkg/Application/Shell/Shell.inf { diff --git a/Platform/RaspberryPi/RPi4/RPi4.fdf b/Platform/RaspberryPi/RPi4= /RPi4.fdf index 3534cd3dc3..0c782d2f35 100644 --- a/Platform/RaspberryPi/RPi4/RPi4.fdf +++ b/Platform/RaspberryPi/RPi4/RPi4.fdf @@ -283,6 +283,11 @@ READ_LOCK_STATUS =3D TRUE INF EmbeddedPkg/Drivers/NonCoherentIoMmuDxe/NonCoherentIoMmuDxe.inf =20 # + # NVMe boot devices + # + INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf + + # # SCSI Bus and Disk Driver # INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf --=20 2.13.7 -=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 (#78739): https://edk2.groups.io/g/devel/message/78739 Mute This Topic: https://groups.io/mt/84688701/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-