summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-firmware-lefi-boardinfo
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2020-10-13 08:55:02 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-10-27 14:46:35 +0300
commit673a8c4f8517ea624cd838f7f2246b6990190770 (patch)
treef9cb628f6b6829b16a9a6ce0a70951af0cc7422a /Documentation/ABI/testing/sysfs-firmware-lefi-boardinfo
parent6c1bfbd9df8c42a1156b9f4769ca78dfc5e89045 (diff)
downloadlinux-673a8c4f8517ea624cd838f7f2246b6990190770.tar.xz
Documentation: ABI: Add /sys/firmware/lefi/boardinfo description for Loongson64
Add a description for /sys/firmware/lefi/boardinfo on the Loongson platform. Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-firmware-lefi-boardinfo')
-rw-r--r--Documentation/ABI/testing/sysfs-firmware-lefi-boardinfo35
1 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-firmware-lefi-boardinfo b/Documentation/ABI/testing/sysfs-firmware-lefi-boardinfo
new file mode 100644
index 000000000000..5e3f6148c52e
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-firmware-lefi-boardinfo
@@ -0,0 +1,35 @@
+What: /sys/firmware/lefi/boardinfo
+Date: October 2020
+Contact: Tiezhu Yang <yangtiezhu@loongson.cn>
+Description:
+ Get mainboard and BIOS info easily on the Loongson platform,
+ this is useful to point out the current used mainboard type
+ and BIOS version when there exists problems related with
+ hardware or firmware.
+
+ The related structures are already defined in the interface
+ specification about firmware and kernel which are common
+ requirement and specific for Loongson64, so only add a new
+ boardinfo.c file in arch/mips/loongson64.
+
+ For example:
+
+ [loongson@linux ~]$ cat /sys/firmware/lefi/boardinfo
+ Board Info
+ Manufacturer : LEMOTE
+ Board Name : LEMOTE-LS3A4000-7A1000-1w-V01-pc
+ Family : LOONGSON3
+
+ BIOS Info
+ Vendor : Kunlun
+ Version : Kunlun-A1901-V4.1.3-20200414093938
+ ROM Size : 4 KB
+ Release Date : 2020-04-14
+
+ By the way, using dmidecode command can get the similar info if there
+ exists SMBIOS in firmware, but the fact is that there is no SMBIOS on
+ some machines, we can see nothing when execute dmidecode, like this:
+
+ [root@linux loongson]# dmidecode
+ # dmidecode 2.12
+ # No SMBIOS nor DMI entry point found, sorry.