From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by mx.groups.io with SMTP id smtpd.web11.1944.1583231633343332852 for ; Tue, 03 Mar 2020 02:33:53 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=CC+xVc81; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.128.65, mailfrom: pete@akeo.ie) Received: by mail-wm1-f65.google.com with SMTP id m3so2289715wmi.0 for ; Tue, 03 Mar 2020 02:33:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RF0uOOlCZSW34Az0kGNeOxoiHfmb0ftU6ryDQTx6xJw=; b=CC+xVc81f/J+K7tGFhi+rhR/WnjwGFifuVMUVpq4a6xqxmBG62rSiZD8pzGC4nWP/6 Ftuicf9+l04KJWi3iWtcWNRZkToaBBxmrpx2hhKeGchs+Tfi7xE/en20KDoS+oeTwsNC 9isDDel5m6MKZlgKfBsRLnkF9vKPMm80fhYCMlI3hsO/NVSpSCIFaeIACKpIszOfw2je o1A8cZXeWEqPyw1oYzPygnB2TZKE+7DPtAw/AXT1OIChydHLp4XvoMnlhYFDDrGfmQuM zmXh3UaYhL7raTO1K8v9xVnfvVl+HIuqsN4XaGKTngg7f7pRV6LKFM3MDrfBzurmOAEr Wg8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RF0uOOlCZSW34Az0kGNeOxoiHfmb0ftU6ryDQTx6xJw=; b=FLr2NoeIxmNVh3U9M9wVDD11Ag+KCDZnlMvm6SinIEM3ehFGIoFbp6vjIWNH2Dkz6w uStRWht/Q7bzUIVYIjY4jq38KbKKNdCZ8iUrQ9EiFG90tRMnbgxsdqjZ6nS15C99uHwJ W/2Fi5zth1i6HkSa25OX9V1xb4HZndazVVYZtVeafwJ86j2pW7GJfUbt8EGN/AsI6dyB cfaMKXXD/r8ecoLwjMTuSrrXsQ65RfrnbPnjaYljDCMpeaajXQS9x/WdXrRFG5UiJ1Xh u6LEp7Sem4+Dg4lSNkIvhpj2jjck4TDQ/yMqEVev6APHWfKIrXoGUsp3iOSKzbZlJj/Q vtGQ== X-Gm-Message-State: ANhLgQ3uCJ/y5V/pd0skbMyvyW84E9Kl+PF8bdupukc1AJCA4xpYYfUj 4JUy5UquAx+yQRnBS6DCxhh/af55TX0= X-Google-Smtp-Source: ADFU+vvHMxH01QIBVuv1VjdqB/QpTj1qZ0EZY0DXHmkNZ6TMcdvRsteU9flOXBGZCjuQaVSIaaMFKQ== X-Received: by 2002:a1c:4604:: with SMTP id t4mr909479wma.164.1583231631492; Tue, 03 Mar 2020 02:33:51 -0800 (PST) Return-Path: Received: from localhost.localdomain ([84.203.56.244]) by smtp.gmail.com with ESMTPSA id c4sm3255193wml.7.2020.03.03.02.33.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2020 02:33:50 -0800 (PST) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif@nuviainc.com, philmd@redhat.com, awarkentin@vmware.com Subject: [edk2-devel][PATCH 0/5] Platform/RPi: User config improvements Date: Tue, 3 Mar 2020 10:33:34 +0000 Message-Id: <20200303103339.7468-1-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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