Adriana Kobylak | 0af80a4 | 2020-05-05 13:32:10 -0500 | [diff] [blame] | 1 | # Supported BMC layout types. Reference: |
Gunnar Mills | 34077dc | 2020-09-11 09:29:14 -0500 | [diff] [blame] | 2 | # https://github.com/openbmc/docs/blob/master/architecture/code-update/flash-layout.md#supported-filesystem-choices |
Adriana Kobylak | 0af80a4 | 2020-05-05 13:32:10 -0500 | [diff] [blame] | 3 | # - static: NOR flash configured with fixed-sized MTD partitions. |
| 4 | # - ubi: NOR flash device configured with UBI volumes. |
Adriana Kobylak | 86013f3 | 2020-05-13 12:12:38 -0500 | [diff] [blame] | 5 | # - mmc: eMMC flash device configured with ext4 filesystems. |
Adriana Kobylak | 0af80a4 | 2020-05-05 13:32:10 -0500 | [diff] [blame] | 6 | option('bmc-layout', type: 'combo', |
Adriana Kobylak | 86013f3 | 2020-05-13 12:12:38 -0500 | [diff] [blame] | 7 | choices: ['static', 'ubi', 'mmc'], |
Adriana Kobylak | 0af80a4 | 2020-05-05 13:32:10 -0500 | [diff] [blame] | 8 | value: 'static', |
| 9 | description: 'The BMC layout type.') |
| 10 | |
| 11 | # Features |
| 12 | option('host-bios-upgrade', type: 'feature', |
| 13 | description: 'Enable host bios upgrade support.') |
| 14 | |
| 15 | option('sync-bmc-files', type: 'feature', |
| 16 | description: 'Enable sync of filesystem files.') |
| 17 | |
Adriana Kobylak | 78e72d9 | 2020-05-05 14:01:54 -0500 | [diff] [blame] | 18 | option('tests', type: 'feature', description: 'Build tests') |
| 19 | |
| 20 | option('oe-sdk', type: 'feature', description: 'Enable OE SDK') |
| 21 | |
Adriana Kobylak | 0af80a4 | 2020-05-05 13:32:10 -0500 | [diff] [blame] | 22 | option('verify-signature', type: 'feature', |
| 23 | description: 'Enable image signature validation.') |
| 24 | |
| 25 | # Variables |
| 26 | option( |
| 27 | 'active-bmc-max-allowed', type: 'integer', |
| 28 | value: 1, |
| 29 | description: 'The maximum allowed active BMC versions.', |
| 30 | ) |
| 31 | |
| 32 | option( |
| 33 | 'hash-file-name', type: 'string', |
| 34 | value: 'hashfunc', |
| 35 | description: 'The name of the hash file.', |
| 36 | ) |
| 37 | |
| 38 | option( |
| 39 | 'img-upload-dir', type: 'string', |
| 40 | value: '/tmp/images', |
| 41 | description: 'Directory where downloaded software images are placed.', |
| 42 | ) |
| 43 | |
| 44 | option( |
| 45 | 'manifest-file-name', type: 'string', |
| 46 | value: 'MANIFEST', |
| 47 | description: 'The name of the MANIFEST file.', |
| 48 | ) |
| 49 | |
| 50 | option( |
| 51 | 'media-dir', type: 'string', |
| 52 | value: '/run/media', |
| 53 | description: 'The base dir where all read-only partitions are mounted.', |
| 54 | ) |
| 55 | |
| 56 | option( |
Adriana Kobylak | 73609bb | 2020-06-18 15:05:40 -0500 | [diff] [blame] | 57 | 'optional-images', type: 'array', |
| 58 | choices: ['image-hostfw'], |
| 59 | value: [], |
| 60 | description: 'A list of additional image files in the BMC tarball.', |
| 61 | ) |
| 62 | |
| 63 | option( |
Adriana Kobylak | 0af80a4 | 2020-05-05 13:32:10 -0500 | [diff] [blame] | 64 | 'publickey-file-name', type: 'string', |
| 65 | value: 'publickey', |
| 66 | description: 'The name of the public key file.', |
| 67 | ) |
| 68 | |
| 69 | option( |
| 70 | 'signature-file-ext', type: 'string', |
| 71 | value: '.sig', |
| 72 | description: 'The extension of the Signature file.', |
| 73 | ) |
| 74 | |
| 75 | option( |
| 76 | 'signed-image-conf-path', type: 'string', |
| 77 | value: '/etc/activationdata/', |
| 78 | description: 'Path of public key and hash function files.', |
| 79 | ) |
| 80 | |
| 81 | option( |
| 82 | 'sync-list-dir-path', type: 'string', |
| 83 | value: '/etc/', |
| 84 | description: 'The path to the sync list file directory.', |
| 85 | ) |
| 86 | |
| 87 | option( |
| 88 | 'sync-list-file-name', type: 'string', |
| 89 | value: 'synclist', |
| 90 | description: 'The name of the sync list file.', |
| 91 | ) |
Miguel Gomez | 21dad04 | 2020-06-26 20:54:48 +0000 | [diff] [blame] | 92 | |
| 93 | option( |
| 94 | 'bmc-msl', type: 'string', |
| 95 | value: '', |
| 96 | description: 'The BMC minimum ship level.', |
| 97 | ) |
| 98 | |
| 99 | option( |
| 100 | 'regex-bmc-msl', type: 'string', |
| 101 | value: '', |
| 102 | description: 'The Regular expression to parse the MSL.', |
| 103 | ) |