From nobody Fri May 17 05:54:39 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+88671+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+88671+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1649639843; cv=none; d=zohomail.com; s=zohoarc; b=SiTWR3sme8dorqfY03eV1ZD9EkbzPzZirX2T6O2I185Mliv93nZeSyNJA9diO0/Ddh46zpEbNSApj2RyC/zB3ru4FGSe/Ou3WDgcJaeUrhpBlblYJcBqDwy0qejoUGphyHmExT3K84PJh4gTXZL8BptJOX+nYgFR9cGEQg0b8pU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649639843; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=1zhTP6V1AQctDTpdouWmS1Z57ysF3zTdVzvWxY7U/Iw=; b=elXP4gTCEyB3oLOF/Qc5KofpELm4Zzw8AgY3/kdDAtMu33OyFFHugXa4zp6L/GElaYQkJbtjuECpXgJVt4EGw0Y2Rub7mjlf8yjf2eUBB/l3rjkKIFN85D7NB3XyQrK/ylhHlKrmc07pFjY6+avRMzWit2blMq/v6Fo9oSyP80Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+88671+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1649639843074545.2640066117536; Sun, 10 Apr 2022 18:17:23 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id U3GTYY1788612xkbiMCxW7P1; Sun, 10 Apr 2022 18:17:22 -0700 X-Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mx.groups.io with SMTP id smtpd.web11.24503.1649639841684308174 for ; Sun, 10 Apr 2022 18:17:21 -0700 X-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E98E05C013B; Sun, 10 Apr 2022 21:17:20 -0400 (EDT) X-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 10 Apr 2022 21:17:20 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudekhedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptfgvsggvtggtrgcuvehrrghnuceorhgvsggvtggtrgessghs ughiohdrtghomheqnecuggftrfgrthhtvghrnhepveeiffeivdevudetueehiedthedthe fhtdehfeelkeeitdfhhfefleetieehgfevnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomheprhgvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 10 Apr 2022 21:17:20 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Rebecca Cran , Leif Lindholm , Ard Biesheuvel Subject: [edk2-devel] [PATCH 1/3] ArmPlatformPkg: Fix error message in Scripts/Ds5/edk2_debugger.py Date: Sun, 10 Apr 2022 19:16:57 -0600 Message-Id: <20220411011659.191390-2-rebecca@bsdio.com> In-Reply-To: <20220411011659.191390-1-rebecca@bsdio.com> References: <20220411011659.191390-1-rebecca@bsdio.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: 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,rebecca@bsdio.com X-Gm-Message-State: 2iAAyuoFKQKld2x8r0eVVbJtx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1649639842; bh=Aa/JGJvAb7lErfCvEmNYlDKXcFMZG07Qk1Cr81Hrjso=; h=Cc:Date:From:Reply-To:Subject:To; b=gwtbdt6ASmuelTiTUv+0OlfeKu4PlL+iz3+lLDa7MhOcM9EKJL1EK9w1J1mbystRN9X u3UuVoB7tyba0E9tJ70noVihfvJzqs+vXAzgygXUssFVOXGaCnydK/vrDzNpfoSKTHtl9 gSTGcFpvX7sWMiY+BMc8ek7RGV5lEO3tNH0= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1649639844297100006 Content-Type: text/plain; charset="utf-8" An error message in Scripts/Ds5/edk2_debugger.py was missing the word 'not'. Signed-off-by: Rebecca Cran --- ArmPlatformPkg/Scripts/Ds5/edk2_debugger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArmPlatformPkg/Scripts/Ds5/edk2_debugger.py b/ArmPlatformPkg/S= cripts/Ds5/edk2_debugger.py index 9713f8bfaca2..4cd378dffd16 100644 --- a/ArmPlatformPkg/Scripts/Ds5/edk2_debugger.py +++ b/ArmPlatformPkg/Scripts/Ds5/edk2_debugger.py @@ -222,4 +222,4 @@ class ArmPlatformDebugger: self.debug_info_table.load_all_symbols(self.verbose) except: # Debugger exception could be excepted if DRAM has not been in= itialized or if we have not started to run from DRAM yet - print "Note: no symbols have been found in System Memory (poss= ible cause: the UEFI permanent memory has been installed yet)" + print "Note: no symbols have been found in System Memory (poss= ible cause: the UEFI permanent memory has not been installed yet)" --=20 2.25.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 (#88671): https://edk2.groups.io/g/devel/message/88671 Mute This Topic: https://groups.io/mt/90385956/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 Fri May 17 05:54:39 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+88672+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+88672+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1649639843; cv=none; d=zohomail.com; s=zohoarc; b=E7PTO0tDB7jssmgvFh53VSj3wJ+3+mYoDWJaEXTpP8egF7/tslenZe9WbN1Vfmw8gI9RBLduzXLpQTqLiK5VAUikxp0t73V5t4Max6HxZIkBUDOJ6T1eBT8tBZLE4RE1zoY9rlbQMv/F6UKeSOsxTHJWRHhBKM9Z4P3Bwuq0vn0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649639843; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=XvWJ3uBivrRIsN+NpQ6TKCOCAZlRn0AaxuFbJesIHrU=; b=IL9itCnb08hrABLU/INZtx22bD/ALqJMlJqmfaGMUJcZrGNOe7ezH+m2Tm2jjkePlSNxX2bZpt3L234ikHbYB0mhCfQ6QCkrgeQsAGPs3wUoTEcRUFOwTKWIdeG/f7i+F3WHue72kd4UB0lMVGf1Hnsi/V0OOimVva9dKjGuPe0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+88672+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1649639843749621.9706781132401; Sun, 10 Apr 2022 18:17:23 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 3c4lYY1788612xRoeUzL0Mqd; Sun, 10 Apr 2022 18:17:23 -0700 X-Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mx.groups.io with SMTP id smtpd.web12.24375.1649639842668697714 for ; Sun, 10 Apr 2022 18:17:22 -0700 X-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 037F55C013A; Sun, 10 Apr 2022 21:17:22 -0400 (EDT) X-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 10 Apr 2022 21:17:22 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudekhedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptfgvsggvtggtrgcuvehrrghnuceorhgvsggvtggtrgessghs ughiohdrtghomheqnecuggftrfgrthhtvghrnhepveeiffeivdevudetueehiedthedthe fhtdehfeelkeeitdfhhfefleetieehgfevnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomheprhgvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 10 Apr 2022 21:17:21 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Rebecca Cran , Leif Lindholm , Ard Biesheuvel Subject: [edk2-devel] [PATCH 2/3] ArmPlatformPkg: Fix target initialisation in cmd_load_symbols.py Date: Sun, 10 Apr 2022 19:16:58 -0600 Message-Id: <20220411011659.191390-3-rebecca@bsdio.com> In-Reply-To: <20220411011659.191390-1-rebecca@bsdio.com> References: <20220411011659.191390-1-rebecca@bsdio.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: 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,rebecca@bsdio.com X-Gm-Message-State: S8MaeqLKPNTqWjmDcwX0NsPyx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1649639843; bh=urmc2PXWAK0cXt7vW3mrFbb7HRGYoz6D0NL9ilNR1Vw=; h=Cc:Date:From:Reply-To:Subject:To; b=eK31ZCdIimV4bg9vHvXgnDa3j1HYfwGhRlsVSqdRogZu+p1okCCviXw7jc28JZ9G0Z5 pSKE70+dgdAq1yPuti7Y/V2feqqtFP82ts7tOeHBQVVUmqrFzW+yD10IyfS0bRghXiQwT GMdQdmn+qRZ2Xfyhw+f+u/T5Xg17cVThhkA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1649639844288100005 Content-Type: text/plain; charset="utf-8" The debugger in Arm Development Studio 2021.2 doesn't work with "ec =3D debugger.getExecutionContext(0)" because it's subsequently unable to access memory. Fix it by switching to "ec =3D debugger.getCurrentExecutionContext()". The documentation for waitForStop() says: "It is not needed after a call to stop() because stop() is blocking." So, remove the call to waitForStop. Signed-off-by: Rebecca Cran --- ArmPlatformPkg/Scripts/Ds5/cmd_load_symbols.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ArmPlatformPkg/Scripts/Ds5/cmd_load_symbols.py b/ArmPlatformPk= g/Scripts/Ds5/cmd_load_symbols.py index 89d2f28ba27d..cb4db148dedf 100644 --- a/ArmPlatformPkg/Scripts/Ds5/cmd_load_symbols.py +++ b/ArmPlatformPkg/Scripts/Ds5/cmd_load_symbols.py @@ -85,11 +85,10 @@ else: debugger =3D Debugger() =20 # Initialisation commands -ec =3D debugger.getExecutionContext(0) +ec =3D debugger.getCurrentExecutionContext() ec.getExecutionService().stop() -ec.getExecutionService().waitForStop() # in case the execution context reference is out of date -ec =3D debugger.getExecutionContext(0) +ec =3D debugger.getCurrentExecutionContext() =20 try: armplatform_debugger =3D edk2_debugger.ArmPlatformDebugger(ec, report_= file, regions, verbose) --=20 2.25.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 (#88672): https://edk2.groups.io/g/devel/message/88672 Mute This Topic: https://groups.io/mt/90385957/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 Fri May 17 05:54:39 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+88673+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+88673+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1649639844; cv=none; d=zohomail.com; s=zohoarc; b=NChooFjgG8P182qcfohj7rwmiIjIhBqC9K0Rb/6L6q233ZfLLSXPJqkqadMp+hhoEeTUiB2lU/X3ToegSlXD9hjXVlWRM9NvlrAuVR3SVWIUQXx/WvTjT678hKENR+BaAZrZwztf8vjWwL30f4q+uzr6yNFoEsxmDCRNGfV3VqA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649639844; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=2Nne/pw3OBbcYfm1OSg+amv1jY9K6QiCUPCrjcBDPTM=; b=OYX5shONAF3F07R6HQ/m1FUWShoCtC69MPFMA+YPD/xc0Cdyps3SadGYf4dBhJX8G+8EWcZ4PklAHkDyeBXqunWgghqOETLF89M5MMq2v//3gWNv9aNW1JqWpRqTa8P4vQT1tXJuppJJlPHQ89sNmDeXViNU7qGCMM2omj6ad1o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+88673+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1649639844881773.1447861518913; Sun, 10 Apr 2022 18:17:24 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id X0ODYY1788612xex1rYtGHrr; Sun, 10 Apr 2022 18:17:24 -0700 X-Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mx.groups.io with SMTP id smtpd.web11.24504.1649639843492322392 for ; Sun, 10 Apr 2022 18:17:23 -0700 X-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CED585C010D; Sun, 10 Apr 2022 21:17:22 -0400 (EDT) X-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 10 Apr 2022 21:17:22 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudekhedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptfgvsggvtggtrgcuvehrrghnuceorhgvsggvtggtrgessghs ughiohdrtghomheqnecuggftrfgrthhtvghrnhepveeiffeivdevudetueehiedthedthe fhtdehfeelkeeitdfhhfefleetieehgfevnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomheprhgvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 10 Apr 2022 21:17:22 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Rebecca Cran , Leif Lindholm , Ard Biesheuvel Subject: [edk2-devel] [PATCH 3/3] ArmPlatformPkg: Fix EDK2_DSC check in Scripts/Makefile Date: Sun, 10 Apr 2022 19:16:59 -0600 Message-Id: <20220411011659.191390-4-rebecca@bsdio.com> In-Reply-To: <20220411011659.191390-1-rebecca@bsdio.com> References: <20220411011659.191390-1-rebecca@bsdio.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: 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,rebecca@bsdio.com X-Gm-Message-State: FPAxeUtKGWX5YOZAhpoRiC2Wx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1649639844; bh=6lfBLQz/3R+2ySrLAmoZw08buDJ5f0WmCNI1cSLrWdc=; h=Cc:Date:From:Reply-To:Subject:To; b=W+0ZLqbdk2megbB6bp2M2kUB0wzuYKzktoD+Hoe/51x/OWVy496eP9VrlFqS9fTF8VC Bnmrpj6E+aBc6JvN7X8o2/kSgcbNgkr6aZww9AQrQzgJK5yZtG6kDXuKN+H7rAoxAS41t l273Izz9eJkZLLAOYnIP44ZtWJxoLU3vEu0= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1649639846305100015 Content-Type: text/plain; charset="utf-8" With GNU Make 4.2.1, ifeq ($(EDK2_DSC),"") doesn't catch the case where EDK2_DSC isn't defined. So, switch to using ifndef. Signed-off-by: Rebecca Cran --- ArmPlatformPkg/Scripts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArmPlatformPkg/Scripts/Makefile b/ArmPlatformPkg/Scripts/Makef= ile index da949dc1ed56..270fc80b6ae8 100644 --- a/ArmPlatformPkg/Scripts/Makefile +++ b/ArmPlatformPkg/Scripts/Makefile @@ -12,7 +12,7 @@ EDK2_TOOLCHAIN ?=3D RVCTLINUX EDK2_ARCH ?=3D ARM EDK2_BUILD ?=3D DEBUG =20 -ifeq ($(EDK2_DSC),"") +ifndef EDK2_DSC $(error The Makfile macro 'EDK2_DSC' must be defined with an EDK2 DSC fi= le.) endif ifeq ("$(EDK2_DSC)","ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64= .dsc") --=20 2.25.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 (#88673): https://edk2.groups.io/g/devel/message/88673 Mute This Topic: https://groups.io/mt/90385958/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-