blob: 18443b4b0cd6e5e66e1a24833619dfe17bd9d324 [file] [log] [blame]
Bill Hoffa5f93f1d2014-06-26 21:02:48 -05001config BR2_PACKAGE_OPENPOWER_PNOR
2 bool "openpower_pnor"
Klaus Heinrich Kiwi9c60ced2021-01-29 08:06:18 -06003 default y if (BR2_OPENPOWER_PLATFORM && BR2_OPENPOWER_POWER9)
Klaus Heinrich Kiwid2551242020-07-16 16:59:04 -03004 depends on (!BR2_PACKAGE_OPENPOWER_PNOR_P10)
Nick Bofferding40f80402019-09-10 18:07:04 -05005 select BR2_PACKAGE_HOSTBOOT
Jeremy Kerr5e1f7b42016-07-22 13:09:38 +08006 select BR2_PACKAGE_HOSTBOOT_BINARIES
7 select BR2_PACKAGE_SKIBOOT
8 select BR2_PACKAGE_OPENPOWER_FFS
Nick Bofferding40f80402019-09-10 18:07:04 -05009 select BR2_PACKAGE_OCC
Jeremy Kerr5e1f7b42016-07-22 13:09:38 +080010 select BR2_PACKAGE_CAPP_UCODE
William A. Kennington IIIc3ab3ce2017-03-17 12:58:05 -070011 select BR2_PACKAGE_IMA_CATALOG
Charles P. Hofer0ca27df2017-08-10 14:20:00 -050012 select BR2_PACKAGE_HOST_OPENPOWER_VPNOR
Richard J. Knight3f0e29c2017-10-13 10:39:01 -050013 select BR2_PACKAGE_MACHINE_XML
14 select BR2_PACKAGE_HCODE if BR2_OPENPOWER_POWER9
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050015 help
16 Utilites for building a targeting binary image
17
Stewart Smithbc37e5d2018-04-26 17:37:59 +100018menu "OpenPOWER PNOR assembly options"
19
Nick Bofferding54deceb2017-06-28 23:07:35 -050020choice
21 prompt "Secure Boot key transition type"
22 default BR2_OPENPOWER_SECUREBOOT_NO_KEY_TRANSITION
23
24config BR2_OPENPOWER_SECUREBOOT_NO_KEY_TRANSITION
25 bool "None"
26 help
27 Builds a driver that does not transition Secure Boot keys
28
29config BR2_OPENPOWER_SECUREBOOT_KEY_TRANSITION_TO_DEV
30 bool "Transition existing keys to development keys"
31 help
32 Builds a driver that transitions Secure Boot keys to development keys and
33 powers off the system. Only usable when system security has been
34 disabled.
35
36config BR2_OPENPOWER_SECUREBOOT_KEY_TRANSITION_TO_PROD
37 bool "Transition development keys to production keys"
38 help
39 Builds a driver that transitions Secure Boot development keys to
40 vendor supplied production keys and powers off the system.
41
42endchoice
43
44config BR2_OPENPOWER_SECUREBOOT_SIGN_MODE
45 string "Secureboot signing mode"
Nick Bofferding212d97b2017-09-28 15:50:40 -050046 default "development"
Nick Bofferding54deceb2017-06-28 23:07:35 -050047 help
48 Available options [development | production]
49 Indicates the signing mode when generating the PNOR image. Only
50 applicable when hostboot is compiled with SECUREBOOT compile flag.
51 Default mode is development.
52
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050053config BR2_OPENPOWER_PNOR_XML_LAYOUT_FILENAME
54 string "Name of Openpower pnor xml layout file"
55 help
56 String used to define hw specific make config file
57
58config BR2_OPENPOWER_CONFIG_NAME
59 string "Name of configuration"
60 help
61 String used to define configuration name
62
63config BR2_OPENPOWER_PNOR_FILENAME
64 string "Name of pnor file to be created"
65 help
66 String used to define pnor filename to be created
67
Brian Horton06c2a882015-04-09 13:32:55 -050068config BR2_OPENPOWER_PNOR_UPDATE_FILENAME
69 string "Name of pnor file to be created for updates, if needed"
70 help
71 String used to define pnor filename to be created for updates, if needed
72
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050073config BR2_SKIBOOT_LID_NAME
74 string "Name of skiboot lid name to be used"
75 default "skiboot.lid"
76 help
Elizabeth Linerfbd6c452016-03-31 10:38:17 -050077 String used to define skiboot lid filename
78
79config BR2_TARGET_SKIBOOT_XZ
Joel Stanley0980b482018-12-03 10:40:28 +103080 bool "Compress the skiboot image with XZ"
Jeremy Kerr1a70aff2016-07-22 14:03:30 +080081 select BR2_OPENPOWER_PNOR_XZ_ENABLED
Elizabeth Liner5a8e6fa2016-07-14 15:46:49 -050082 default y
Elizabeth Linerfbd6c452016-03-31 10:38:17 -050083
84config BR2_SKIBOOT_LID_XZ_NAME
85 string "Name of compressed skiboot lid"
86 default "skiboot.lid" if !BR2_TARGET_SKIBOOT_XZ
87 default "skiboot.lid.xz" if BR2_TARGET_SKIBOOT_XZ
88 help
89 String used to define compressed skiboot lid filename
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050090
91config BR2_HOSTBOOT_BINARY_SBE_FILENAME
92 string "Name of sbe hostboot binary"
93 help
94 String used to define name of sbe hostboot binary file
95
Bill Hoffa5f93f1d2014-06-26 21:02:48 -050096config BR2_HOSTBOOT_BINARY_SBEC_FILENAME
97 string "Name of sbec hostboot binary"
98 help
99 String used to define name of sbec hostboot binary file
100
Richard J. Knight3f0e29c2017-10-13 10:39:01 -0500101config BR2_HOSTBOOT_BINARY_IONV_FILENAME
102 string "Name of IONV binary"
103 default "ionv.bin"
104 help
105 String used to define name of ionv binary file
106
Matt Ploetzaf3f64e2015-05-14 14:49:55 -0500107config BR2_HOSTBOOT_BINARY_WINK_FILENAME
108 string "Name of winkle hostboot binary"
109 help
110 String used to define name of winkle hostboot binary file
111
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500112config BR2_WOFDATA_FILENAME
113 string "Name of wofdata original file"
Elizabeth Linereaf813a2017-06-10 17:42:28 -0500114 default "wof_output"
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500115 help
116 String used to define name of wofdata original file
117
118config BR2_WOFDATA_BINARY_FILENAME
119 string "Name of wofdata binary file"
Elizabeth Linereaf813a2017-06-10 17:42:28 -0500120 default "wofdata.bin.ecc"
Elizabeth Linerd1a29c12017-05-15 18:03:21 -0500121 help
122 String used to define name of wofdata binary ecc'd file
123
Elizabeth Linerfa069312017-08-07 23:33:01 -0500124config BR2_MEMDDATA_FILENAME
125 string "Name of memd original file"
Elizabeth Liner02c88192017-08-10 23:50:34 -0500126 default "memd_output.dat"
Elizabeth Linerfa069312017-08-07 23:33:01 -0500127 help
128 String used to define name of memd original file
129
130config BR2_MEMDDATA_BINARY_FILENAME
131 string "Name of memd binary file"
132 default "memd_extra_data.bin.ecc"
133 help
134 String used to define the name of the memd binary ecc'd file
135
Matt Ploetz02aa69d2016-09-12 18:17:15 -0500136config BR2_IMA_CATALOG_FILENAME
137 string "Name of IMA catalog binary"
138 help
139 String used to define name of IMA catalog binary file
140
141config BR2_IMA_CATALOG_ECC_FILENAME
142 string "Name of IMA catalog binary"
143 help
144 String used to define name of IMA catalog binary file, ecc protected
145
Bill Hoffa5f93f1d2014-06-26 21:02:48 -0500146config BR2_OPENPOWER_TARGETING_BIN_FILENAME
147 string "Name of openpower binary targeting file"
148 help
149 String used to define name of openpower targeting binary file
Brian Silver015b5912014-08-07 15:50:15 -0500150
151config BR2_OPENPOWER_TARGETING_ECC_FILENAME
152 string "Name of openpower binary targeting file"
153 help
154 String used to define name of openpower targeting binary file, ecc protected
Elizabeth Linerfbd6c452016-03-31 10:38:17 -0500155
Bill Hoffaa48d7fa2019-06-10 08:59:10 -0500156config BR2_OCMBFW_FILENAME
157 string "Name of the OCMBFW Update original file"
Bill Hoffa128bda42019-07-10 16:34:55 -0500158 default "signed_app_fw.mem"
Bill Hoffaa48d7fa2019-06-10 08:59:10 -0500159 help
160 String used to define name of OCBMFW Update original file (before any processing occurs)
161
162config BR2_OCMBFW_PROCESSED_FILENAME
163 string "Name of OCMBFW Update binary processed file"
164 default "ocmbfw.bin.ecc"
165 help
166 String used to define the name of the OCMBFW update binary file after processing, ecc protected
167
Elizabeth Linerfbd6c452016-03-31 10:38:17 -0500168config BR2_OPENPOWER_PNOR_XZ_ENABLED
Jeremy Kerr4c5e6e22016-07-22 13:59:47 +0800169 bool "Enable xz compression in PNOR payloads"
Jeremy Kerr1a70aff2016-07-22 14:03:30 +0800170 default n
Charles P. Hofer0ca27df2017-08-10 14:20:00 -0500171
172config BR2_BUILD_PNOR_SQUASHFS
173 bool "Create a virtual PNOR image along with the standard image"
Joel Stanleyb9859a02018-08-21 10:51:16 +0930174 default n
Stewart Smithbc37e5d2018-04-26 17:37:59 +1000175
176endmenu