All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/1] doc: describe generation of SMBIOS table
@ 2022-02-26  6:44 Heinrich Schuchardt
  2022-03-02  1:10 ` Simon Glass
  0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2022-02-26  6:44 UTC (permalink / raw)
  To: Simon Glass; +Cc: Jelle van der Waa, u-boot, Heinrich Schuchardt

SMBIOS is not x86 specific. So we should have an architecture independent
page describing it.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
v2:
	Add missing file doc/develop/smbios.rst
---
 doc/arch/x86.rst       |  2 +-
 doc/develop/index.rst  |  1 +
 doc/develop/smbios.rst | 22 ++++++++++++++++++++++
 3 files changed, 24 insertions(+), 1 deletion(-)
 create mode 100644 doc/develop/smbios.rst

diff --git a/doc/arch/x86.rst b/doc/arch/x86.rst
index 5494155a51..634387ac09 100644
--- a/doc/arch/x86.rst
+++ b/doc/arch/x86.rst
@@ -732,7 +732,7 @@ SMBIOS tables
 To generate SMBIOS tables in U-Boot, for use by the OS, enable the
 CONFIG_GENERATE_SMBIOS_TABLE option. The easiest way to provide the values to
 use is via the device tree. For details see
-device-tree-bindings/sysinfo/smbios.txt
+:download:`smbios.txt <../device-tree-bindings/sysinfo/smbios.txt>`.
 
 TODO List
 ---------
diff --git a/doc/develop/index.rst b/doc/develop/index.rst
index 97148875ef..93ebfa485f 100644
--- a/doc/develop/index.rst
+++ b/doc/develop/index.rst
@@ -22,6 +22,7 @@ Implementation
    makefiles
    menus
    printf
+   smbios
    uefi/index
    version
 
diff --git a/doc/develop/smbios.rst b/doc/develop/smbios.rst
new file mode 100644
index 0000000000..a4efb0a0a3
--- /dev/null
+++ b/doc/develop/smbios.rst
@@ -0,0 +1,22 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+SMBIOS tables
+=============
+
+The System Management BIOS (SMBIOS) table is used to deliver management
+information from the firmware to the operating system. The content is
+standardized in [1]_.
+
+In Linux you can use the dmidecode command to view the contents of the SMBIOS
+table.
+
+When booting via UEFI the SMBIOS table is transferred as an UEFI configuration
+table to the operating system.
+
+To generate SMBIOS tables in U-Boot, the CONFIG_GENERATE_SMBIOS_TABLE option
+must be enabled. The easiest way to provide the values to use is via the device
+tree. For details see
+:download:`smbios.txt <../device-tree-bindings/sysinfo/smbios.txt>`.
+
+.. [1] `System Management BIOS (SMBIOS) Reference, version 3.5
+   <https://www.dmtf.org/content/dmtf-releases-smbios-35>`_
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 1/1] doc: describe generation of SMBIOS table
  2022-02-26  6:44 [PATCH v2 1/1] doc: describe generation of SMBIOS table Heinrich Schuchardt
@ 2022-03-02  1:10 ` Simon Glass
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Glass @ 2022-03-02  1:10 UTC (permalink / raw)
  To: Heinrich Schuchardt; +Cc: Jelle van der Waa, U-Boot Mailing List

Hi Heinrich,

On Fri, 25 Feb 2022 at 23:45, Heinrich Schuchardt
<heinrich.schuchardt@canonical.com> wrote:
>
> SMBIOS is not x86 specific. So we should have an architecture independent

x86-specific
architecture-independent

> page describing it.

So sad, but this is true. I'm not sure who to blame!

>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> ---
> v2:
>         Add missing file doc/develop/smbios.rst
> ---
>  doc/arch/x86.rst       |  2 +-
>  doc/develop/index.rst  |  1 +
>  doc/develop/smbios.rst | 22 ++++++++++++++++++++++
>  3 files changed, 24 insertions(+), 1 deletion(-)
>  create mode 100644 doc/develop/smbios.rst

Reviewed-by: Simon Glass <sjg@chromium.org>

Regards,
Simon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-02  1:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-26  6:44 [PATCH v2 1/1] doc: describe generation of SMBIOS table Heinrich Schuchardt
2022-03-02  1:10 ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.