blob: 2ea557d6a8089e4a87fa689c1664a155d9770415 [file] [log] [blame]
Manojkiran Edae8fd5fb2023-07-14 18:39:08 +05301# PLDM daemon options
2option(
3 'tests',
4 type: 'feature',
5 value: 'enabled',
6 description: 'Build tests'
7)
Lei YU31fc47e2020-02-27 11:41:45 +08008
Manojkiran Edae8fd5fb2023-07-14 18:39:08 +05309option(
10 'oe-sdk',
11 type: 'feature',
12 description: 'Enable OE SDK'
13)
Tom Joseph74f27c72021-05-16 07:58:53 -070014
Manojkiran Edae8fd5fb2023-07-14 18:39:08 +053015option(
16 'utilities',
17 type: 'feature',
18 value: 'enabled',
19 description: 'Enable debug utilities'
20)
Brad Bishopadbb2452021-08-19 16:33:53 -040021
Manojkiran Edae8fd5fb2023-07-14 18:39:08 +053022option(
23 'libpldmresponder',
24 type: 'feature',
25 value: 'enabled',
26 description: 'Enable libpldmresponder'
27)
Sagar Srinivasa6a8ccd2021-04-01 07:58:33 -050028
Manojkiran Edae8fd5fb2023-07-14 18:39:08 +053029option(
30 'systemd',
31 type: 'feature',
32 value: 'enabled',
33 description: 'Include systemd support'
34)
Manojkiran Edacc5f1582021-09-29 17:03:06 +053035
Manojkiran Edae8fd5fb2023-07-14 18:39:08 +053036# Time taken to wait for the reply for any PLDM dbus call is set to 5 seconds.
37# After 5 seconds the dbus method will exit.
38option(
39 'dbus-timeout-value',
40 type: 'integer',
41 min: 3,
42 max: 10,
43 value: 5,
44 description: '''The amount of time pldm waits to get a response for a dbus
45 message before timing out'''
46)
47
48option(
49 'heartbeat-timeout-seconds',
50 type: 'integer',
51 value: 120,
52 description: '''The amount of time host waits for BMC to respond to pings
53 from host, as part of host-bmc surveillance'''
54)
55
56# Flight Recorder for PLDM Daemon
57option(
58 'flightrecorder-max-entries',
59 type:'integer',
60 min:0,
61 max:30,
62 value: 10,
63 description: '''The max number of pldm messages that can be stored in the
64 recorder, this feature will be disabled if it is set to 0'''
65)
66
67# PLDM Daemon Terminus options
68option(
69 'terminus-id',
70 type:'integer',
71 min:0,
72 max: 255,
73 value:1,
74 description: '''The terminus id value of the device that is running this
75 pldm stack'''
76)
77
78option(
79 'terminus-handle',
80 type:'integer',
81 min:0,
82 max:65535,
83 value:1,
84 description: '''The terminus handle value of the device that is running this
85 pldm stack'''
86)
87
88# Timing specification options for PLDM messages
89option(
90 'number-of-request-retries',
91 type: 'integer',
92 min: 2,
93 max: 30,
94 value: 2,
95 description: '''The number of times a requester is obligated to retry a
96 request'''
97)
98
99option(
100 'instance-id-expiration-interval',
101 type: 'integer',
102 min: 5,
103 max: 6,
104 value: 5,
105 description: 'Instance ID expiration interval in seconds'
106)
107
108# Default response-time-out set to 2 seconds to facilitate a minimum retry of
109# the request of 2.
110option(
111 'response-time-out',
112 type: 'integer',
113 min: 300,
114 max: 4800,
115 value: 2000,
116 description: '''The amount of time a requester has to wait for a response
117 message in milliseconds'''
118)
Manojkiran Edacc5f1582021-09-29 17:03:06 +0530119
Tom Josephef90b0d2021-08-17 07:12:49 -0700120# Firmware update configuration parameters
Manojkiran Edae8fd5fb2023-07-14 18:39:08 +0530121option(
122 'maximum-transfer-size',
123 type: 'integer',
124 min: 16,
125 max: 4294967295,
126 value: 4096,
127 description: '''Maximum size in bytes of the variable payload allowed to be
128 requested by the FD, via RequestFirmwareData command'''
129)
130
131# PLDM Soft Power off options
132option(
133 'softoff',
134 type: 'feature',
135 value: 'enabled',
136 description: 'Build soft power off application'
137)
138
139option(
140 'softoff-timeout-seconds',
141 type: 'integer',
142 value: 7200,
143 description: 'softoff: Time to wait for host to gracefully shutdown'
144)
145
146# Vendor Specific Options
147
148## OEM IBM Options
149option(
150 'oem-ibm',
151 type: 'feature',
152 value: 'enabled',
153 description: 'Enable IBM OEM PLDM'
154)
155
156option(
157 'oem-ibm-dma-maxsize',
158 type: 'integer',
159 min:4096,
160 max: 16773120,
161 value: 8384512,
162 description: 'OEM-IBM: max DMA size'
163)