From nobody Mon Feb 9 16:02:50 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+43172+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+43172+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1562084038; cv=none; d=zoho.com; s=zohoarc; b=kp9Lozwb62EEUyKK1EUDS8srrTzRP71cabtih7KGMG61Jv9z/jIQjepYC1xFY44RNHl0GUbnYbzqQL5yTSTtXXnWAS8D6W4U0RXAzDHSP1DWx3xYHbKdzAo5ruurJhApna03B3x8/XT5WgXhdXU3sEa/+JttrQM74rGLttIIYO8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1562084038; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=fQIdJvc/h3WQZhCYK6iDRHke9x3978eWRk81tsAon4A=; b=ieNK+HVBIiS2PCThkyO7CgAYRrzTGgP0s1DrYFYM0IS5bC0TdE/6CmqJplktyF1oV4tapxyiIadGQNQswDXBSIDzp64EHBefyLKje9vIy/yqbzo22Le3Ur+MV3O1qo3d2v0w+XsCdl2sguChnDOkW5Ig6FhJZGGiXGa+1Tb8+ws= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+43172+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1562084038096201.17777158434615; Tue, 2 Jul 2019 09:13:58 -0700 (PDT) Return-Path: X-Received: from mail-ed1-f68.google.com (mail-ed1-f68.google.com [209.85.208.68]) by groups.io with SMTP; Tue, 02 Jul 2019 09:13:57 -0700 X-Received: by mail-ed1-f68.google.com with SMTP id a14so27820128edv.12 for ; Tue, 02 Jul 2019 09:13:56 -0700 (PDT) X-Gm-Message-State: APjAAAUi8LUDA0KRDD1dO9/U0OJWGZ9BffEpvPD4rxXWq5BP4bdXltLw Hhv+46ts4Vg6OYFv6+Q+zrc9yUogilE= X-Google-Smtp-Source: APXvYqx1dj9TnMf4gtvalVf6i62kCeUQzc9pIkFws2lnk0yrgr7aRQVmgWZMlITzmje9Cq3rjRYIGw== X-Received: by 2002:a17:906:4a01:: with SMTP id w1mr29055931eju.291.1562084035338; Tue, 02 Jul 2019 09:13:55 -0700 (PDT) X-Received: from localhost.localdomain ([84.203.93.8]) by smtp.gmail.com with ESMTPSA id j11sm2355791ejr.69.2019.07.02.09.13.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jul 2019 09:13:54 -0700 (PDT) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org Subject: [edk2-devel] [edk2-platforms: PATCH 1/2] Platform/RPi3: Set the boot option of UEFI Shell as non-active Date: Tue, 2 Jul 2019 17:13:40 +0100 Message-Id: <20190702161341.2652-2-pete@akeo.ie> In-Reply-To: <20190702161341.2652-1-pete@akeo.ie> References: <20190702161341.2652-1-pete@akeo.ie> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pete@akeo.ie Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1562084037; bh=wCakCbMAHBT2FksnLsK632rRurwJyO/AwbAlFNgEiY0=; h=Cc:Date:From:Reply-To:Subject:To; b=vAZOJxnRh+FrjFlPIZftuGdr9wpfJicPwtUCaffIT5FuJEgNNsYkVxjqKWWmg6k4EL+ 7TXL3vcGvQ1p6q2PyjdmqDYoU2kkQoqinlFph7HUbBJk9ch+pOTy3hPfCjePh6KCb9P8E eOI1BZL9KA2pYEzsfraecmeBWoScWLRHQoY= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" This makes boot from SD/USB the default, which is what most users should expect. Pressing F1 at boot still boots to UEFI Shell. Signed-off-by: Pete Batard --- Platform/RaspberryPi/RPi3/Library/PlatformBootManagerLib/PlatformBm.c | 2 = +- Platform/RaspberryPi/RPi3/Readme.md | 6 = +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Platform/RaspberryPi/RPi3/Library/PlatformBootManagerLib/Platf= ormBm.c b/Platform/RaspberryPi/RPi3/Library/PlatformBootManagerLib/Platform= Bm.c index 92f3b6146dd7..e7757115d82c 100644 --- a/Platform/RaspberryPi/RPi3/Library/PlatformBootManagerLib/PlatformBm.c +++ b/Platform/RaspberryPi/RPi3/Library/PlatformBootManagerLib/PlatformBm.c @@ -460,7 +460,7 @@ PlatformRegisterOptionsAndKeys ( =20 RemoveStaleBootOptions (); =20 - ShellOption =3D PlatformRegisterFvBootOption (&gUefiShellFileGuid, L"UEF= I Shell", LOAD_OPTION_ACTIVE); + ShellOption =3D PlatformRegisterFvBootOption (&gUefiShellFileGuid, L"UEF= I Shell", LOAD_OPTION_CATEGORY_APP); if (ShellOption !=3D -1) { // // F1 boots Shell. diff --git a/Platform/RaspberryPi/RPi3/Readme.md b/Platform/RaspberryPi/RPi= 3/Readme.md index 7434233df0fb..624f3a8d287a 100644 --- a/Platform/RaspberryPi/RPi3/Readme.md +++ b/Platform/RaspberryPi/RPi3/Readme.md @@ -26,9 +26,9 @@ It also provides support for ATF ([Arm Trusted Platform](= https://github.com/ARM- HDMI and the mini-UART serial port can be used for output devices, with mi= rrored output. USB keyboards and the mini-UART serial port can be used as input. =20 -On a freshly built firmware, the default is to boot the UEFI shell. -To change the default boot order (for instance to boot uSD media by defaul= t) you -will need to edit the preferences in _Boot Maintenance Manager_. +The default for the firmware is to first attempt boot from SD then USB. Th= e UEFI +Shell can also be accessed by pressing F1. To change the boot order you ca= n edit +the preferences in the _Boot Maintenance Manager_ menu. =20 For additional information about the tested systems and how to set them up, please see [Systems.md](./Systems.md). --=20 2.21.0.windows.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 (#43172): https://edk2.groups.io/g/devel/message/43172 Mute This Topic: https://groups.io/mt/32287842/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-