요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
ChromeOS GPIO assignments
sysfs-driver-chromeos-acpi:67-108GPIO.0-3은 signal type, active level, controller-local GPIO number와 controller name을 제공합니다.
Hardware identity and verified boot
sysfs-driver-chromeos-acpi:109-152HWID·MECK와 VBNV offset/size 및 VDAT가 Chromebook identity, Management Engine firmware hash와 verified-boot shared data를 expose합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
What: /sys/bus/platform/devices/GGL0001:*/BINF.2
/sys/bus/platform/devices/GOOG0016:*/BINF.2
Date: May 2022
KernelVersion: 5.19
Description:
Returns active EC firmware of current boot (boolean).
== ===============================
0 Read only (recovery) firmware.
1 Rewritable firmware.
== ===============================
What: /sys/bus/platform/devices/GGL0001:*/BINF.3
/sys/bus/platform/devices/GOOG0016:*/BINF.3
Date: May 2022
KernelVersion: 5.19
Description:
Returns main firmware type for current boot (integer).
== =====================================
0 Recovery.
1 Normal.
2 Developer.
3 Netboot (factory installation only).
== =====================================
What: /sys/bus/platform/devices/GGL0001:*/CHSW
/sys/bus/platform/devices/GOOG0016:*/CHSW
Date: May 2022
KernelVersion: 5.19
Description:
Returns switch position for Chrome OS specific hardware
switches when the firmware is booted (integer).
==== ===========================================
0 No changes.
2 Recovery button was pressed.
4 Recovery button was pressed (EC firmware).
32 Developer switch was enabled.
512 Firmware write protection was disabled.
==== ===========================================
What: /sys/bus/platform/devices/GGL0001:*/FMAP
/sys/bus/platform/devices/GOOG0016:*/FMAP
Date: May 2022
KernelVersion: 5.19
Description:
Returns physical memory address of the start of the main
processor firmware flashmap.
What: /sys/bus/platform/devices/GGL0001:*/FRID
/sys/bus/platform/devices/GOOG0016:*/FRID
Date: May 2022
KernelVersion: 5.19
Description:
Returns firmware version for the read-only portion of the
main processor firmware.
What: /sys/bus/platform/devices/GGL0001:*/FWID
/sys/bus/platform/devices/GOOG0016:*/FWID
Date: May 2022
KernelVersion: 5.19
Description:
Returns firmware version for the rewritable portion of the
main processor firmware.
What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.0
/sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.0
Date: May 2022
KernelVersion: 5.19
Description:
Returns type of the GPIO signal for the Chrome OS specific
GPIO assignments (integer).
=========== ==================================
1 Recovery button.
2 Developer mode switch.
3 Firmware write protection switch.
256 to 511 Debug header GPIO 0 to GPIO 255.
=========== ==================================
What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.1
/sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.1
Date: May 2022
KernelVersion: 5.19
Description:
Returns signal attributes of the GPIO signal (integer bitfield).
== =======================
0 Signal is active low.
1 Signal is active high.
== =======================
What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.2
/sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.2
Date: May 2022
KernelVersion: 5.19
Description:
Returns the GPIO number on the specified GPIO
controller.
What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.3
/sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.3
Date: May 2022
KernelVersion: 5.19
Description:
Returns name of the GPIO controller.
What: /sys/bus/platform/devices/GGL0001:*/HWID
/sys/bus/platform/devices/GOOG0016:*/HWID
Date: May 2022
KernelVersion: 5.19
Description:
Returns hardware ID for the Chromebook.
What: /sys/bus/platform/devices/GGL0001:*/MECK
/sys/bus/platform/devices/GOOG0016:*/MECK
Date: May 2022
KernelVersion: 5.19
Description:
Returns the SHA-1 or SHA-256 hash that is read out of the
Management Engine extended registers during boot. The hash
is exported via ACPI so the OS can verify that the Management
Engine firmware has not changed. If Management Engine is not
present, or if the firmware was unable to read the extended registers, this buffer size can be zero.
What: /sys/bus/platform/devices/GGL0001:*/VBNV.0
/sys/bus/platform/devices/GOOG0016:*/VBNV.0
Date: May 2022
KernelVersion: 5.19
Description:
Returns offset in CMOS bank 0 of the verified boot non-volatile
storage block, counting from the first writable CMOS byte
(that is, 'offset = 0' is the byte following the 14 bytes of
clock data).
What: /sys/bus/platform/devices/GGL0001:*/VBNV.1
/sys/bus/platform/devices/GOOG0016:*/VBNV.1
Date: May 2022
KernelVersion: 5.19
Description:
Return the size in bytes of the verified boot non-volatile
storage block.
What: /sys/bus/platform/devices/GGL0001:*/VDAT
/sys/bus/platform/devices/GOOG0016:*/VDAT
Date: May 2022
KernelVersion: 5.19
Description:
Returns the verified boot data block shared between the
firmware verification step and the kernel verification step
(hex dump).
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Active EC firmware type
1-12| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/GGL0001:*/BINF.2; /sys/bus/platform/devices/GOOG0016:*/BINF.2 |
| Date | 2022년 5월 |
| KernelVersion | 5.19 |
| Description | Current boot에서 active한 EC firmware를 boolean으로 반환합니다. 0은 read-only(recovery) firmware, 1은 rewritable firmware입니다. |
Firmware, switches, GPIO, identity와 verified-boot attributes를 묶었습니다.
Current boot가 사용하는 EC firmware partition입니다.
Main firmware boot type
13-26| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/GGL0001:*/BINF.3; /sys/bus/platform/devices/GOOG0016:*/BINF.3 |
| Date | 2022년 5월 |
| KernelVersion | 5.19 |
| Description | Current boot의 main firmware type을 integer로 반환합니다. 0은 Recovery, 1은 Normal, 2는 Developer, 3은 factory installation에서만 사용하는 Netboot입니다. |
원문의 integer value table을 구조화했습니다.
Boot-time ChromeOS hardware switches
27-42| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/GGL0001:*/CHSW; /sys/bus/platform/devices/GOOG0016:*/CHSW |
| Date | 2022년 5월 |
| KernelVersion | 5.19 |
| Description | Firmware가 boot될 때 ChromeOS-specific hardware switch의 position을 integer로 반환합니다. 0은 No changes, 2는 recovery button pressed, 4는 EC firmware의 recovery button pressed, 32는 developer switch enabled, 512는 firmware write protection disabled를 뜻합니다. |
Boot 시점에 firmware가 관측한 switch state입니다.
Main firmware flashmap address
43-50| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/GGL0001:*/FMAP; /sys/bus/platform/devices/GOOG0016:*/FMAP |
| Date | 2022년 5월 |
| KernelVersion | 5.19 |
| Description | Main processor firmware flashmap 시작 지점의 physical memory address를 반환합니다. |
Read-only main firmware version
51-58| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/GGL0001:*/FRID; /sys/bus/platform/devices/GOOG0016:*/FRID |
| Date | 2022년 5월 |
| KernelVersion | 5.19 |
| Description | Main processor firmware의 read-only portion에 대한 firmware version을 반환합니다. |
Rewritable main firmware version
59-66| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/GGL0001:*/FWID; /sys/bus/platform/devices/GOOG0016:*/FWID |
| Date | 2022년 5월 |
| KernelVersion | 5.19 |
| Description | Main processor firmware의 rewritable portion에 대한 firmware version을 반환합니다. |
ChromeOS GPIO signal type
67-81| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.0; /sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.0 |
| Date | 2022년 5월 |
| KernelVersion | 5.19 |
| Description | ChromeOS-specific GPIO assignment의 GPIO signal type을 integer로 반환합니다. 1은 recovery button, 2는 developer-mode switch, 3은 firmware write-protection switch, 256-511은 debug-header GPIO 0-255입니다. |
원문의 integer/range table을 구조화했습니다.
ChromeOS GPIO signal attributes
82-93| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.1; /sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.1 |
| Date | 2022년 5월 |
| KernelVersion | 5.19 |
| Description | GPIO signal attribute를 integer bitfield로 반환합니다. 0은 signal active low, 1은 signal active high를 뜻합니다. |
Signal polarity bitfield의 정의입니다.
Controller-local GPIO number
94-101| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.2; /sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.2 |
| Date | 2022년 5월 |
| KernelVersion | 5.19 |
| Description | 지정한 GPIO controller 안의 GPIO number를 반환합니다. |
GPIO controller name
102-108| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.3; /sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.3 |
| Date | 2022년 5월 |
| KernelVersion | 5.19 |
| Description | GPIO controller의 name을 반환합니다. |
Chromebook hardware identifier
109-115| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/GGL0001:*/HWID; /sys/bus/platform/devices/GOOG0016:*/HWID |
| Date | 2022년 5월 |
| KernelVersion | 5.19 |
| Description | Chromebook의 hardware ID를 반환합니다. |
Management Engine firmware hash
116-126| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/GGL0001:*/MECK; /sys/bus/platform/devices/GOOG0016:*/MECK |
| Date | 2022년 5월 |
| KernelVersion | 5.19 |
| Description | Boot 중 Management Engine extended register에서 읽은 SHA-1 또는 SHA-256 hash를 반환합니다. OS가 Management Engine firmware가 변경되지 않았는지 verify할 수 있도록 ACPI를 통해 hash를 export합니다. Management Engine이 없거나 firmware가 extended register를 읽지 못했다면 buffer size는 0일 수 있습니다. |
Firmware가 extended-register hash를 ACPI를 통해 OS에 전달합니다.
Verified-boot CMOS storage offset
127-136| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/GGL0001:*/VBNV.0; /sys/bus/platform/devices/GOOG0016:*/VBNV.0 |
| Date | 2022년 5월 |
| KernelVersion | 5.19 |
| Description | Verified-boot non-volatile storage block의 CMOS bank 0 offset을 반환합니다. Offset은 첫 writable CMOS byte부터 계산하며, 즉 offset = 0은 clock data 14 bytes 바로 다음 byte입니다. |
Clock-data region 다음 첫 writable byte가 VBNV offset 0입니다.
Verified-boot CMOS storage size
137-144| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/GGL0001:*/VBNV.1; /sys/bus/platform/devices/GOOG0016:*/VBNV.1 |
| Date | 2022년 5월 |
| KernelVersion | 5.19 |
| Description | Verified-boot non-volatile storage block의 size를 bytes로 반환합니다. |
Verified-boot shared data block
145-152| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/devices/GGL0001:*/VDAT; /sys/bus/platform/devices/GOOG0016:*/VDAT |
| Date | 2022년 5월 |
| KernelVersion | 5.19 |
| Description | Firmware verification step과 kernel verification step이 공유하는 verified-boot data block을 hex dump로 반환합니다. |
Boot firmware and switch state
sysfs-driver-chromeos-acpi:1-66BINF·CHSW는 EC/main firmware mode와 boot-time hardware switch state를, FMAP·FRID·FWID는 flashmap address와 RO/RW firmware versions를 제공합니다.