From nobody Thu Apr 18 22:34:36 2024 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+51274+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+51274+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1574765869; cv=none; d=zohomail.com; s=zohoarc; b=VeT1GVfOjnnE2Yo/nJFwp8/Ssri9+sP6Wh2gW++zVA26oIzvmzASjMlM+yaq8u+tijWG1Jg6sg4bELBW+yr000AVKJGifr8lO6R0DfRG7JxQb656Js07+brZHttEntT32bQxhFrvCU365LKg/UU+vfJp0WiKaZj0iTaOI55D4rw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574765869; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=sUZcvHjksUMp10uyz2txAIyxGgyZjs8PI88sIuTM5WI=; b=OFQ5CoqEx2nZrAlZx1NMFuBRk4UB7Fn7bptr2lreuHvsPCHh+MbVIgv3AqRYxX4Xsx8iTU9aUKxa+W+fpPhcXtHIBsSWYG9vabsZgcmylqXwIEYBmLx3acxx8hMui0GxvhKzF7vOSaZ/o7ce4XAvWeU38+w48w6o9sdD6oxNX8A= 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+51274+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1574765869888238.33928443600735; Tue, 26 Nov 2019 02:57:49 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id aaaaYY1788612xaaaaaaaaaa; Tue, 26 Nov 2019 02:57:49 -0800 X-Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by mx.groups.io with SMTP id smtpd.web11.10093.1574765868729730555 for ; Tue, 26 Nov 2019 02:57:49 -0800 X-Received: by mail-wr1-f65.google.com with SMTP id t2so21896173wrr.1 for ; Tue, 26 Nov 2019 02:57:48 -0800 (PST) X-Gm-Message-State: aaaaaaaaaaaaaaaaaaaaaaaax1787277AA= X-Google-Smtp-Source: APXvYqw7n6nKIBywxlsEcL1YRAMRb544TTbdElOYsR6ZkOg1YXWaIkRj9VZK9TIuodlySjKb5yL/3Q== X-Received: by 2002:a5d:558b:: with SMTP id i11mr34365825wrv.379.1574765867000; Tue, 26 Nov 2019 02:57:47 -0800 (PST) X-Received: from localhost.localdomain ([84.203.37.1]) by smtp.gmail.com with ESMTPSA id p25sm2545037wma.20.2019.11.26.02.57.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Nov 2019 02:57:46 -0800 (PST) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, philmd@redhat.com Subject: [edk2-devel] [edk2-platforms][PATCH 1/2] Platform/RPi3: Disable DEBUG output at runtime for the RTC driver Date: Tue, 26 Nov 2019 10:57:32 +0000 Message-Id: <20191126105733.6300-2-pete@akeo.ie> In-Reply-To: <20191126105733.6300-1-pete@akeo.ie> References: <20191126105733.6300-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=1574765869; bh=h9J3pdFZ/IJYH0JKg6l9bXSrJ3DS/IP8gxEtmg+eRGU=; h=Cc:Date:From:Reply-To:Subject:To; b=MiivQlbBkHaUzovQIAk+5PN2coPbMbOeuFNZPWyZI7FcbHYUvx20ZpRQChDmKzr8c3/ nogvAbu0nqOepUSPW9Z4kea2TW2U5cttL3MTEAvBW3C0hpJg0LqQtkzvEOUL/nfqP+6xa uG+p47wHmLjRTX3DDkyfHWlfTi9++WEybT0= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" From: Ard Biesheuvel Using DEBUG () at runtime can crash the OS if we don't take care to inhibit serial output to MMIO mapped UARTs that we don't inform the OS about via the memory map. So use a version of DebugLib that does exactly that for the RTC driver. Signed-off-by: Pete Batard Reviewed-by: Leif Lindholm --- Platform/RaspberryPi/RPi3/RPi3.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3= /RPi3.dsc index 98c75e373fa7..8ec82fc6d598 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.dsc +++ b/Platform/RaspberryPi/RPi3/RPi3.dsc @@ -505,6 +505,7 @@ [Components.common] EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf { + DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebug= LibSerialPort.inf RealTimeClockLib|EmbeddedPkg/Library/VirtualRealTimeClockLib/Virtual= RealTimeClockLib.inf } EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf --=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 (#51274): https://edk2.groups.io/g/devel/message/51274 Mute This Topic: https://groups.io/mt/61957163/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- From nobody Thu Apr 18 22:34:36 2024 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+51275+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+51275+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1574765870; cv=none; d=zohomail.com; s=zohoarc; b=IgIo9r9CgZZdDuegQmBIF3BwvpOha5d0nZH2E1B2HLD7dc6h91I4FgY2Ra9PrKRDGYQM/QUMuf59ypHfSC1ALevjVSF6P/GaUPrSAwQO6sxRAGyXCrP1oO5puWWdnim8T8QX2kW4S+C8feY5Wff72MUR8VXwRoeudz6XX96hJqI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1574765870; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=I/wml5loRKA73NxXze2bn+rkKH/dCa5ChOxtlNfwTtE=; b=G0Bl52NTQq93W1R0HdbzWio2TErkFR3esRfBrm3C6CNyQwoKaZqg6/xCsvJwvTml1xQFQCbqidh8wGskKavMzT3xvg90+qY5TDaUtF4OPuWn0umjhC+4e1JUM/FSfYrrYgL2isX8HFl8bdvNH87dcFirrMrO3GDyOJz7A5+xFJM= 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+51275+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1574765870987868.0781528392369; Tue, 26 Nov 2019 02:57:50 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id aaaaYY1788612xaaaaaaaaaa; Tue, 26 Nov 2019 02:57:50 -0800 X-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.10094.1574765869855730659 for ; Tue, 26 Nov 2019 02:57:50 -0800 X-Received: by mail-wm1-f65.google.com with SMTP id y5so2743200wmi.5 for ; Tue, 26 Nov 2019 02:57:49 -0800 (PST) X-Gm-Message-State: aaaaaaaaaaaaaaaaaaaaaaaax1787277AA= X-Google-Smtp-Source: APXvYqy6rwlOpO+LXCdKjf+Z8vDhG4z6CfMeLJbzGJLQubxRfI29RN9LB4dBMMEAkECCG1MuOEKq7g== X-Received: by 2002:a1c:7d01:: with SMTP id y1mr3508737wmc.157.1574765868209; Tue, 26 Nov 2019 02:57:48 -0800 (PST) X-Received: from localhost.localdomain ([84.203.37.1]) by smtp.gmail.com with ESMTPSA id p25sm2545037wma.20.2019.11.26.02.57.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Nov 2019 02:57:47 -0800 (PST) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, philmd@redhat.com Subject: [edk2-devel] [edk2-platforms][PATCH 2/2] Platform/RPi3: Add acpiview to the builtin UEFI Shell Date: Tue, 26 Nov 2019 10:57:33 +0000 Message-Id: <20191126105733.6300-3-pete@akeo.ie> In-Reply-To: <20191126105733.6300-1-pete@akeo.ie> References: <20191126105733.6300-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=1574765870; bh=bkXY9qa8RPGwdos8aeyAKIHunwlIApbhUwGIYrAZJMA=; h=Cc:Date:From:Reply-To:Subject:To; b=DiENvg+D5+fhc9xoCEQAmfA/GiSRBVYg6Pj/BaQZ/QETYxGPNe8kmYsLI+NKplrvxT0 tOT+e0tZyV9XyOJs+JhNTsy76fsGpaRNL7SWa+mRXEkpzubT7qBb9wXg7gXoXumagyklB vf/Zc+2p61jqGSy4PeBXJhYkBcJZyZF42Ws= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" From: Ard Biesheuvel acpiview is a UEFI shell command that can be used to inspect and validate ACPI tables from the pre-OS environment. Let's add it to our build of the shell. Signed-off-by: Pete Batard Reviewed-by: Leif Lindholm --- Platform/RaspberryPi/RPi3/RPi3.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3= /RPi3.dsc index 8ec82fc6d598..6a808b287ea9 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.dsc +++ b/Platform/RaspberryPi/RPi3/RPi3.dsc @@ -617,6 +617,7 @@ [Components.common] NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1Comm= andsLib.inf NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1= CommandsLib.inf NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1= CommandsLib.inf + NULL|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewC= ommandLib.inf HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandlePar= singLib.inf PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcf= gCommandLib.inf --=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 (#51275): https://edk2.groups.io/g/devel/message/51275 Mute This Topic: https://groups.io/mt/61957164/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-