1# Supported BMC layout types. Reference: 2# https://github.com/openbmc/docs/blob/master/architecture/code-update/flash-layout.md#supported-filesystem-choices 3# - static: NOR flash configured with fixed-sized MTD partitions. 4# - ubi: NOR flash device configured with UBI volumes. 5# - mmc: eMMC flash device configured with ext4 filesystems. 6option( 7 'bmc-layout', 8 type: 'combo', 9 choices: ['static', 'ubi', 'mmc'], 10 value: 'static', 11 description: 'The BMC layout type.', 12) 13 14# Features 15option( 16 'host-bios-upgrade', 17 type: 'feature', 18 value: 'enabled', 19 description: 'Enable host bios upgrade support.', 20) 21 22option( 23 'sync-bmc-files', 24 type: 'feature', 25 value: 'enabled', 26 description: 'Enable sync of filesystem files.', 27) 28 29option('tests', type: 'feature', description: 'Build tests') 30 31option( 32 'verify-signature', 33 type: 'feature', 34 value: 'enabled', 35 description: 'Enable image signature validation.', 36) 37 38option( 39 'usb-code-update', 40 type: 'feature', 41 value: 'enabled', 42 description: 'Firmware update via USB.', 43) 44 45option( 46 'software-update-dbus-interface', 47 type: 'feature', 48 value: 'enabled', 49 description: 'Implementation using software update D-Bus interface - https://github.com/openbmc/docs/blob/master/designs/code-update.md.', 50) 51 52option( 53 'i2cvr-software-update', 54 type: 'feature', 55 value: 'enabled', 56 description: 'Enable update of i2c voltage regulators', 57) 58 59option( 60 'side-switch-on-boot', 61 type: 'feature', 62 value: 'enabled', 63 description: 'Automatic flash side switch on boot', 64) 65 66option( 67 'bios-software-update', 68 type: 'feature', 69 value: 'enabled', 70 description: 'Enable BIOS/Host firmware update', 71) 72 73option( 74 'eepromdevice-software-update', 75 type: 'feature', 76 value: 'enabled', 77 description: 'Enable EEPROM device update support.', 78) 79 80# Variables 81option( 82 'active-bmc-max-allowed', 83 type: 'integer', 84 value: 1, 85 description: 'The maximum allowed active BMC versions.', 86) 87 88option( 89 'hash-file-name', 90 type: 'string', 91 value: 'hashfunc', 92 description: 'The name of the hash file.', 93) 94 95option( 96 'img-upload-dir', 97 type: 'string', 98 value: '/tmp/images', 99 description: 'Directory where downloaded software images are placed.', 100) 101 102option( 103 'manifest-file-name', 104 type: 'string', 105 value: 'MANIFEST', 106 description: 'The name of the MANIFEST file.', 107) 108 109option( 110 'media-dir', 111 type: 'string', 112 value: '/run/media', 113 description: 'The base dir where all read-only partitions are mounted.', 114) 115 116option( 117 'optional-images', 118 type: 'array', 119 value: [], 120 description: 'A list of additional image files in the BMC tarball.', 121) 122 123option( 124 'publickey-file-name', 125 type: 'string', 126 value: 'publickey', 127 description: 'The name of the public key file.', 128) 129 130option( 131 'signature-file-ext', 132 type: 'string', 133 value: '.sig', 134 description: 'The extension of the Signature file.', 135) 136 137option( 138 'signed-image-conf-path', 139 type: 'string', 140 value: '/etc/activationdata/', 141 description: 'Path of public key and hash function files.', 142) 143 144option( 145 'sync-list-dir-path', 146 type: 'string', 147 value: '/etc/', 148 description: 'The path to the sync list file directory.', 149) 150 151option( 152 'sync-list-file-name', 153 type: 'string', 154 value: 'synclist', 155 description: 'The name of the sync list file.', 156) 157 158option( 159 'bmc-msl', 160 type: 'string', 161 value: '', 162 description: 'The BMC minimum ship level.', 163) 164 165option( 166 'regex-bmc-msl', 167 type: 'string', 168 value: '', 169 description: 'The Regular expression to parse the MSL.', 170) 171 172option( 173 'bios-object-path', 174 type: 'string', 175 value: '/xyz/openbmc_project/software/bios_active', 176 description: 'The BIOS DBus object path.', 177) 178 179option( 180 'bmc-static-dual-image', 181 type: 'feature', 182 value: 'enabled', 183 description: 'Enable the dual image support for static layout.', 184) 185 186option( 187 'alt-rofs-dir', 188 type: 'string', 189 value: '/run/media/rofs-alt', 190 description: 'The base dir where all read-only partitions are mounted.', 191) 192 193option( 194 'alt-rwfs-dir', 195 type: 'string', 196 value: '/run/media/rwfs-alt/cow', 197 description: 'The dir for alt-rwfs partition.', 198) 199