<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openslx-ng/ipxe.git/src/interface/smbios, branch master</title>
<subtitle>Fork of ipxe; additional commands and features</subtitle>
<id>https://git.openslx.org/openslx-ng/ipxe.git/atom/src/interface/smbios?h=master</id>
<link rel='self' href='https://git.openslx.org/openslx-ng/ipxe.git/atom/src/interface/smbios?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/'/>
<updated>2015-12-23T15:29:55+00:00</updated>
<entry>
<title>[settings] Expose SMBIOS settings as global variables</title>
<updated>2015-12-23T15:29:55+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2015-12-23T15:28:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=721302fa545a06c736ffe59278ad5404ad19014c'/>
<id>urn:sha1:721302fa545a06c736ffe59278ad5404ad19014c</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[legal] Relicense files under GPL2_OR_LATER_OR_UBDL</title>
<updated>2015-03-02T16:35:29+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2015-03-02T13:29:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=2f020a8df3ad24d0d0bac9295c9cecb2ebba92f4'/>
<id>urn:sha1:2f020a8df3ad24d0d0bac9295c9cecb2ebba92f4</id>
<content type='text'>
These files cannot be automatically relicensed by util/relicense.pl
since they either contain unusual but trivial contributions (such as
the addition of __nonnull function attributes), or contain lines
dating back to the initial git revision (and so require manual
knowledge of the code's origin).

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[legal] Relicense files under GPL2_OR_LATER_OR_UBDL</title>
<updated>2015-03-02T14:17:31+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2015-03-02T11:54:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=b6ee89ffb5029d02cb1d8668757fa2b74b11e0a3'/>
<id>urn:sha1:b6ee89ffb5029d02cb1d8668757fa2b74b11e0a3</id>
<content type='text'>
Relicense files for which I am the sole author (as identified by
util/relicense.pl).

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[smbios] Expose board serial number as ${board-serial}</title>
<updated>2014-06-12T16:59:52+00:00</updated>
<author>
<name>Dale Hamel</name>
</author>
<published>2014-03-10T22:48:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=7fe0735170929bcdc8364d4d5529fbb171b1aa79'/>
<id>urn:sha1:7fe0735170929bcdc8364d4d5529fbb171b1aa79</id>
<content type='text'>
With blade servers, the chassis serial number (exposed via ${serial})
may not be unique.  Expose ${board-serial} as a named setting to
provide easy access to a more meaningful serial number.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[settings] Force settings into alphabetical order within sections</title>
<updated>2013-12-05T12:43:28+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2013-12-05T12:38:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=b0942534eb773915d3cb4e3d63354e5fddf5c0c7'/>
<id>urn:sha1:b0942534eb773915d3cb4e3d63354e5fddf5c0c7</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[linux] Provide access to SMBIOS via /dev/mem</title>
<updated>2013-12-05T03:16:27+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2013-12-05T03:15:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=03957bcb472e5065a46bd56e9b8b1f902fac4b3b'/>
<id>urn:sha1:03957bcb472e5065a46bd56e9b8b1f902fac4b3b</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[settings] Explicitly separate the concept of a completed fetched setting</title>
<updated>2013-12-05T00:37:02+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2013-12-03T16:48:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=22001cb206c1320aee27f679a63d2171d35e99c5'/>
<id>urn:sha1:22001cb206c1320aee27f679a63d2171d35e99c5</id>
<content type='text'>
The fetch_setting() family of functions may currently modify the
definition of the specified setting (e.g. to add missing type
information).  Clean up this interface by requiring callers to provide
an explicit buffer to contain the completed definition of the fetched
setting, if required.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[settings] Clarify usage of the term "named setting"</title>
<updated>2013-07-18T14:50:02+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2013-07-18T12:35:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=063645118ce1f73e143bb17a74bd678d31d7563e'/>
<id>urn:sha1:063645118ce1f73e143bb17a74bd678d31d7563e</id>
<content type='text'>
There are currently two conflicting usages of the term "named setting"
within iPXE: one refers to predefined settings (such as show up in the
"config" UI), the other refers to settings identified by a name (such
as "net0.dhcp/ip").

Split these usages into the term "predefined setting" and "named
setting" to avoid ambiguity.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[smbios] Allow access to multiple instances of SMBIOS structures</title>
<updated>2013-05-01T21:11:04+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2013-05-01T19:42:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=8bc20c1aa09ec521476f4b35b0a09c21e2e1e5f3'/>
<id>urn:sha1:8bc20c1aa09ec521476f4b35b0a09c21e2e1e5f3</id>
<content type='text'>
Extend the syntax for numerical SMBIOS settings from

  smbios/&lt;type&gt;.&lt;offset&gt;.&lt;length&gt;

to

  smbios/[&lt;instance&gt;.]&lt;type&gt;.&lt;offset&gt;.&lt;length&gt;

Where SMBIOS provides multiple structures with the same &lt;type&gt;, this
extended syntax allows for access to structures other than the first.
If &lt;instance&gt; is omitted then it will default to zero, giving access
to the first instance (and so matching existing behaviour).

The 16-bit SMBIOS handle (which is an alternative way to disambiguate
multiple instances of the same type of structure) can be accessed, if
required, using

  smbios/&lt;instance&gt;.&lt;type&gt;.2.2:uint16

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[smbios] Allow access to unreferenced SMBIOS strings</title>
<updated>2013-05-01T21:11:04+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2013-05-01T21:00:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=a352fde45ef58ed4766c074d772c3cf9f4410fd7'/>
<id>urn:sha1:a352fde45ef58ed4766c074d772c3cf9f4410fd7</id>
<content type='text'>
iPXE allows access to general SMBIOS settings using the syntax:

  smbios/&lt;type&gt;.&lt;offset&gt;.&lt;length&gt;

This provides access to any fixed-offset field within an SMBIOS
structure.  This syntax is currently overloaded to interpret a zero
&lt;length&gt; as meaning that the byte at &lt;offset&gt; contains a string index;
this provides access to SMBIOS strings (which are not located at fixed
offsets).

The "OEM Strings" SMBIOS structure contains strings which are not
referenced by any fixed string index field within the structure.  iPXE
currently provides no way to access these strings.

Fix by overloading the syntax for numerical SMBIOS settings to
interpret an &lt;offset&gt; of zero as implying that &lt;length&gt; contains a
literal string index.  The OEM Strings can then be accessed using:

  smbios/11.0.1
  smbios/11.0.2
  smbios/11.0.3
  ...

The actual byte at offset zero will always contain the structure type,
which is already known since it must be specified in order to access
the structure.  There is thus no plausible existing use case for an
offset of zero; overloading the syntax in this way should therefore
not break compatibility with any existing scripts.

The corner case where both &lt;offset&gt; and &lt;length&gt; are zero is undefined
(and, for now, will simply return a "not found" error).

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
</feed>
