From nobody Mon Feb 9 01:20:17 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+58409+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+58409+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1588236480; cv=none; d=zohomail.com; s=zohoarc; b=LUW7Ea4YAl18n/QNnyu6tuKJZXdkpeT2P54aTC9bJu3WoxWek++WQK3wStW0oz1CnosrJW6FptARzDYRRKaLH/YtXIllVH80nBGS44QHucLgvW7RF6SaqQP/WH/iSUxLvwqjUfNC1BurgKpuG2La5vCX1vQ7pqjuQzlixDhcVWg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588236480; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=QzNfm1TIEw6uMMVkYeVqej9mF6ZKOrHB+q1QEzSGq1M=; b=HvdfLZLV5O2tM1Ik0UV48oeAsIXRV/sPcDnvi9w9YrDEdfQDXUD3h8Jrx6fHFXqH/xR+t7fsYC1od/cz1v28L8rQlhAPXpfbgNf2hd/UGBLf5ugiL+kKTNE0XHlXx20xyTuJZ/NhyzTsvzjld6JFu4EQsqPhNZl8vkH9AoQvj4Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+58409+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1588236480766650.5552648347257; Thu, 30 Apr 2020 01:48:00 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id em5DYY1788612xSu8wYxboX9; Thu, 30 Apr 2020 01:48:00 -0700 X-Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) by mx.groups.io with SMTP id smtpd.web12.3308.1588236479832748605 for ; Thu, 30 Apr 2020 01:48:00 -0700 X-Received: by mail-qk1-f171.google.com with SMTP id s9so2192500qkm.6 for ; Thu, 30 Apr 2020 01:47:59 -0700 (PDT) X-Gm-Message-State: 8Cshq2qNBW1GNwDKwEoO1BTMx1787277AA= X-Google-Smtp-Source: APiQypLQ36oR3eAMYV6wCArfhakjSyebaDs8N7ptNJGdFUoQPb+dOCed433PD6YJ8SMyfPMZ5Leb4g== X-Received: by 2002:a37:c4b:: with SMTP id 72mr2538044qkm.2.1588236478866; Thu, 30 Apr 2020 01:47:58 -0700 (PDT) X-Received: from localhost.localdomain (c-98-214-99-181.hsd1.il.comcast.net. [98.214.99.181]) by smtp.gmail.com with ESMTPSA id f130sm1419553qke.22.2020.04.30.01.47.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Apr 2020 01:47:58 -0700 (PDT) From: "Andrei Warkentin" To: devel@edk2.groups.io Cc: ard.biesheuvel@arm.com, leif@nuviainc.com, pete@akeo.ie, philmd@redhat.com Subject: [edk2-devel] [edk2-platforms][PATCH 2/4] RPi3: add support for the v1.2 Pi 2B. Date: Thu, 30 Apr 2020 01:47:44 -0700 Message-Id: <20200430084746.51455-3-andrey.warkentin@gmail.com> In-Reply-To: <20200430084746.51455-1-andrey.warkentin@gmail.com> References: <20200430084746.51455-1-andrey.warkentin@gmail.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: <27952.devel.edk2.groups.io> Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,andrey.warkentin@gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1588236480; bh=HYZXBm9AdSDZqlodkTgFylzozbzzzl+Ux9WR65EaYAY=; h=Cc:Date:From:Reply-To:Subject:To; b=RXEX7uWo4/2KFqYKNqxJ5Y1/GyJOCfNy6bAnwZHAUAPcMxlYbo6dL7Ve5/ADsEyoDEg rk0T3kCApZXrkb7nDTv3WV5cs1JPbWgSg+nbjIggs3EnRLhuUxpy9k9/+HI55ZLnmQ491 H/RVIVg0lSMeJ+vMNXBHrdvaT1pdjarv5oU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" v1.2 (not older) actually uses the same BCM2837 SoC as Pi 3, and is thus a 64-bit device that this firmware easily supports as a minor variant of the Pi 3. The difference from Pi 3 is choice of UART (PL011), no WiFi, no BT and slower clock due to thermal problems caused by older board design. Signed-off-by: Andrei Warkentin --- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 4 ++-- Platform/RaspberryPi/RPi3/Readme.md | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c b/Platform/= RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c index 1091e680..c90c2530 100644 --- a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c +++ b/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c @@ -322,9 +322,9 @@ ApplyVariables ( ASSERT_EFI_ERROR (Status); } =20 - if (mModelFamily =3D=3D 3) { + if (mModelFamily =3D=3D 3 || mModelFamily =3D=3D 2) { /* - * Pi 3: either Arasan or SdHost goes to SD card. + * Pi 2B v1.2 / Pi 3: either Arasan or SdHost goes to SD card. * * Switching two groups around, so disable both first. * diff --git a/Platform/RaspberryPi/RPi3/Readme.md b/Platform/RaspberryPi/RPi= 3/Readme.md index d63d6767..3484c92c 100644 --- a/Platform/RaspberryPi/RPi3/Readme.md +++ b/Platform/RaspberryPi/RPi3/Readme.md @@ -17,6 +17,7 @@ Raspberry Pi is a trademark of the [Raspberry Pi Foundati= on](http://www.raspberr # Hardware Supported =20 The RPi3 target supports Pi revisions based on the BCM2837 SoC: +- Raspberry Pi 2B v1.2 (older versions are *not* compatible) - Raspberry Pi 3A+ - Raspberry Pi 3B - Raspberry Pi 3B+ --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#58409): https://edk2.groups.io/g/devel/message/58409 Mute This Topic: https://groups.io/mt/73371476/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-