Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 1 | config BR2_PACKAGE_OPENPOWER_PNOR |
| 2 | bool "openpower_pnor" |
Klaus Heinrich Kiwi | 9c60ced | 2021-01-29 08:06:18 -0600 | [diff] [blame] | 3 | default y if (BR2_OPENPOWER_PLATFORM && BR2_OPENPOWER_POWER9) |
Klaus Heinrich Kiwi | d255124 | 2020-07-16 16:59:04 -0300 | [diff] [blame] | 4 | depends on (!BR2_PACKAGE_OPENPOWER_PNOR_P10) |
Nick Bofferding | 40f8040 | 2019-09-10 18:07:04 -0500 | [diff] [blame] | 5 | select BR2_PACKAGE_HOSTBOOT |
Jeremy Kerr | 5e1f7b4 | 2016-07-22 13:09:38 +0800 | [diff] [blame] | 6 | select BR2_PACKAGE_HOSTBOOT_BINARIES |
| 7 | select BR2_PACKAGE_SKIBOOT |
| 8 | select BR2_PACKAGE_OPENPOWER_FFS |
Nick Bofferding | 40f8040 | 2019-09-10 18:07:04 -0500 | [diff] [blame] | 9 | select BR2_PACKAGE_OCC |
Jeremy Kerr | 5e1f7b4 | 2016-07-22 13:09:38 +0800 | [diff] [blame] | 10 | select BR2_PACKAGE_CAPP_UCODE |
William A. Kennington III | c3ab3ce | 2017-03-17 12:58:05 -0700 | [diff] [blame] | 11 | select BR2_PACKAGE_IMA_CATALOG |
Charles P. Hofer | 0ca27df | 2017-08-10 14:20:00 -0500 | [diff] [blame] | 12 | select BR2_PACKAGE_HOST_OPENPOWER_VPNOR |
Richard J. Knight | 3f0e29c | 2017-10-13 10:39:01 -0500 | [diff] [blame] | 13 | select BR2_PACKAGE_MACHINE_XML |
| 14 | select BR2_PACKAGE_HCODE if BR2_OPENPOWER_POWER9 |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 15 | help |
| 16 | Utilites for building a targeting binary image |
| 17 | |
Stewart Smith | bc37e5d | 2018-04-26 17:37:59 +1000 | [diff] [blame] | 18 | menu "OpenPOWER PNOR assembly options" |
| 19 | |
Nick Bofferding | 54deceb | 2017-06-28 23:07:35 -0500 | [diff] [blame] | 20 | choice |
| 21 | prompt "Secure Boot key transition type" |
| 22 | default BR2_OPENPOWER_SECUREBOOT_NO_KEY_TRANSITION |
| 23 | |
| 24 | config BR2_OPENPOWER_SECUREBOOT_NO_KEY_TRANSITION |
| 25 | bool "None" |
| 26 | help |
| 27 | Builds a driver that does not transition Secure Boot keys |
| 28 | |
| 29 | config 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 | |
| 36 | config 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 | |
| 42 | endchoice |
| 43 | |
| 44 | config BR2_OPENPOWER_SECUREBOOT_SIGN_MODE |
| 45 | string "Secureboot signing mode" |
Nick Bofferding | 212d97b | 2017-09-28 15:50:40 -0500 | [diff] [blame] | 46 | default "development" |
Nick Bofferding | 54deceb | 2017-06-28 23:07:35 -0500 | [diff] [blame] | 47 | 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 Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 53 | config 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 | |
| 58 | config BR2_OPENPOWER_CONFIG_NAME |
| 59 | string "Name of configuration" |
| 60 | help |
| 61 | String used to define configuration name |
| 62 | |
| 63 | config 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 Horton | 06c2a88 | 2015-04-09 13:32:55 -0500 | [diff] [blame] | 68 | config 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 Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 73 | config BR2_SKIBOOT_LID_NAME |
| 74 | string "Name of skiboot lid name to be used" |
| 75 | default "skiboot.lid" |
| 76 | help |
Elizabeth Liner | fbd6c45 | 2016-03-31 10:38:17 -0500 | [diff] [blame] | 77 | String used to define skiboot lid filename |
| 78 | |
| 79 | config BR2_TARGET_SKIBOOT_XZ |
Joel Stanley | 0980b48 | 2018-12-03 10:40:28 +1030 | [diff] [blame] | 80 | bool "Compress the skiboot image with XZ" |
Jeremy Kerr | 1a70aff | 2016-07-22 14:03:30 +0800 | [diff] [blame] | 81 | select BR2_OPENPOWER_PNOR_XZ_ENABLED |
Elizabeth Liner | 5a8e6fa | 2016-07-14 15:46:49 -0500 | [diff] [blame] | 82 | default y |
Elizabeth Liner | fbd6c45 | 2016-03-31 10:38:17 -0500 | [diff] [blame] | 83 | |
| 84 | config 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 Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 90 | |
| 91 | config 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 Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 96 | config 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. Knight | 3f0e29c | 2017-10-13 10:39:01 -0500 | [diff] [blame] | 101 | config 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 Ploetz | af3f64e | 2015-05-14 14:49:55 -0500 | [diff] [blame] | 107 | config 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 Liner | d1a29c1 | 2017-05-15 18:03:21 -0500 | [diff] [blame] | 112 | config BR2_WOFDATA_FILENAME |
| 113 | string "Name of wofdata original file" |
Elizabeth Liner | eaf813a | 2017-06-10 17:42:28 -0500 | [diff] [blame] | 114 | default "wof_output" |
Elizabeth Liner | d1a29c1 | 2017-05-15 18:03:21 -0500 | [diff] [blame] | 115 | help |
| 116 | String used to define name of wofdata original file |
| 117 | |
| 118 | config BR2_WOFDATA_BINARY_FILENAME |
| 119 | string "Name of wofdata binary file" |
Elizabeth Liner | eaf813a | 2017-06-10 17:42:28 -0500 | [diff] [blame] | 120 | default "wofdata.bin.ecc" |
Elizabeth Liner | d1a29c1 | 2017-05-15 18:03:21 -0500 | [diff] [blame] | 121 | help |
| 122 | String used to define name of wofdata binary ecc'd file |
| 123 | |
Elizabeth Liner | fa06931 | 2017-08-07 23:33:01 -0500 | [diff] [blame] | 124 | config BR2_MEMDDATA_FILENAME |
| 125 | string "Name of memd original file" |
Elizabeth Liner | 02c8819 | 2017-08-10 23:50:34 -0500 | [diff] [blame] | 126 | default "memd_output.dat" |
Elizabeth Liner | fa06931 | 2017-08-07 23:33:01 -0500 | [diff] [blame] | 127 | help |
| 128 | String used to define name of memd original file |
| 129 | |
| 130 | config 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 Ploetz | 02aa69d | 2016-09-12 18:17:15 -0500 | [diff] [blame] | 136 | config 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 | |
| 141 | config 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 Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 146 | config 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 Silver | 015b591 | 2014-08-07 15:50:15 -0500 | [diff] [blame] | 150 | |
| 151 | config 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 Liner | fbd6c45 | 2016-03-31 10:38:17 -0500 | [diff] [blame] | 155 | |
Bill Hoffa | a48d7fa | 2019-06-10 08:59:10 -0500 | [diff] [blame] | 156 | config BR2_OCMBFW_FILENAME |
| 157 | string "Name of the OCMBFW Update original file" |
Bill Hoffa | 128bda4 | 2019-07-10 16:34:55 -0500 | [diff] [blame] | 158 | default "signed_app_fw.mem" |
Bill Hoffa | a48d7fa | 2019-06-10 08:59:10 -0500 | [diff] [blame] | 159 | help |
| 160 | String used to define name of OCBMFW Update original file (before any processing occurs) |
| 161 | |
| 162 | config 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 Liner | fbd6c45 | 2016-03-31 10:38:17 -0500 | [diff] [blame] | 168 | config BR2_OPENPOWER_PNOR_XZ_ENABLED |
Jeremy Kerr | 4c5e6e2 | 2016-07-22 13:59:47 +0800 | [diff] [blame] | 169 | bool "Enable xz compression in PNOR payloads" |
Jeremy Kerr | 1a70aff | 2016-07-22 14:03:30 +0800 | [diff] [blame] | 170 | default n |
Charles P. Hofer | 0ca27df | 2017-08-10 14:20:00 -0500 | [diff] [blame] | 171 | |
| 172 | config BR2_BUILD_PNOR_SQUASHFS |
| 173 | bool "Create a virtual PNOR image along with the standard image" |
Joel Stanley | b9859a0 | 2018-08-21 10:51:16 +0930 | [diff] [blame] | 174 | default n |
Stewart Smith | bc37e5d | 2018-04-26 17:37:59 +1000 | [diff] [blame] | 175 | |
| 176 | endmenu |