From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6C7361A1E53 for ; Tue, 6 Sep 2016 04:20:20 -0700 (PDT) Received: by mail-oi0-x231.google.com with SMTP id m11so157301160oif.1 for ; Tue, 06 Sep 2016 04:20:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=GQwOzLlJVEuSnTo6RFqDXV6f6anyTURgo+GOAVt/gzk=; b=PrTdG6l2L0mR6F0D+2LoYRC823KdMEeZFZv1DAHQOTnv+at8UkmbpAtb1dvkmTeKky LJTV4DcyZ1jZp6vRL5aYOE1LhJgR6zzGaAvTrf1DDyzsY87bTCXM830DleKVYOJvrB3L QCpXIuF7P1INa/7/jWN4dGOYefmkTCLOt5OhM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=GQwOzLlJVEuSnTo6RFqDXV6f6anyTURgo+GOAVt/gzk=; b=Sl7ylKk2WmUvlwC+J/X/+7zVVUVThy9t3SU4MlfCNppMT2XRZEbIF/vg0jb0vcLwTa YrYLoE3j+hPYZchhqGcR6Y1QaiJM0uNmKMiDsrVQ+xXfmGgILyhYNf8DxV1uyQqqKW6I PanuesPFwzsSi+RoxnwL0GZdUMpJKBGUK0s2r30Lr8qaTgxZs/3esjETDgU11+Jz/CDe /0/D0vY9K2K31v0awFREJCh+Y15q+HcFpG+KaH+noSwx3OID9b8W2XKqDIEixh3JdQOE ePT6wYrOzJwR6VXZyhBjJ8aQ6+nEWQeGojm6/DYtqJXAUWm5fRZLQqcGt2YQqoOwlMbA 0jVw== X-Gm-Message-State: AE9vXwOZrmSbn8lA1hIDjsMLfNypjF7Tc5Z+p1Y9T7U2Hcjz2jxv+T3fYmzKn3R4yuj6F9kZ8HOJDkcuZg44R6uC X-Received: by 10.107.20.136 with SMTP id 130mr4023413iou.183.1473160819558; Tue, 06 Sep 2016 04:20:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.204.195 with HTTP; Tue, 6 Sep 2016 04:20:19 -0700 (PDT) In-Reply-To: References: From: Ard Biesheuvel Date: Tue, 6 Sep 2016 12:20:19 +0100 Message-ID: To: Bhupesh Sharma Cc: "edk2-devel@lists.01.org" , Pankaj Bansal Subject: Re: Persistent Variable Storage and PlatformBootTimeOut 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: Tue, 06 Sep 2016 11:20:20 -0000 Content-Type: text/plain; charset=UTF-8 On 6 September 2016 at 12:13, Bhupesh Sharma wrote: > Hi EDK2 experts, > > We have recently added the support for storing UEFI run-time variables on underlying NOR > Flash slave on our ARMV8 NXP board. > > We are successfully able to change the values of variables like boot-order using the latest > MdeModulePkg BDS: > > MdeModulePkg/Universal/BdsDxe/BdsDxe.inf > > and retrieve them on next board boot. > > While this works almost on all the places, we see that the Auto Boot Time we have set using the > following PCD: > gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|20 > > Doesn't work when one enters the BIOS screen and enters the Boot Maintenance Manager to change this > value from say 20 to 10. > > On the next board boot, the PlatformBootTimeOut value is still 20. > > The same issue is replicable on latest EDK2 (master branch) on qemu for aarch64. > > Is this a known issue or are we missing something here? > You should declare it as [PcdsDynamicHii.common.DEFAULT] gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10 # Variable: L"Timeout" to connect the dynamic PCD to the EFI variable.