[edk2-devel] [edk2-platforms PATCH v4 2/7] Silicon/Marvell: Odyssey SmcLib

2024-05-04 Thread Narinder Dhillon
From: Narinder Dhillon This patch provides SMC call needed by Odyssey to determine size of available memory. Signed-off-by: Narinder Dhillon --- Silicon/Marvell/Library/SmcLib/SmcLib.c | 24 +++ Silicon/Marvell/Library/SmcLib/SmcLib.inf | 29

[edk2-devel] [edk2-platforms PATCH v4 0/7] Silicon/Marvell/OdysseyPkg

2024-05-04 Thread Narinder Dhillon
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

[edk2-devel] [edk2-platforms PATCH v4 7/7] Silicon/Marvell: Odyssey project description files

2024-05-04 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds Odyssey SoC project description and flash description files. Signed-off-by: Narinder Dhillon --- Platform/Marvell/OdysseyPkg/OdysseyPkg.dsc| 219 ++ Platform/Marvell/OdysseyPkg/OdysseyPkg.fdf| 304 + Silicon/Marvell/OdysseyPkg

[edk2-devel] [edk2-platforms PATCH v4 1/7] Silicon/Marvell: New Marvell Odyssey processor

2024-05-04 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds helper library to initialize Odyssey SoC. Signed-off-by: Narinder Dhillon --- .../OdysseyLib/AArch64/ArmPlatformHelper.S| 97 .../Library/OdysseyLib/OdysseyLib.c | 79 ++ .../Library/OdysseyLib/OdysseyLib.inf

[edk2-devel] [edk2-platforms PATCH v4 4/7] Silicon/Marvell: Device tree driver

2024-05-04 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds a device tree driver that is used to read board configuration information from a device tree. Signed-off-by: Narinder Dhillon --- .../Drivers/Fdt/FdtClientDxe/FdtClientDxe.c | 382 ++ .../Drivers/Fdt/FdtClientDxe/FdtClientDxe.inf | 43

[edk2-devel] [edk2-platforms PATCH v4 6/7] Silicon/Marvell: Command to dump device tree

2024-05-04 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds an EDK2 shell command to dump configuration device tree. Signed-off-by: Narinder Dhillon --- .../Marvell/Applications/DumpFdt/DumpFdt.c| 344 ++ .../Marvell/Applications/DumpFdt/DumpFdt.inf | 52 +++ .../Marvell/Applications/DumpFdt

[edk2-devel] [edk2-platforms PATCH v4 3/7] Silicon/Marvell: Odyssey watchdog driver

2024-05-04 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds watchdog driver for Odyssey SoC. Signed-off-by: Narinder Dhillon --- .../Drivers/Wdt/GtiWatchdogDxe/GtiWatchdog.c | 408 ++ .../Wdt/GtiWatchdogDxe/GtiWatchdogDxe.inf | 45 ++ 2 files changed, 453 insertions(+) create mode 100644

[edk2-devel] [edk2-platforms PATCH v4 5/7] Silicon/Marvell: Driver to publish device tree

2024-05-04 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds driver that can provide device tree to OS if user so wishes. PCD's are used to enable this, default is not to take this action. Signed-off-by: Narinder Dhillon --- .../Drivers/Fdt/FdtPlatformDxe/FdtPlatform.c | 255 ++ .../Fdt

Re: [edk2-devel] [PATCH edk2-platforms 1/1] Maintainers.txt: Update maintainers for Marvell platforms

2024-04-03 Thread Narinder Dhillon
> -Original Message- > From: Marcin Wojtas > Sent: Wednesday, April 3, 2024 6:36 AM > To: devel@edk2.groups.io; michael.d.kin...@intel.com > Cc: Leif Lindholm ; Narinder Dhillon > > Subject: [EXTERNAL] Re: [edk2-devel] [PATCH edk2-platforms 1/1] > Maintainers

[edk2-devel] [edk2-platforms PATCH v3 5/7] Silicon/Marvell: Driver to publish device tree

