blob: 57cc06ec2c7e16688c4bca9e4bf8b9a5179c5b85 [file] [log] [blame]
Ramesh Iyyarbb410df2020-08-03 03:13:04 -05001# SPDX-License-Identifier: Apache-2.0
2
Chirag Sharma50427252020-08-11 12:11:38 -05003option('tests', type: 'feature', description: 'Build tests')
4
Patrick Williams57de2512025-02-01 08:37:12 -05005option(
6 'jffs-workaround',
7 type: 'feature',
8 description: 'Turn on jffs workaround for core file',
George Liuff92ffe2021-02-09 15:01:53 +08009)
10
Patrick Williams57de2512025-02-01 08:37:12 -050011option(
12 'DUMP_BUSNAME',
13 type: 'string',
14 value: 'xyz.openbmc_project.Dump.Manager',
15 description: 'The D-Bus busname to own',
16)
Ramesh Iyyarbb410df2020-08-03 03:13:04 -050017
Patrick Williams57de2512025-02-01 08:37:12 -050018option(
19 'DUMP_OBJPATH',
20 type: 'string',
21 value: '/xyz/openbmc_project/dump',
22 description: 'The dump manager D-Bus root',
23)
Ramesh Iyyarbb410df2020-08-03 03:13:04 -050024
Patrick Williams57de2512025-02-01 08:37:12 -050025option(
26 'BMC_DUMP_OBJPATH',
27 type: 'string',
28 value: '/xyz/openbmc_project/dump/bmc',
29 description: 'The BMC dump manager D-Bus object path',
30)
Ramesh Iyyarbb410df2020-08-03 03:13:04 -050031
Patrick Williams57de2512025-02-01 08:37:12 -050032option(
33 'CORE_FILE_DIR',
34 type: 'string',
35 value: '/var/lib/systemd/coredump',
36 description: 'Directory where core dumps are placed',
37)
Ramesh Iyyarbb410df2020-08-03 03:13:04 -050038
Patrick Williams57de2512025-02-01 08:37:12 -050039option(
40 'BMC_DUMP_OBJ_ENTRY',
41 type: 'string',
42 value: '/xyz/openbmc_project/dump/bmc/entry',
43 description: 'The BMC dump entry D-Bus object path',
44)
Ramesh Iyyarbb410df2020-08-03 03:13:04 -050045
Patrick Williams57de2512025-02-01 08:37:12 -050046option(
47 'BMC_DUMP_PATH',
48 type: 'string',
49 value: '/var/lib/phosphor-debug-collector/dumps/',
50 description: 'Directory where bmc dumps are placed',
51)
Ramesh Iyyarbb410df2020-08-03 03:13:04 -050052
Patrick Williams57de2512025-02-01 08:37:12 -050053option(
54 'SYSTEMD_PSTORE_PATH',
55 type: 'string',
56 value: '/var/lib/systemd/pstore/',
57 description: 'Path to the systemd pstore directory',
58)
Dhruvaraj Subhashchandran8b9b4692020-09-24 11:59:42 -050059
Patrick Williams57de2512025-02-01 08:37:12 -050060option(
61 'BMC_DUMP_MAX_SIZE',
62 type: 'integer',
63 value: 200,
64 description: 'Maximum size of one bmc dump in kilo bytes',
65)
Dhruvaraj Subhashchandran796a92e2021-05-05 13:15:24 -050066
Patrick Williams57de2512025-02-01 08:37:12 -050067option(
68 'BMC_DUMP_MIN_SPACE_REQD',
69 type: 'integer',
70 value: 20,
71 description: 'Minimum space required for one bmc dump in kilo bytes',
72)
73
74option(
75 'BMC_DUMP_TOTAL_SIZE',
76 type: 'integer',
77 value: 1024,
78 description: 'Total size of the dump in kilo bytes',
79)
80
81option(
82 'ELOG_ID_PERSIST_PATH',
83 type: 'string',
84 value: '/var/lib/phosphor-debug-collector/elogid',
85 description: 'Path of file for storing elog id\'s, which have associated dumps',
86)
87
88option(
89 'CLASS_VERSION',
90 type: 'integer',
91 value: 1,
92 description: 'Class version to register with Cereal',
93)
94
95option(
96 'ERROR_MAP_YAML',
97 type: 'string',
98 value: 'example_errors_watch.yaml',
99 description: 'YAML filepath containing error object paths',
100)
101
102option(
103 'host-transport',
104 type: 'string',
105 value: 'default',
106 description: 'To specify the host dump transport protocol',
107)
108
109option(
110 'openpower-dumps-extension',
111 type: 'feature',
112 value: 'disabled',
113 description: 'Enable Open Power specific dumps',
114)
115
116option(
117 'dump_rotate_config',
118 type: 'feature',
119 value: 'disabled',
120 description: 'Enable rotate config for bmc dump',
121)
Xie Ningfc69f352022-05-17 16:06:52 +0800122
Claire Weinan919f71c2022-03-01 19:02:07 -0800123# Fault log options
124
Patrick Williams57de2512025-02-01 08:37:12 -0500125option(
126 'FAULTLOG_DUMP_PATH',
127 type: 'string',
128 value: '/var/lib/phosphor-debug-collector/faultlogs/',
129 description: 'Directory where fault logs are placed',
130)
Claire Weinan919f71c2022-03-01 19:02:07 -0800131
Patrick Williams57de2512025-02-01 08:37:12 -0500132option(
133 'FAULTLOG_DUMP_OBJPATH',
134 type: 'string',
135 value: '/xyz/openbmc_project/dump/faultlog',
136 description: 'The fault log dump manager D-Bus object path',
137)
Claire Weinan919f71c2022-03-01 19:02:07 -0800138
Patrick Williams57de2512025-02-01 08:37:12 -0500139option(
140 'FAULTLOG_DUMP_OBJ_ENTRY',
141 type: 'string',
142 value: '/xyz/openbmc_project/dump/faultlog/entry',
143 description: 'The fault log dump entry D-Bus object path',
144)
Claire Weinan919f71c2022-03-01 19:02:07 -0800145
Dhruvaraj Subhashchandran796a92e2021-05-05 13:15:24 -0500146# Configurations for openpower-dump extension
147
148# System dump options
149
Patrick Williams57de2512025-02-01 08:37:12 -0500150option(
151 'SYSTEM_DUMP_OBJPATH',
152 type: 'string',
153 value: '/xyz/openbmc_project/dump/system',
154 description: 'The system dump manager D-Bus object path',
155)
Dhruvaraj Subhashchandran796a92e2021-05-05 13:15:24 -0500156
Patrick Williams57de2512025-02-01 08:37:12 -0500157option(
158 'SYSTEM_DUMP_OBJ_ENTRY',
159 type: 'string',
160 value: '/xyz/openbmc_project/dump/system/entry',
161 description: 'The system dump entry D-Bus object path',
162)
Dhruvaraj Subhashchandran796a92e2021-05-05 13:15:24 -0500163
164# Resource dump options
165
Patrick Williams57de2512025-02-01 08:37:12 -0500166option(
167 'RESOURCE_DUMP_OBJPATH',
168 type: 'string',
169 value: '/xyz/openbmc_project/dump/resource',
170 description: 'The resource dump manager D-Bus object path',
171)
Dhruvaraj Subhashchandran796a92e2021-05-05 13:15:24 -0500172
Patrick Williams57de2512025-02-01 08:37:12 -0500173option(
174 'RESOURCE_DUMP_OBJ_ENTRY',
175 type: 'string',
176 value: '/xyz/openbmc_project/dump/resource/entry',
177 description: 'The resource dump entry D-Bus object path',
178)