1# SPDX-License-Identifier: Apache-2.0 2 3option('tests', type: 'feature', description: 'Build tests') 4 5option( 6 'jffs-workaround', 7 type: 'feature', 8 description: 'Turn on jffs workaround for core file', 9) 10 11option( 12 'DUMP_BUSNAME', 13 type: 'string', 14 value: 'xyz.openbmc_project.Dump.Manager', 15 description: 'The D-Bus busname to own', 16) 17 18option( 19 'DUMP_OBJPATH', 20 type: 'string', 21 value: '/xyz/openbmc_project/dump', 22 description: 'The dump manager D-Bus root', 23) 24 25option( 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) 31 32option( 33 'CORE_FILE_DIR', 34 type: 'string', 35 value: '/var/lib/systemd/coredump', 36 description: 'Directory where core dumps are placed', 37) 38 39option( 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) 45 46option( 47 'BMC_DUMP_PATH', 48 type: 'string', 49 value: '/var/lib/phosphor-debug-collector/dumps/', 50 description: 'Directory where bmc dumps are placed', 51) 52 53option( 54 'SYSTEMD_PSTORE_PATH', 55 type: 'string', 56 value: '/var/lib/systemd/pstore/', 57 description: 'Path to the systemd pstore directory', 58) 59 60option( 61 'BMC_DUMP_MAX_SIZE', 62 type: 'integer', 63 value: 200, 64 description: 'Maximum size of one bmc dump in kilo bytes', 65) 66 67option( 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) 122 123# Fault log options 124 125option( 126 'FAULTLOG_DUMP_PATH', 127 type: 'string', 128 value: '/var/lib/phosphor-debug-collector/faultlogs/', 129 description: 'Directory where fault logs are placed', 130) 131 132option( 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) 138 139option( 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) 145 146# Configurations for openpower-dump extension 147 148# System dump options 149 150option( 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) 156 157option( 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) 163 164# Resource dump options 165 166option( 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) 172 173option( 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) 179