2024-01-17 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds driver that can provide device tree to OS if user so wishes. PCD's are used to enable this, default is not to take this action. Signed-off-by: Narinder Dhillon --- .../Drivers/Fdt/FdtPlatformDxe/FdtPlatform.c | 259 ++ .../Fdt

[edk2-devel] [edk2-platforms PATCH v3 7/7] Silicon/Marvell: Odyssey project description files

2024-01-17 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds Odyssey SoC project description and flash description files. Signed-off-by: Narinder Dhillon --- Platform/Marvell/OdysseyPkg/OdysseyPkg.dsc| 219 ++ Platform/Marvell/OdysseyPkg/OdysseyPkg.fdf| 304 + Silicon/Marvell/OdysseyPkg

[edk2-devel] [edk2-platforms PATCH v3 6/7] Silicon/Marvell: Command to dump device tree

2024-01-17 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds an EDK2 shell command to dump configuration device tree. Signed-off-by: Narinder Dhillon --- .../Marvell/Applications/DumpFdt/DumpFdt.c| 344 ++ .../Marvell/Applications/DumpFdt/DumpFdt.inf | 52 +++ .../Marvell/Applications/DumpFdt

[edk2-devel] [edk2-platforms PATCH v3 4/7] Silicon/Marvell: Device tree driver

2024-01-17 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds a device tree driver that is used to read board configuration information from a device tree. Signed-off-by: Narinder Dhillon --- .../Drivers/Fdt/FdtClientDxe/FdtClientDxe.c | 382 ++ .../Drivers/Fdt/FdtClientDxe/FdtClientDxe.inf | 43

[edk2-devel] [edk2-platforms PATCH v3 3/7] Silicon/Marvell: Odyssey watchdog driver

2024-01-17 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds watchdog driver for Odyssey SoC. Signed-off-by: Narinder Dhillon --- .../Drivers/Wdt/GtiWatchdogDxe/GtiWatchdog.c | 408 ++ .../Wdt/GtiWatchdogDxe/GtiWatchdogDxe.inf | 45 ++ 2 files changed, 453 insertions(+) create mode 100644

[edk2-devel] [edk2-platforms PATCH v3 0/7] Silicon/Marvell/OdysseyPkg

2024-01-17 Thread Narinder Dhillon
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

[edk2-devel] [edk2-platforms PATCH v3 1/7] Silicon/Marvell: New Marvell Odyssey processor

2024-01-17 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds helper library to initialize Odyssey SoC. Signed-off-by: Narinder Dhillon --- .../OdysseyLib/AArch64/ArmPlatformHelper.S| 97 .../Library/OdysseyLib/OdysseyLib.c | 79 ++ .../Library/OdysseyLib/OdysseyLib.inf

[edk2-devel] [edk2-platforms PATCH v3 2/7] Silicon/Marvell: Odyssey SmcLib

2024-01-17 Thread Narinder Dhillon
From: Narinder Dhillon This patch provides SMC call needed by Odyssey to determine size of available memory. Signed-off-by: Narinder Dhillon --- Silicon/Marvell/Library/SmcLib/SmcLib.c | 24 +++ Silicon/Marvell/Library/SmcLib/SmcLib.inf | 29

Re: [edk2-devel] [edk2-platforms PATCH v2 4/8] Silicon/Marvell: Odyssey watchdog driver

2024-01-15 Thread Narinder Dhillon
Hi Marcin, This watchdog is not compatible with ARM generic. Thanks, Narinder > -Original Message- > From: Marcin Wojtas > Sent: Friday, January 12, 2024 3:35 AM > To: devel@edk2.groups.io; Narinder Dhillon > Cc: Leif Lindholm ; marcin.s.woj...@gmail.com; > Szymon B

Re: [edk2-devel] [edk2-platforms PATCH v2 7/8] Silicon/Marvell: Driver to dump board configuration

