From patchwork Tue Jul 12 10:25:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 71814 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp394590qga; Tue, 12 Jul 2016 03:25:26 -0700 (PDT) X-Received: by 10.55.163.133 with SMTP id m127mr1921581qke.71.1468319126009; Tue, 12 Jul 2016 03:25:26 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 1si3572430qkh.164.2016.07.12.03.25.25; Tue, 12 Jul 2016 03:25:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 97F44687B9; Tue, 12 Jul 2016 10:25:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id AC96C617C6; Tue, 12 Jul 2016 10:25:21 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 3F1D4681A5; Tue, 12 Jul 2016 10:25:20 +0000 (UTC) Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by lists.linaro.org (Postfix) with ESMTPS id B616B617C6 for ; Tue, 12 Jul 2016 10:25:18 +0000 (UTC) Received: by mail-wm0-f44.google.com with SMTP id f65so95225535wmi.0 for ; Tue, 12 Jul 2016 03:25:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=oxbmL5FqRznDGFiU+Wf/oPwYLt5PJ3TwhWpABTfpx9A=; b=ZkKqrs4o/HdiAev4mH47blap1xk9RTgkhiw2WMwKH3HfjFm/XLKpe3lF1LKUWhMb27 ZO74EeF6RjlY/+8fDrJeSX55efpz078l45XjlPkjMpHJytGpDN6jO+fq2NHVkx+X1quL f+q0nFqC9GVE+AjWtApVFIhvVPnS9j9I5papGwcPKTCb7OkPxJTwgT8Sv0/UsJxXJekE cZ/jeva+0KmN2I0Id6ynw8wi/GSENz+Yk2bsuGt4j4HZ1d8/HCWZJfhTlZzAPWenRIB5 XsitsdEuXnM6ejd77eqpQQwsaSGYY2QgpY7dswVVKn3Vqd6uNntkdZGwGPkB+1IltKDm b4Og== X-Gm-Message-State: ALyK8tLaEt4tuEAUgefod3dlHtuyyYLK2Xr0FY/oPbXEjXQ0CD2I/L0r+aQ/zaLap/MhPlKEE7k= X-Received: by 10.28.13.1 with SMTP id 1mr18756254wmn.60.1468319117791; Tue, 12 Jul 2016 03:25:17 -0700 (PDT) Received: from localhost.localdomain ([188.203.148.129]) by smtp.gmail.com with ESMTPSA id o142sm26913767wme.20.2016.07.12.03.25.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Jul 2016 03:25:17 -0700 (PDT) From: Ard Biesheuvel To: linaro-uefi@lists.linaro.org, leif.lindholm@linaro.org Date: Tue, 12 Jul 2016 12:25:11 +0200 Message-Id: <1468319111-27985-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.9.1 Subject: [Linaro-uefi] [PATCH] Platforms/Styx: add FvNameGuid to FvMain FV X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" This adds name GUIDs to the Styx FDFs so that DevicePath references to its contents (i.e., for the UiApp and Shell UEFI applications) are emitted unambiguously rather than as MemoryMapped()/ device path nodes, whose values may change between boots (e.g., if the amount of memory changes, or if the firmware image is updated). Having stable boot entries is preferable, given that the generic BDS code autogenerates entries for the UI app and the shell, but does not clean up the stale outdated ones. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm --- Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf | 1 + Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.fdf | 1 + 2 files changed, 2 insertions(+) diff --git a/Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf b/Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf index 148c0a694f16..3b2116756439 100644 --- a/Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf +++ b/Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf @@ -70,6 +70,7 @@ FV = STYX_EFI ################################################################################ [FV.FvMain] +FvNameGuid = 72b41709-8499-4841-a383-f432de6fce2a BlockSize = 0x40 NumBlocks = 0 # This FV gets compressed so make it just big enough FvAlignment = 16 # FV alignment and FV attributes setting. diff --git a/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.fdf b/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.fdf index 04894d5aa2fd..02e92434813c 100644 --- a/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.fdf +++ b/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.fdf @@ -70,6 +70,7 @@ FV = STYX_EFI ################################################################################ [FV.FvMain] +FvNameGuid = 94f067ae-2aa6-4b30-aa07-4e47fe518bb8 BlockSize = 0x40 NumBlocks = 0 # This FV gets compressed so make it just big enough FvAlignment = 16 # FV alignment and FV attributes setting.