blob: a4788f99b91a14732df608a56495dca3f252f745 [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
Chirag Sharmae22aca72021-01-18 09:55:29 -06005option('jffs-workaround', type: 'feature',
6 description : 'Turn on jffs workaround for core file'
Ramesh Iyyarbb410df2020-08-03 03:13:04 -05007 )
8
9option('DUMP_BUSNAME', type : 'string',
10 value : 'xyz.openbmc_project.Dump.Manager',
Dhruvaraj Subhashchandran796a92e2021-05-05 13:15:24 -050011 description : 'The D-Bus busname to own'
Ramesh Iyyarbb410df2020-08-03 03:13:04 -050012 )
13
14option('DUMP_OBJPATH', type : 'string',
15 value : '/xyz/openbmc_project/dump',
Dhruvaraj Subhashchandran796a92e2021-05-05 13:15:24 -050016 description : 'The dump manager D-Bus root'
Ramesh Iyyarbb410df2020-08-03 03:13:04 -050017 )
18
Dhruvaraj Subhashchandranfef66a92020-09-06 13:10:59 -050019option('BMC_DUMP_OBJPATH', type : 'string',
20 value : '/xyz/openbmc_project/dump/bmc',
Dhruvaraj Subhashchandran796a92e2021-05-05 13:15:24 -050021 description : 'The BMC dump manager D-Bus object path'
Dhruvaraj Subhashchandran62337a92020-11-22 21:24:30 -060022 )
23
Ramesh Iyyarbb410df2020-08-03 03:13:04 -050024option('CORE_FILE_DIR', type : 'string',
25 value : '/var/lib/systemd/coredump',
26 description : 'Directory where core dumps are placed'
27 )
28
29option('OBJ_INTERNAL', type : 'string',
30 value : '/xyz/openbmc_project/dump/internal/manager',
Dhruvaraj Subhashchandran796a92e2021-05-05 13:15:24 -050031 description : 'Internal dump manager D-Bus object path'
Ramesh Iyyarbb410df2020-08-03 03:13:04 -050032 )
33
Dhruvaraj Subhashchandranfef66a92020-09-06 13:10:59 -050034option('BMC_DUMP_OBJ_ENTRY', type : 'string',
35 value : '/xyz/openbmc_project/dump/bmc/entry',
Dhruvaraj Subhashchandran796a92e2021-05-05 13:15:24 -050036 description : 'The BMC dump entry D-Bus object path'
Dhruvaraj Subhashchandran62337a92020-11-22 21:24:30 -060037 )
38
Ramesh Iyyarbb410df2020-08-03 03:13:04 -050039option('BMC_DUMP_PATH', type : 'string',
40 value : '/var/lib/phosphor-debug-collector/dumps/',
41 description : 'Directory where bmc dumps are placed'
42 )
43
George Liuff92ffe2021-02-09 15:01:53 +080044option('SYSTEMD_PSTORE_PATH', type : 'string',
45 value : '/var/lib/systemd/pstore/',
46 description : 'Path to the systemd pstore directory'
47)
48
Ramesh Iyyarbb410df2020-08-03 03:13:04 -050049option('BMC_DUMP_MAX_SIZE', type : 'integer',
50 value : 200,
51 description : 'Maximum size of one bmc dump in kilo bytes'
52 )
53
54option('BMC_DUMP_MIN_SPACE_REQD', type : 'integer',
55 value : 20,
56 description : 'Minimum space required for one bmc dump in kilo bytes'
57 )
58
59option('BMC_DUMP_TOTAL_SIZE', type : 'integer',
60 value : 1024,
61 description : 'Total size of the dump in kilo bytes'
62 )
63
64option('ELOG_ID_PERSIST_PATH', type : 'string',
65 value : '/var/lib/phosphor-debug-collector/elogid',
66 description : 'Path of file for storing elog id\'s, which have associated dumps'
67 )
68
69option('CLASS_VERSION', type : 'integer',
70 value : 1,
71 description : 'Class version to register with Cereal'
72 )
73
74option('ERROR_MAP_YAML', type : 'string',
75 value : 'example_errors_watch.yaml',
76 description : 'YAML filepath containing error object paths'
77 )
78
Ramesh Iyyar131994b2020-12-03 08:35:36 -060079option('host-transport', type : 'string',
Ramesh Iyyarbb410df2020-08-03 03:13:04 -050080 value : 'default',
81 description : 'To specify the host dump transport protocol')
Dhruvaraj Subhashchandran8b9b4692020-09-24 11:59:42 -050082
83option('openpower-dumps-extension', type: 'feature',
84 value : 'disabled',
85 description : 'Enable Open Power specific dumps'
86 )
Dhruvaraj Subhashchandran796a92e2021-05-05 13:15:24 -050087
88# Configurations for openpower-dump extension
89
90# System dump options
91
92option('SYSTEM_DUMP_OBJPATH', type : 'string',
93 value : '/xyz/openbmc_project/dump/system',
94 description : 'The system dump manager D-Bus object path'
95 )
96
97option('SYSTEM_DUMP_OBJ_ENTRY', type : 'string',
98 value : '/xyz/openbmc_project/dump/system/entry',
99 description : 'The system dump entry D-Bus object path'
100 )
101
102# Resource dump options
103
104option('RESOURCE_DUMP_OBJPATH', type : 'string',
105 value : '/xyz/openbmc_project/dump/resource',
106 description : 'The resource dump manager D-Bus object path'
107 )
108
109option('RESOURCE_DUMP_OBJ_ENTRY', type : 'string',
110 value : '/xyz/openbmc_project/dump/resource/entry',
111 description : 'The resource dump entry D-Bus object path'
112 )