[edk2-devel][PATCH 0/5] Platform/RPi: User config improvements

Pete Batard pete at akeo.ie
Tue Mar 3 10:33:34 UTC 2020


This series improves on the configuration options made available to users
in the firmware/BIOS setup.

It adds 2 new options, one aimed at limiting the total amount of RAM
presented to the OS to 3 GB (currently needed for xHCI on Linux) and the
other toggling the provision of the Device Tree, which can be used to
force ACPI mode.

Combined, these two options remove the need for the ACPI_BASIC_MODE_ENABLE
build parameter we were previously using, and allow more fine grained
control, including adding the ability for Pi 3 users to enforce ACPI.

Finally, some cleanup and harmonization of the user settings menu forms
is applied.


Andrei Warkentin (3):
  Platform/RPi: Add firmware call to read installed memory size
  Platform/RPi: Separate RAM descriptors between 0-3 GB and 3+ GB
  Platform/RPi: Make 3GB/4GB a runtime (BIOS setup) choice

Pete Batard (2):
  Platform/RPi: Make Device Tree provision a runtime (BIOS setup) choice
  Platform/RPi/ConfigDxe: Improve RPi configuration forms

 Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c                 | 66 ++++++++++++---
 Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf               |  9 ++-
 Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.uni            | 38 ++++++---
 Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr            | 84 +++++++++++++++++---
 Platform/RaspberryPi/Drivers/FdtDxe/FdtDxe.c                       |  5 ++
 Platform/RaspberryPi/Drivers/FdtDxe/FdtDxe.inf                     |  3 +
 Platform/RaspberryPi/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 10 +--
 Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.c       | 29 ++++++-
 Platform/RaspberryPi/Include/Protocol/RpiFirmware.h                | 47 ++++++-----
 Platform/RaspberryPi/Library/PlatformLib/PlatformLib.inf           |  3 -
 Platform/RaspberryPi/Library/PlatformLib/RaspberryPiMem.c          | 33 +++++---
 Platform/RaspberryPi/RPi3/RPi3.dsc                                 | 11 +++
 Platform/RaspberryPi/RPi4/RPi4.dsc                                 | 16 ++--
 Platform/RaspberryPi/RPi4/RPi4.fdf                                 |  2 -
 Platform/RaspberryPi/RPi4/Readme.md                                | 15 ++--
 Platform/RaspberryPi/RaspberryPi.dec                               |  6 +-
 16 files changed, 283 insertions(+), 94 deletions(-)

-- 
2.21.0.windows.1


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

View/Reply Online (#55303): https://edk2.groups.io/g/devel/message/55303
Mute This Topic: https://groups.io/mt/71697494/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list