요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Flash access, geometry, data, and commands
sysfs-c2port:32-81On-board flash 접근, block 크기·수, data export, erase와 microcontroller reset·revision ID를 제공합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/class/c2port/
2
Date: October 2008
3
Contact: Rodolfo Giometti <[email protected]>
4
Description:
5
The /sys/class/c2port/ directory will contain files and
6
directories that will provide a unified interface to
7
the C2 port interface.
9
What: /sys/class/c2port/c2portX
10
Date: October 2008
11
Contact: Rodolfo Giometti <[email protected]>
12
Description:
13
The /sys/class/c2port/c2portX/ directory is related to X-th
14
C2 port into the system. Each directory will contain files to
15
manage and control its C2 port.
17
What: /sys/class/c2port/c2portX/access
18
Date: October 2008
19
Contact: Rodolfo Giometti <[email protected]>
20
Description:
21
The /sys/class/c2port/c2portX/access file enable the access
22
to the C2 port from the system. No commands can be sent
23
till this entry is set to 0.
25
What: /sys/class/c2port/c2portX/dev_id
26
Date: October 2008
27
Contact: Rodolfo Giometti <[email protected]>
28
Description:
29
The /sys/class/c2port/c2portX/dev_id file show the device ID
30
of the connected micro.
32
What: /sys/class/c2port/c2portX/flash_access
33
Date: October 2008
34
Contact: Rodolfo Giometti <[email protected]>
35
Description:
36
The /sys/class/c2port/c2portX/flash_access file enable the
37
access to the on-board flash of the connected micro.
38
No commands can be sent till this entry is set to 0.
40
What: /sys/class/c2port/c2portX/flash_block_size
41
Date: October 2008
42
Contact: Rodolfo Giometti <[email protected]>
43
Description:
44
The /sys/class/c2port/c2portX/flash_block_size file show
45
the on-board flash block size of the connected micro.
47
What: /sys/class/c2port/c2portX/flash_blocks_num
48
Date: October 2008
49
Contact: Rodolfo Giometti <[email protected]>
50
Description:
51
The /sys/class/c2port/c2portX/flash_blocks_num file show
52
the on-board flash blocks number of the connected micro.
54
What: /sys/class/c2port/c2portX/flash_data
55
Date: October 2008
56
Contact: Rodolfo Giometti <[email protected]>
57
Description:
58
The /sys/class/c2port/c2portX/flash_data file export
59
the content of the on-board flash of the connected micro.
61
What: /sys/class/c2port/c2portX/flash_erase
62
Date: October 2008
63
Contact: Rodolfo Giometti <[email protected]>
64
Description:
65
The /sys/class/c2port/c2portX/flash_erase file execute
66
the "erase" command on the on-board flash of the connected
67
micro.
69
What: /sys/class/c2port/c2portX/reset
70
Date: October 2008
71
Contact: Rodolfo Giometti <[email protected]>
72
Description:
73
The /sys/class/c2port/c2portX/reset file execute a "reset"
74
command on the connected micro.
76
What: /sys/class/c2port/c2portX/rev_id
77
Date: October 2008
78
Contact: Rodolfo Giometti <[email protected]>
79
Description:
80
The /sys/class/c2port/c2portX/rev_id file show the revision ID
81
of the connected micro.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
C2 port class directory
1-7| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/c2port/ |
| Date | 2008년 10월 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | /sys/class/c2port/ directory는 C2 port interface에 대한 unified interface를 제공하는 file과 directory를 담습니다. |
개별 C2 port instance
9-15| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/c2port/c2portX |
| Date | 2008년 10월 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | /sys/class/c2port/c2portX/ directory는 system의 X번째 C2 port와 연결됩니다. 각 directory는 해당 C2 port를 관리하고 제어하는 file을 담습니다. |
System의 C2 port access
17-23| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/c2port/c2portX/access |
| Date | 2008년 10월 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | /sys/class/c2port/c2portX/access file은 system에서 C2 port에 접근할 수 있게 합니다. 이 entry가 0으로 설정될 때까지는 command를 보낼 수 없습니다. |
연결 microcontroller device ID
25-30| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/c2port/c2portX/dev_id |
| Date | 2008년 10월 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | 연결된 microcontroller의 device ID를 표시합니다. |
On-board flash access
32-38| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/c2port/c2portX/flash_access |
| Date | 2008년 10월 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | 연결된 microcontroller의 on-board flash에 접근할 수 있게 합니다. 이 entry가 0으로 설정될 때까지는 command를 보낼 수 없습니다. |
On-board flash block 크기
40-45| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/c2port/c2portX/flash_block_size |
| Date | 2008년 10월 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | 연결된 microcontroller의 on-board flash block 크기를 표시합니다. |
On-board flash block 수
47-52| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/c2port/c2portX/flash_blocks_num |
| Date | 2008년 10월 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | 연결된 microcontroller의 on-board flash block 수를 표시합니다. |
On-board flash 내용
54-59| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/c2port/c2portX/flash_data |
| Date | 2008년 10월 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | 연결된 microcontroller의 on-board flash 내용을 export합니다. |
On-board flash erase
61-67| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/c2port/c2portX/flash_erase |
| Date | 2008년 10월 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | 연결된 microcontroller의 on-board flash에 "erase" command를 실행합니다. |
연결 microcontroller reset
69-74| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/c2port/c2portX/reset |
| Date | 2008년 10월 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | 연결된 microcontroller에 "reset" command를 실행합니다. |
연결 microcontroller revision ID
76-81| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/c2port/c2portX/rev_id |
| Date | 2008년 10월 |
| Contact | Rodolfo Giometti <[email protected]> |
| Description | 연결된 microcontroller의 revision ID를 표시합니다. |
분류속성
Port 제어access, reset
식별dev_id, rev_id
Flash 접근flash_access
Flash 정보flash_block_size, flash_blocks_num, flash_data
Flash commandflash_erase
개별 C2 port에서 식별, flash 접근, data와 command를 담당하는 속성입니다.
Port access and microcontroller identity
sysfs-c2port:1-30통합 C2 port class와 개별 c2portX directory, access gate 및 연결 microcontroller의 device ID를 정의합니다.