← Documents Documentation/ABI/testing/sysfs-firmware-lefi-boardinfo GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

Loongson LEFI board information sysfs ABI

SMBIOS가 없는 Loongson systems에서도 mainboard identity와 BIOS release 정보를 확인하는 boardinfo interface입니다.

Source pathDocumentation/ABI/testing/sysfs-firmware-lefi-boardinfo
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

Board identity without SMBIOS

sysfs-firmware-lefi-boardinfo:1-35

Hardware·firmware 문제 보고에 필요한 board와 BIOS fields를 LEFI specification에서 직접 제공해 dmidecode의 공백을 메웁니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/firmware/lefi/boardinfo
2 Date: October 2020
3 Contact: Tiezhu Yang <[email protected]>
4 Description:
5 Get mainboard and BIOS info easily on the Loongson platform,
6 this is useful to point out the current used mainboard type
7 and BIOS version when there exists problems related with
8 hardware or firmware.
9
10 The related structures are already defined in the interface
11 specification about firmware and kernel which are common
12 requirement and specific for Loongson64, so only add a new
13 boardinfo.c file in arch/mips/loongson64.
14
15 For example:
16
17 [loongson@linux ~]$ cat /sys/firmware/lefi/boardinfo
18 Board Info
19 Manufacturer : LEMOTE
20 Board Name : LEMOTE-LS3A4000-7A1000-1w-V01-pc
21 Family : LOONGSON3
22
23 BIOS Info
24 Vendor : Kunlun
25 Version : Kunlun-A1901-V4.1.3-20200414093938
26 ROM Size : 4 KB
27 Release Date : 2020-04-14
28
29 By the way, using dmidecode command can get the similar info if there
30 exists SMBIOS in firmware, but the fact is that there is no SMBIOS on
31 some machines, we can see nothing when execute dmidecode, like this:
32
33 [root@linux loongson]# dmidecode
34 # dmidecode 2.12
35 # No SMBIOS nor DMI entry point found, sorry.
36

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Loongson board and BIOS information

1-35
항목한국어 전문 번역
What/sys/firmware/lefi/boardinfo
Date2020년 10월
ContactTiezhu Yang <[email protected]>
DescriptionLoongson platform에서 mainboard와 BIOS 정보를 쉽게 얻습니다. Hardware 또는 firmware 문제가 있을 때 현재 사용하는 mainboard type과 BIOS version을 명확히 밝히는 데 유용합니다. 관련 structures는 Loongson64에 특화된 firmware-kernel interface specification의 공통 요구사항으로 이미 정의되어 있어 `arch/mips/loongson64`에 `boardinfo.c`만 추가합니다. Firmware에 SMBIOS가 있으면 `dmidecode`로 비슷한 정보를 얻을 수 있지만 일부 machines에는 SMBIOS가 없어 아무 정보도 출력되지 않습니다.
LEFI boardinfo groups
GroupFields
Board InfoManufacturer, Board Name, Family
BIOS InfoVendor, Version, ROM Size, Release Date

Mainboard identity와 BIOS release metadata입니다.

[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
[root@linux loongson]# dmidecode
# dmidecode 2.12
# No SMBIOS nor DMI entry point found, sorry.