From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 56AEF94166B for ; Thu, 17 Aug 2023 10:12:08 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=UGFXyIz2JeAUacWWMBPRwjUfpuJBLm2hXWnpsy1EolY=; c=relaxed/simple; d=groups.io; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Disposition; s=20140610; t=1692267127; v=1; b=cLF0wPNskTyV+qULxzqx6Qp/BoMuJJMz6t0+GbZc8Ot/PepZgQINzMe22BjU5KEn0uMwaSLJ r5Bw9A5uEd880531jgOCMyIqrbH+6oZgsoneCgbgFHBfM6J4mAEVcgk3BfiRwrHbJubRhIyn39l 8b0VI4FWByWBDdKlBcbpoupU= X-Received: by 127.0.0.2 with SMTP id Sll8YY7687511x6wCNtirUb3; Thu, 17 Aug 2023 03:12:07 -0700 X-Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by mx.groups.io with SMTP id smtpd.web10.183919.1692267126558285541 for ; Thu, 17 Aug 2023 03:12:06 -0700 X-Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37HAC68p012605; Thu, 17 Aug 2023 10:12:06 GMT X-Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3she6prgdj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Aug 2023 10:12:05 +0000 X-Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 37HAC5b7009538 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Aug 2023 10:12:05 GMT X-Received: from qc-i7.hemma.eciton.net (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Thu, 17 Aug 2023 03:12:03 -0700 Date: Thu, 17 Aug 2023 11:12:00 +0100 From: "Leif Lindholm" To: Marcin Juszkiewicz CC: , Ard Biesheuvel , Graeme Gregory Subject: Re: [edk2-devel] [PATCH edk2-platforms 1/1] Platform/QemuSbsa: enlarge firmware offsets Message-ID: References: <20230816163333.76959-1-marcin.juszkiewicz@linaro.org> <20230816163333.76959-2-marcin.juszkiewicz@linaro.org> MIME-Version: 1.0 In-Reply-To: <20230816163333.76959-2-marcin.juszkiewicz@linaro.org> X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-GUID: LvgHa9UQ3HW4ERzDirHkj_1cWhvpRXXg X-Proofpoint-ORIG-GUID: LvgHa9UQ3HW4ERzDirHkj_1cWhvpRXXg Precedence: Bulk 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,quic_llindhol@quicinc.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: UYobh4dOXdvofzNjfEP7jlFtx7686176AA= Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=cLF0wPNs; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=quicinc.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On Wed, Aug 16, 2023 at 18:33:33 +0200, Marcin Juszkiewicz wrote: > GenFv: ERROR 3000: Invalid > the required fv image size 0x216510 exceeds the set fv image size 0x200000 > > Signed-off-by: Marcin Juszkiewicz Reviewed-by: Leif Lindholm Presumably caused by the openssl3 shenanigans. But regardless, this was an arbitrarily low size to begin with. Pushed as 0f0cafb5defb. Thanks! / Leif > --- > Platform/Qemu/SbsaQemu/SbsaQemu.fdf | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/Platform/Qemu/SbsaQemu/SbsaQemu.fdf b/Platform/Qemu/SbsaQemu/SbsaQemu.fdf > index 677cea6344dc..bc432cac6fc8 100644 > --- a/Platform/Qemu/SbsaQemu/SbsaQemu.fdf > +++ b/Platform/Qemu/SbsaQemu/SbsaQemu.fdf > @@ -58,20 +58,20 @@ [FD.SBSA_FLASH0] > > [FD.SBSA_FLASH1] > BaseAddress = 0x10000000|gArmTokenSpaceGuid.PcdFdBaseAddress > -Size = 0x002C0000|gArmTokenSpaceGuid.PcdFdSize > +Size = 0x003C0000|gArmTokenSpaceGuid.PcdFdSize > ErasePolarity = 1 > BlockSize = 0x00001000 > -NumBlocks = 0x2C0 > +NumBlocks = 0x3C0 > > ## Place for EFI (BL33) > # This offset (if any as it is 0x0 currently) + BaseAddress (0x10000000) must be set in PRELOADED_BL33_BASE at ATF > -0x00000000|0x00200000 > +0x00000000|0x00300000 > gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize > FV = FVMAIN_COMPACT > > ## Place for Variables. They share flash1 with EFI > # Must be aligned to Flash Block size 0x40000 > -0x00200000|0x00040000 > +0x00300000|0x00040000 > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize > #NV_VARIABLE_STORE > DATA = { > @@ -109,7 +109,7 @@ [FD.SBSA_FLASH1] > 0x5A, 0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 > } > > -0x00240000|0x00040000 > +0x00340000|0x00040000 > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize > #NV_FTW_WORKING > DATA = { > @@ -123,7 +123,7 @@ [FD.SBSA_FLASH1] > 0xE0, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00 > } > > -0x00280000|0x00040000 > +0x00380000|0x00040000 > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize > #NV_FTW_SPARE > > -- > 2.41.0 > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107827): https://edk2.groups.io/g/devel/message/107827 Mute This Topic: https://groups.io/mt/100783095/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/1913456212/xyzzy [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-