From nobody Wed May 15 22:40:06 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+102833+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+102833+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1681220811; cv=none; d=zohomail.com; s=zohoarc; b=diHsxWg5oKPmLdaszxUhYt8oCVl7gjebxVqEdcNTztBxJ3YiR4KDEjaSdoX67fiyGDoUNzyuDuOCbsnEQ6c6J5fGKTwHUiMKSj1MmfMR3Z8ZKILBeC6RIXzkUT7GjO+DtDvg2WCCn0MiXPa0UGyeHJTlknjAbmvAxAfHdjnYP1c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1681220811; 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=H+5Zaip/wqwPqSZXSJyuJyIJAw2rG+8L2cfU0/iGO+A=; b=DBsigGCz0JemowAsQ9nt6xKEKcxD9Cl/0HPRdjRKlvNyZIKybXAJ43UPIG0S6v0hrZKaLTiVb+DhtNtI1PrLhibTGCAqGLGl6717bayrc9sgFvpx3e4lAPo9AyadYmYNBqCtIl/iK/r8BJOWTuCjTeVyE9V5poldxoRiEVO8TsE= 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+102833+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1681220811601111.75333132661206; Tue, 11 Apr 2023 06:46:51 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id bQxSYY1788612xlRNwPTtPWG; Tue, 11 Apr 2023 06:46:50 -0700 X-Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mx.groups.io with SMTP id smtpd.web11.14216.1681220809520683029 for ; Tue, 11 Apr 2023 06:46:49 -0700 X-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 93E113200902; Tue, 11 Apr 2023 09:46:48 -0400 (EDT) X-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 11 Apr 2023 09:46:49 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdekgedgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepiedtfeejgffgveefleelieehteeuvdejvdejffehkedtgefhudevffehffek veejnecuffhomhgrihhnpehhthhtphhssghoohhtrdhithenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrvggsvggttggrsegsshguihhordgt ohhm X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 Apr 2023 09:46:47 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Thomas Abraham , Sami Mujawar , Leif Lindholm , Michael D Kinney Cc: Rebecca Cran Subject: [edk2-devel] [PATCH edk2-platforms 1/2] Platform/ARM/JunoPkg: Bump the FV size to 2MB Date: Tue, 11 Apr 2023 07:46:42 -0600 Message-Id: <20230411134643.116380-2-rebecca@bsdio.com> In-Reply-To: <20230411134643.116380-1-rebecca@bsdio.com> References: <20230411134643.116380-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: KoPzZFGipEedTkHLq1whyFB3x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1681220810; bh=OEH7th9ysDu+I6tedsEuSvI4h38fSW13PU3utLJ00eU=; h=Cc:Date:From:Reply-To:Subject:To; b=U3UlY8lqaFaFjqgpMzJor6M2jU/KZ7ZKo9h2NRlLbUejkY4LlKLOhAhd9odnzgBQ/11 mx8dxVtQzhGAX7tc8MkIf5H9/7iPYwsSrHYq7GdyY0eAN1OLhtYgQGVjRq0QwnsK942lH 1q75612GRkJ789EeK57NlhzIWZ6rOiBhm/o= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1681220813318100007 Content-Type: text/plain; charset="utf-8" Increase the FV size from 996KB to 2MB. This allows more features to be accommodated in the firmware image, such as HTTPS boot. It also allows a NOOPT build to be added, which is useful for source-level debugging. Add a comment explaining that the size chosen doesn't reflect the actual size of the Flash Device but is instead selected to reduce the amount of time needed to copy the image to the target. Update the BlockSize and NumBlocks to reflect the 256KB block size of the main area on the Juno R2. Signed-off-by: Rebecca Cran --- Platform/ARM/JunoPkg/ArmJuno.fdf | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Platform/ARM/JunoPkg/ArmJuno.fdf b/Platform/ARM/JunoPkg/ArmJun= o.fdf index 836d3cde8781..0c5a50e968e1 100644 --- a/Platform/ARM/JunoPkg/ArmJuno.fdf +++ b/Platform/ARM/JunoPkg/ArmJuno.fdf @@ -18,14 +18,21 @@ # ##########################################################################= ###### =20 +# The Size value is rather arbitrary, and doesn't reflect the actual size = of the FLASH Device, +# but is instead chosen to accommodate a normal build while reducing the a= mount of time required +# to copy the image to the target. +# +# Juno R2 has a 64MB NOR flash split into 2 areas: the main area is 65280K= B (0x3FC0000) with +# a 256KB block size. + [FD.BL33_AP_UEFI] BaseAddress =3D 0xE0000000|gArmTokenSpaceGuid.PcdFdBaseAddress # The ba= se address of the Firmware in NOR Flash. -Size =3D 0x000F9000|gArmTokenSpaceGuid.PcdFdSize # The si= ze in bytes of the FLASH Device +Size =3D 0x00200000|gArmTokenSpaceGuid.PcdFdSize # The si= ze in bytes of the FLASH Device ErasePolarity =3D 1 =20 # This one is tricky, it must be: BlockSize * NumBlocks =3D Size -BlockSize =3D 0x00001000 -NumBlocks =3D 0xF9 +BlockSize =3D 0x00040000 +NumBlocks =3D 0x0008 =20 ##########################################################################= ###### # @@ -43,7 +50,7 @@ [FD.BL33_AP_UEFI] # ##########################################################################= ###### =20 -0x00000000|0x000F9000 +0x00000000|0x00200000 gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize FV =3D FVMAIN_COMPACT =20 --=20 2.34.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 (#102833): https://edk2.groups.io/g/devel/message/102833 Mute This Topic: https://groups.io/mt/98197684/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 Wed May 15 22:40:06 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+102834+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+102834+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1681220812; cv=none; d=zohomail.com; s=zohoarc; b=KHYJoI+zpMbR/Q6fTvyzA21mvDR+71X+ZIgL9a5inhxY0Q8YDeTw/RFhfqATyHwxiH4/3ERXDzl3+hIjBuWwAPr5ojqgRKPtmn9b+DPAj6hFZ8hIlq1Ug6rrfrstO+OvV2z334eUqB6husdXqbMD93U51vxtkP9gj9qmnHxi7zk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1681220812; 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=C5K1oS/+lJTwEKIL8oEN7QrI2eW2t6KH6kPAuefjoXk=; b=aV7BeVkIRapJAYrQijvQDxi9bm4RGVScQg1BeHK1ivNfh8d386Q4ohl1RnUz5DcK/P4E8WqYkxh7+i4wR8QNC7idjoSkKdPiL7pZenpl14Ni3OLdgmi2MwA4t1TZijbnjQB1l1Ec+vQvTgJ1vU/uUUU0lpCSeYoOnrKD2XE5spY= 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+102834+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1681220812460937.2645005803796; Tue, 11 Apr 2023 06:46:52 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id W9J0YY1788612xA72qcpNVFx; Tue, 11 Apr 2023 06:46:52 -0700 X-Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mx.groups.io with SMTP id smtpd.web10.14089.1681220811589033873 for ; Tue, 11 Apr 2023 06:46:51 -0700 X-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id A419E3200915; Tue, 11 Apr 2023 09:46:50 -0400 (EDT) X-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 11 Apr 2023 09:46:51 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdekgedgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhepgeffueeuledvgefgvddvgfetvdduhfefkedukeeikedtudekfeetteeifedv leefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprh gvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 Apr 2023 09:46:49 -0400 (EDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Thomas Abraham , Sami Mujawar , Leif Lindholm , Michael D Kinney Cc: Rebecca Cran Subject: [edk2-devel] [PATCH edk2-platforms 2/2] Platform/ARM/JunoPkg: Enable the NOOPT build Date: Tue, 11 Apr 2023 07:46:43 -0600 Message-Id: <20230411134643.116380-3-rebecca@bsdio.com> In-Reply-To: <20230411134643.116380-1-rebecca@bsdio.com> References: <20230411134643.116380-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: RR7PQp4K41hg6KY2sX6B31jAx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1681220812; bh=9BmAAP3URER024p41uTnGeERMQHUimkHsq+zg8SuB0c=; h=Cc:Date:From:Reply-To:Subject:To; b=w//u7jj/ZLjFmer0VaHc8tH6QSODeKf5NTTEE3LzjATrrW3GnOuXQ1YDfgf5uM+KSck GZPx/Fu0E0W8G1Lzgw7b89bXSfbQznrx3CCkaCNmap0u49CJlU6Og9XADlSZox0O7TGu1 5S/pMDFEwZMmHJTtlRqFvvf3kPUJQKpTrKI= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1681220813424100009 Content-Type: text/plain; charset="utf-8" Enable the NOOPT build for the Juno platform. This is useful for source-level debugging. Signed-off-by: Rebecca Cran --- Platform/ARM/JunoPkg/ArmJuno.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/ARM/JunoPkg/ArmJuno.dsc b/Platform/ARM/JunoPkg/ArmJun= o.dsc index 8cb2d54bccaa..1ea0aba2655f 100644 --- a/Platform/ARM/JunoPkg/ArmJuno.dsc +++ b/Platform/ARM/JunoPkg/ArmJuno.dsc @@ -21,7 +21,7 @@ [Defines] OUTPUT_DIRECTORY =3D Build/ArmJuno !endif SUPPORTED_ARCHITECTURES =3D AARCH64|ARM - BUILD_TARGETS =3D DEBUG|RELEASE + BUILD_TARGETS =3D DEBUG|RELEASE|NOOPT SKUID_IDENTIFIER =3D DEFAULT FLASH_DEFINITION =3D Platform/ARM/JunoPkg/ArmJuno.fdf =20 --=20 2.34.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 (#102834): https://edk2.groups.io/g/devel/message/102834 Mute This Topic: https://groups.io/mt/98197685/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-