From nobody Sat Feb 7 09:46:33 2026 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+83741+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+83741+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1636948559; cv=none; d=zohomail.com; s=zohoarc; b=U+kbCt3utESFJ+SXKdkWYy8bq2ApiZVcwgckXxoSbn/eF6YOuV2i958TgSI7e/+aakzI3NCfuJMpZmIvEpR7XIqWKm/WRYF7XYmgfNMhgmy9fYD6Ej8QiuH8zZDpficmSAuzKzJtNEx8wFusOHGKlMBlPVZaR/8HUTNARTK+X0U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1636948559; 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=A1InisShz3UJJ+7tIT6026tEXBPx04S3jqsyZaKCTak=; b=RytJc6yPBm7wpGpat4XOlgSmHajGLSk6DASsZiT7eAlmZ2oXdWqJ4TrTJ6YEJ6m/9Y74ZEeTk9AvUgGVmeH9uUF95Qc3XPo8uKo0GaWXW0uLx/fiiUyiebSLP1orbe/NGG9bb71MFL5eid49fjKGz2+QgHShpbyyBKpKFYh1lN4= 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+83741+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 1636948559106988.1934288324541; Sun, 14 Nov 2021 19:55:59 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id M5sZYY1788612xyFvMET6LLd; Sun, 14 Nov 2021 19:55:58 -0800 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web10.17939.1636948548553075420 for ; Sun, 14 Nov 2021 19:55:55 -0800 X-Received: from pps.filterd (m0148663.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1AF1nAUE025614; Mon, 15 Nov 2021 03:55:46 GMT X-Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0a-002e3701.pphosted.com with ESMTP id 3cbe7bgk0f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 Nov 2021 03:55:46 +0000 X-Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id D3CDF81; Mon, 15 Nov 2021 03:55:45 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id C426137; Mon, 15 Nov 2021 03:55:44 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Daniel Schaefer , Sunil V L Subject: [edk2-devel] [edk2-platforms][PATCH 02/14] RiscVPlatformPkg/U500: Fix up FDT and install into config table Date: Mon, 15 Nov 2021 10:56:28 +0800 Message-Id: <20211115025640.12897-3-abner.chang@hpe.com> In-Reply-To: <20211115025640.12897-1-abner.chang@hpe.com> References: <20211115025640.12897-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: UImDlXTeURaVEJmY3HDFJ5ErfcGb1t-N X-Proofpoint-GUID: UImDlXTeURaVEJmY3HDFJ5ErfcGb1t-N X-HPE-SCL: -1 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,abner.chang@hpe.com X-Gm-Message-State: L3CuzmzIGABOUUw1T0LktraSx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1636948558; bh=PNWrdLLgZ9UM3Zv4P8BLPMb86dgKg4diIb2OWo1y6u0=; h=Cc:Date:From:Reply-To:Subject:To; b=DrqHK0rwHMf+gjSzoS8vKfQyITwSnsvn05wYT6Oj5uGqP3nSg/KeGilcd9CRsJIkjOp RZ5LjRdqB1pK0TplTiru3SKkI+JLrG/LukUnQWuhbh3lFJ8IdZIMV+LP3595zlu4qqgfH TpLgM+2as6u5BEfO5xTUHTGDRvI5R2qcOaQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1636948560897100019 Content-Type: text/plain; charset="utf-8" The Linux EFISTUB reads the FDT from the EFI system configuration table. Before installing the FDT needs to be patched with the booting hartid, because the kernel in S-Mode cannot determine it. Add RISC-V ProcessPkg/FdtDxe driver to build. Signed-off-by: Abner Chang Cc: Daniel Schaefer Cc: Sunil V L --- Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc | 2 +- Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.fdf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc b/P= latform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc index e858b0bdea..8b7c851dbc 100644 --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.dsc @@ -515,7 +515,7 @@ MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf - + Silicon/RISC-V/ProcessorPkg/Universal/FdtDxe/FdtDxe.inf # # FAT filesystem + GPT/MBR partitioning + UDF filesystem # diff --git a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.fdf b/P= latform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.fdf index b9d238994b..cf9b673e97 100644 --- a/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.fdf +++ b/Platform/SiFive/U5SeriesPkg/FreedomU500VC707Board/U500.fdf @@ -181,6 +181,7 @@ INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEng= ineDxe.inf INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe= .inf INF FatPkg/EnhancedFatDxe/Fat.inf INF MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf +INF Silicon/RISC-V/ProcessorPkg/Universal/FdtDxe/FdtDxe.inf =20 !ifndef $(SOURCE_DEBUG_ENABLE) INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf --=20 2.31.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 (#83741): https://edk2.groups.io/g/devel/message/83741 Mute This Topic: https://groups.io/mt/87062616/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-