[edk2-devel] [edk2-platforms][PATCH 0/8] Platform/RPi: Early Raspberry Pi 4 groundwork

Pete Batard posted 8 patches 4 years, 5 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
Platform/RaspberryPi/Drivers/ArasanMmcHostDxe/ArasanMmcHostDxe.inf   |   3 +
Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf                 |   2 +
Platform/RaspberryPi/Drivers/DwUsbHostDxe/DwUsbHostDxe.inf           |   5 +
Platform/RaspberryPi/Drivers/DwUsbHostDxe/DwcHw.h                    |   4 +-
Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c         |  64 +++++
Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.inf       |   6 +-
Platform/RaspberryPi/Drivers/SdHostDxe/SdHostDxe.inf                 |   2 +
Platform/RaspberryPi/Include/IndustryStandard/RpiMbox.h              |   1 +
Platform/RaspberryPi/Include/Library/RPiMem.h                        |  26 ++
Platform/RaspberryPi/Include/Protocol/RpiFirmware.h                  |   8 +
Platform/RaspberryPi/Library/MemoryInitPeiLib/MemoryInitPeiLib.c     |  94 ++++---
Platform/RaspberryPi/Library/MemoryInitPeiLib/MemoryInitPeiLib.inf   |   1 +
Platform/RaspberryPi/Library/PlatformLib/AArch64/RaspberryPiHelper.S |  75 +++++-
Platform/RaspberryPi/Library/PlatformLib/PlatformLib.inf             |   7 +-
Platform/RaspberryPi/Library/PlatformLib/RaspberryPiMem.c            | 256 +++++++++++---------
Platform/RaspberryPi/RPi3/RPi3.dsc                                   |  11 +-
Platform/RaspberryPi/RaspberryPi.dec                                 |   2 +
Silicon/Broadcom/Bcm27xx/Bcm27xx.dec                                 |  22 ++
Silicon/Broadcom/Bcm27xx/Include/IndustryStandard/Bcm2711.h          |  15 ++
Silicon/Broadcom/Bcm283x/Bcm283x.dec                                 |  10 +
Silicon/Broadcom/Bcm283x/Drivers/InterruptDxe/InterruptDxe.inf       |   4 +-
Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.inf                   |   5 +
Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836.h          |   7 +-
Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836Sdio.h      |   3 +-
Silicon/Broadcom/Bcm283x/Library/GpioLib/GpioLib.inf                 |   4 +
25 files changed, 464 insertions(+), 173 deletions(-)
create mode 100644 Platform/RaspberryPi/Include/Library/RPiMem.h
create mode 100644 Silicon/Broadcom/Bcm27xx/Bcm27xx.dec
create mode 100644 Silicon/Broadcom/Bcm27xx/Include/IndustryStandard/Bcm2711.h
[edk2-devel] [edk2-platforms][PATCH 0/8] Platform/RPi: Early Raspberry Pi 4 groundwork
Posted by Pete Batard 4 years, 5 months ago
The following set of patches lay some of the groundwork needed for the
addition of the Raspberry Pi 4 as a platform.

They are mostly designed at making the common RPi code more generic, by
introducing new PCDs for the elements that are going to vary between Pi
models, as well as introducing early support for the new Bcm2711 SoC in
Silicon.

Some cleanup of the memory init is also applied to make that part more
generic as well as improve long term maintainability.

Regards,

/Pete

Pete Batard (3):
  Silicon/Broadcom: Add Bcm2711 header
  Platform/RPi: Read more variables from VideoCore during early init
  Platform/RPi: Clean up and improve early memory init

Samer El-Haj-Mahmoud (5):
  Platform/RPi: Add model family detection
  Platform/RPi: Replace Bcm283x SoC base register address with a PCD
  Platform/RPi: Replace Mailbox and Watchdog addresses with PCDs
  Platform/RPi: Replace MMCHS1BASE define with a PCD
  Platform/RPi: Replace DW2_USB_BASE_ADDRESS define with a PCD

 Platform/RaspberryPi/Drivers/ArasanMmcHostDxe/ArasanMmcHostDxe.inf   |   3 +
 Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf                 |   2 +
 Platform/RaspberryPi/Drivers/DwUsbHostDxe/DwUsbHostDxe.inf           |   5 +
 Platform/RaspberryPi/Drivers/DwUsbHostDxe/DwcHw.h                    |   4 +-
 Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c         |  64 +++++
 Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.inf       |   6 +-
 Platform/RaspberryPi/Drivers/SdHostDxe/SdHostDxe.inf                 |   2 +
 Platform/RaspberryPi/Include/IndustryStandard/RpiMbox.h              |   1 +
 Platform/RaspberryPi/Include/Library/RPiMem.h                        |  26 ++
 Platform/RaspberryPi/Include/Protocol/RpiFirmware.h                  |   8 +
 Platform/RaspberryPi/Library/MemoryInitPeiLib/MemoryInitPeiLib.c     |  94 ++++---
 Platform/RaspberryPi/Library/MemoryInitPeiLib/MemoryInitPeiLib.inf   |   1 +
 Platform/RaspberryPi/Library/PlatformLib/AArch64/RaspberryPiHelper.S |  75 +++++-
 Platform/RaspberryPi/Library/PlatformLib/PlatformLib.inf             |   7 +-
 Platform/RaspberryPi/Library/PlatformLib/RaspberryPiMem.c            | 256 +++++++++++---------
 Platform/RaspberryPi/RPi3/RPi3.dsc                                   |  11 +-
 Platform/RaspberryPi/RaspberryPi.dec                                 |   2 +
 Silicon/Broadcom/Bcm27xx/Bcm27xx.dec                                 |  22 ++
 Silicon/Broadcom/Bcm27xx/Include/IndustryStandard/Bcm2711.h          |  15 ++
 Silicon/Broadcom/Bcm283x/Bcm283x.dec                                 |  10 +
 Silicon/Broadcom/Bcm283x/Drivers/InterruptDxe/InterruptDxe.inf       |   4 +-
 Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.inf                   |   5 +
 Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836.h          |   7 +-
 Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836Sdio.h      |   3 +-
 Silicon/Broadcom/Bcm283x/Library/GpioLib/GpioLib.inf                 |   4 +
 25 files changed, 464 insertions(+), 173 deletions(-)
 create mode 100644 Platform/RaspberryPi/Include/Library/RPiMem.h
 create mode 100644 Silicon/Broadcom/Bcm27xx/Bcm27xx.dec
 create mode 100644 Silicon/Broadcom/Bcm27xx/Include/IndustryStandard/Bcm2711.h

-- 
2.21.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#50689): https://edk2.groups.io/g/devel/message/50689
Mute This Topic: https://groups.io/mt/57792437/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-