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

Pete Batard posted 7 patches 4 years, 5 months ago
Failed in applying to current master (apply log)
Platform/RaspberryPi/Drivers/ArasanMmcHostDxe/ArasanMmcHostDxe.inf   |   2 +
Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf                 |   2 +
Platform/RaspberryPi/Drivers/DwUsbHostDxe/DwUsbHostDxe.inf           |   4 +
Platform/RaspberryPi/Drivers/DwUsbHostDxe/DwcHw.h                    |   4 +-
Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c         |  64 +++++
Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.inf       |   5 +-
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 |  76 +++++-
Platform/RaspberryPi/Library/PlatformLib/PlatformLib.inf             |   6 +-
Platform/RaspberryPi/Library/PlatformLib/RaspberryPiMem.c            | 256 +++++++++++---------
Platform/RaspberryPi/RPi3/RPi3.dsc                                   |   7 +-
Platform/RaspberryPi/RaspberryPi.dec                                 |   1 +
Silicon/Broadcom/Bcm27xx/Bcm27xx.dec                                 |  22 ++
Silicon/Broadcom/Bcm27xx/Include/IndustryStandard/Bcm2711.h          |  15 ++
Silicon/Broadcom/Bcm283x/Bcm283x.dec                                 |   7 +
Silicon/Broadcom/Bcm283x/Drivers/InterruptDxe/InterruptDxe.inf       |   4 +-
Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.inf                   |   5 +
Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836.h          |  11 +-
Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836Sdio.h      |   4 +-
Silicon/Broadcom/Bcm283x/Library/GpioLib/GpioLib.inf                 |   4 +
25 files changed, 459 insertions(+), 172 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 v2 0/7] Platform/RPi: Early Raspberry Pi 4 groundwork
Posted by Pete Batard 4 years, 5 months ago
Changes from v1 (https://edk2.groups.io/g/devel/message/50689 - 50697):
- Split missing "Raspberry Pi Compute Module 3+" model from the "model name" patch
- Update Samer's e-mail address
- Drop leading __ in new header guards
- List new PCDs, headers and LibraryClasses in alphabetical order where possible
- Use a single PCD for the SoC registers base address and use offsets to derive
  the other registers address from that PCD
- Add a comment in RaspberryPiHelper.S to indicate that x1 keeps its value
- Mention that RaspberryPiMem.c is derived from code from ArmJunoMem.c

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 (4):
  Platform/RPi: Add missing model name
  Platform/RPi: Add model family detection
  Platform/RPi: Replace Bcm283x SoC base register address with a PCD
  Platform/RPi: Use offsets for Bcm238x SoC register addresses

 Platform/RaspberryPi/Drivers/ArasanMmcHostDxe/ArasanMmcHostDxe.inf   |   2 +
 Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf                 |   2 +
 Platform/RaspberryPi/Drivers/DwUsbHostDxe/DwUsbHostDxe.inf           |   4 +
 Platform/RaspberryPi/Drivers/DwUsbHostDxe/DwcHw.h                    |   4 +-
 Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c         |  64 +++++
 Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.inf       |   5 +-
 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 |  76 +++++-
 Platform/RaspberryPi/Library/PlatformLib/PlatformLib.inf             |   6 +-
 Platform/RaspberryPi/Library/PlatformLib/RaspberryPiMem.c            | 256 +++++++++++---------
 Platform/RaspberryPi/RPi3/RPi3.dsc                                   |   7 +-
 Platform/RaspberryPi/RaspberryPi.dec                                 |   1 +
 Silicon/Broadcom/Bcm27xx/Bcm27xx.dec                                 |  22 ++
 Silicon/Broadcom/Bcm27xx/Include/IndustryStandard/Bcm2711.h          |  15 ++
 Silicon/Broadcom/Bcm283x/Bcm283x.dec                                 |   7 +
 Silicon/Broadcom/Bcm283x/Drivers/InterruptDxe/InterruptDxe.inf       |   4 +-
 Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.inf                   |   5 +
 Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836.h          |  11 +-
 Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836Sdio.h      |   4 +-
 Silicon/Broadcom/Bcm283x/Library/GpioLib/GpioLib.inf                 |   4 +
 25 files changed, 459 insertions(+), 172 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 (#50880): https://edk2.groups.io/g/devel/message/50880
Mute This Topic: https://groups.io/mt/60553571/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [edk2-platforms][PATCH v2 0/7] Platform/RPi: Early Raspberry Pi 4 groundwork
Posted by Leif Lindholm 4 years, 5 months ago
On Tue, 19 Nov 2019 at 11:38, Pete Batard <pete@akeo.ie> wrote:
>
> Changes from v1 (https://edk2.groups.io/g/devel/message/50689 - 50697):
> - Split missing "Raspberry Pi Compute Module 3+" model from the "model
name" patch
> - Update Samer's e-mail address
> - Drop leading __ in new header guards
> - List new PCDs, headers and LibraryClasses in alphabetical order where
possible
> - Use a single PCD for the SoC registers base address and use offsets to
derive
>   the other registers address from that PCD
> - Add a comment in RaspberryPiHelper.S to indicate that x1 keeps its value
> - Mention that RaspberryPiMem.c is derived from code from ArmJunoMem.c
>
> 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 (4):
>   Platform/RPi: Add missing model name
>   Platform/RPi: Add model family detection
>   Platform/RPi: Replace Bcm283x SoC base register address with a PCD
>   Platform/RPi: Use offsets for Bcm238x SoC register addresses

For the series:
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Pushed as 6dfc9b39cc2e..61b6c05bdf3e.

Thanks!

/
    Leif

>  Platform/RaspberryPi/Drivers/ArasanMmcHostDxe/ArasanMmcHostDxe.inf   |
2 +
>  Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf                 |
2 +
>  Platform/RaspberryPi/Drivers/DwUsbHostDxe/DwUsbHostDxe.inf           |
4 +
>  Platform/RaspberryPi/Drivers/DwUsbHostDxe/DwcHw.h                    |
4 +-
>  Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c         |
 64 +++++
>  Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.inf       |
5 +-
>  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 |
 76 +++++-
>  Platform/RaspberryPi/Library/PlatformLib/PlatformLib.inf             |
6 +-
>  Platform/RaspberryPi/Library/PlatformLib/RaspberryPiMem.c            |
256 +++++++++++---------
>  Platform/RaspberryPi/RPi3/RPi3.dsc                                   |
7 +-
>  Platform/RaspberryPi/RaspberryPi.dec                                 |
1 +
>  Silicon/Broadcom/Bcm27xx/Bcm27xx.dec                                 |
 22 ++
>  Silicon/Broadcom/Bcm27xx/Include/IndustryStandard/Bcm2711.h          |
 15 ++
>  Silicon/Broadcom/Bcm283x/Bcm283x.dec                                 |
7 +
>  Silicon/Broadcom/Bcm283x/Drivers/InterruptDxe/InterruptDxe.inf       |
4 +-
>  Silicon/Broadcom/Bcm283x/Drivers/RngDxe/RngDxe.inf                   |
5 +
>  Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836.h          |
 11 +-
>  Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836Sdio.h      |
4 +-
>  Silicon/Broadcom/Bcm283x/Library/GpioLib/GpioLib.inf                 |
4 +
>  25 files changed, 459 insertions(+), 172 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 (#50915): https://edk2.groups.io/g/devel/message/50915
Mute This Topic: https://groups.io/mt/60553571/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-