blob: 4def7f9828095b21792ccec08d072595c7e5af5c [file] [log] [blame]
Adriana Kobylak0af80a42020-05-05 13:32:10 -05001# Supported BMC layout types. Reference:
Gunnar Mills34077dc2020-09-11 09:29:14 -05002# https://github.com/openbmc/docs/blob/master/architecture/code-update/flash-layout.md#supported-filesystem-choices
Adriana Kobylak0af80a42020-05-05 13:32:10 -05003# - static: NOR flash configured with fixed-sized MTD partitions.
4# - ubi: NOR flash device configured with UBI volumes.
Adriana Kobylak86013f32020-05-13 12:12:38 -05005# - mmc: eMMC flash device configured with ext4 filesystems.
Adriana Kobylak0af80a42020-05-05 13:32:10 -05006option('bmc-layout', type: 'combo',
Adriana Kobylak86013f32020-05-13 12:12:38 -05007 choices: ['static', 'ubi', 'mmc'],
Adriana Kobylak0af80a42020-05-05 13:32:10 -05008 value: 'static',
9 description: 'The BMC layout type.')
10
11# Features
12option('host-bios-upgrade', type: 'feature',
13 description: 'Enable host bios upgrade support.')
14
15option('sync-bmc-files', type: 'feature',
16 description: 'Enable sync of filesystem files.')
17
Adriana Kobylak78e72d92020-05-05 14:01:54 -050018option('tests', type: 'feature', description: 'Build tests')
19
20option('oe-sdk', type: 'feature', description: 'Enable OE SDK')
21
Adriana Kobylak0af80a42020-05-05 13:32:10 -050022option('verify-signature', type: 'feature',
Adriana Kobylak42bd9932021-01-28 09:45:24 -060023 description: 'LEGACY: Use verify-full-signature instead. Enable image signature validation.')
Adriana Kobylak0af80a42020-05-05 13:32:10 -050024
George Liu0a06e972020-12-17 09:17:04 +080025option('verify-full-signature', type: 'feature',
26 description: 'Enable image full signature validation.')
27
Adriana Kobylak0af80a42020-05-05 13:32:10 -050028# Variables
29option(
30 'active-bmc-max-allowed', type: 'integer',
31 value: 1,
32 description: 'The maximum allowed active BMC versions.',
33)
34
35option(
36 'hash-file-name', type: 'string',
37 value: 'hashfunc',
38 description: 'The name of the hash file.',
39)
40
41option(
42 'img-upload-dir', type: 'string',
43 value: '/tmp/images',
44 description: 'Directory where downloaded software images are placed.',
45)
46
47option(
48 'manifest-file-name', type: 'string',
49 value: 'MANIFEST',
50 description: 'The name of the MANIFEST file.',
51)
52
53option(
54 'media-dir', type: 'string',
55 value: '/run/media',
56 description: 'The base dir where all read-only partitions are mounted.',
57)
58
59option(
Adriana Kobylak73609bb2020-06-18 15:05:40 -050060 'optional-images', type: 'array',
Adriana Kobylak73609bb2020-06-18 15:05:40 -050061 value: [],
62 description: 'A list of additional image files in the BMC tarball.',
63)
64
65option(
Adriana Kobylak0af80a42020-05-05 13:32:10 -050066 'publickey-file-name', type: 'string',
67 value: 'publickey',
68 description: 'The name of the public key file.',
69)
70
71option(
72 'signature-file-ext', type: 'string',
73 value: '.sig',
74 description: 'The extension of the Signature file.',
75)
76
77option(
78 'signed-image-conf-path', type: 'string',
79 value: '/etc/activationdata/',
80 description: 'Path of public key and hash function files.',
81)
82
83option(
84 'sync-list-dir-path', type: 'string',
85 value: '/etc/',
86 description: 'The path to the sync list file directory.',
87)
88
89option(
90 'sync-list-file-name', type: 'string',
91 value: 'synclist',
92 description: 'The name of the sync list file.',
93)
Miguel Gomez21dad042020-06-26 20:54:48 +000094
95option(
96 'bmc-msl', type: 'string',
97 value: '',
98 description: 'The BMC minimum ship level.',
99)
100
101option(
102 'regex-bmc-msl', type: 'string',
103 value: '',
104 description: 'The Regular expression to parse the MSL.',
105)
Lei YU6e9fb1d2021-02-19 18:01:40 +0800106
107option(
108 'bios-object-path', type: 'string',
109 value: '/xyz/openbmc_project/software/bios_active',
110 description: 'The BIOS DBus object path.',
111)