13b4e981dSGeorge Liu# SPDX-License-Identifier: Apache-2.0 23b4e981dSGeorge Liu 33b4e981dSGeorge Liuoption('tests', type: 'feature', description: 'Build tests') 43b4e981dSGeorge Liu 557de251cSPatrick Williamsoption( 657de251cSPatrick Williams 'jffs-workaround', 757de251cSPatrick Williams type: 'feature', 857de251cSPatrick Williams description: 'Turn on jffs workaround for core file', 93b4e981dSGeorge Liu) 103b4e981dSGeorge Liu 1157de251cSPatrick Williamsoption( 1257de251cSPatrick Williams 'DUMP_BUSNAME', 1357de251cSPatrick Williams type: 'string', 143b4e981dSGeorge Liu value: 'xyz.openbmc_project.Dump.Manager', 1557de251cSPatrick Williams description: 'The D-Bus busname to own', 163b4e981dSGeorge Liu) 173b4e981dSGeorge Liu 1857de251cSPatrick Williamsoption( 1957de251cSPatrick Williams 'DUMP_OBJPATH', 2057de251cSPatrick Williams type: 'string', 213b4e981dSGeorge Liu value: '/xyz/openbmc_project/dump', 2257de251cSPatrick Williams description: 'The dump manager D-Bus root', 233b4e981dSGeorge Liu) 243b4e981dSGeorge Liu 2557de251cSPatrick Williamsoption( 2657de251cSPatrick Williams 'BMC_DUMP_OBJPATH', 2757de251cSPatrick Williams type: 'string', 283b4e981dSGeorge Liu value: '/xyz/openbmc_project/dump/bmc', 2957de251cSPatrick Williams description: 'The BMC dump manager D-Bus object path', 303b4e981dSGeorge Liu) 313b4e981dSGeorge Liu 3257de251cSPatrick Williamsoption( 3357de251cSPatrick Williams 'CORE_FILE_DIR', 3457de251cSPatrick Williams type: 'string', 353b4e981dSGeorge Liu value: '/var/lib/systemd/coredump', 3657de251cSPatrick Williams description: 'Directory where core dumps are placed', 373b4e981dSGeorge Liu) 383b4e981dSGeorge Liu 3957de251cSPatrick Williamsoption( 4057de251cSPatrick Williams 'BMC_DUMP_OBJ_ENTRY', 4157de251cSPatrick Williams type: 'string', 423b4e981dSGeorge Liu value: '/xyz/openbmc_project/dump/bmc/entry', 4357de251cSPatrick Williams description: 'The BMC dump entry D-Bus object path', 443b4e981dSGeorge Liu) 453b4e981dSGeorge Liu 4657de251cSPatrick Williamsoption( 4757de251cSPatrick Williams 'BMC_DUMP_PATH', 4857de251cSPatrick Williams type: 'string', 493b4e981dSGeorge Liu value: '/var/lib/phosphor-debug-collector/dumps/', 5057de251cSPatrick Williams description: 'Directory where bmc dumps are placed', 513b4e981dSGeorge Liu) 523b4e981dSGeorge Liu 5357de251cSPatrick Williamsoption( 5457de251cSPatrick Williams 'SYSTEMD_PSTORE_PATH', 5557de251cSPatrick Williams type: 'string', 563b4e981dSGeorge Liu value: '/var/lib/systemd/pstore/', 5757de251cSPatrick Williams description: 'Path to the systemd pstore directory', 583b4e981dSGeorge Liu) 593b4e981dSGeorge Liu 6057de251cSPatrick Williamsoption( 6157de251cSPatrick Williams 'BMC_DUMP_MAX_SIZE', 6257de251cSPatrick Williams type: 'integer', 633b4e981dSGeorge Liu value: 200, 6457de251cSPatrick Williams description: 'Maximum size of one bmc dump in kilo bytes', 653b4e981dSGeorge Liu) 663b4e981dSGeorge Liu 6757de251cSPatrick Williamsoption( 6857de251cSPatrick Williams 'BMC_DUMP_MIN_SPACE_REQD', 6957de251cSPatrick Williams type: 'integer', 703b4e981dSGeorge Liu value: 20, 7157de251cSPatrick Williams description: 'Minimum space required for one bmc dump in kilo bytes', 723b4e981dSGeorge Liu) 733b4e981dSGeorge Liu 7457de251cSPatrick Williamsoption( 7557de251cSPatrick Williams 'BMC_DUMP_TOTAL_SIZE', 7657de251cSPatrick Williams type: 'integer', 773b4e981dSGeorge Liu value: 1024, 7857de251cSPatrick Williams description: 'Total size of the dump in kilo bytes', 793b4e981dSGeorge Liu) 803b4e981dSGeorge Liu 8157de251cSPatrick Williamsoption( 8257de251cSPatrick Williams 'ELOG_ID_PERSIST_PATH', 8357de251cSPatrick Williams type: 'string', 843b4e981dSGeorge Liu value: '/var/lib/phosphor-debug-collector/elogid', 8557de251cSPatrick Williams description: 'Path of file for storing elog id\'s, which have associated dumps', 863b4e981dSGeorge Liu) 873b4e981dSGeorge Liu 8857de251cSPatrick Williamsoption( 8957de251cSPatrick Williams 'CLASS_VERSION', 9057de251cSPatrick Williams type: 'integer', 913b4e981dSGeorge Liu value: 1, 9257de251cSPatrick Williams description: 'Class version to register with Cereal', 933b4e981dSGeorge Liu) 943b4e981dSGeorge Liu 9557de251cSPatrick Williamsoption( 9657de251cSPatrick Williams 'ERROR_MAP_YAML', 9757de251cSPatrick Williams type: 'string', 983b4e981dSGeorge Liu value: 'example_errors_watch.yaml', 9957de251cSPatrick Williams description: 'YAML filepath containing error object paths', 1003b4e981dSGeorge Liu) 1013b4e981dSGeorge Liu 10257de251cSPatrick Williamsoption( 10357de251cSPatrick Williams 'host-transport', 10457de251cSPatrick Williams type: 'string', 1053b4e981dSGeorge Liu value: 'default', 10657de251cSPatrick Williams description: 'To specify the host dump transport protocol', 1073b4e981dSGeorge Liu) 1083b4e981dSGeorge Liu 10957de251cSPatrick Williamsoption( 11057de251cSPatrick Williams 'openpower-dumps-extension', 11157de251cSPatrick Williams type: 'feature', 1123b4e981dSGeorge Liu value: 'disabled', 11357de251cSPatrick Williams description: 'Enable Open Power specific dumps', 11457de251cSPatrick Williams) 11557de251cSPatrick Williams 11657de251cSPatrick Williamsoption( 117*f28fcb42SPatrick Williams 'dump-rotate-config', 11857de251cSPatrick Williams type: 'feature', 11957de251cSPatrick Williams value: 'disabled', 12057de251cSPatrick Williams description: 'Enable rotate config for bmc dump', 1213b4e981dSGeorge Liu) 1223b4e981dSGeorge Liu 1233b4e981dSGeorge Liu# Fault log options 1243b4e981dSGeorge Liu 12557de251cSPatrick Williamsoption( 12657de251cSPatrick Williams 'FAULTLOG_DUMP_PATH', 12757de251cSPatrick Williams type: 'string', 1283b4e981dSGeorge Liu value: '/var/lib/phosphor-debug-collector/faultlogs/', 12957de251cSPatrick Williams description: 'Directory where fault logs are placed', 1303b4e981dSGeorge Liu) 1313b4e981dSGeorge Liu 13257de251cSPatrick Williamsoption( 13357de251cSPatrick Williams 'FAULTLOG_DUMP_OBJPATH', 13457de251cSPatrick Williams type: 'string', 1353b4e981dSGeorge Liu value: '/xyz/openbmc_project/dump/faultlog', 13657de251cSPatrick Williams description: 'The fault log dump manager D-Bus object path', 1373b4e981dSGeorge Liu) 1383b4e981dSGeorge Liu 13957de251cSPatrick Williamsoption( 14057de251cSPatrick Williams 'FAULTLOG_DUMP_OBJ_ENTRY', 14157de251cSPatrick Williams type: 'string', 1423b4e981dSGeorge Liu value: '/xyz/openbmc_project/dump/faultlog/entry', 14357de251cSPatrick Williams description: 'The fault log dump entry D-Bus object path', 1443b4e981dSGeorge Liu) 1453b4e981dSGeorge Liu 1463b4e981dSGeorge Liu# Configurations for openpower-dump extension 1473b4e981dSGeorge Liu 1483b4e981dSGeorge Liu# System dump options 1493b4e981dSGeorge Liu 15057de251cSPatrick Williamsoption( 15157de251cSPatrick Williams 'SYSTEM_DUMP_OBJPATH', 15257de251cSPatrick Williams type: 'string', 1533b4e981dSGeorge Liu value: '/xyz/openbmc_project/dump/system', 15457de251cSPatrick Williams description: 'The system dump manager D-Bus object path', 1553b4e981dSGeorge Liu) 1563b4e981dSGeorge Liu 15757de251cSPatrick Williamsoption( 15857de251cSPatrick Williams 'SYSTEM_DUMP_OBJ_ENTRY', 15957de251cSPatrick Williams type: 'string', 1603b4e981dSGeorge Liu value: '/xyz/openbmc_project/dump/system/entry', 16157de251cSPatrick Williams description: 'The system dump entry D-Bus object path', 1623b4e981dSGeorge Liu) 1633b4e981dSGeorge Liu 1643b4e981dSGeorge Liu# Resource dump options 1653b4e981dSGeorge Liu 16657de251cSPatrick Williamsoption( 16757de251cSPatrick Williams 'RESOURCE_DUMP_OBJPATH', 16857de251cSPatrick Williams type: 'string', 1693b4e981dSGeorge Liu value: '/xyz/openbmc_project/dump/resource', 17057de251cSPatrick Williams description: 'The resource dump manager D-Bus object path', 1713b4e981dSGeorge Liu) 1723b4e981dSGeorge Liu 17357de251cSPatrick Williamsoption( 17457de251cSPatrick Williams 'RESOURCE_DUMP_OBJ_ENTRY', 17557de251cSPatrick Williams type: 'string', 1763b4e981dSGeorge Liu value: '/xyz/openbmc_project/dump/resource/entry', 17757de251cSPatrick Williams description: 'The resource dump entry D-Bus object path', 1783b4e981dSGeorge Liu) 179