From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 9195121DFA8F2 for ; Thu, 6 Apr 2017 13:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491508819; x=1523044819; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=qk+Hf1eqlqf4B3x63laLx6faLvs2y7Z11okJns8bYQo=; b=T29Tqm6cvH8sALbZN7Jx38i3B4m4S6fDFOnxU16prluG3Td1llIHtdJ6 4f42r5wA/1VXAcntGakCvXuVn2aB7g==; Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Apr 2017 13:00:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,160,1488873600"; d="scan'208";a="70597225" Received: from mdkinney-mobl.amr.corp.intel.com ([10.255.230.147]) by orsmga002.jf.intel.com with ESMTP; 06 Apr 2017 13:00:18 -0700 From: Michael Kinney To: edk2-devel@lists.01.org Cc: Liming Gao , Yonghong Zhu , Kevin W Shaw Date: Thu, 6 Apr 2017 13:00:13 -0700 Message-Id: <1491508813-5804-2-git-send-email-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.6.3.windows.1 In-Reply-To: <1491508813-5804-1-git-send-email-michael.d.kinney@intel.com> References: <1491508813-5804-1-git-send-email-michael.d.kinney@intel.com> Subject: [edk2-FdfSpecification PATCH] [FmpPayload] supports 1 or 2 FILE DATA statements X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2017 20:00:19 -0000 https://bugzilla.tianocore.org/show_bug.cgi?id=461 Update the EBNF for [FmpPayload] in Section 3.8 to allow one or two FILE DATA statements. The first for the update image. The second for venddor code. Cc: Liming Gao Cc: Yonghong Zhu Cc: Kevin W Shaw Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael Kinney --- 3_edk_ii_fdf_file_format/38_[fmppayload]_sections.md | 9 ++++++++- README.md | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/3_edk_ii_fdf_file_format/38_[fmppayload]_sections.md b/3_edk_ii_fdf_file_format/38_[fmppayload]_sections.md index 1c38f59..77ad2b7 100644 --- a/3_edk_ii_fdf_file_format/38_[fmppayload]_sections.md +++ b/3_edk_ii_fdf_file_format/38_[fmppayload]_sections.md @@ -34,12 +34,19 @@ These are optional sections that describes the FMP payload content for FMP Capsule files. +There must be at least one and at most two `` statements. The +`` statements start with `FILE DATA`. The first +statement provides the information for UpdateImage in an +`EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER`. The second +statement, if present, provides the information for VendorCode in an +`EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER`. + #### Prototype ```c ::= "[FmpPayload" "]" - + {1,2} ::= [ "IMAGE_HEADER_INIT_VERSION" ] "IMAGE_TYPE_ID" [ "IMAGE_INDEX" ] diff --git a/README.md b/README.md index 9a7f13a..f7e1d1f 100644 --- a/README.md +++ b/README.md @@ -196,3 +196,4 @@ Copyright (c) 2006-2017, Intel Corporation. All rights reserved. | | Clarified [UserExtensions] content in chapter 2 (to match implementation) | | | 1.28 | Convert to GitBooks | March 2017 | | | [#426](https://bugzilla.tianocore.org/show_bug.cgi?id=426) IMAGE_TYPE_ID must be provided with value, FDF should mark it as required section | | +| | [#461](https://bugzilla.tianocore.org/show_bug.cgi?id=461) FDF Spec: add a super script number for the | | -- 2.6.3.windows.1