From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in2.apple.com (mail-out2.apple.com [17.151.62.25]) (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 6F7C8822A7 for ; Wed, 21 Dec 2016 09:29:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1482341348; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=eKEtteNVHf3GYKBtqz0E5vyadLzCoSezv589cqd9TRY=; b=Ux/ET28d/M3wQoQePjpWa58nXhbsbRHBGSocVbZHo9FuudZR3eecKbtaBQfLX3HS /rNw4LYfc1hPqpmbxc3051Sr27IttDlHWsKTdAYGCwT42t/AfaB1I/d/0v8aBzwr C7QJq+0PYMPCLXnhPVdMpFni5J1hI9tyoLPJZRBDRNO6JM5QuvPZAuUl1E1Ce+Wi Mgh/rMJWbsbB8M6nskV9SEGHPThXgbkmDcgFCZz1i3YFRaJLiH9r1tOKxhDzvGqP YNAlH0YbFeE+TqVdYzz+i1t3sKYw/YGVQ5hn7XR6kUmQPfG8ARq3TfkjFCJC4hyy Eal1RgU9GU8Q9Jd0SYs9WA==; Received: from relay4.apple.com (relay4.apple.com [17.128.113.87]) by mail-in2.apple.com (Apple Secure Mail Relay) with SMTP id CF.AF.07438.4EBBA585; Wed, 21 Dec 2016 09:29:08 -0800 (PST) X-AuditID: 11973e11-eb84a9a000001d0e-06-585abbe4a9a9 Received: from nwk-mmpp-sz11.apple.com (nwk-mmpp-sz11.apple.com [17.128.115.155]) by relay4.apple.com (Apple SCV relay) with SMTP id 81.8E.20305.3EBBA585; Wed, 21 Dec 2016 09:29:08 -0800 (PST) MIME-version: 1.0 Received: from [17.153.27.116] by nwk-mmpp-sz11.apple.com (Oracle Communications Messaging Server 8.0.1.1.0 64bit (built Jun 15 2016)) with ESMTPSA id <0OIJ00LD6PWJGZ90@nwk-mmpp-sz11.apple.com>; Wed, 21 Dec 2016 09:29:07 -0800 (PST) Sender: afish@apple.com From: Andrew Fish In-reply-to: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6C1D52@shsmsx102.ccr.corp.intel.com> Date: Wed, 21 Dec 2016 09:29:07 -0800 Cc: edk2-devel Message-id: References: <4B9E734E-C111-4CDB-AA8E-B3FA8B06D22B@apple.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14D6C1D52@shsmsx102.ccr.corp.intel.com> To: "Gao, Liming" X-Mailer: Apple Mail (2.3226) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJLMWRmVeSWpSXmKPExsUi2FAYrvtkd1SEwbIGdos9h44yW6y4t4Hd gclj8Z6XTB7ds/+xBDBFcdmkpOZklqUW6dslcGXcPvabveCPQMWCxasZGxhb+LoYOTkkBEwk zvRdYwGxhQT2Mko8u+8LEz9yfDJTFyMXUPwQo8S8WU2MIAleAUGJH5PvATVwcDALyEscPC8L EmYW0JL4/qiVBaL+HaNEw+ZnrCAJYQFxiXdnNjFD2GoSizf1s4HYbALKEivmf2AHsTkFwiTO z3zFBDKTRUBVYu0VEYiZGhJfV29nh1hrI9G5cCMrxPw2Rontv9eBHS0CVPTw3m9mkF4JAVmJ 2b+8QGokBLawSRxrvcw2gVF4FpKzZyGcPQvJ2QsYmVcxCuUmZuboZuYZ6SUWFOSk6iXn525i BIX1dDvBHYzHV1kdYhTgYFTi4XWYEhUhxJpYVlyZe4hRmoNFSZzX+kFkhJBAemJJanZqakFq UXxRaU5q8SFGJg5OqQbG9/a3b7ese+gtkJL9+pPU5R3vbsa9k5TNP3pT5YHTKdvJJ4Nvv/jI Np33neyP2y6eq2xykvN9hP5dTJ998uCqaXNimq1sfp6Mey1ksp9z6nqBuLlKZ7X/LF3xJPLX Xs6Vtc9SNcJZTx4187QOXy9q4nS4+03v5kdLN/Fsqqr+bsmhsMOSa8YpESWW4oxEQy3mouJE ALl5vEpMAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpkkeLIzCtJLcpLzFFi42IRbCierftkd1SEwYErzBZ7Dh1ltlhxbwO7 A5PH4j0vmTy6Z/9jCWCK4rJJSc3JLEst0rdL4Mq4few3e8EfgYoFi1czNjC28HUxcnJICJhI HDk+mQnCFpO4cG89WxcjF4eQwCFGiXmzmhhBErwCghI/Jt9j6WLk4GAWkJc4eF4WJMwsoCXx /VErC0T9O0aJhs3PWEESwgLiEu/ObGKGsNUkFm/qZwOx2QSUJVbM/8AOYnMKhEmcn/mKCWQm i4CqxNorIhAzNSS+rt7ODrHWRqJz4UZWiPltjBLbf69jAUmIABU9vPebGaRXQkBWYvYvrwmM grOQXDoL4dJZSC5dwMi8ilGgKDUnsdJEL7GgICdVLzk/dxMjOEALw3cw/ltmdYhRgINRiYf3 xcSoCCHWxLLiylxgUHAwK4nw3t4BFOJNSaysSi3Kjy8qzUktPsSYDHT+RGYp0eR8YPTklcQb mpgYmBgbmxkbm5uYkyasJM5rwRcRISSQnliSmp2aWpBaBLOFiYNTqoHRYg2HW+KLvYXFzNMl UifIak2KOtVqXPg7zFkm5NMmo5SCPz8fLex22KhhsVbp+WXhGpG/QRcSz5hHPi2oP/PNfGdG fIeZnmOP4xYGfw7e81HGZ6YVcjO7PNackXjn2Xth//vaTkeMxWt1S996SL5K37MnvOyMA+9c RWtZjcUqanMnya0846/EUpyRaKjFXFScCADxDvLOlAIAAA== Subject: Re: FDF Spec 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: Wed, 21 Dec 2016 17:29:08 -0000 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII > On Dec 21, 2016, at 6:27 AM, Gao, Liming wrote: > > Andrew: > Encapsulation section data is the section stream, not raw format. Then, Leaf section can be extracted from encapsulation section. > Liming, I happen to have the section stream in binary form checked into the source tree. The section extraction code actually dynamically creates the section header(s) for the stream and this means the section header in the FV is not really used (the section extraction code actually just skips over it). Technically speaking only the post processed GUID'ed section needs to produce the leaf. My case is kind of like I compressed the data without the section header. The section header is redundant data from the section extraction codes point of view as the binary format already has that info. Thanks, Andrew Fish > Thanks > Liming > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Andrew Fish > Sent: Wednesday, December 21, 2016 8:27 AM > To: edk2-devel > Subject: [edk2] FDF Spec question? > > Is it possible in the FDF syntax to make the payload of a EFI_SECTION_GUID_DEFINED (Encapsulating section) a raw binary file? > > I can make the contents of the GUID'ed encapsulation section a section. But when I'm processing the GUID'ed section I just end up skipping over the extra 4 byte section header so it is unused space. > > SECTION GUIDED 4C2B8C75-C6F6-11E6-B483-B8E8562CBAFA PROCESSING_REQUIRED = TRUE { > SECTION RAW = $(WORKSPACE)/MyPackage/MyNewType/Binary/newform.bin > } > > There is a syntax to make a leaf section a binary file. > > SECTION SUBTYPE_GUID AFC13561-9A65-4754-9C93-E133B3B8767C = $(WORKSPACE)/MyPackage/MyNewType/Binary/newform.bin > > > Thanks, > > Andrew Fish > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel