Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 1 | // Copyright lowRISC contributors. |
| 2 | // Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| 3 | // SPDX-License-Identifier: Apache-2.0 |
| 4 | { |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 5 | # This auxiliary chip sim cfg specification focuses on chip level rom functional tests. |
Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 6 | # Please see chip_sim_cfg.hjson for full setup details. |
| 7 | |
| 8 | # Note: Please maintain alphabetical order. |
| 9 | tests: [ |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 10 | // ROM E2E tests. |
Timothy Trippel | 0a53139 | 2022-06-17 13:49:46 -0700 | [diff] [blame] | 11 | { |
Timothy Trippel | 75e9c17 | 2022-09-23 14:20:14 -0700 | [diff] [blame] | 12 | name: rom_e2e_smoke |
Timothy Trippel | 0a53139 | 2022-06-17 13:49:46 -0700 | [diff] [blame] | 13 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | 60ff3dc | 2022-11-01 14:40:27 -0700 | [diff] [blame] | 14 | sw_images: ["//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary"] |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 15 | en_run_modes: ["sw_test_mode_rom"] |
Timothy Trippel | 0a53139 | 2022-06-17 13:49:46 -0700 | [diff] [blame] | 16 | run_opts: ["+sw_test_timeout_ns=20000000"] |
| 17 | } |
Timothy Trippel | 52c48d9 | 2022-09-28 16:40:02 -0700 | [diff] [blame] | 18 | { |
| 19 | name: rom_e2e_shutdown_exception_c |
Timothy Trippel | 9899bab | 2022-11-07 15:24:26 -0800 | [diff] [blame] | 20 | uvm_test_seq: chip_sw_rom_e2e_shutdown_exception_c_vseq |
Timothy Trippel | 52c48d9 | 2022-09-28 16:40:02 -0700 | [diff] [blame] | 21 | sw_images: ["//sw/device/silicon_creator/rom/e2e:rom_e2e_shutdown_exception_c:1:signed"] |
| 22 | en_run_modes: ["sw_test_mode_rom"] |
Timothy Trippel | c405edc | 2022-11-29 14:00:34 -0800 | [diff] [blame] | 23 | run_opts: ["+sw_test_timeout_ns=20000000"] |
Timothy Trippel | 9899bab | 2022-11-07 15:24:26 -0800 | [diff] [blame] | 24 | run_timeout_mins: 120 |
Timothy Trippel | 52c48d9 | 2022-09-28 16:40:02 -0700 | [diff] [blame] | 25 | } |
Timothy Trippel | 701b382 | 2022-09-28 16:47:06 -0700 | [diff] [blame] | 26 | { |
Timothy Trippel | a590977 | 2022-11-02 17:03:24 -0700 | [diff] [blame] | 27 | name: rom_e2e_shutdown_output |
| 28 | uvm_test_seq: chip_sw_rom_e2e_shutdown_output_vseq |
| 29 | # Note: this is an unsigned test, as we are verifying a boot failure. |
| 30 | sw_images: [ |
| 31 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary", |
Timothy Trippel | b2ef5fa | 2022-11-09 00:18:25 -0800 | [diff] [blame] | 32 | "//sw/device/silicon_creator/rom/e2e:otp_img_shutdown_output_test_unlocked0:4", |
Timothy Trippel | a590977 | 2022-11-02 17:03:24 -0700 | [diff] [blame] | 33 | ] |
| 34 | en_run_modes: ["sw_test_mode_rom"] |
| 35 | run_opts: [ |
| 36 | "+sw_test_timeout_ns=20000000", |
| 37 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | a590977 | 2022-11-02 17:03:24 -0700 | [diff] [blame] | 38 | ] |
| 39 | } |
| 40 | { |
Timothy Trippel | da7d2e1 | 2022-11-15 11:28:33 -0800 | [diff] [blame] | 41 | name: rom_e2e_boot_policy_valid_a_good_b_good_test_unlocked0 |
| 42 | uvm_test_seq: chip_sw_base_vseq |
| 43 | sw_images: [ |
| 44 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0", |
| 45 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0", |
| 46 | "//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_test_unlocked0:4", |
| 47 | ] |
| 48 | en_run_modes: ["sw_test_mode_rom"] |
| 49 | run_opts: [ |
Timothy Trippel | 52d1ab6 | 2022-11-16 09:35:42 -0800 | [diff] [blame] | 50 | "+sw_test_timeout_ns=410_000_000", |
Timothy Trippel | da7d2e1 | 2022-11-15 11:28:33 -0800 | [diff] [blame] | 51 | "+use_otp_image=OtpTypeCustom", |
| 52 | ] |
| 53 | reseed: 1 |
Timothy Trippel | 52d1ab6 | 2022-11-16 09:35:42 -0800 | [diff] [blame] | 54 | run_timeout_mins: 480 |
Timothy Trippel | da7d2e1 | 2022-11-15 11:28:33 -0800 | [diff] [blame] | 55 | } |
| 56 | { |
| 57 | name: rom_e2e_boot_policy_valid_a_good_b_good_dev |
| 58 | uvm_test_seq: chip_sw_base_vseq |
| 59 | sw_images: [ |
| 60 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0", |
| 61 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0", |
| 62 | "//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_dev:4", |
| 63 | ] |
| 64 | en_run_modes: ["sw_test_mode_rom"] |
| 65 | run_opts: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 66 | "+sw_test_timeout_ns=50_000_000", |
Timothy Trippel | da7d2e1 | 2022-11-15 11:28:33 -0800 | [diff] [blame] | 67 | "+use_otp_image=OtpTypeCustom", |
| 68 | ] |
| 69 | reseed: 1 |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 70 | run_timeout_mins: 180 |
Timothy Trippel | da7d2e1 | 2022-11-15 11:28:33 -0800 | [diff] [blame] | 71 | } |
| 72 | { |
| 73 | name: rom_e2e_boot_policy_valid_a_good_b_good_prod |
| 74 | uvm_test_seq: chip_sw_base_vseq |
| 75 | sw_images: [ |
| 76 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0", |
| 77 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0", |
| 78 | "//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod:4", |
| 79 | ] |
| 80 | en_run_modes: ["sw_test_mode_rom"] |
| 81 | run_opts: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 82 | "+sw_test_timeout_ns=50_000_000", |
Timothy Trippel | da7d2e1 | 2022-11-15 11:28:33 -0800 | [diff] [blame] | 83 | "+use_otp_image=OtpTypeCustom", |
| 84 | ] |
| 85 | reseed: 1 |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 86 | run_timeout_mins: 180 |
Timothy Trippel | da7d2e1 | 2022-11-15 11:28:33 -0800 | [diff] [blame] | 87 | } |
| 88 | { |
| 89 | name: rom_e2e_boot_policy_valid_a_good_b_good_prod_end |
| 90 | uvm_test_seq: chip_sw_base_vseq |
| 91 | sw_images: [ |
| 92 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0", |
| 93 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0", |
| 94 | "//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod_end:4", |
| 95 | ] |
| 96 | en_run_modes: ["sw_test_mode_rom"] |
| 97 | run_opts: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 98 | "+sw_test_timeout_ns=50_000_000", |
Timothy Trippel | da7d2e1 | 2022-11-15 11:28:33 -0800 | [diff] [blame] | 99 | "+use_otp_image=OtpTypeCustom", |
| 100 | ] |
| 101 | reseed: 1 |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 102 | run_timeout_mins: 180 |
Timothy Trippel | da7d2e1 | 2022-11-15 11:28:33 -0800 | [diff] [blame] | 103 | } |
| 104 | { |
| 105 | name: rom_e2e_boot_policy_valid_a_good_b_good_rma |
| 106 | uvm_test_seq: chip_sw_base_vseq |
| 107 | sw_images: [ |
| 108 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0", |
| 109 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0", |
| 110 | "//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_rma:4", |
| 111 | ] |
| 112 | en_run_modes: ["sw_test_mode_rom"] |
| 113 | run_opts: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 114 | "+sw_test_timeout_ns=50_000_000", |
Timothy Trippel | da7d2e1 | 2022-11-15 11:28:33 -0800 | [diff] [blame] | 115 | "+use_otp_image=OtpTypeCustom", |
| 116 | ] |
| 117 | reseed: 1 |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 118 | run_timeout_mins: 180 |
Timothy Trippel | da7d2e1 | 2022-11-15 11:28:33 -0800 | [diff] [blame] | 119 | } |
| 120 | { |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 121 | name: rom_e2e_boot_policy_valid_a_good_b_bad_test_unlocked0 |
| 122 | uvm_test_seq: chip_sw_base_vseq |
| 123 | sw_images: [ |
| 124 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 125 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 126 | "//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_test_unlocked0:4", |
| 127 | ] |
| 128 | en_run_modes: ["sw_test_mode_rom"] |
| 129 | run_opts: [ |
Timothy Trippel | 52d1ab6 | 2022-11-16 09:35:42 -0800 | [diff] [blame] | 130 | "+sw_test_timeout_ns=410_000_000", |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 131 | "+use_otp_image=OtpTypeCustom", |
| 132 | ] |
| 133 | reseed: 1 |
Timothy Trippel | 52d1ab6 | 2022-11-16 09:35:42 -0800 | [diff] [blame] | 134 | run_timeout_mins: 480 |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 135 | } |
| 136 | { |
| 137 | name: rom_e2e_boot_policy_valid_a_good_b_bad_dev |
| 138 | uvm_test_seq: chip_sw_base_vseq |
| 139 | sw_images: [ |
| 140 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 141 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 142 | "//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_dev:4", |
| 143 | ] |
| 144 | en_run_modes: ["sw_test_mode_rom"] |
| 145 | run_opts: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 146 | "+sw_test_timeout_ns=50_000_000", |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 147 | "+use_otp_image=OtpTypeCustom", |
| 148 | ] |
| 149 | reseed: 1 |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 150 | run_timeout_mins: 180 |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 151 | } |
| 152 | { |
| 153 | name: rom_e2e_boot_policy_valid_a_good_b_bad_prod |
| 154 | uvm_test_seq: chip_sw_base_vseq |
| 155 | sw_images: [ |
| 156 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 157 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 158 | "//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod:4", |
| 159 | ] |
| 160 | en_run_modes: ["sw_test_mode_rom"] |
| 161 | run_opts: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 162 | "+sw_test_timeout_ns=50_000_000", |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 163 | "+use_otp_image=OtpTypeCustom", |
| 164 | ] |
| 165 | reseed: 1 |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 166 | run_timeout_mins: 180 |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 167 | } |
| 168 | { |
| 169 | name: rom_e2e_boot_policy_valid_a_good_b_bad_prod_end |
| 170 | uvm_test_seq: chip_sw_base_vseq |
| 171 | sw_images: [ |
| 172 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 173 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 174 | "//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod_end:4", |
| 175 | ] |
| 176 | en_run_modes: ["sw_test_mode_rom"] |
| 177 | run_opts: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 178 | "+sw_test_timeout_ns=50_000_000", |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 179 | "+use_otp_image=OtpTypeCustom", |
| 180 | ] |
| 181 | reseed: 1 |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 182 | run_timeout_mins: 180 |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 183 | } |
| 184 | { |
| 185 | name: rom_e2e_boot_policy_valid_a_good_b_bad_rma |
| 186 | uvm_test_seq: chip_sw_base_vseq |
| 187 | sw_images: [ |
| 188 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 189 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 190 | "//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_rma:4", |
| 191 | ] |
| 192 | en_run_modes: ["sw_test_mode_rom"] |
| 193 | run_opts: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 194 | "+sw_test_timeout_ns=50_000_000", |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 195 | "+use_otp_image=OtpTypeCustom", |
| 196 | ] |
| 197 | reseed: 1 |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 198 | run_timeout_mins: 180 |
Timothy Trippel | f8f34d0 | 2022-11-15 11:29:28 -0800 | [diff] [blame] | 199 | } |
| 200 | { |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 201 | name: rom_e2e_boot_policy_valid_a_bad_b_good_test_unlocked0 |
| 202 | uvm_test_seq: chip_sw_base_vseq |
| 203 | sw_images: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 204 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 205 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0", |
| 206 | "//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_test_unlocked0:4", |
| 207 | ] |
| 208 | en_run_modes: ["sw_test_mode_rom"] |
| 209 | run_opts: [ |
Timothy Trippel | 52d1ab6 | 2022-11-16 09:35:42 -0800 | [diff] [blame] | 210 | "+sw_test_timeout_ns=410_000_000", |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 211 | "+use_otp_image=OtpTypeCustom", |
| 212 | ] |
| 213 | reseed: 1 |
Timothy Trippel | 52d1ab6 | 2022-11-16 09:35:42 -0800 | [diff] [blame] | 214 | run_timeout_mins: 480 |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 215 | } |
| 216 | { |
| 217 | name: rom_e2e_boot_policy_valid_a_bad_b_good_dev |
| 218 | uvm_test_seq: chip_sw_base_vseq |
| 219 | sw_images: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 220 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 221 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0", |
| 222 | "//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_dev:4", |
| 223 | ] |
| 224 | en_run_modes: ["sw_test_mode_rom"] |
| 225 | run_opts: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 226 | "+sw_test_timeout_ns=50_000_000", |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 227 | "+use_otp_image=OtpTypeCustom", |
| 228 | ] |
| 229 | reseed: 1 |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 230 | run_timeout_mins: 180 |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 231 | } |
| 232 | { |
| 233 | name: rom_e2e_boot_policy_valid_a_bad_b_good_prod |
| 234 | uvm_test_seq: chip_sw_base_vseq |
| 235 | sw_images: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 236 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 237 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0", |
| 238 | "//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod:4", |
| 239 | ] |
| 240 | en_run_modes: ["sw_test_mode_rom"] |
| 241 | run_opts: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 242 | "+sw_test_timeout_ns=50_000_000", |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 243 | "+use_otp_image=OtpTypeCustom", |
| 244 | ] |
| 245 | reseed: 1 |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 246 | run_timeout_mins: 180 |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 247 | } |
| 248 | { |
| 249 | name: rom_e2e_boot_policy_valid_a_bad_b_good_prod_end |
| 250 | uvm_test_seq: chip_sw_base_vseq |
| 251 | sw_images: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 252 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 253 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0", |
| 254 | "//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod_end:4", |
| 255 | ] |
| 256 | en_run_modes: ["sw_test_mode_rom"] |
| 257 | run_opts: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 258 | "+sw_test_timeout_ns=50_000_000", |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 259 | "+use_otp_image=OtpTypeCustom", |
| 260 | ] |
| 261 | reseed: 1 |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 262 | run_timeout_mins: 180 |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 263 | } |
| 264 | { |
| 265 | name: rom_e2e_boot_policy_valid_a_bad_b_good_rma |
| 266 | uvm_test_seq: chip_sw_base_vseq |
| 267 | sw_images: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 268 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 269 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0", |
| 270 | "//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_rma:4", |
| 271 | ] |
| 272 | en_run_modes: ["sw_test_mode_rom"] |
| 273 | run_opts: [ |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 274 | "+sw_test_timeout_ns=50_000_000", |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 275 | "+use_otp_image=OtpTypeCustom", |
| 276 | ] |
| 277 | reseed: 1 |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 278 | run_timeout_mins: 180 |
Timothy Trippel | 1ff2cbe | 2022-11-15 11:30:55 -0800 | [diff] [blame] | 279 | } |
| 280 | { |
Timothy Trippel | 399cb53 | 2022-11-16 00:26:03 -0800 | [diff] [blame] | 281 | name: rom_e2e_sigverify_always_a_bad_b_bad_test_unlocked0 |
| 282 | uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq |
| 283 | sw_images: [ |
| 284 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_test_key_0", |
| 285 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_test_key_0", |
| 286 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_test_unlocked0:4", |
| 287 | ] |
| 288 | en_run_modes: ["sw_test_mode_rom"] |
| 289 | run_opts: [ |
| 290 | "+sw_test_timeout_ns=410_000_000", |
| 291 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | 399cb53 | 2022-11-16 00:26:03 -0800 | [diff] [blame] | 292 | ] |
| 293 | reseed: 1 |
| 294 | run_timeout_mins: 480 |
| 295 | } |
| 296 | { |
| 297 | name: rom_e2e_sigverify_always_a_bad_b_bad_dev |
| 298 | uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq |
| 299 | sw_images: [ |
| 300 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_dev_key_0", |
| 301 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_dev_key_0", |
| 302 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_dev:4", |
| 303 | ] |
| 304 | en_run_modes: ["sw_test_mode_rom"] |
| 305 | run_opts: [ |
| 306 | "+sw_test_timeout_ns=50_000_000", |
| 307 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | 399cb53 | 2022-11-16 00:26:03 -0800 | [diff] [blame] | 308 | ] |
| 309 | reseed: 1 |
| 310 | run_timeout_mins: 120 |
| 311 | } |
| 312 | { |
| 313 | name: rom_e2e_sigverify_always_a_bad_b_bad_prod |
| 314 | uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq |
| 315 | sw_images: [ |
| 316 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0", |
| 317 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0", |
| 318 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod:4", |
| 319 | ] |
| 320 | en_run_modes: ["sw_test_mode_rom"] |
| 321 | run_opts: [ |
| 322 | "+sw_test_timeout_ns=50_000_000", |
| 323 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | 399cb53 | 2022-11-16 00:26:03 -0800 | [diff] [blame] | 324 | ] |
| 325 | reseed: 1 |
| 326 | run_timeout_mins: 120 |
| 327 | } |
| 328 | { |
| 329 | name: rom_e2e_sigverify_always_a_bad_b_bad_prod_end |
| 330 | uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq |
| 331 | sw_images: [ |
| 332 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0", |
| 333 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0", |
| 334 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod_end:4", |
| 335 | ] |
| 336 | en_run_modes: ["sw_test_mode_rom"] |
| 337 | run_opts: [ |
| 338 | "+sw_test_timeout_ns=50_000_000", |
| 339 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | 399cb53 | 2022-11-16 00:26:03 -0800 | [diff] [blame] | 340 | ] |
| 341 | reseed: 1 |
| 342 | run_timeout_mins: 120 |
| 343 | } |
| 344 | { |
| 345 | name: rom_e2e_sigverify_always_a_bad_b_bad_rma |
| 346 | uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq |
| 347 | sw_images: [ |
| 348 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0", |
| 349 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0", |
| 350 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_rma:4", |
| 351 | ] |
| 352 | en_run_modes: ["sw_test_mode_rom"] |
| 353 | run_opts: [ |
| 354 | "+sw_test_timeout_ns=50_000_000", |
| 355 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | 399cb53 | 2022-11-16 00:26:03 -0800 | [diff] [blame] | 356 | ] |
| 357 | reseed: 1 |
| 358 | run_timeout_mins: 120 |
| 359 | } |
| 360 | { |
Timothy Trippel | cd1f406 | 2022-11-14 12:34:25 -0800 | [diff] [blame] | 361 | name: rom_e2e_sigverify_always_a_bad_b_nothing_test_unlocked0 |
| 362 | // We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value. |
| 363 | uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq |
| 364 | sw_images: [ |
Timothy Trippel | 86fa2ef | 2022-11-15 12:00:01 -0800 | [diff] [blame] | 365 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_test_key_0", |
Timothy Trippel | cd1f406 | 2022-11-14 12:34:25 -0800 | [diff] [blame] | 366 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_test_unlocked0:4", |
| 367 | ] |
| 368 | en_run_modes: ["sw_test_mode_rom"] |
| 369 | run_opts: [ |
Timothy Trippel | 2bd4574 | 2022-11-14 23:19:52 -0800 | [diff] [blame] | 370 | "+sw_test_timeout_ns=410_000_000", |
Timothy Trippel | cd1f406 | 2022-11-14 12:34:25 -0800 | [diff] [blame] | 371 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | cd1f406 | 2022-11-14 12:34:25 -0800 | [diff] [blame] | 372 | ] |
| 373 | reseed: 1 |
Timothy Trippel | 2bd4574 | 2022-11-14 23:19:52 -0800 | [diff] [blame] | 374 | run_timeout_mins: 480 |
Timothy Trippel | cd1f406 | 2022-11-14 12:34:25 -0800 | [diff] [blame] | 375 | } |
| 376 | { |
| 377 | name: rom_e2e_sigverify_always_a_bad_b_nothing_dev |
| 378 | // We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value. |
| 379 | uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq |
| 380 | sw_images: [ |
Timothy Trippel | 86fa2ef | 2022-11-15 12:00:01 -0800 | [diff] [blame] | 381 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_dev_key_0", |
Timothy Trippel | cd1f406 | 2022-11-14 12:34:25 -0800 | [diff] [blame] | 382 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_dev:4", |
| 383 | ] |
| 384 | en_run_modes: ["sw_test_mode_rom"] |
| 385 | run_opts: [ |
| 386 | "+sw_test_timeout_ns=50_000_000", |
| 387 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | cd1f406 | 2022-11-14 12:34:25 -0800 | [diff] [blame] | 388 | ] |
| 389 | reseed: 1 |
| 390 | run_timeout_mins: 120 |
| 391 | } |
| 392 | { |
| 393 | name: rom_e2e_sigverify_always_a_bad_b_nothing_prod |
| 394 | // We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value. |
| 395 | uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq |
| 396 | sw_images: [ |
Timothy Trippel | 86fa2ef | 2022-11-15 12:00:01 -0800 | [diff] [blame] | 397 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | cd1f406 | 2022-11-14 12:34:25 -0800 | [diff] [blame] | 398 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod:4", |
| 399 | ] |
| 400 | en_run_modes: ["sw_test_mode_rom"] |
| 401 | run_opts: [ |
| 402 | "+sw_test_timeout_ns=50_000_000", |
| 403 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | cd1f406 | 2022-11-14 12:34:25 -0800 | [diff] [blame] | 404 | ] |
| 405 | reseed: 1 |
| 406 | run_timeout_mins: 120 |
| 407 | } |
| 408 | { |
| 409 | name: rom_e2e_sigverify_always_a_bad_b_nothing_prod_end |
| 410 | // We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value. |
| 411 | uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq |
| 412 | sw_images: [ |
Timothy Trippel | 86fa2ef | 2022-11-15 12:00:01 -0800 | [diff] [blame] | 413 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | cd1f406 | 2022-11-14 12:34:25 -0800 | [diff] [blame] | 414 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod_end:4", |
| 415 | ] |
| 416 | en_run_modes: ["sw_test_mode_rom"] |
| 417 | run_opts: [ |
| 418 | "+sw_test_timeout_ns=50_000_000", |
| 419 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | cd1f406 | 2022-11-14 12:34:25 -0800 | [diff] [blame] | 420 | ] |
| 421 | reseed: 1 |
| 422 | run_timeout_mins: 120 |
| 423 | } |
| 424 | { |
| 425 | name: rom_e2e_sigverify_always_a_bad_b_nothing_rma |
| 426 | // We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value. |
| 427 | uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq |
| 428 | sw_images: [ |
Timothy Trippel | 86fa2ef | 2022-11-15 12:00:01 -0800 | [diff] [blame] | 429 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | cd1f406 | 2022-11-14 12:34:25 -0800 | [diff] [blame] | 430 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_rma:4", |
| 431 | ] |
| 432 | en_run_modes: ["sw_test_mode_rom"] |
| 433 | run_opts: [ |
| 434 | "+sw_test_timeout_ns=50_000_000", |
| 435 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | cd1f406 | 2022-11-14 12:34:25 -0800 | [diff] [blame] | 436 | ] |
| 437 | reseed: 1 |
| 438 | run_timeout_mins: 120 |
| 439 | } |
| 440 | { |
Timothy Trippel | 84aaf54 | 2022-11-14 13:01:09 -0800 | [diff] [blame] | 441 | name: rom_e2e_sigverify_always_a_nothing_b_bad_test_unlocked0 |
| 442 | // We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value. |
| 443 | uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq |
| 444 | sw_images: [ |
Timothy Trippel | 86fa2ef | 2022-11-15 12:00:01 -0800 | [diff] [blame] | 445 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:1:ot_flash_binary:signed:fake_test_key_0", |
Timothy Trippel | 84aaf54 | 2022-11-14 13:01:09 -0800 | [diff] [blame] | 446 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_test_unlocked0:4", |
| 447 | ] |
| 448 | en_run_modes: ["sw_test_mode_rom"] |
| 449 | run_opts: [ |
Timothy Trippel | 2bd4574 | 2022-11-14 23:19:52 -0800 | [diff] [blame] | 450 | "+sw_test_timeout_ns=410_000_000", |
Timothy Trippel | 84aaf54 | 2022-11-14 13:01:09 -0800 | [diff] [blame] | 451 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | 84aaf54 | 2022-11-14 13:01:09 -0800 | [diff] [blame] | 452 | ] |
| 453 | reseed: 1 |
Timothy Trippel | 2bd4574 | 2022-11-14 23:19:52 -0800 | [diff] [blame] | 454 | run_timeout_mins: 480 |
Timothy Trippel | 84aaf54 | 2022-11-14 13:01:09 -0800 | [diff] [blame] | 455 | } |
| 456 | { |
| 457 | name: rom_e2e_sigverify_always_a_nothing_b_bad_dev |
| 458 | // We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value. |
| 459 | uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq |
| 460 | sw_images: [ |
Timothy Trippel | 86fa2ef | 2022-11-15 12:00:01 -0800 | [diff] [blame] | 461 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:1:ot_flash_binary:signed:fake_dev_key_0", |
Timothy Trippel | 84aaf54 | 2022-11-14 13:01:09 -0800 | [diff] [blame] | 462 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_dev:4", |
| 463 | ] |
| 464 | en_run_modes: ["sw_test_mode_rom"] |
| 465 | run_opts: [ |
| 466 | "+sw_test_timeout_ns=50_000_000", |
| 467 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | 84aaf54 | 2022-11-14 13:01:09 -0800 | [diff] [blame] | 468 | ] |
| 469 | reseed: 1 |
| 470 | run_timeout_mins: 120 |
| 471 | } |
| 472 | { |
| 473 | name: rom_e2e_sigverify_always_a_nothing_b_bad_prod |
| 474 | // We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value. |
| 475 | uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq |
| 476 | sw_images: [ |
Timothy Trippel | 86fa2ef | 2022-11-15 12:00:01 -0800 | [diff] [blame] | 477 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | 84aaf54 | 2022-11-14 13:01:09 -0800 | [diff] [blame] | 478 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod:4", |
| 479 | ] |
| 480 | en_run_modes: ["sw_test_mode_rom"] |
| 481 | run_opts: [ |
| 482 | "+sw_test_timeout_ns=50_000_000", |
| 483 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | 84aaf54 | 2022-11-14 13:01:09 -0800 | [diff] [blame] | 484 | ] |
| 485 | reseed: 1 |
| 486 | run_timeout_mins: 120 |
| 487 | } |
| 488 | { |
| 489 | name: rom_e2e_sigverify_always_a_nothing_b_bad_prod_end |
| 490 | // We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value. |
| 491 | uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq |
| 492 | sw_images: [ |
Timothy Trippel | 86fa2ef | 2022-11-15 12:00:01 -0800 | [diff] [blame] | 493 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | 84aaf54 | 2022-11-14 13:01:09 -0800 | [diff] [blame] | 494 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod_end:4", |
| 495 | ] |
| 496 | en_run_modes: ["sw_test_mode_rom"] |
| 497 | run_opts: [ |
| 498 | "+sw_test_timeout_ns=50_000_000", |
| 499 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | 84aaf54 | 2022-11-14 13:01:09 -0800 | [diff] [blame] | 500 | ] |
| 501 | reseed: 1 |
| 502 | run_timeout_mins: 120 |
| 503 | } |
| 504 | { |
| 505 | name: rom_e2e_sigverify_always_a_nothing_b_bad_rma |
| 506 | // We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value. |
| 507 | uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq |
| 508 | sw_images: [ |
Timothy Trippel | 86fa2ef | 2022-11-15 12:00:01 -0800 | [diff] [blame] | 509 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:1:ot_flash_binary:signed:fake_prod_key_0", |
Timothy Trippel | 84aaf54 | 2022-11-14 13:01:09 -0800 | [diff] [blame] | 510 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_rma:4", |
| 511 | ] |
| 512 | en_run_modes: ["sw_test_mode_rom"] |
| 513 | run_opts: [ |
| 514 | "+sw_test_timeout_ns=50_000_000", |
| 515 | "+use_otp_image=OtpTypeCustom", |
Timothy Trippel | 84aaf54 | 2022-11-14 13:01:09 -0800 | [diff] [blame] | 516 | ] |
| 517 | reseed: 1 |
| 518 | run_timeout_mins: 120 |
| 519 | } |
| 520 | { |
Timothy Trippel | c98c0e9 | 2022-11-18 01:12:39 -0800 | [diff] [blame] | 521 | name: rom_e2e_asm_init_test_unlocked0 |
| 522 | uvm_test_seq: chip_sw_rom_e2e_asm_init_vseq |
| 523 | sw_images: [ |
| 524 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary:fake_prod_key_0", |
| 525 | "//sw/device/silicon_creator/rom/e2e:otp_img_e2e_bootstrap_entry_test_unlocked0:4", |
| 526 | ] |
| 527 | en_run_modes: ["sw_test_mode_rom"] |
| 528 | run_opts: [ |
| 529 | "+use_otp_image=OtpTypeCustom", |
| 530 | "+sw_test_timeout_ns=410_000_000", |
| 531 | ] |
| 532 | run_timeout_mins: 480 |
| 533 | } |
| 534 | { |
| 535 | name: rom_e2e_asm_init_dev |
| 536 | uvm_test_seq: chip_sw_rom_e2e_asm_init_vseq |
| 537 | sw_images: [ |
| 538 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary:fake_prod_key_0", |
| 539 | "//sw/device/silicon_creator/rom/e2e:otp_img_e2e_bootstrap_entry_dev:4", |
| 540 | ] |
| 541 | en_run_modes: ["sw_test_mode_rom"] |
| 542 | run_opts: [ |
| 543 | "+use_otp_image=OtpTypeCustom", |
| 544 | "+sw_test_timeout_ns=20000000", |
| 545 | ] |
| 546 | run_timeout_mins: 180 |
| 547 | } |
| 548 | { |
| 549 | name: rom_e2e_asm_init_prod |
| 550 | uvm_test_seq: chip_sw_rom_e2e_asm_init_vseq |
| 551 | sw_images: [ |
| 552 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary:fake_prod_key_0", |
| 553 | "//sw/device/silicon_creator/rom/e2e:otp_img_e2e_bootstrap_entry_prod:4", |
| 554 | ] |
| 555 | en_run_modes: ["sw_test_mode_rom"] |
| 556 | run_opts: [ |
| 557 | "+use_otp_image=OtpTypeCustom", |
| 558 | "+sw_test_timeout_ns=20000000", |
| 559 | ] |
| 560 | run_timeout_mins: 180 |
| 561 | } |
| 562 | { |
| 563 | name: rom_e2e_asm_init_prod_end |
| 564 | uvm_test_seq: chip_sw_rom_e2e_asm_init_vseq |
| 565 | sw_images: [ |
| 566 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary:fake_prod_key_0", |
| 567 | "//sw/device/silicon_creator/rom/e2e:otp_img_e2e_bootstrap_entry_prod_end:4", |
| 568 | ] |
| 569 | en_run_modes: ["sw_test_mode_rom"] |
| 570 | run_opts: [ |
| 571 | "+use_otp_image=OtpTypeCustom", |
| 572 | "+sw_test_timeout_ns=20000000", |
| 573 | ] |
| 574 | run_timeout_mins: 180 |
| 575 | } |
| 576 | { |
Timothy Trippel | 5d0bd7f | 2022-11-17 17:48:36 -0800 | [diff] [blame] | 577 | name: rom_e2e_asm_init_rma |
| 578 | uvm_test_seq: chip_sw_rom_e2e_asm_init_vseq |
| 579 | sw_images: [ |
| 580 | "//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary:fake_prod_key_0", |
| 581 | "//sw/device/silicon_creator/rom/e2e:otp_img_e2e_bootstrap_entry_rma:4", |
| 582 | ] |
| 583 | en_run_modes: ["sw_test_mode_rom"] |
| 584 | run_opts: [ |
| 585 | "+use_otp_image=OtpTypeCustom", |
| 586 | "+sw_test_timeout_ns=20000000", |
| 587 | ] |
| 588 | run_timeout_mins: 180 |
Timothy Trippel | 5d0bd7f | 2022-11-17 17:48:36 -0800 | [diff] [blame] | 589 | } |
| 590 | { |
Timothy Trippel | 701b382 | 2022-09-28 16:47:06 -0700 | [diff] [blame] | 591 | name: rom_e2e_static_critical |
| 592 | uvm_test_seq: chip_sw_base_vseq |
| 593 | sw_images: ["//sw/device/silicon_creator/rom/e2e:rom_e2e_static_critical:1:signed"] |
| 594 | en_run_modes: ["sw_test_mode_rom"] |
| 595 | run_opts: ["+sw_test_timeout_ns=20000000"] |
| 596 | } |
Timothy Trippel | 4c0d87e | 2022-11-03 00:13:50 -0700 | [diff] [blame] | 597 | { |
| 598 | name: rom_e2e_keymgr_init |
| 599 | uvm_test_seq: chip_sw_base_vseq |
| 600 | sw_images: ["//sw/device/silicon_creator/rom/e2e:rom_e2e_keymgr_init:1:signed"] |
| 601 | en_run_modes: ["sw_test_mode_rom"] |
| 602 | run_opts: ["+sw_test_timeout_ns=20000000"] |
| 603 | run_timeout_mins: 120 |
| 604 | } |
Timothy Trippel | 105b790 | 2022-12-01 15:20:38 -0800 | [diff] [blame] | 605 | { |
Timothy Trippel | 09bd128 | 2022-12-01 15:28:43 -0800 | [diff] [blame^] | 606 | name: rom_e2e_sigverify_mod_exp_rma_otbn |
| 607 | uvm_test_seq: chip_sw_base_vseq |
| 608 | sw_images: [ |
| 609 | "//sw/device/silicon_creator/rom/e2e:empty_test_sigverify_mod_exp:1:ot_flash_binary:signed:fake_prod_key_0", |
| 610 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_mod_exp_rma_otbn:4", |
| 611 | ] |
| 612 | en_run_modes: ["sw_test_mode_rom"] |
| 613 | run_opts: [ |
| 614 | "+sw_test_timeout_ns=20_000_000" |
| 615 | "+use_otp_image=OtpTypeCustom", |
| 616 | ] |
| 617 | run_timeout_mins: 120 |
| 618 | } |
| 619 | { |
Timothy Trippel | 105b790 | 2022-12-01 15:20:38 -0800 | [diff] [blame] | 620 | name: rom_e2e_sigverify_mod_exp_rma_sw |
| 621 | uvm_test_seq: chip_sw_base_vseq |
| 622 | sw_images: [ |
| 623 | "//sw/device/silicon_creator/rom/e2e:empty_test_sigverify_mod_exp:1:ot_flash_binary:signed:fake_prod_key_0", |
| 624 | "//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_mod_exp_rma_sw:4", |
| 625 | ] |
| 626 | en_run_modes: ["sw_test_mode_rom"] |
| 627 | run_opts: [ |
| 628 | "+sw_test_timeout_ns=20_000_000" |
| 629 | "+use_otp_image=OtpTypeCustom", |
| 630 | ] |
| 631 | run_timeout_mins: 120 |
| 632 | } |
Timothy Trippel | 0a53139 | 2022-06-17 13:49:46 -0700 | [diff] [blame] | 633 | |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 634 | // Signed chip-level tests to be run with ROM, instead of test ROM. |
Timothy Trippel | c64f7f5 | 2022-03-03 17:41:22 -0800 | [diff] [blame] | 635 | { |
| 636 | name: chip_sw_uart_smoketest_signed |
Srikrishna Iyer | 73181b7 | 2022-09-11 02:38:10 -0700 | [diff] [blame] | 637 | uvm_test_seq: chip_sw_uart_smoke_vseq |
Timothy Trippel | cc8c891 | 2022-08-17 17:25:16 -0700 | [diff] [blame] | 638 | sw_images: ["//sw/device/tests:uart_smoketest_signed:1:signed"] |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 639 | en_run_modes: ["sw_test_mode_rom"] |
Timothy Chen | 2cf0ca4 | 2022-05-05 08:58:55 -0700 | [diff] [blame] | 640 | run_opts: ["+sw_test_timeout_ns=20000000"] |
Srikrishna Iyer | 1923e59 | 2022-09-15 03:14:43 -0700 | [diff] [blame] | 641 | run_timeout_mins: 180 |
Timothy Trippel | c64f7f5 | 2022-03-03 17:41:22 -0800 | [diff] [blame] | 642 | } |
| 643 | |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 644 | // ROM func tests to be run with test ROM. |
Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 645 | { |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 646 | name: rom_keymgr_functest |
Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 647 | uvm_test_seq: chip_sw_base_vseq |
Timothy Trippel | ecd8436 | 2022-07-19 17:53:17 -0700 | [diff] [blame] | 648 | sw_images: ["//sw/device/silicon_creator/lib/drivers:keymgr_functest:1"] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 649 | en_run_modes: ["sw_test_mode_test_rom"] |
Timothy Trippel | cd1f406 | 2022-11-14 12:34:25 -0800 | [diff] [blame] | 650 | run_opts: ["+sw_test_timeout_ns=10_000_000"] |
Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 651 | } |
| 652 | ] |
Timothy Trippel | 7a553fb | 2022-01-25 22:02:44 -0800 | [diff] [blame] | 653 | |
Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 654 | regressions: [ |
| 655 | { |
Alphan Ulusoy | 776d2ab | 2022-08-13 16:47:14 -0400 | [diff] [blame] | 656 | name: rom_functests |
| 657 | tests: ["rom_keymgr_functest"] |
Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 658 | } |
Timothy Trippel | 80aa005 | 2022-03-07 22:56:44 -0800 | [diff] [blame] | 659 | { |
| 660 | name: signed |
| 661 | tests: ["chip_sw_uart_smoketest_signed"] |
| 662 | } |
Timothy Trippel | 612bf7d | 2022-11-09 22:46:48 -0800 | [diff] [blame] | 663 | { |
Timothy Trippel | 2f4d93d | 2022-11-15 11:34:27 -0800 | [diff] [blame] | 664 | name: rom_e2e_boot_policy_valid |
| 665 | tests: [ |
| 666 | "rom_e2e_boot_policy_valid_a_good_b_good_test_unlocked0", |
| 667 | "rom_e2e_boot_policy_valid_a_good_b_good_dev", |
| 668 | "rom_e2e_boot_policy_valid_a_good_b_good_prod", |
| 669 | "rom_e2e_boot_policy_valid_a_good_b_good_prod_end", |
| 670 | "rom_e2e_boot_policy_valid_a_good_b_good_rma", |
| 671 | "rom_e2e_boot_policy_valid_a_good_b_bad_test_unlocked0", |
| 672 | "rom_e2e_boot_policy_valid_a_good_b_bad_dev", |
| 673 | "rom_e2e_boot_policy_valid_a_good_b_bad_prod", |
| 674 | "rom_e2e_boot_policy_valid_a_good_b_bad_prod_end", |
| 675 | "rom_e2e_boot_policy_valid_a_good_b_bad_rma", |
Timothy Trippel | f85673f | 2022-11-15 11:38:04 -0800 | [diff] [blame] | 676 | "rom_e2e_boot_policy_valid_a_bad_b_good_test_unlocked0", |
| 677 | "rom_e2e_boot_policy_valid_a_bad_b_good_dev", |
| 678 | "rom_e2e_boot_policy_valid_a_bad_b_good_prod", |
| 679 | "rom_e2e_boot_policy_valid_a_bad_b_good_prod_end", |
| 680 | "rom_e2e_boot_policy_valid_a_bad_b_good_rma", |
Timothy Trippel | 2f4d93d | 2022-11-15 11:34:27 -0800 | [diff] [blame] | 681 | ] |
| 682 | } |
| 683 | { |
Timothy Trippel | 612bf7d | 2022-11-09 22:46:48 -0800 | [diff] [blame] | 684 | name: rom_e2e_sigverify_always |
| 685 | tests: [ |
| 686 | "rom_e2e_sigverify_always_a_bad_b_bad_test_unlocked0", |
| 687 | "rom_e2e_sigverify_always_a_bad_b_bad_dev", |
| 688 | "rom_e2e_sigverify_always_a_bad_b_bad_prod", |
| 689 | "rom_e2e_sigverify_always_a_bad_b_bad_prod_end", |
| 690 | "rom_e2e_sigverify_always_a_bad_b_bad_rma", |
Timothy Trippel | cd1f406 | 2022-11-14 12:34:25 -0800 | [diff] [blame] | 691 | "rom_e2e_sigverify_always_a_bad_b_nothing_test_unlocked0", |
| 692 | "rom_e2e_sigverify_always_a_bad_b_nothing_dev", |
| 693 | "rom_e2e_sigverify_always_a_bad_b_nothing_prod", |
| 694 | "rom_e2e_sigverify_always_a_bad_b_nothing_prod_end", |
| 695 | "rom_e2e_sigverify_always_a_bad_b_nothing_rma", |
Timothy Trippel | 84aaf54 | 2022-11-14 13:01:09 -0800 | [diff] [blame] | 696 | "rom_e2e_sigverify_always_a_nothing_b_bad_test_unlocked0", |
| 697 | "rom_e2e_sigverify_always_a_nothing_b_bad_dev", |
| 698 | "rom_e2e_sigverify_always_a_nothing_b_bad_prod", |
| 699 | "rom_e2e_sigverify_always_a_nothing_b_bad_prod_end", |
| 700 | "rom_e2e_sigverify_always_a_nothing_b_bad_rma", |
Timothy Trippel | 612bf7d | 2022-11-09 22:46:48 -0800 | [diff] [blame] | 701 | ] |
| 702 | } |
Timothy Trippel | 5d0bd7f | 2022-11-17 17:48:36 -0800 | [diff] [blame] | 703 | { |
| 704 | name: rom_e2e_asm_init |
| 705 | tests: [ |
Timothy Trippel | c98c0e9 | 2022-11-18 01:12:39 -0800 | [diff] [blame] | 706 | "rom_e2e_asm_init_test_unlocked0", |
| 707 | "rom_e2e_asm_init_dev", |
| 708 | "rom_e2e_asm_init_prod", |
| 709 | "rom_e2e_asm_init_prod_end", |
Timothy Trippel | 5d0bd7f | 2022-11-17 17:48:36 -0800 | [diff] [blame] | 710 | "rom_e2e_asm_init_rma", |
| 711 | ] |
| 712 | } |
Timothy Trippel | 105b790 | 2022-12-01 15:20:38 -0800 | [diff] [blame] | 713 | { |
| 714 | name: rom_e2e_sigverify_mod_exp |
| 715 | tests: [ |
Timothy Trippel | 09bd128 | 2022-12-01 15:28:43 -0800 | [diff] [blame^] | 716 | "rom_e2e_sigverify_mod_exp_rma_otbn", |
Timothy Trippel | 105b790 | 2022-12-01 15:20:38 -0800 | [diff] [blame] | 717 | "rom_e2e_sigverify_mod_exp_rma_sw", |
| 718 | ] |
| 719 | } |
Timothy Chen | 652e97d | 2021-06-25 09:42:05 -0700 | [diff] [blame] | 720 | ] |
| 721 | } |