From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.groups.io with SMTP id smtpd.web10.2290.1576063566437384405 for ; Wed, 11 Dec 2019 03:26:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=lZ92qERe; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.221.53, mailfrom: pete@akeo.ie) Received: by mail-wr1-f53.google.com with SMTP id c14so23604122wrn.7 for ; Wed, 11 Dec 2019 03:26:06 -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=dj8NGb5FeTE7XWOo7UTgHFabw4KNA74vYFGXj1z1igE=; b=lZ92qERe/FHbINPR/NGc3WYgNOMLcqe6IqldN9VTd/fq/bCKrLIsDo+I8+N3Fhjotx I9gRTKe5IJpG+RWtAixlQjwU8n/QzD+G0VKGNW8XoL6KfN11Q5Ze4O6PfcpFeF79dbK4 gj5/4pW2XJLWLWkFL1kY1JmFPDZud0pL3hFUGND3kYaS8ztI7jWBsR16VY7Va3pBMV8i UiFPgAYTKig0iZg3IpKq6rmvLmH0eskD5dtDej88L9fUR92tpPtRcvE0gzUjC6LTLym6 hFfM6DPwJOCFSaJW6EY2e7A4MXA4poSf5YrB1AKl9cxVBobqtyvjJeMNzLZFYQ1DpL9S 7o2g== 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=dj8NGb5FeTE7XWOo7UTgHFabw4KNA74vYFGXj1z1igE=; b=bW5P2GyCMrIZWxgZEmgO6iBTNiK0A5Wh8h+WBDRd2IDdf7GwDh5bGce+Vm6ITwNAOS ZgECluzE4joDkDiiCfRdiBvFdWsCiJcApPrBWMXJmDylpA5GFc8U3PlBYKrkp58Tgqvu 8w6bMpFXWM2SQKa2/Ja5Kp6N/4zdPSw5v/kKbRVc1XYuhmRMMZ2/xfP/mTuSufZtOVcH Y4V7vEaKof6ZkKTi+3AChBWNLTNaQFbnnld3vzPkbLyuqLTyHEop7N6v3kzjCtdf6ZFw awriwaORrZFCeJS1NmnUPDoppgdFh6VBgPtb5UNOZso46xMRbUEVVJPmVcfeff/pwldk X8QA== X-Gm-Message-State: APjAAAUcnHFXkt+W106qhyqo5URSdzF26X7dvHOuDLoXlmk+W306GDef 6wF0I1c4da/ACTDGqKfhROQQsWO1i1FAzg== X-Google-Smtp-Source: APXvYqx19S0FxPyyKLfEHKFqPvLjIknv881ttrLVudW6K+ZIRwnpOg/u0aqTsCg1TPr8ZRTLLvKemA== X-Received: by 2002:a5d:6748:: with SMTP id l8mr3348588wrw.188.1576063564653; Wed, 11 Dec 2019 03:26:04 -0800 (PST) Return-Path: Received: from localhost.localdomain ([84.203.45.230]) by smtp.gmail.com with ESMTPSA id q8sm190460wmq.3.2019.12.11.03.26.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Dec 2019 03:26:04 -0800 (PST) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, philmd@redhat.com, andrey.warkentin@gmail.com, samer.el-haj-mahmoud@arm.com Subject: [edk2-platforms][PATCH 0/5] Add initial Raspberry Pi 4 platform Date: Wed, 11 Dec 2019 11:25:47 +0000 Message-Id: <20191211112552.15900-1-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series adds basic support to build the Raspberry Pi 4 platform. It requires the earlier series, that add binary files for the platform, to have been applied to edk2-non-osi. For the introduction of the platform, USB support is not yet enabled which means that user I/O has to be carried out through serial. The first two patches of the series are fixes for the common RPi platform that will become relevant when we introduce support for PCIe/xHCI. The second two patch deal with the specific ACPI changes for the Pi 4 platform. To make these clearer, an intermediate patch, that simply enacts a straight unaltered copy of the Pi 3 ACPI files is added, so that the changes we apply can be made obvious. We also use this opportunity to switch the source of some tables (GTDT, MADT) to proper aslc. Finally, the last patch in this series adds the platform files along with a Readme detailing the installation requirements and current state of the platform. Andrei Warkentin (2): Platform/RPi4: Update ACPI tables for the new platform Platform/RPi4: Add base platform files Ard Biesheuvel (2): Platform/RPi: Fix overlap of SoC registers and RAM Platform/RPi: Don't describe MMIO regions as memory Samer El-Haj-Mahmoud (1): Platform/RPi4: Add initial ACPI tables Platform/RaspberryPi/Include/Library/RPiMem.h | 7 +- Platform/RaspberryPi/Library/MemoryInitPeiLib/MemoryInitPeiLib.c | 10 + Platform/RaspberryPi/Library/PlatformLib/RaspberryPiMem.c | 42 +- Platform/RaspberryPi/RPi4/AcpiTables/AcpiTables.h | 92 +++ Platform/RaspberryPi/RPi4/AcpiTables/AcpiTables.inf | 49 ++ Platform/RaspberryPi/RPi4/AcpiTables/Csrt.aslc | 327 ++++++++++ Platform/RaspberryPi/RPi4/AcpiTables/Dbg2.aslc | 28 + Platform/RaspberryPi/RPi4/AcpiTables/Dsdt.asl | 505 ++++++++++++++++ Platform/RaspberryPi/RPi4/AcpiTables/Fadt.aslc | 46 ++ Platform/RaspberryPi/RPi4/AcpiTables/Gtdt.aslc | 56 ++ Platform/RaspberryPi/RPi4/AcpiTables/Madt.aslc | 64 ++ Platform/RaspberryPi/RPi4/AcpiTables/Pep.asl | 90 +++ Platform/RaspberryPi/RPi4/AcpiTables/Pep.c | 79 +++ Platform/RaspberryPi/RPi4/AcpiTables/Pep.h | 121 ++++ Platform/RaspberryPi/RPi4/AcpiTables/Rhpx.asl | 195 ++++++ Platform/RaspberryPi/RPi4/AcpiTables/Sdhc.asl | 99 +++ Platform/RaspberryPi/RPi4/AcpiTables/Spcr.asl | 48 ++ Platform/RaspberryPi/RPi4/AcpiTables/Uart.asl | 152 +++++ Platform/RaspberryPi/RPi4/RPi4.dsc | 637 ++++++++++++++++++++ Platform/RaspberryPi/RPi4/RPi4.fdf | 432 +++++++++++++ Platform/RaspberryPi/RPi4/Readme.md | 110 ++++ 21 files changed, 3170 insertions(+), 19 deletions(-) create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/AcpiTables.h create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/AcpiTables.inf create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Csrt.aslc create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Dbg2.aslc create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Dsdt.asl create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Fadt.aslc create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Gtdt.aslc create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Madt.aslc create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Pep.asl create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Pep.c create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Pep.h create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Rhpx.asl create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Sdhc.asl create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Spcr.asl create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Uart.asl create mode 100644 Platform/RaspberryPi/RPi4/RPi4.dsc create mode 100644 Platform/RaspberryPi/RPi4/RPi4.fdf create mode 100644 Platform/RaspberryPi/RPi4/Readme.md -- 2.21.0.windows.1