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 9C78394075F for ; Thu, 21 Dec 2023 00:54:35 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=kATcjEdmY7CTjyCZ6P2LuKZMeJ0oY1A1EvqT3lLKpmE=; 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=1703120074; v=1; b=Y+vseRC299ZdDJiDaFDLF+ofx0wTF4czyvxUXRQW+ZB7MG+PZoFOZzCOr9MThlyp/Ay2KKT7 IZCgEbu9RdUK1aFqoB3HxYVxtSIhJmDbRFjX6Lc7SBI1+wvycZ2vO/q/JCH2AVsUfBYSn67XkUz nV+OG1+4xfVqnShkXXgtYqtA= X-Received: by 127.0.0.2 with SMTP id SlQVYY7687511xZ0K7Pz0hIU; Wed, 20 Dec 2023 16:54:34 -0800 X-Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mx.groups.io with SMTP id smtpd.web11.41316.1703120073451625244 for ; Wed, 20 Dec 2023 16:54:33 -0800 X-Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BKDJaGu028364; Wed, 20 Dec 2023 16:54:32 -0800 X-Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3v3ntrn6vx-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 20 Dec 2023 16:54:32 -0800 (PST) X-Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 20 Dec 2023 16:54:30 -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, 20 Dec 2023 16:54:30 -0800 X-Received: from MRVL-5Lp9he46Ey.marvell.com (unknown [10.193.15.34]) by maili.marvell.com (Postfix) with ESMTP id D7B235C68E2; Wed, 20 Dec 2023 16:54:29 -0800 (PST) From: "Narinder Dhillon" To: CC: , , , Narinder Dhillon Subject: [edk2-devel] [edk2-platforms PATCH v2 0/8] Silicon/Marvell/OdysseyPkg: Date: Wed, 20 Dec 2023 16:54:19 -0800 Message-ID: <20231221005427.13932-1-ndhillon@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: XUJGJJzcPZl-m7G5Sd8Qs1efSqLRIvpS X-Proofpoint-ORIG-GUID: XUJGJJzcPZl-m7G5Sd8Qs1efSqLRIvpS 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: 0z6szuB97gihkoacF1Z8k2Zhx7686176AA= 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=Y+vseRC2; 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 66.175.222.108 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 - There is no on-chip RTC, a dummy driver is used - Emulated variable storage is used for now v2: Split patch into 8 commits v1: Original patch in single commit Narinder Dhillon (8): Silicon/Marvell: New Marvell Odyssey processor Silicon/Marvell: Odyssey ArmPlatformLib Silicon/Marvell: Odyssey SmcLib Silicon/Marvell: Odyssey watchdog driver Silicon/Marvell: RTC driver Silicon/Marvell: Device tree driver Silicon/Marvell: Driver to dump board configuration Silicon/Marvell: Odyssey project description files Platform/Marvell/OdysseyPkg/OdysseyPkg.dsc | 216 ++++++++++ Platform/Marvell/OdysseyPkg/OdysseyPkg.fdf | 304 +++++++++++++ .../Drivers/Fdt/FdtClientDxe/FdtClientDxe.c | 382 ++++++++++++++++ .../Drivers/Fdt/FdtClientDxe/FdtClientDxe.inf | 43 ++ .../Drivers/Fdt/FdtPlatformDxe/FdtPlatform.c | 361 ++++++++++++++++ .../Drivers/Fdt/FdtPlatformDxe/FdtPlatform.h | 102 +++++ .../Fdt/FdtPlatformDxe/FdtPlatformDxe.inf | 60 +++ .../Fdt/FdtPlatformDxe/FdtPlatformDxe.uni | 106 +++++ .../Drivers/Fdt/FdtPlatformDxe/README.txt | 69 +++ .../Drivers/Fdt/FdtPlatformDxe/ShellDumpFdt.c | 283 ++++++++++++ .../Marvell/Drivers/Null/RtcNull/RtcNullDxe.c | 280 ++++++++++++ .../Marvell/Drivers/Null/RtcNull/RtcNullDxe.h | 37 ++ .../Drivers/Null/RtcNull/RtcNullDxe.inf | 46 ++ .../Drivers/Wdt/GtiWatchdogDxe/GtiWatchdog.c | 408 ++++++++++++++++++ .../Wdt/GtiWatchdogDxe/GtiWatchdogDxe.inf | 45 ++ .../AArch64/ArmPlatformHelper.S | 86 ++++ .../Library/ArmPlatformLib/ArmPlatformLib.c | 79 ++++ .../Library/ArmPlatformLib/ArmPlatformLib.inf | 55 +++ .../ArmPlatformLib/ArmPlatformLibMem.c | 131 ++++++ Silicon/Marvell/Library/SmcLib/SmcLib.c | 24 ++ Silicon/Marvell/Library/SmcLib/SmcLib.inf | 29 ++ .../Include/Library/SmcLib.h | 28 ++ .../Include/Protocol/FdtClient.h | 180 ++++++++ .../MarvellSiliconPkg/MarvellSiliconPkg.dec | 19 + Silicon/Marvell/OdysseyPkg/OdysseyPkg.dsc.inc | 394 +++++++++++++++++ .../PrePi/AArch64/ModuleEntryPoint.S | 136 ++++++ .../ArmPlatformPkg/PrePi/PeiMPCore.inf | 110 +++++ .../Override/ArmPlatformPkg/PrePi/PrePi.c | 238 ++++++++++ 28 files changed, 4251 insertions(+) create mode 100644 Platform/Marvell/OdysseyPkg/OdysseyPkg.dsc create mode 100644 Platform/Marvell/OdysseyPkg/OdysseyPkg.fdf 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/FdtPlatform.h create mode 100644 Silicon/Marvell/Drivers/Fdt/FdtPlatformDxe/FdtPlatformDxe.inf create mode 100644 Silicon/Marvell/Drivers/Fdt/FdtPlatformDxe/FdtPlatformDxe.uni create mode 100644 Silicon/Marvell/Drivers/Fdt/FdtPlatformDxe/README.txt create mode 100644 Silicon/Marvell/Drivers/Fdt/FdtPlatformDxe/ShellDumpFdt.c create mode 100644 Silicon/Marvell/Drivers/Null/RtcNull/RtcNullDxe.c create mode 100644 Silicon/Marvell/Drivers/Null/RtcNull/RtcNullDxe.h create mode 100644 Silicon/Marvell/Drivers/Null/RtcNull/RtcNullDxe.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/ArmPlatformLib/AArch64/ArmPlatformHelper.S create mode 100644 Silicon/Marvell/Library/ArmPlatformLib/ArmPlatformLib.c create mode 100644 Silicon/Marvell/Library/ArmPlatformLib/ArmPlatformLib.inf create mode 100644 Silicon/Marvell/Library/ArmPlatformLib/ArmPlatformLibMem.c 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/Library/SmcLib.h create mode 100644 Silicon/Marvell/MarvellSiliconPkg/Include/Protocol/FdtClient.h create mode 100644 Silicon/Marvell/OdysseyPkg/OdysseyPkg.dsc.inc create mode 100644 Silicon/Marvell/Override/ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S create mode 100644 Silicon/Marvell/Override/ArmPlatformPkg/PrePi/PeiMPCore.inf create mode 100644 Silicon/Marvell/Override/ArmPlatformPkg/PrePi/PrePi.c base-commit: 59ef582c1bada1e25d0f1490e2af2d68b067fad2 -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112778): https://edk2.groups.io/g/devel/message/112778 Mute This Topic: https://groups.io/mt/103292508/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-