blob: 1ffd706d7deebf2acf5bf1135e96dc9b16caef5e [file] [log] [blame]
Heinrich Schuchardtddbcc392024-01-25 16:54:35 +01001.. SPDX-License-Identifier: GPL-2.0-or-later:
2
3smbios command
4==============
5
6Synopsis
7--------
8
9::
10
11 smbios
12
13Description
14-----------
15
16The smbios command displays information from the SMBIOS tables.
17
18Examples
19--------
20
21The example below shows an example output of the smbios command.
22
23::
24
25 => smbios
26 SMBIOS 2.8.0 present.
27 8 structures occupying 81 bytes
28 Table at 0x6d35018
29
30 Handle 0x0100, DMI type 1, 27 bytes at 0x6d35018
31 System Information
32 Manufacturer: QEMU
33 Product Name: Standard PC (i440FX + PIIX, 1996)
34 Version: pc-i440fx-2.5
35 Serial Number:
36 UUID 00000000-0000-0000-0000-000000000000
37 Wake Up Type:
38 Serial Number:
39 SKU Number:
40
41 Handle 0x0300, DMI type 3, 22 bytes at 0x6d35069
42 Header and Data:
43 00000000: 03 16 00 03 01 01 02 00 00 03 03 03 02 00 00 00
44 00000010: 00 00 00 00 00 00
45 Strings:
46 String 1: QEMU
47 String 2: pc-i440fx-2.5
48
49 Handle 0x0400, DMI type 4, 42 bytes at 0x6d35093
50 Header and Data:
51 00000000: 04 2a 00 04 01 03 01 02 63 06 00 00 fd ab 81 07
52 00000010: 03 00 00 00 d0 07 d0 07 41 01 ff ff ff ff ff ff
53 00000020: 00 00 00 01 01 01 02 00 01 00
54 Strings:
55 String 1: CPU 0
56 String 2: QEMU
57 String 3: pc-i440fx-2.5
58
59 Handle 0x1000, DMI type 16, 23 bytes at 0x6d350d7
60 Header and Data:
61 00000000: 10 17 00 10 01 03 06 00 00 02 00 fe ff 01 00 00
62 00000010: 00 00 00 00 00 00 00
63
64 Handle 0x1100, DMI type 17, 40 bytes at 0x6d350f0
65 Header and Data:
66 00000000: 11 28 00 11 00 10 fe ff ff ff ff ff 80 00 09 00
67 00000010: 01 00 07 02 00 00 00 02 00 00 00 00 00 00 00 00
68 00000020: 00 00 00 00 00 00 00 00
69 Strings:
70 String 1: DIMM 0
71 String 2: QEMU
72
73 Handle 0x1300, DMI type 19, 31 bytes at 0x6d35125
74 Header and Data:
75 00000000: 13 1f 00 13 00 00 00 00 ff ff 01 00 00 10 01 00
76 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
77
78 Handle 0x2000, DMI type 32, 11 bytes at 0x6d35146
79 Header and Data:
80 00000000: 20 0b 00 20 00 00 00 00 00 00 00
81
82 Handle 0x7f00, DMI type 127, 4 bytes at 0x6d35153
83 End Of Table
84
85Configuration
86-------------
87
88The command is only available if CONFIG_CMD_SMBIOS=y.
89
90Return value
91------------
92
93The return value $? is 0 (true) on success, 1 (false) otherwise.