← Documents Documentation/ABI/testing/sysfs-driver-zynqmp-fpga GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

ZynqMP FPGA manager status sysfs ABI

ZynqMP FPGA configuration의 CRC, security, clocks, startup, pins, errors, state-machine phase와 detected bus width를 hexadecimal status bits로 해석합니다.

Source pathDocumentation/ABI/testing/sysfs-driver-zynqmp-fpga
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

Configuration, startup and bus-width status

sysfs-driver-zynqmp-fpga:1-73

Status register는 boolean flags와 multi-bit mode, startup phase, bus-width fields를 함께 담으므로 mask별로 해석해야 하며 unspecified bits는 reserved입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 What: /sys/bus/platform/drivers/zynqmp_fpga_manager/firmware:zynqmp-firmware:pcap/status
2 Date: February 2023
3 KernelVersion: 6.4
4 Contact: Nava kishore Manne <nava.kishore.manne@amd.com>
5 Description: (RO) Read fpga status.
6 Read returns a hexadecimal value that tells the current status
7 of the FPGA device. Each bit position in the status value is
8 described Below(see ug570 chapter 9).
9 https://docs.xilinx.com/v/u/en-US/ug570-ultrascale-configuration
10
11 ====================== ==============================================
12 BIT(0) 0: No CRC error
13 1: CRC error
14
15 BIT(1) 0: Decryptor security not set
16 1: Decryptor security set
17
18 BIT(2) 0: MMCMs/PLLs are not locked
19 1: MMCMs/PLLs are locked
20
21 BIT(3) 0: DCI not matched
22 1: DCI matched
23
24 BIT(4) 0: Start-up sequence has not finished
25 1: Start-up sequence has finished
26
27 BIT(5) 0: All I/Os are placed in High-Z state
28 1: All I/Os behave as configured
29
30 BIT(6) 0: Flip-flops and block RAM are write disabled
31 1: Flip-flops and block RAM are write enabled
32
33 BIT(7) 0: GHIGH_B_STATUS asserted
34 1: GHIGH_B_STATUS deasserted
35
36 BIT(8) to BIT(10) Status of the mode pins
37
38 BIT(11) 0: Initialization has not finished
39 1: Initialization finished
40
41 BIT(12) Value on INIT_B_PIN pin
42
43 BIT(13) 0: Signal not released
44 1: Signal released
45
46 BIT(14) Value on DONE_PIN pin.
47
48 BIT(15) 0: No IDCODE_ERROR
49 1: IDCODE_ERROR
50
51 BIT(16) 0: No SECURITY_ERROR
52 1: SECURITY_ERROR
53
54 BIT(17) System Monitor over-temperature if set
55
56 BIT(18) to BIT(20) Start-up state machine (0 to 7)
57 Phase 0 = 000
58 Phase 1 = 001
59 Phase 2 = 011
60 Phase 3 = 010
61 Phase 4 = 110
62 Phase 5 = 111
63 Phase 6 = 101
64 Phase 7 = 100
65
66 BIT(25) to BIT(26) Indicates the detected bus width
67 00 = x1
68 01 = x8
69 10 = x16
70 11 = x32
71 ====================== ==============================================
72
73 The other bits are reserved.
74

3. 한국어 전문 번역

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

ZynqMP FPGA configuration status

1-73
항목한국어 전문 번역
What/sys/bus/platform/drivers/zynqmp_fpga_manager/firmware:zynqmp-firmware:pcap/status
Date2023년 2월
KernelVersion6.4
ContactNava kishore Manne <nava.kishore.manne@amd.com>
DescriptionFPGA current status를 hexadecimal value로 반환합니다. 각 bit는 CRC, decryptor security, MMCM/PLL lock, DCI, startup, I/O, write-enable, mode pins, initialization, pins, errors, over-temperature, startup state machine과 detected bus width를 나타냅니다. 정의는 UG570 chapter 9를 따르며 나머지 bits는 reserved입니다.
AccessRead-only
Referencehttps://docs.xilinx.com/v/u/en-US/ug570-ultrascale-configuration
ZynqMP FPGA status bits 0-17
Bits01 / value
0No CRC errorCRC error
1Decryptor security not setDecryptor security set
2MMCMs/PLLs not lockedMMCMs/PLLs locked
3DCI not matchedDCI matched
4Startup unfinishedStartup finished
5All I/Os High-ZI/Os configured
6FF and block RAM write disabledWrite enabled
7GHIGH_B_STATUS assertedDeasserted
8..10Mode-pin statusMode-pin status
11Initialization unfinishedInitialization finished
12INIT_B_PIN valueINIT_B_PIN value
13Signal not releasedSignal released
14DONE_PIN valueDONE_PIN value
15No IDCODE_ERRORIDCODE_ERROR
16No SECURITY_ERRORSECURITY_ERROR
17No over-temperature indicationOver-temperature

Boolean configuration and error states입니다.

ZynqMP startup-state encoding
PhaseBits 20:18
0000
1001
2011
3010
4110
5111
6101
7100

BIT(18)..BIT(20)의 phase encoding입니다.

ZynqMP detected bus width
Bits 26:25Bus width
00x1
01x8
10x16
11x32

BIT(25)..BIT(26)의 bus-width encoding입니다.