iPXE discussion forum
Reading the BIOS version in iPXE? - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Reading the BIOS version in iPXE? (/showthread.php?tid=7749)



Reading the BIOS version in iPXE? - nappington - 2015-06-15 02:12

Does iPXE have a built-in method to read the BIOS version of the machine it's loaded on, much like it can read the serial number, manufacturer and product in the configuration settings? I'm thinking about creating a script that will automatically detect if a BIOS is out of date on our fleet, but I need something to pass that variable to iPXE first.


RE: Reading the BIOS version in iPXE? - NiKiZe - 2015-06-15 08:14

(2015-06-15 02:12)nappington Wrote:  Does iPXE have a built-in method to read the BIOS version of the machine it's loaded on, much like it can read the serial number, manufacturer and product in the configuration settings? I'm thinking about creating a script that will automatically detect if a BIOS is out of date on our fleet, but I need something to pass that variable to iPXE first.

Example on how to get any data out of the smbios structures:
http://lists.ipxe.org/pipermail/ipxe-devel/2014-June/003562.html

If i read the spec correctly you should want
Code:
${smbios/0.5.0}    # bios-version
${smbios/0.8.0}    # bios-date