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 7C40CAC1A6C for ; Sat, 20 Jul 2024 19:54:11 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=3joC0x9Z3p0c1mU+NPydOqx3pjsMxk9Fk5mLscPIOvQ=; 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=1721505251; v=1; b=ZV/JQvpxj9IMTT8Ideu2n5JrLsvzJ9YP9qNnSqvhacKMCSU0ZwTWIb56bsNK2r3xhUe20Esf o7E/9TbR76xKplwb73JH0t6qLwi+pSkh8Jz3Nbc7ZkpOscABAZ0LRNP7ZT3N+chbHo+h048HG0b PMQjBA2blqDK7ZmTBwC9bth2D0hPavo4pQ0wHDLHqTdmxH+TP2/7Y+EUePznS8HZMPuoIGsmpQp H3LzWWsw60no9SSxu3hRxmZ/2paDSPvg3gtEbSIEgJwB7Y6pIkfsyj/5NdudNoL2xo4tK8u8UHu NAwhLlXtslQclHu5c01QJnl4EvwSYV45QLvAjU7ygob1Q== X-Received: by 127.0.0.2 with SMTP id Q9csYY7687511x1J1X2O64XK; Sat, 20 Jul 2024 12:54:09 -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.12717.1721505249030849554 for ; Sat, 20 Jul 2024 12:54:09 -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 46KJn3I5028425; Sat, 20 Jul 2024 12:54:06 -0700 X-Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 40gcrj8fme-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 20 Jul 2024 12:54:05 -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, 20 Jul 2024 12:53:27 -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, 20 Jul 2024 12:53:27 -0700 X-Received: from MRVL-5Lp9he46Ey.marvell.com (unknown [10.193.3.166]) by maili.marvell.com (Postfix) with ESMTP id 1ECEB3F705A; Sat, 20 Jul 2024 12:53:27 -0700 (PDT) From: "Narinder Dhillon" To: CC: , , , , Narinder Dhillon Subject: [edk2-devel] [edk2-platforms PATCH v4 0/7] Silicon/Marvell/OdysseyPkg Date: Sat, 20 Jul 2024 12:53:16 -0700 Message-ID: <20240720195323.130619-1-ndhillon@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: z9kbgonPJE3ZGCMhBod7WECn59MmZO_b X-Proofpoint-GUID: z9kbgonPJE3ZGCMhBod7WECn59MmZO_b 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, 20 Jul 2024 12:54:09 -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: RMHnzDRvR3ERe6LYuKC09Hzax7686176AA= 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="ZV/JQvpx"; 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 (#119990): https://edk2.groups.io/g/devel/message/119990 Mute This Topic: https://groups.io/mt/107457422/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-