From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C824381C0D for ; Thu, 12 Jan 2017 06:55:51 -0800 (PST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP; 12 Jan 2017 06:55:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,349,1477983600"; d="scan'208";a="29529966" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga002.jf.intel.com with ESMTP; 12 Jan 2017 06:55:51 -0800 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 12 Jan 2017 06:55:51 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 12 Jan 2017 06:55:51 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Thu, 12 Jan 2017 22:55:48 +0800 From: "Gao, Liming" To: Andrew Fish , edk2-devel Thread-Topic: [edk2] FDF file syntax question? Thread-Index: AQHSa+s6ZOGP9GrF5UOHQxmjipGsdKE07M2g Date: Thu, 12 Jan 2017 14:55:47 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6CE062@shsmsx102.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: FDF file syntax question? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2017 14:55:51 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Andrew: So, this requests not to set FV size same to FD region size when this FV = is placed into FD region. I think one way to do it. In [FD] section, FILE s= tatement is used to point to the generated XXX.Fv image. And, [FV] section = includes this FV block size and base address, but no block number. But, I s= uggest you submit one feature request in Bugzilla for BaseTools. We can enh= ance BaseTools to support this usage model.=20 Thanks Liming -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Andr= ew Fish Sent: Wednesday, January 11, 2017 5:15 PM To: edk2-devel Subject: [edk2] FDF file syntax question? Is there a way to make the FV defined in the FD section be only big enough = to contain the data? The remaining area could be 0xFF (erase value). If the= FV is read only there is no point reading the extra data from the FLASH de= vice if all the bytes are 0xFF.=20 For example if we make an FV to be compressed the [options] section in the = Build output only has the block size, but if it comes from the FD section t= hen you get a base address and block count.=20 Thanks, Andrew Fish _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel