요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Firmware notification actions
sysfs-devices-platform-stratix10-rsu:95-139notify write는 software execution stage를 전달하고 image retry reset·RSU log clear·notify-code recording을 bit별로 제어합니다.
Decision-firmware copies and retry limit
sysfs-devices-platform-stratix10-rsu:140-174dcmf0-3는 네 Decision firmware copy의 version을, max_retry는 firmware decision IO section offset 0x18c의 retry limit byte를 expose합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Intel Stratix10 Remote System Update (RSU) device attributes
What: /sys/devices/platform/stratix10-rsu.0/current_image
Date: August 2019
KernelVersion: 5.4
Contact: Richard Gong <richard.gong@linux.intel.com>
Description:
(RO) the address in flash of currently running image.
What: /sys/devices/platform/stratix10-rsu.0/fail_image
Date: August 2019
KernelVersion: 5.4
Contact: Richard Gong <richard.gong@linux.intel.com>
Description:
(RO) the address in flash of failed image.
What: /sys/devices/platform/stratix10-rsu.0/state
Date: August 2019
KernelVersion: 5.4
Contact: Richard Gong <richard.gong@linux.intel.com>
Description:
(RO) the state of RSU system.
The state field has two parts: major error code in
upper 16 bits and minor error code in lower 16 bits.
b[15:0]
Currently used only when major error is 0xF006
(CPU watchdog timeout), in which case the minor
error code is the value reported by CPU to
firmware through the RSU notify command before
the watchdog timeout occurs.
b[31:16]
0xF001 bitstream error
0xF002 hardware access failure
0xF003 bitstream corruption
0xF004 internal error
0xF005 device error
0xF006 CPU watchdog timeout
0xF007 internal unknown error
What: /sys/devices/platform/stratix10-rsu.0/version
Date: August 2019
KernelVersion: 5.4
Contact: Richard Gong <richard.gong@linux.intel.com>
Description:
(RO) the version number of RSU firmware. 19.3 or late
version includes information about the firmware which
reported the error.
pre 19.3:
b[31:0]
0x0 version number
19.3 or late:
b[15:0]
0x1 version number
b[31:16]
0x0 no error
0x0DCF Decision CMF error
0x0ACF Application CMF error
What: /sys/devices/platform/stratix10-rsu.0/error_location
Date: August 2019
KernelVersion: 5.4
Contact: Richard Gong <richard.gong@linux.intel.com>
Description:
(RO) the error offset inside the image that failed.
What: /sys/devices/platform/stratix10-rsu.0/error_details
Date: August 2019
KernelVersion: 5.4
Contact: Richard Gong <richard.gong@linux.intel.com>
Description:
(RO) error code.
What: /sys/devices/platform/stratix10-rsu.0/retry_counter
Date: August 2019
KernelVersion: 5.4
Contact: Richard Gong <richard.gong@linux.intel.com>
Description:
(RO) the current image's retry counter, which is used by
user to know how many times the images is still allowed
to reload itself before giving up and starting RSU
fail-over flow.
What: /sys/devices/platform/stratix10-rsu.0/reboot_image
Date: August 2019
KernelVersion: 5.4
Contact: Richard Gong <richard.gong@linux.intel.com>
Description:
(WO) the address in flash of image to be loaded on next
reboot command.
What: /sys/devices/platform/stratix10-rsu.0/notify
Date: August 2019
KernelVersion: 5.4
Contact: Richard Gong <richard.gong@linux.intel.com>
Description:
(WO) client to notify firmware with different actions.
b[15:0]
inform firmware the current software execution
stage.
== ===========================================
0 the first stage bootloader didn't run or
didn't reach the point of launching second
stage bootloader.
1 failed in second bootloader or didn't get
to the point of launching the operating
system.
2 both first and second stage bootloader ran
and the operating system launch was
attempted.
== ===========================================
b[16]
== ===========================================
1 firmware to reset current image retry
counter.
0 no action.
== ===========================================
b[17]
== ===========================================
1 firmware to clear RSU log
0 no action.
== ===========================================
b[18]
this is negative logic
== ===========================================
1 no action
0 firmware record the notify code defined
in b[15:0].
== ===========================================
What: /sys/devices/platform/stratix10-rsu.0/dcmf0
Date: June 2020
KernelVersion: 5.8
Contact: Richard Gong <richard.gong@linux.intel.com>
Description:
(RO) Decision firmware copy 0 version information.
What: /sys/devices/platform/stratix10-rsu.0/dcmf1
Date: June 2020
KernelVersion: 5.8
Contact: Richard Gong <richard.gong@linux.intel.com>
Description:
(RO) Decision firmware copy 1 version information.
What: /sys/devices/platform/stratix10-rsu.0/dcmf2
Date: June 2020
KernelVersion: 5.8
Contact: Richard Gong <richard.gong@linux.intel.com>
Description:
(RO) Decision firmware copy 2 version information.
What: /sys/devices/platform/stratix10-rsu.0/dcmf3
Date: June 2020
KernelVersion: 5.8
Contact: Richard Gong <richard.gong@linux.intel.com>
Description:
(RO) Decision firmware copy 3 version information.
What: /sys/devices/platform/stratix10-rsu.0/max_retry
Date: June 2020
KernelVersion: 5.8
Contact: Richard Gong <richard.gong@linux.intel.com>
Description:
(RO) max retry parameter is stored in the firmware
decision IO section, as a byte located at offset 0x18c.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Currently running RSU image
1-9| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/stratix10-rsu.0/current_image |
| Date | 2019년 8월 |
| KernelVersion | 5.4 |
| Contact | Richard Gong <richard.gong@linux.intel.com> |
| Description | Intel Stratix10 Remote System Update(RSU) device attribute입니다. (RO) 현재 실행 중인 image의 flash address입니다. |
Failed RSU image
10-16| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/stratix10-rsu.0/fail_image |
| Date | 2019년 8월 |
| KernelVersion | 5.4 |
| Contact | Richard Gong <richard.gong@linux.intel.com> |
| Description | (RO) 실패한 image의 flash address입니다. |
Status와 retry information은 현재 image가 fail-over로 넘어가기 전 상태를 해석하는 데 쓰입니다.
RSU major and minor state codes
17-41| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/stratix10-rsu.0/state |
| Date | 2019년 8월 |
| KernelVersion | 5.4 |
| Contact | Richard Gong <richard.gong@linux.intel.com> |
| Description | (RO) RSU system state입니다. State field는 upper 16 bits의 major error code와 lower 16 bits의 minor error code로 구성됩니다. b[15:0]은 major error가 0xF006(CPU watchdog timeout)일 때만 현재 사용됩니다. 이 경우 minor error code는 watchdog timeout이 발생하기 전에 CPU가 RSU notify command를 통해 firmware에 보고한 값입니다. |
32-bit state의 major/minor field 배치입니다.
Upper 16-bit field에 정의된 major error 값입니다.
RSU firmware version and reporter
42-62| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/stratix10-rsu.0/version |
| Date | 2019년 8월 |
| KernelVersion | 5.4 |
| Contact | Richard Gong <richard.gong@linux.intel.com> |
| Description | (RO) RSU firmware version number입니다. Version 19.3 이상은 error를 보고한 firmware 정보도 포함합니다. 19.3 이전에는 b[31:0]의 0x0이 version number입니다. 19.3 이상에서는 b[15:0]의 0x1이 version number이고 b[31:16]이 reporting/error source를 나타냅니다. |
Pre-19.3와 19.3 이상 field interpretation을 원문 값 그대로 정리했습니다.
Failed-image error offset
63-69| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/stratix10-rsu.0/error_location |
| Date | 2019년 8월 |
| KernelVersion | 5.4 |
| Contact | Richard Gong <richard.gong@linux.intel.com> |
| Description | (RO) 실패한 image 내부의 error offset입니다. |
RSU error detail code
70-76| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/stratix10-rsu.0/error_details |
| Date | 2019년 8월 |
| KernelVersion | 5.4 |
| Contact | Richard Gong <richard.gong@linux.intel.com> |
| Description | (RO) Error code입니다. |
Current-image retry counter
77-86| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/stratix10-rsu.0/retry_counter |
| Date | 2019년 8월 |
| KernelVersion | 5.4 |
| Contact | Richard Gong <richard.gong@linux.intel.com> |
| Description | (RO) 현재 image의 retry counter입니다. User는 이 값을 통해 image가 포기하고 RSU fail-over flow를 시작하기 전까지 자체 reload가 몇 번 더 허용되는지 알 수 있습니다. |
Image selected for next reboot
87-94| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/stratix10-rsu.0/reboot_image |
| Date | 2019년 8월 |
| KernelVersion | 5.4 |
| Contact | Richard Gong <richard.gong@linux.intel.com> |
| Description | (WO) 다음 reboot command에서 load할 image의 flash address입니다. |
RSU firmware notification command
95-139| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/stratix10-rsu.0/notify |
| Date | 2019년 8월 |
| KernelVersion | 5.4 |
| Contact | Richard Gong <richard.gong@linux.intel.com> |
| Description | (WO) Client가 여러 action으로 firmware에 notify하는 값입니다. b[15:0]은 현재 software execution stage를 firmware에 알립니다. b[16]은 current-image retry counter reset, b[17]은 RSU log clear를 제어합니다. b[18]은 negative logic이며 notify code 기록 여부를 제어합니다. |
각 field와 action의 polarity입니다.
b[15:0] stage value의 전체 의미입니다.
Decision firmware copy 0
140-146| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/stratix10-rsu.0/dcmf0 |
| Date | 2020년 6월 |
| KernelVersion | 5.8 |
| Contact | Richard Gong <richard.gong@linux.intel.com> |
| Description | (RO) Decision firmware copy 0의 version information입니다. |
네 copy의 version attribute와 retry-limit storage입니다.
Decision firmware copy 1
147-153| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/stratix10-rsu.0/dcmf1 |
| Date | 2020년 6월 |
| KernelVersion | 5.8 |
| Contact | Richard Gong <richard.gong@linux.intel.com> |
| Description | (RO) Decision firmware copy 1의 version information입니다. |
Decision firmware copy 2
154-160| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/stratix10-rsu.0/dcmf2 |
| Date | 2020년 6월 |
| KernelVersion | 5.8 |
| Contact | Richard Gong <richard.gong@linux.intel.com> |
| Description | (RO) Decision firmware copy 2의 version information입니다. |
Decision firmware copy 3
161-167| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/stratix10-rsu.0/dcmf3 |
| Date | 2020년 6월 |
| KernelVersion | 5.8 |
| Contact | Richard Gong <richard.gong@linux.intel.com> |
| Description | (RO) Decision firmware copy 3의 version information입니다. |
Firmware maximum retry parameter
168-174| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/stratix10-rsu.0/max_retry |
| Date | 2020년 6월 |
| KernelVersion | 5.8 |
| Contact | Richard Gong <richard.gong@linux.intel.com> |
| Description | (RO) Max-retry parameter는 firmware decision IO section의 offset 0x18c에 있는 한 byte로 저장됩니다. |
Image status, error fields and retry
sysfs-devices-platform-stratix10-rsu:1-94RSU status attributes는 running/failed image 주소, major·minor error, reporting firmware, error offset/code와 fail-over 전 남은 retry를 제공합니다.