요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/bus/spi/<dev>/update_firmware
2
Date: Jul 2021
3
Contact: [email protected]
4
Description: Write 1 to this file to update the ACHC microcontroller
5
firmware via the EzPort interface. For this the kernel
6
will load "achc.bin" via the firmware API (so usually
7
from /lib/firmware). The write will block until the FW
8
has either been flashed successfully or an error occurred.
10
What: /sys/bus/spi/<dev>/reset
11
Date: Jul 2021
12
Contact: [email protected]
13
Description: This file represents the microcontroller's reset line.
14
1 means the reset line is asserted, 0 means it's not
15
asserted. The file is read and writable.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
ACHC firmware update
1-9| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/spi/<dev>/update_firmware |
| Date | 2021년 7월 |
| Contact | [email protected] |
| Description | 이 file에 1을 write하면 EzPort interface를 통해 ACHC microcontroller firmware를 update합니다. Kernel은 firmware API를 통해 "achc.bin"을 load하며, 보통 /lib/firmware에서 가져옵니다. Write는 firmware flashing이 성공하거나 error가 발생할 때까지 block됩니다. |
Write 1 to update_firmware→Kernel firmware API loads achc.bin→Flash through EzPort→Write returns on success or error
Synchronous sysfs write가 firmware load와 flashing 완료를 기다립니다.
ACHC microcontroller reset line
10-15| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/spi/<dev>/reset |
| Date | 2021년 7월 |
| Contact | [email protected] |
| Description | Microcontroller의 reset line을 나타냅니다. 1은 reset line asserted, 0은 not asserted를 뜻합니다. File은 read/write 가능합니다. |
Firmware update and reset
sysfs-driver-ge-achc:1-15update_firmware는 achc.bin을 load해 성공 또는 error까지 block하고, reset은 1 asserted·0 deasserted 상태를 read/write합니다.