blob: 8449821c4a6927edd4938afab7f4c8e836568da4 [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',
Patrick Williams7bc0a152023-11-29 07:11:46 -060012 value: 'disabled',
Manojkiran Edae8fd5fb2023-07-14 18:39:08 +053013 description: 'Enable OE SDK'
14)
Tom Joseph74f27c72021-05-16 07:58:53 -070015
Manojkiran Edae8fd5fb2023-07-14 18:39:08 +053016option(
17 'utilities',
18 type: 'feature',
19 value: 'enabled',
20 description: 'Enable debug utilities'
21)
Brad Bishopadbb2452021-08-19 16:33:53 -040022
Manojkiran Edae8fd5fb2023-07-14 18:39:08 +053023option(
24 'libpldmresponder',
25 type: 'feature',
26 value: 'enabled',
27 description: 'Enable libpldmresponder'
28)
Sagar Srinivasa6a8ccd2021-04-01 07:58:33 -050029
Manojkiran Edae8fd5fb2023-07-14 18:39:08 +053030option(
31 'systemd',
32 type: 'feature',
33 value: 'enabled',
34 description: 'Include systemd support'
35)
Manojkiran Edacc5f1582021-09-29 17:03:06 +053036
Rashmica Gupta1ed5f7a2023-05-22 13:56:42 +100037option(
38 'transport-implementation',
39 type: 'combo',
40 choices: ['mctp-demux', 'af-mctp'],
41 description: 'transport via af-mctp or mctp-demux'
42)
43
vkaverap@in.ibm.comc0b0e7b2023-07-18 00:06:40 -050044# As per PLDM spec DSP0240 version 1.1.0, in Timing Specification for PLDM messages (Table 6),
45# the instance ID for a given response will expire and become reusable if a response has not been
46# received within a maximum of 6 seconds after a request is sent. By setting the dbus timeout
47# value to 5 seconds we ensure that PLDM does not wait for a response from a dbus call even after
48# the instance ID has expired. If the option is set to 5 seconds, any dbus call originated from
49# PLDM daemon will timeout after 5 seconds.
Manojkiran Edae8fd5fb2023-07-14 18:39:08 +053050option(
51 'dbus-timeout-value',
52 type: 'integer',
53 min: 3,
54 max: 10,
55 value: 5,
56 description: '''The amount of time pldm waits to get a response for a dbus
57 message before timing out'''
58)
59
60option(
61 'heartbeat-timeout-seconds',
62 type: 'integer',
63 value: 120,
64 description: '''The amount of time host waits for BMC to respond to pings
65 from host, as part of host-bmc surveillance'''
66)
67
68# Flight Recorder for PLDM Daemon
69option(
70 'flightrecorder-max-entries',
71 type:'integer',
72 min:0,
73 max:30,
74 value: 10,
75 description: '''The max number of pldm messages that can be stored in the
76 recorder, this feature will be disabled if it is set to 0'''
77)
78
79# PLDM Daemon Terminus options
80option(
81 'terminus-id',
82 type:'integer',
83 min:0,
84 max: 255,
85 value:1,
86 description: '''The terminus id value of the device that is running this
87 pldm stack'''
88)
89
90option(
91 'terminus-handle',
92 type:'integer',
93 min:0,
94 max:65535,
95 value:1,
96 description: '''The terminus handle value of the device that is running this
97 pldm stack'''
98)
99
100# Timing specification options for PLDM messages
101option(
102 'number-of-request-retries',
103 type: 'integer',
104 min: 2,
105 max: 30,
106 value: 2,
107 description: '''The number of times a requester is obligated to retry a
108 request'''
109)
110
111option(
112 'instance-id-expiration-interval',
113 type: 'integer',
114 min: 5,
115 max: 6,
116 value: 5,
117 description: 'Instance ID expiration interval in seconds'
118)
119
120# Default response-time-out set to 2 seconds to facilitate a minimum retry of
121# the request of 2.
122option(
123 'response-time-out',
124 type: 'integer',
125 min: 300,
126 max: 4800,
127 value: 2000,
128 description: '''The amount of time a requester has to wait for a response
129 message in milliseconds'''
130)
Manojkiran Edacc5f1582021-09-29 17:03:06 +0530131
Tom Josephef90b0d2021-08-17 07:12:49 -0700132# Firmware update configuration parameters
Manojkiran Edae8fd5fb2023-07-14 18:39:08 +0530133option(
134 'maximum-transfer-size',
135 type: 'integer',
136 min: 16,
137 max: 4294967295,
138 value: 4096,
139 description: '''Maximum size in bytes of the variable payload allowed to be
140 requested by the FD, via RequestFirmwareData command'''
141)
142
Archana Kakani46f352e2024-03-17 08:21:08 -0500143# Bios Attributes option
144option(
145 'system-specific-bios-json',
146 type : 'feature',
147 value: 'disabled',
148 description : 'Support for different set of bios attributes for different types of systems'
149)
150
Manojkiran Edae8fd5fb2023-07-14 18:39:08 +0530151# PLDM Soft Power off options
152option(
153 'softoff',
154 type: 'feature',
155 value: 'enabled',
156 description: 'Build soft power off application'
157)
158
159option(
160 'softoff-timeout-seconds',
161 type: 'integer',
162 value: 7200,
163 description: 'softoff: Time to wait for host to gracefully shutdown'
164)
165
166# Vendor Specific Options
167
168## OEM IBM Options
169option(
170 'oem-ibm',
171 type: 'feature',
172 value: 'enabled',
173 description: 'Enable IBM OEM PLDM'
174)
175
176option(
177 'oem-ibm-dma-maxsize',
178 type: 'integer',
179 min:4096,
180 max: 16773120,
181 value: 8384512,
182 description: 'OEM-IBM: max DMA size'
183)