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