public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Gao, Liming" <liming.gao@intel.com>
To: "methavanitpong.pipat@socionext.com"
	<methavanitpong.pipat@socionext.com>,
	 "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "ard.biesheuvel@linaro.org" <ard.biesheuvel@linaro.org>
Subject: Re: How to retrieve HII form's default value
Date: Fri, 18 May 2018 08:50:08 +0000	[thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E22C278@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <bf8ba10af5904fce86c50191cb627b33@SOC-EX03V.e01.socionext.com>

Intel provides FCE tool. It can parse the generated BIOS image and output the default value for every HII question. You can try it. 

Here is the latest version https://firmware.intel.com/sites/default/files/2018-WW13-FCE.34-Release.zip

>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>methavanitpong.pipat@socionext.com
>Sent: Friday, May 18, 2018 10:09 AM
>To: edk2-devel@lists.01.org
>Cc: ard.biesheuvel@linaro.org
>Subject: [edk2] How to retrieve HII form's default value
>
>Hi,
>
>I'm working on changing SynQuacer/PlatformDxe initial HII configuration.
>
>In the current implementation, SynQuacerPlatformSettings HII variable
>doesn't set its initial value from PcdPlatfromSettings.
>
>* PcdPlatformSettings is initially set with value in dsc at build time
>
>    * https://github.com/tianocore/edk2-
>platforms/blob/master/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
>#L439
>
>* SynQuacerPlatformSettings is initially set to zeros at run time
>
>    * https://github.com/tianocore/edk2-
>platforms/blob/master/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/Pl
>atformDxe.c#L246
>
>They are unsync, but are both initially assigned to 0 independently.
>
>What I want to do with this issue is
>
>* Set initial SynQuacerPlatformSettings value from its
>  SYNQUACER_PLATFORM_FORMSET_GUID form's default value
>* Set initial PcdPlatformSettings value from its
>  SYNQUACER_PLATFORM_FORMSET_GUID form's default value
>
>Could anyone give me an advice on retrieving default value from a HII form
>and assign in C and DSC files?
>
>
>Thanks,
>--
>Pipat Methavanitpong
>Software Developer, S-Project 3
>Socionext Inc.
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel


  reply	other threads:[~2018-05-18  8:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-18  2:09 How to retrieve HII form's default value methavanitpong.pipat
2018-05-18  8:50 ` Gao, Liming [this message]
2018-05-21  0:24   ` methavanitpong.pipat
2018-05-21  0:57     ` Gao, Liming
2018-05-21  1:21       ` methavanitpong.pipat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A89E2EF3DFEDB4C8BFDE51014F606A14E22C278@SHSMSX104.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox