[syslinux] Extract DMI info when running PXELINUX

Coe, Colin C. Colin.Coe at woodside.com.au
Wed Aug 9 16:28:27 PDT 2006


As my low-level coding is as good as none existant, writing a custom
com32 module is not an option.  Is there an example of switching config
files or do you mean have multiple labels, one for each BIOS update
type?  (i.e rompaq, flashbin, etc)

CC

-----Original Message-----
From: H. Peter Anvin [mailto:hpa at zytor.com] 
Sent: Thursday, 10 August 2006 12:47 AM
To: Coe, Colin C.
Cc: syslinux at zytor.com
Subject: Re: [syslinux] Extract DMI info when running PXELINUX


Coe, Colin C. wrote:
> Hi all
> 
> Is there any way to extract information (like what dmidecode provides)
> from within PXELINUX and, based on this information, selectively
perform
> an action?
> 
> What I'm trying to do is provide a method of flashing the BIOS of our
HP
> Linux workstations but different workstations use different methods of
> updating the BIOSes.  For example,  the xw9300 uses 'rompaq' where the
> xw8400 uses 'flashbin'.  I have this working for the xw9300
workstations
> but I don't want to rely on people selecting the correct option, I
> rather parse 'Handle 0x0002' and choose automatically based on
'Product
> Name'.
> 
> Google found this link for me
> (http://syslinux.zytor.com/archives/2005-March/004944.html).  The
serial
> number is in the same block as the product name.
> 
> Ideas?
> 

Right now this requires a custom com32 module.  Parsing DMI, which 
requires accessing high memory, is most easily done from 32-bit code.

This is of course yet another reason I need to implement the "switch to 
other config file" option.

	-hpa




More information about the Syslinux mailing list