1123dde15SGeorge Liu# Supported BMC layout types. Reference: 2123dde15SGeorge Liu# https://github.com/openbmc/docs/blob/master/architecture/code-update/flash-layout.md#supported-filesystem-choices 3123dde15SGeorge Liu# - static: NOR flash configured with fixed-sized MTD partitions. 4123dde15SGeorge Liu# - ubi: NOR flash device configured with UBI volumes. 5123dde15SGeorge Liu# - mmc: eMMC flash device configured with ext4 filesystems. 6ec807fcbSPatrick Williamsoption( 7ec807fcbSPatrick Williams 'bmc-layout', 8ec807fcbSPatrick Williams type: 'combo', 9123dde15SGeorge Liu choices: ['static', 'ubi', 'mmc'], 10123dde15SGeorge Liu value: 'static', 11ec807fcbSPatrick Williams description: 'The BMC layout type.', 12ec807fcbSPatrick Williams) 13123dde15SGeorge Liu 14123dde15SGeorge Liu# Features 15ec807fcbSPatrick Williamsoption( 16ec807fcbSPatrick Williams 'host-bios-upgrade', 17ec807fcbSPatrick Williams type: 'feature', 18ec807fcbSPatrick Williams value: 'enabled', 19ec807fcbSPatrick Williams description: 'Enable host bios upgrade support.', 20ec807fcbSPatrick Williams) 21123dde15SGeorge Liu 22ec807fcbSPatrick Williamsoption( 23ec807fcbSPatrick Williams 'sync-bmc-files', 24ec807fcbSPatrick Williams type: 'feature', 25ec807fcbSPatrick Williams value: 'enabled', 26ec807fcbSPatrick Williams description: 'Enable sync of filesystem files.', 27ec807fcbSPatrick Williams) 28123dde15SGeorge Liu 29123dde15SGeorge Liuoption('tests', type: 'feature', description: 'Build tests') 30123dde15SGeorge Liu 31ec807fcbSPatrick Williamsoption( 32ec807fcbSPatrick Williams 'verify-signature', 33ec807fcbSPatrick Williams type: 'feature', 34ec807fcbSPatrick Williams value: 'enabled', 35ec807fcbSPatrick Williams description: 'Enable image signature validation.', 36ec807fcbSPatrick Williams) 37123dde15SGeorge Liu 38123dde15SGeorge Liuoption( 39ec807fcbSPatrick Williams 'usb-code-update', 40ec807fcbSPatrick Williams type: 'feature', 41ec807fcbSPatrick Williams value: 'enabled', 42123dde15SGeorge Liu description: 'Firmware update via USB.', 43123dde15SGeorge Liu) 44123dde15SGeorge Liu 45ec807fcbSPatrick Williamsoption( 46ec807fcbSPatrick Williams 'software-update-dbus-interface', 47ec807fcbSPatrick Williams type: 'feature', 48ec807fcbSPatrick Williams value: 'enabled', 49cc49878dSJagpal Singh Gill description: 'Implementation using software update D-Bus interface - https://github.com/openbmc/docs/blob/master/designs/code-update.md.', 50cc49878dSJagpal Singh Gill) 51cc49878dSJagpal Singh Gill 52123dde15SGeorge Liuoption( 537e446a40SChristopher Meis 'i2cvr-software-update', 547e446a40SChristopher Meis type: 'feature', 557e446a40SChristopher Meis value: 'enabled', 567e446a40SChristopher Meis description: 'Enable update of i2c voltage regulators', 577e446a40SChristopher Meis) 587e446a40SChristopher Meis 597e446a40SChristopher Meisoption( 60f6470b5eSDaniel Hsu 'cpld-software-update', 61f6470b5eSDaniel Hsu type: 'feature', 62f6470b5eSDaniel Hsu value: 'enabled', 63f6470b5eSDaniel Hsu description: 'Enable update of CPLD', 64f6470b5eSDaniel Hsu) 65f6470b5eSDaniel Hsu 66f6470b5eSDaniel Hsuoption( 67ec807fcbSPatrick Williams 'side-switch-on-boot', 68ec807fcbSPatrick Williams type: 'feature', 69ec807fcbSPatrick Williams value: 'enabled', 70123dde15SGeorge Liu description: 'Automatic flash side switch on boot', 71123dde15SGeorge Liu) 72123dde15SGeorge Liu 73f2c95a08SAlexander Hansenoption( 74f2c95a08SAlexander Hansen 'bios-software-update', 75f2c95a08SAlexander Hansen type: 'feature', 76f2c95a08SAlexander Hansen value: 'enabled', 77f2c95a08SAlexander Hansen description: 'Enable BIOS/Host firmware update', 78f2c95a08SAlexander Hansen) 79f2c95a08SAlexander Hansen 80994a77ffSKevin Tungoption( 81994a77ffSKevin Tung 'eepromdevice-software-update', 82994a77ffSKevin Tung type: 'feature', 83994a77ffSKevin Tung value: 'enabled', 84994a77ffSKevin Tung description: 'Enable EEPROM device update support.', 85994a77ffSKevin Tung) 86994a77ffSKevin Tung 87c538727dSKevin Tungoption( 88c538727dSKevin Tung 'tpm-software-update', 89c538727dSKevin Tung type: 'feature', 90c538727dSKevin Tung value: 'enabled', 91c538727dSKevin Tung description: 'Enable TPM software update support.', 92c538727dSKevin Tung) 93c538727dSKevin Tung 94123dde15SGeorge Liu# Variables 95123dde15SGeorge Liuoption( 96ec807fcbSPatrick Williams 'active-bmc-max-allowed', 97ec807fcbSPatrick Williams type: 'integer', 98123dde15SGeorge Liu value: 1, 99123dde15SGeorge Liu description: 'The maximum allowed active BMC versions.', 100123dde15SGeorge Liu) 101123dde15SGeorge Liu 102123dde15SGeorge Liuoption( 103ec807fcbSPatrick Williams 'hash-file-name', 104ec807fcbSPatrick Williams type: 'string', 105123dde15SGeorge Liu value: 'hashfunc', 106123dde15SGeorge Liu description: 'The name of the hash file.', 107123dde15SGeorge Liu) 108123dde15SGeorge Liu 109123dde15SGeorge Liuoption( 110ec807fcbSPatrick Williams 'img-upload-dir', 111ec807fcbSPatrick Williams type: 'string', 112123dde15SGeorge Liu value: '/tmp/images', 113123dde15SGeorge Liu description: 'Directory where downloaded software images are placed.', 114123dde15SGeorge Liu) 115123dde15SGeorge Liu 116123dde15SGeorge Liuoption( 117ec807fcbSPatrick Williams 'manifest-file-name', 118ec807fcbSPatrick Williams type: 'string', 119123dde15SGeorge Liu value: 'MANIFEST', 120123dde15SGeorge Liu description: 'The name of the MANIFEST file.', 121123dde15SGeorge Liu) 122123dde15SGeorge Liu 123123dde15SGeorge Liuoption( 124ec807fcbSPatrick Williams 'media-dir', 125ec807fcbSPatrick Williams type: 'string', 126123dde15SGeorge Liu value: '/run/media', 127123dde15SGeorge Liu description: 'The base dir where all read-only partitions are mounted.', 128123dde15SGeorge Liu) 129123dde15SGeorge Liu 130123dde15SGeorge Liuoption( 131ec807fcbSPatrick Williams 'optional-images', 132ec807fcbSPatrick Williams type: 'array', 133123dde15SGeorge Liu value: [], 134123dde15SGeorge Liu description: 'A list of additional image files in the BMC tarball.', 135123dde15SGeorge Liu) 136123dde15SGeorge Liu 137123dde15SGeorge Liuoption( 138ec807fcbSPatrick Williams 'publickey-file-name', 139ec807fcbSPatrick Williams type: 'string', 140123dde15SGeorge Liu value: 'publickey', 141123dde15SGeorge Liu description: 'The name of the public key file.', 142123dde15SGeorge Liu) 143123dde15SGeorge Liu 144123dde15SGeorge Liuoption( 145ec807fcbSPatrick Williams 'signature-file-ext', 146ec807fcbSPatrick Williams type: 'string', 147123dde15SGeorge Liu value: '.sig', 148123dde15SGeorge Liu description: 'The extension of the Signature file.', 149123dde15SGeorge Liu) 150123dde15SGeorge Liu 151123dde15SGeorge Liuoption( 152ec807fcbSPatrick Williams 'signed-image-conf-path', 153ec807fcbSPatrick Williams type: 'string', 154123dde15SGeorge Liu value: '/etc/activationdata/', 155123dde15SGeorge Liu description: 'Path of public key and hash function files.', 156123dde15SGeorge Liu) 157123dde15SGeorge Liu 158123dde15SGeorge Liuoption( 159ec807fcbSPatrick Williams 'sync-list-dir-path', 160ec807fcbSPatrick Williams type: 'string', 161123dde15SGeorge Liu value: '/etc/', 162123dde15SGeorge Liu description: 'The path to the sync list file directory.', 163123dde15SGeorge Liu) 164123dde15SGeorge Liu 165123dde15SGeorge Liuoption( 166ec807fcbSPatrick Williams 'sync-list-file-name', 167ec807fcbSPatrick Williams type: 'string', 168123dde15SGeorge Liu value: 'synclist', 169123dde15SGeorge Liu description: 'The name of the sync list file.', 170123dde15SGeorge Liu) 171123dde15SGeorge Liu 172123dde15SGeorge Liuoption( 173ec807fcbSPatrick Williams 'bmc-msl', 174ec807fcbSPatrick Williams type: 'string', 175123dde15SGeorge Liu value: '', 176123dde15SGeorge Liu description: 'The BMC minimum ship level.', 177123dde15SGeorge Liu) 178123dde15SGeorge Liu 179123dde15SGeorge Liuoption( 180ec807fcbSPatrick Williams 'regex-bmc-msl', 181ec807fcbSPatrick Williams type: 'string', 182123dde15SGeorge Liu value: '', 183123dde15SGeorge Liu description: 'The Regular expression to parse the MSL.', 184123dde15SGeorge Liu) 185123dde15SGeorge Liu 186123dde15SGeorge Liuoption( 187ec807fcbSPatrick Williams 'bios-object-path', 188ec807fcbSPatrick Williams type: 'string', 189123dde15SGeorge Liu value: '/xyz/openbmc_project/software/bios_active', 190123dde15SGeorge Liu description: 'The BIOS DBus object path.', 191123dde15SGeorge Liu) 192123dde15SGeorge Liu 193ec807fcbSPatrick Williamsoption( 194ec807fcbSPatrick Williams 'bmc-static-dual-image', 195ec807fcbSPatrick Williams type: 'feature', 196ec807fcbSPatrick Williams value: 'enabled', 197ec807fcbSPatrick Williams description: 'Enable the dual image support for static layout.', 198ec807fcbSPatrick Williams) 199123dde15SGeorge Liu 200123dde15SGeorge Liuoption( 201ec807fcbSPatrick Williams 'alt-rofs-dir', 202ec807fcbSPatrick Williams type: 'string', 203123dde15SGeorge Liu value: '/run/media/rofs-alt', 204123dde15SGeorge Liu description: 'The base dir where all read-only partitions are mounted.', 205123dde15SGeorge Liu) 206123dde15SGeorge Liu 207123dde15SGeorge Liuoption( 208ec807fcbSPatrick Williams 'alt-rwfs-dir', 209ec807fcbSPatrick Williams type: 'string', 210123dde15SGeorge Liu value: '/run/media/rwfs-alt/cow', 211123dde15SGeorge Liu description: 'The dir for alt-rwfs partition.', 212123dde15SGeorge Liu) 213*0d1c20b0SKevin Tung 214*0d1c20b0SKevin Tungoption( 215*0d1c20b0SKevin Tung 'host-state-transition-timeout', 216*0d1c20b0SKevin Tung type: 'integer', 217*0d1c20b0SKevin Tung value: 60, 218*0d1c20b0SKevin Tung description: 'Timeout for host state transition.', 219*0d1c20b0SKevin Tung) 220