From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 24457D81111 for ; Thu, 18 Jan 2024 01:18:30 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=zftzEVd1NgWmRT7fIDtTxZDiJLrBdHqlXNt62HEb0qg=; 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:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20140610; t=1705540709; v=1; b=rfrllPDBZjxMqhHvwrYvqf3fS//GdlLFrHN4fP6LB480v2061Pw+pKkS9oE7LIB7BqZSzmXK JDV1zBIvu4TpO2Ys4vOPAlXNJOXaZ6TtJbenSC2P4s9PKfjzyv43XAHY5kuAlgg+sahhbH3WS/9 F9ESqHLdRSDlVEu4RLma/Zk4= X-Received: by 127.0.0.2 with SMTP id CYuuYY7687511xfpQiIa4So2; Wed, 17 Jan 2024 17:18:29 -0800 X-Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.148.174]) by mx.groups.io with SMTP id smtpd.web11.916.1705540709018193483 for ; Wed, 17 Jan 2024 17:18:29 -0800 X-Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40HHSD2c028779; Wed, 17 Jan 2024 17:18:28 -0800 X-Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3vpaskb4rt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 17 Jan 2024 17:18:28 -0800 (PST) X-Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 17 Jan 2024 17:18:26 -0800 X-Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Wed, 17 Jan 2024 17:18:26 -0800 X-Received: from MRVL-5Lp9he46Ey.marvell.com (unknown [10.85.176.100]) by maili.marvell.com (Postfix) with ESMTP id DB1F03F707D; Wed, 17 Jan 2024 17:18:26 -0800 (PST) From: "Narinder Dhillon" To: CC: , , , Narinder Dhillon Subject: [edk2-devel] [edk2-platforms PATCH v3 0/7] Silicon/Marvell/OdysseyPkg Date: Wed, 17 Jan 2024 17:18:10 -0800 Message-ID: <20240118011817.4348-1-ndhillon@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: 48n3tsn_2tF9HE7sBSv3YBV5vRVOQ9M6 X-Proofpoint-GUID: 48n3tsn_2tF9HE7sBSv3YBV5vRVOQ9M6 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 Reply-To: devel@edk2.groups.io,ndhillon@marvell.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: IMdUZVgKlsub5LdN4YzxwJlEx7686176AA= 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=20140610 header.b=rfrllPDB; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=marvell.com (policy=none) 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 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 | 259 +++++++++++ .../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 | 20 + .../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, 3198 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: 3ebd07c49d498bf44ee7807300344b259d9caaa6 -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113971): https://edk2.groups.io/g/devel/message/113971 Mute This Topic: https://groups.io/mt/103800148/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-