From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 699CBAC19DB for ; Sat, 4 May 2024 21:32:46 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=DxIK00bXTIeUmCz3RScgKsQ/bL64yLdLqVM5efoPQBI=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20240206; t=1714858365; v=1; b=udnz1jfqKvVAvv372A+yK6s5fO2FgzPeLp0sMegIlD78j/6k02HeMmgIxbbuOSRoeO1y9By1 0u5u+tAWcTpI32KsA9FxQsMRfwTDiQwBaP+E9/AeavwvJ3nUCCClyFf9HCqwchhyJZas0Tlw44B JtRl7Jr8XhgbMBJZ4GW2hAp7z8o1L9+bZ9b4pwo8/+57/IqBV5Ll8pHLMoEGq4HEmpmmt6bir1h 0UFd9Y/VNt24EkJ7oKw2ZWHL+UrMj/f6QDbcsIhoLOcRMcVWK8JiGrqdP68PBH2ZR8FQzAWYvgE y+CTERzC3u1WGEDNs4jEB6lWmX0butiIWm+TbwL6Ak9fg== X-Received: by 127.0.0.2 with SMTP id SGgLYY7687511x7hF6SvfiDO; Sat, 04 May 2024 14:32:45 -0700 X-Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mx.groups.io with SMTP id smtpd.web10.6828.1714858358009124350 for ; Sat, 04 May 2024 14:32:38 -0700 X-Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 444LRwxd009497; Sat, 4 May 2024 14:32:35 -0700 X-Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3xwmhg8qbg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 04 May 2024 14:32:34 -0700 (PDT) X-Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sat, 4 May 2024 14:32:33 -0700 X-Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sat, 4 May 2024 14:32:33 -0700 X-Received: from MRVL-5Lp9he46Ey.marvell.com (unknown [10.193.11.115]) by maili.marvell.com (Postfix) with ESMTP id 348EF3F708C; Sat, 4 May 2024 14:32:33 -0700 (PDT) From: "Narinder Dhillon" To: CC: , , , , Narinder Dhillon Subject: [edk2-devel] [edk2-platforms PATCH v4 0/7] Silicon/Marvell/OdysseyPkg Date: Sat, 4 May 2024 14:32:23 -0700 Message-ID: <20240504213230.31976-1-ndhillon@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: uLu1d5YH339ECJWsPNVjP345frFb_dhV X-Proofpoint-GUID: uLu1d5YH339ECJWsPNVjP345frFb_dhV Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Sat, 04 May 2024 14:32:38 -0700 Resent-From: ndhillon@marvell.com Reply-To: devel@edk2.groups.io,ndhillon@marvell.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: LGYhg7uQ5na29TYu4pl6YlZjx7686176AA= Content-Transfer-Encoding: 8bit Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=udnz1jfq; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=marvell.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io From: Narinder Dhillon New Marvell Odyssey SoC This patchset contains only the very basic elements needed to boot to EDK2 UiApp on Marvell Odyssey SoC - ARM BL31 firmware component copies EDK2 image into memory, so it is always executing from memory - There is a SMC library to get system information from BL31 - There are drivers to get board configuration details from a device tree - Emulated variable storage is used for now v4: -Added SmcLib to project declaration file -Install FDT based on PcdPublishFdt v3: -Added a helper library instead of overriding ArmPlatformPkg -Use virtual RTC instead of adding a dummy RTC -Put shell command in separate commit -More specific names v2: -Split patch into 8 commits v1: -Original patch in single commit Narinder Dhillon (7): Silicon/Marvell: New Marvell Odyssey processor Silicon/Marvell: Odyssey SmcLib Silicon/Marvell: Odyssey watchdog driver Silicon/Marvell: Device tree driver Silicon/Marvell: Driver to publish device tree Silicon/Marvell: Command to dump device tree Silicon/Marvell: Odyssey project description files Platform/Marvell/OdysseyPkg/OdysseyPkg.dsc | 219 ++++++++++ Platform/Marvell/OdysseyPkg/OdysseyPkg.fdf | 304 +++++++++++++ .../Marvell/Applications/DumpFdt/DumpFdt.c | 344 +++++++++++++++ .../Marvell/Applications/DumpFdt/DumpFdt.inf | 52 +++ .../Marvell/Applications/DumpFdt/DumpFdt.uni | 35 ++ .../Drivers/Fdt/FdtClientDxe/FdtClientDxe.c | 382 ++++++++++++++++ .../Drivers/Fdt/FdtClientDxe/FdtClientDxe.inf | 43 ++ .../Drivers/Fdt/FdtPlatformDxe/FdtPlatform.c | 255 +++++++++++ .../Fdt/FdtPlatformDxe/FdtPlatformDxe.inf | 49 +++ .../Drivers/Wdt/GtiWatchdogDxe/GtiWatchdog.c | 408 ++++++++++++++++++ .../Wdt/GtiWatchdogDxe/GtiWatchdogDxe.inf | 45 ++ Silicon/Marvell/Library/SmcLib/SmcLib.c | 24 ++ Silicon/Marvell/Library/SmcLib/SmcLib.inf | 29 ++ .../Include/IndustryStandard/SmcLib.h | 28 ++ .../Include/Protocol/FdtClient.h | 180 ++++++++ .../MarvellSiliconPkg/MarvellSiliconPkg.dec | 21 + .../OdysseyLib/AArch64/ArmPlatformHelper.S | 97 +++++ .../Library/OdysseyLib/OdysseyLib.c | 79 ++++ .../Library/OdysseyLib/OdysseyLib.inf | 60 +++ .../Library/OdysseyLib/OdysseyLibMem.c | 142 ++++++ Silicon/Marvell/OdysseyPkg/OdysseyPkg.dsc.inc | 399 +++++++++++++++++ 21 files changed, 3195 insertions(+) create mode 100644 Platform/Marvell/OdysseyPkg/OdysseyPkg.dsc create mode 100644 Platform/Marvell/OdysseyPkg/OdysseyPkg.fdf create mode 100644 Silicon/Marvell/Applications/DumpFdt/DumpFdt.c create mode 100644 Silicon/Marvell/Applications/DumpFdt/DumpFdt.inf create mode 100644 Silicon/Marvell/Applications/DumpFdt/DumpFdt.uni create mode 100644 Silicon/Marvell/Drivers/Fdt/FdtClientDxe/FdtClientDxe.c create mode 100644 Silicon/Marvell/Drivers/Fdt/FdtClientDxe/FdtClientDxe.inf create mode 100644 Silicon/Marvell/Drivers/Fdt/FdtPlatformDxe/FdtPlatform.c create mode 100644 Silicon/Marvell/Drivers/Fdt/FdtPlatformDxe/FdtPlatformDxe.inf create mode 100644 Silicon/Marvell/Drivers/Wdt/GtiWatchdogDxe/GtiWatchdog.c create mode 100644 Silicon/Marvell/Drivers/Wdt/GtiWatchdogDxe/GtiWatchdogDxe.inf create mode 100644 Silicon/Marvell/Library/SmcLib/SmcLib.c create mode 100644 Silicon/Marvell/Library/SmcLib/SmcLib.inf create mode 100644 Silicon/Marvell/MarvellSiliconPkg/Include/IndustryStandard/SmcLib.h create mode 100644 Silicon/Marvell/MarvellSiliconPkg/Include/Protocol/FdtClient.h create mode 100644 Silicon/Marvell/OdysseyPkg/Library/OdysseyLib/AArch64/ArmPlatformHelper.S create mode 100644 Silicon/Marvell/OdysseyPkg/Library/OdysseyLib/OdysseyLib.c create mode 100644 Silicon/Marvell/OdysseyPkg/Library/OdysseyLib/OdysseyLib.inf create mode 100644 Silicon/Marvell/OdysseyPkg/Library/OdysseyLib/OdysseyLibMem.c create mode 100644 Silicon/Marvell/OdysseyPkg/OdysseyPkg.dsc.inc base-commit: d97a14d69dd5fcb13d90207d13dbeb2730beb51d -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118568): https://edk2.groups.io/g/devel/message/118568 Mute This Topic: https://groups.io/mt/105913425/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-