Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1.TH "PFRUT" "8" "October 2021" "pfrut 1.0" ""
2.hy
3.SH Name
4.PP
5pfrut \- Platform Firmware Runtime Update and Telemetry tool
6.SH SYNOPSIS
7.PP
8\f[B]pfrut\f[R] [\f[I]Options\f[R]]
9.SH DESCRIPTION
10.PP
11The PFRUT(Platform Firmware Runtime Update and Telemetry) kernel interface is designed
12to
13.PD 0
14.P
15.PD
16interact with the platform firmware interface defined in the
17.PD 0
18.P
19.PD
20Management Mode Firmware Runtime
21Update (https://uefi.org/sites/default/files/resources/Intel_MM_OS_Interface_Spec_Rev100.pdf)
22.PD 0
23.P
24.PD
25\f[B]pfrut\f[R] is the tool to interact with the kernel interface.
26.PD 0
27.P
28.PD
29.SH OPTIONS
30.TP
31.B \f[B]\-h\f[R], \f[B]\-\-help\f[R]
32Display helper information.
33.TP
34.B \f[B]\-l\f[R], \f[B]\-\-load\f[R]
35Load the capsule file into the system.
36To be more specific, the capsule file will be copied to the
37communication buffer.
38.TP
39.B \f[B]\-s\f[R], \f[B]\-\-stage\f[R]
40Stage the capsule image from communication buffer into Management Mode
41and perform authentication.
42.TP
43.B \f[B]\-a\f[R], \f[B]\-\-activate\f[R]
44Activate a previous staged capsule image.
45.TP
46.B \f[B]\-u\f[R], \f[B]\-\-update\f[R]
47Perform both stage and activation actions.
48.TP
49.B \f[B]\-q\f[R], \f[B]\-\-query\f[R]
50Query the update capability.
51.TP
52.B \f[B]\-d\f[R], \f[B]\-\-setrev\f[R]
53Set the revision ID of code injection/driver update.
54.TP
55.B \f[B]\-D\f[R], \f[B]\-\-setrevlog\f[R]
56Set the revision ID of telemetry.
57.TP
58.B \f[B]\-G\f[R], \f[B]\-\-getloginfo\f[R]
59Get telemetry log information and print it out.
60.TP
61.B \f[B]\-T\f[R], \f[B]\-\-type\f[R]
62Set the telemetry log data type.
63.TP
64.B \f[B]\-L\f[R], \f[B]\-\-level\f[R]
65Set the telemetry log level.
66.TP
67.B \f[B]\-R\f[R], \f[B]\-\-read\f[R]
68Read all the telemetry data and print it out.
69.SH EXAMPLES
70.PP
71\f[B]pfrut \-G\f[R]
72.PP
73log_level:4
74.PD 0
75.P
76.PD
77log_type:0
78.PD 0
79.P
80.PD
81log_revid:2
82.PD 0
83.P
84.PD
85max_data_size:65536
86.PD 0
87.P
88.PD
89chunk1_size:0
90.PD 0
91.P
92.PD
93chunk2_size:1401
94.PD 0
95.P
96.PD
97rollover_cnt:0
98.PD 0
99.P
100.PD
101reset_cnt:4
102.PP
103\f[B]pfru \-q\f[R]
104.PP
105code injection image type:794bf8b2\-6e7b\-454e\-885f\-3fb9bb185402
106.PD 0
107.P
108.PD
109fw_version:0
110.PD 0
111.P
112.PD
113code_rt_version:1
114.PD 0
115.P
116.PD
117driver update image type:0e5f0b14\-f849\-7945\-ad81\-bc7b6d2bb245
118.PD 0
119.P
120.PD
121drv_rt_version:0
122.PD 0
123.P
124.PD
125drv_svn:0
126.PD 0
127.P
128.PD
129platform id:39214663\-b1a8\-4eaa\-9024\-f2bb53ea4723
130.PD 0
131.P
132.PD
133oem id:a36db54f\-ea2a\-e14e\-b7c4\-b5780e51ba3d
134.PP
135\f[B]pfrut \-l yours.cap \-u \-T 1 \-L 4\f[R]
136.SH AUTHORS
137Chen Yu.