2024-01-12 Thread Narinder Dhillon
Hi Marcin, > -Original Message- > From: Marcin Wojtas > Sent: Friday, January 12, 2024 4:19 AM > To: devel@edk2.groups.io; Narinder Dhillon > Cc: quic_llind...@quicinc.com; marcin.s.woj...@gmail.com; Szymon Balcerak > > Subject: [EXT] Re: [edk2-devel] [edk2-p

Re: [edk2-devel] [edk2-platforms: PATCH v4] Marvell/Armada80x0Db: Fix build

2024-01-02 Thread Narinder Dhillon
Sorry, that was my mistake. > -Original Message- > From: Marcin Wojtas > Sent: Tuesday, January 2, 2024 3:46 PM > To: Narinder Dhillon > Cc: devel@edk2.groups.io; quic_llind...@quicinc.com; > ardb+tianoc...@kernel.org; m...@semihalf.com > Subject: Re: [EXT] [edk

Re: [edk2-devel] [edk2-platforms: PATCH v4] Marvell/Armada80x0Db: Fix build

2024-01-02 Thread Narinder Dhillon
Marcin, I don't see this folder in code, how is it generated ? Thanks Narinder > -Original Message- > From: Marcin Wojtas > Sent: Sunday, December 31, 2023 3:07 AM > To: devel@edk2.groups.io > Cc: quic_llind...@quicinc.com; ardb+tianoc...@kernel.org; > m...@semihalf.com

[edk2-devel] [edk2-platforms PATCH v2 7/8] Silicon/Marvell: Driver to dump board configuration

2023-12-20 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds an EDK2 shell command to dump board configuration device tree. Signed-off-by: Narinder Dhillon --- .../Drivers/Fdt/FdtPlatformDxe/FdtPlatform.c | 361 ++ .../Drivers/Fdt/FdtPlatformDxe/FdtPlatform.h | 102 + .../Fdt/FdtPlatformDxe

[edk2-devel] [edk2-platforms PATCH v2 8/8] Silicon/Marvell: Odyssey project description files

2023-12-20 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds Odyssey SoC project description file, flash description file, and PCD's. Signed-off-by: Narinder Dhillon --- Platform/Marvell/OdysseyPkg/OdysseyPkg.dsc| 216 ++ Platform/Marvell/OdysseyPkg/OdysseyPkg.fdf| 304

[edk2-devel] [edk2-platforms PATCH v2 6/8] Silicon/Marvell: Device tree driver

2023-12-20 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds a device tree driver that is used to read board configuration information from a device tree. Signed-off-by: Narinder Dhillon --- .../Drivers/Fdt/FdtClientDxe/FdtClientDxe.c | 382 ++ .../Drivers/Fdt/FdtClientDxe/FdtClientDxe.inf | 43

[edk2-devel] [edk2-platforms PATCH v2 4/8] Silicon/Marvell: Odyssey watchdog driver

2023-12-20 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds watchdog driver for Odyssey SoC. Signed-off-by: Narinder Dhillon --- .../Drivers/Wdt/GtiWatchdogDxe/GtiWatchdog.c | 408 ++ .../Wdt/GtiWatchdogDxe/GtiWatchdogDxe.inf | 45 ++ 2 files changed, 453 insertions(+) create mode 100644

[edk2-devel] [edk2-platforms PATCH v2 5/8] Silicon/Marvell: RTC driver

2023-12-20 Thread Narinder Dhillon
From: Narinder Dhillon Marvell Odyssey SoC does not have RTC on chip. This patch provides a dummy RTC driver to generate architectural protocol and help boot Odyssey SoC. Signed-off-by: Narinder Dhillon --- .../Marvell/Drivers/Null/RtcNull/RtcNullDxe.c | 280 ++ .../Marvell

[edk2-devel] [edk2-platforms PATCH v2 1/8] Silicon/Marvell: New Marvell Odyssey processor

2023-12-20 Thread Narinder Dhillon
From: Narinder Dhillon This patch creates ArmPlatformPkg for Odyssey SoC by overriding some of the files in original ArmPlatformPkg. Differences from standard ArmPlatformPkg are marked with "--- MRVL Override" comment. Signed-off-by: Narinder Dhillon --- .../PrePi/AArch64/ModuleEn

[edk2-devel] [edk2-platforms PATCH v2 2/8] Silicon/Marvell: Odyssey ArmPlatformLib

2023-12-20 Thread Narinder Dhillon
From: Narinder Dhillon This patch adds ArmPlatformLib for Marvell Odyssey SoC. Signed-off-by: Narinder Dhillon --- .../AArch64/ArmPlatformHelper.S | 86 .../Library/ArmPlatformLib/ArmPlatformLib.c | 79 +++ .../Library/ArmPlatformLib/ArmPlatformLib.inf

[edk2-devel] [edk2-platforms PATCH v2 3/8] Silicon/Marvell: Odyssey SmcLib

2023-12-20 Thread Narinder Dhillon
From: Narinder Dhillon This patch provides SMC call needed by Odyssey to determine available memory size. Signed-off-by: Narinder Dhillon --- Silicon/Marvell/Library/SmcLib/SmcLib.c | 24 +++ Silicon/Marvell/Library/SmcLib/SmcLib.inf | 29 +++ .../Include

[edk2-devel] [edk2-platforms PATCH v2 0/8] Silicon/Marvell/OdysseyPkg:

2023-12-20 Thread Narinder Dhillon
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

Re: [edk2-devel] [edk2-platforms PATCH v1 1/4] Silicon/Marvell: Retructure package

2023-11-12 Thread Narinder Dhillon
Hi Leif, Just a heads up, I have submitted a second version of this patch with suggested changes. Thanks, Narinder Dhillon > -Original Message- > From: Leif Lindholm > Sent: Thursday, October 26, 2023 11:47 AM > To: devel@edk2.groups.io > Cc: Narinder Dhillon ; m.

[edk2-devel] [edk2-platforms PATCH v2 0/1] Marvell package restructure

2023-11-01 Thread Narinder Dhillon
From: Narinder Dhillon Current Silicon/Marvell package structure does not allow sharing of components that are common to different SoC's. This restructure will increase shared code and better seperation. Credit to Leif Lindholm for providing this new structure. v2: - Remove three lines

[edk2-devel] [edk2-platforms PATCH v1 2/4] Silicon/Marvell: Use new package name and path

2023-10-11 Thread Narinder Dhillon
From: Narinder Dhillon New Marvell package name, path, and token space needs to be propagated to all dependent files. Signed-off-by: Narinder Dhillon --- .../Applications/EepromCmd/EepromCmd.inf | 2 +- .../Applications/FirmwareUpdate/FUpdate.inf | 6 +- .../Applications/SpiTool

[edk2-devel] [edk2-platforms PATCH v1 4/4] Platform/SolidRun: Use new package name and path

2023-10-11 Thread Narinder Dhillon
From: Narinder Dhillon New Marvell package name, path, and token space needs to be propagated to all dependent files. Signed-off-by: Narinder Dhillon --- .../Armada80x0McBin/Armada80x0McBin.dsc | 116 +- .../Armada80x0McBinBoardDescLib.inf | 2

[edk2-devel] [edk2-platforms PATCH v1 3/4] Platform/Marvell: Use new package name and path

2023-10-11 Thread Narinder Dhillon
From: Narinder Dhillon New Marvell package name, path, and token space needs to be propagated to all dependent files. Signed-off-by: Narinder Dhillon --- .../Marvell/Armada70x0Db/Armada70x0Db.dsc | 108 +++--- .../Armada70x0DbBoardDescLib.inf | 2

[edk2-devel] [edk2-platforms PATCH v1 0/4] Marvell package restructure

2023-10-11 Thread Narinder Dhillon
From: Narinder Dhillon Current Silicon/Marvell package structure does not allow sharing of components that are common to different SoC's. This restructure will increase shared code and better seperation. Credit to Leif Lindholm for providing this new structure. Narinder Dhillon (4): Silicon

[edk2-devel] [edk2-platforms PATCH v1 1/4] Silicon/Marvell: Retructure package

2023-10-11 Thread Narinder Dhillon
From: Narinder Dhillon Current Marvell package structure makes it difficult to add new silicon packages that reuse common elements without creating nested DEC files. This patch creates a new MarvellSiliconPkg folder and moves the current common elements inside it. Also gMarvellTokenSpaceGuid