public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: <Jim.Dailey@dell.com>
To: <tpilar@solarflare.com>
Cc: <edk2-devel@lists.01.org>
Subject: Re: SMBios configuration table not present until late stage of boot
Date: Thu, 18 May 2017 15:11:39 +0000	[thread overview]
Message-ID: <e5dbedfd96024953b87ea69199b39481@ausx13mps335.AMER.DELL.COM> (raw)
In-Reply-To: <1548dc48-890d-29e0-0bdc-5df3ce545e5b@solarflare.com>

Not a helpful comment, but I wanted to air my feelings on the topic:

I view SMBIOS as data strictly for OS-level consumption and not for
any pre-boot code.  I'm sure I'm in the minority, however.

One of the problems is that the BIOS needs to have scanned all
devices/resources and perhaps executed a connect all before the
tables can be generated (or at least completed).

Regards,
Jim

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Tomas Pilar (tpilar)
Sent: Thursday, May 18, 2017 10:01 AM
To: edk2-devel@lists.01.org
Subject: [edk2] SMBios configuration table not present until late stage of boot

Hi,

I am trying to read the system UUID from the System Table (Type 1) in 
the SMBios set of tables. I am doing this during DriverBinding.Start() 
part of the UEFI_DRIVER initialisation. Unfortunately the 
gST->ConfigurationTable only contains 6 tables and SMBios is not one of 
them.

Once I boot into UEFI shell or start a PXE booting process, the 
gST->ConfigurationTable now contains 8 tables and SMBios is one of the 
two new tables. If I however only boot to a HDD, this never seems to 
happen.

Can someone offer some insight why this might be so and how would I go 
about forcing the platform to provide the SMBios in 
gST->ConfigurationTable at a sensible point?

Incidentally it seems ExitBootServices is not signaled on this platform 
if the boot goes through to HDD either, which is another strange thing ...

Cheers,
Tom



_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


  reply	other threads:[~2017-05-18 15:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-18 15:00 SMBios configuration table not present until late stage of boot Tomas Pilar (tpilar)
2017-05-18 15:11 ` Jim.Dailey [this message]
2017-05-18 15:13   ` Tomas Pilar (tpilar)
2017-05-18 15:25     ` Jim.Dailey
2017-05-18 15:28       ` Tomas Pilar (tpilar)
2017-05-18 17:22         ` Andrew Fish
2017-05-18 18:26         ` Laszlo Ersek
2017-05-19 10:32           ` Tomas Pilar (tpilar)
2017-05-19 17:36             ` Andrew Fish
2017-05-19 20:48             ` Laszlo Ersek

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=e5dbedfd96024953b87ea69199b39481@ausx13mps335.AMER.DELL.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