| Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 | 
 | 2 |  | 
| Chirag Sharma | 5042725 | 2020-08-11 12:11:38 -0500 | [diff] [blame] | 3 | option('tests', type: 'feature', description: 'Build tests') | 
 | 4 |  | 
| Chirag Sharma | e22aca7 | 2021-01-18 09:55:29 -0600 | [diff] [blame] | 5 | option('jffs-workaround', type: 'feature', | 
 | 6 |         description : 'Turn on jffs workaround for core file' | 
| Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 7 |       ) | 
 | 8 |  | 
 | 9 | option('DUMP_BUSNAME', type : 'string', | 
 | 10 |         value : 'xyz.openbmc_project.Dump.Manager', | 
| Dhruvaraj Subhashchandran | 796a92e | 2021-05-05 13:15:24 -0500 | [diff] [blame] | 11 |         description : 'The D-Bus busname to own' | 
| Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 12 |       ) | 
 | 13 |  | 
 | 14 | option('DUMP_OBJPATH', type : 'string', | 
 | 15 |         value : '/xyz/openbmc_project/dump', | 
| Dhruvaraj Subhashchandran | 796a92e | 2021-05-05 13:15:24 -0500 | [diff] [blame] | 16 |         description : 'The dump manager D-Bus root' | 
| Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 17 |       ) | 
 | 18 |  | 
| Dhruvaraj Subhashchandran | fef66a9 | 2020-09-06 13:10:59 -0500 | [diff] [blame] | 19 | option('BMC_DUMP_OBJPATH', type : 'string', | 
 | 20 |         value : '/xyz/openbmc_project/dump/bmc', | 
| Dhruvaraj Subhashchandran | 796a92e | 2021-05-05 13:15:24 -0500 | [diff] [blame] | 21 |         description : 'The BMC dump manager D-Bus object path' | 
| Dhruvaraj Subhashchandran | 62337a9 | 2020-11-22 21:24:30 -0600 | [diff] [blame] | 22 |       ) | 
 | 23 |  | 
| Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 24 | option('CORE_FILE_DIR', type : 'string', | 
 | 25 |         value : '/var/lib/systemd/coredump', | 
 | 26 |         description : 'Directory where core dumps are placed' | 
 | 27 |       ) | 
 | 28 |  | 
| Dhruvaraj Subhashchandran | fef66a9 | 2020-09-06 13:10:59 -0500 | [diff] [blame] | 29 | option('BMC_DUMP_OBJ_ENTRY', type : 'string', | 
 | 30 |         value : '/xyz/openbmc_project/dump/bmc/entry', | 
| Dhruvaraj Subhashchandran | 796a92e | 2021-05-05 13:15:24 -0500 | [diff] [blame] | 31 |         description : 'The BMC dump entry D-Bus object path' | 
| Dhruvaraj Subhashchandran | 62337a9 | 2020-11-22 21:24:30 -0600 | [diff] [blame] | 32 |       ) | 
 | 33 |  | 
| Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 34 | option('BMC_DUMP_PATH', type : 'string', | 
 | 35 |         value : '/var/lib/phosphor-debug-collector/dumps/', | 
 | 36 |         description : 'Directory where bmc dumps are placed' | 
 | 37 |       ) | 
 | 38 |  | 
| George Liu | ff92ffe | 2021-02-09 15:01:53 +0800 | [diff] [blame] | 39 | option('SYSTEMD_PSTORE_PATH', type : 'string', | 
 | 40 |         value : '/var/lib/systemd/pstore/', | 
 | 41 |         description : 'Path to the systemd pstore directory' | 
 | 42 | ) | 
 | 43 |  | 
| Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 44 | option('BMC_DUMP_MAX_SIZE', type : 'integer', | 
 | 45 |         value : 200, | 
 | 46 |         description : 'Maximum size of one bmc dump in kilo bytes' | 
 | 47 |       ) | 
 | 48 |  | 
 | 49 | option('BMC_DUMP_MIN_SPACE_REQD', type : 'integer', | 
 | 50 |         value : 20, | 
 | 51 |         description : 'Minimum space required for one bmc dump in kilo bytes' | 
 | 52 |       ) | 
 | 53 |  | 
 | 54 | option('BMC_DUMP_TOTAL_SIZE', type : 'integer', | 
 | 55 |         value : 1024, | 
 | 56 |         description : 'Total size of the dump in kilo bytes' | 
 | 57 |       ) | 
 | 58 |  | 
 | 59 | option('ELOG_ID_PERSIST_PATH', type : 'string', | 
 | 60 |         value : '/var/lib/phosphor-debug-collector/elogid', | 
 | 61 |         description : 'Path of file for storing elog id\'s, which have associated dumps' | 
 | 62 |       ) | 
 | 63 |  | 
 | 64 | option('CLASS_VERSION', type : 'integer', | 
 | 65 |         value : 1, | 
 | 66 |         description : 'Class version to register with Cereal' | 
 | 67 |       ) | 
 | 68 |  | 
 | 69 | option('ERROR_MAP_YAML', type : 'string', | 
 | 70 |         value : 'example_errors_watch.yaml', | 
 | 71 |         description : 'YAML filepath containing error object paths' | 
 | 72 |       ) | 
 | 73 |  | 
| Ramesh Iyyar | 131994b | 2020-12-03 08:35:36 -0600 | [diff] [blame] | 74 | option('host-transport', type : 'string', | 
| Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 75 |         value : 'default', | 
 | 76 |         description : 'To specify the host dump transport protocol') | 
| Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 77 |  | 
 | 78 | option('openpower-dumps-extension', type: 'feature', | 
 | 79 |         value : 'disabled', | 
 | 80 |         description : 'Enable Open Power specific dumps' | 
 | 81 |       ) | 
| Dhruvaraj Subhashchandran | 796a92e | 2021-05-05 13:15:24 -0500 | [diff] [blame] | 82 |  | 
| Xie Ning | fc69f35 | 2022-05-17 16:06:52 +0800 | [diff] [blame] | 83 | option('dump_rotate_config', type: 'feature', | 
 | 84 |         value : 'disabled', | 
 | 85 |         description : 'Enable rotate config for bmc dump' | 
 | 86 |       ) | 
 | 87 |  | 
| Claire Weinan | 919f71c | 2022-03-01 19:02:07 -0800 | [diff] [blame] | 88 | # Fault log options | 
 | 89 |  | 
 | 90 | option('FAULTLOG_DUMP_PATH', type : 'string', | 
 | 91 |         value : '/var/lib/phosphor-debug-collector/faultlogs/', | 
 | 92 |         description : 'Directory where fault logs are placed' | 
 | 93 |       ) | 
 | 94 |  | 
 | 95 | option('FAULTLOG_DUMP_OBJPATH', type : 'string', | 
 | 96 |         value : '/xyz/openbmc_project/dump/faultlog', | 
 | 97 |         description : 'The fault log dump manager D-Bus object path' | 
 | 98 |       ) | 
 | 99 |  | 
 | 100 | option('FAULTLOG_DUMP_OBJ_ENTRY', type : 'string', | 
 | 101 |         value : '/xyz/openbmc_project/dump/faultlog/entry', | 
 | 102 |         description : 'The fault log dump entry D-Bus object path' | 
 | 103 |       ) | 
 | 104 |  | 
| Dhruvaraj Subhashchandran | 796a92e | 2021-05-05 13:15:24 -0500 | [diff] [blame] | 105 | # Configurations for openpower-dump extension | 
 | 106 |  | 
 | 107 | # System dump options | 
 | 108 |  | 
 | 109 | option('SYSTEM_DUMP_OBJPATH', type : 'string', | 
 | 110 |         value : '/xyz/openbmc_project/dump/system', | 
 | 111 |         description : 'The system dump manager D-Bus object path' | 
 | 112 |       ) | 
 | 113 |  | 
 | 114 | option('SYSTEM_DUMP_OBJ_ENTRY', type : 'string', | 
 | 115 |         value : '/xyz/openbmc_project/dump/system/entry', | 
 | 116 |         description : 'The system dump entry D-Bus object path' | 
 | 117 |       ) | 
 | 118 |  | 
 | 119 | # Resource dump options | 
 | 120 |  | 
 | 121 | option('RESOURCE_DUMP_OBJPATH', type : 'string', | 
 | 122 |         value : '/xyz/openbmc_project/dump/resource', | 
 | 123 |         description : 'The resource dump manager D-Bus object path' | 
 | 124 |       ) | 
 | 125 |  | 
 | 126 | option('RESOURCE_DUMP_OBJ_ENTRY', type : 'string', | 
 | 127 |         value : '/xyz/openbmc_project/dump/resource/entry', | 
 | 128 |         description : 'The resource dump entry D-Bus object path' | 
 | 129 |       ) |