blob: 5597d2b67973891c64f266b550425e32d5d01dec [file] [log] [blame]
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
{
# This auxiliary chip sim cfg specification focuses on chip level rom functional tests.
# Please see chip_sim_cfg.hjson for full setup details.
# Note: Please maintain alphabetical order.
tests: [
// ROM E2E tests.
{
name: rom_e2e_smoke
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary"]
en_run_modes: ["sw_test_mode_rom"]
run_opts: ["+sw_test_timeout_ns=20000000"]
}
{
name: rom_e2e_shutdown_exception_c
uvm_test_seq: chip_sw_rom_e2e_shutdown_exception_c_vseq
sw_images: ["//sw/device/silicon_creator/rom/e2e:rom_e2e_shutdown_exception_c:1:signed"]
en_run_modes: ["sw_test_mode_rom"]
run_opts: ["+sw_test_timeout_ns=20000000"]
run_timeout_mins: 120
}
{
name: rom_e2e_shutdown_output
uvm_test_seq: chip_sw_rom_e2e_shutdown_output_vseq
# Note: this is an unsigned test, as we are verifying a boot failure.
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary",
"//sw/device/silicon_creator/rom/e2e:otp_img_shutdown_output_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=20000000",
"+use_otp_image=OtpTypeCustom",
]
}
{
name: rom_e2e_boot_policy_valid_a_good_b_good_test_unlocked0
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=410_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 480
}
{
name: rom_e2e_boot_policy_valid_a_good_b_good_dev
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_dev:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_good_b_good_prod
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_good_b_good_prod_end
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod_end:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_good_b_good_rma
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_rma:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_good_b_bad_test_unlocked0
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=410_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 480
}
{
name: rom_e2e_boot_policy_valid_a_good_b_bad_dev
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_dev:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_good_b_bad_prod
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_good_b_bad_prod_end
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod_end:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_good_b_bad_rma
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_rma:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_bad_b_good_test_unlocked0
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=410_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 480
}
{
name: rom_e2e_boot_policy_valid_a_bad_b_good_dev
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_dev:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_bad_b_good_prod
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_bad_b_good_prod_end
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_prod_end:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_boot_policy_valid_a_bad_b_good_rma
uvm_test_seq: chip_sw_base_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_boot_policy_valid_rma:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 180
}
{
name: rom_e2e_sigverify_always_a_bad_b_bad_test_unlocked0
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_test_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_test_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=410_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 480
}
{
name: rom_e2e_sigverify_always_a_bad_b_bad_dev
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_dev_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_dev_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_dev:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_bad_b_bad_prod
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_bad_b_bad_prod_end
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod_end:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_bad_b_bad_rma
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:2:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_rma:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_bad_b_nothing_test_unlocked0
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_test_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=410_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 480
}
{
name: rom_e2e_sigverify_always_a_bad_b_nothing_dev
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_dev_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_dev:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_bad_b_nothing_prod
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_bad_b_nothing_prod_end
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod_end:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_bad_b_nothing_rma
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_rma:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_nothing_b_bad_test_unlocked0
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:1:ot_flash_binary:signed:fake_test_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=410_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 480
}
{
name: rom_e2e_sigverify_always_a_nothing_b_bad_dev
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:1:ot_flash_binary:signed:fake_dev_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_dev:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_nothing_b_bad_prod
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_nothing_b_bad_prod_end
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_prod_end:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_sigverify_always_a_nothing_b_bad_rma
// We can use the same vseq as the `*_a_bad_b_bad_*` tests above, as we expect the same ROM boot fault value.
uvm_test_seq: chip_sw_rom_e2e_sigverify_always_a_bad_b_bad_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_b_corrupted:1:ot_flash_binary:signed:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_sigverify_always_rma:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+sw_test_timeout_ns=50_000_000",
"+use_otp_image=OtpTypeCustom",
]
reseed: 1
run_timeout_mins: 120
}
{
name: rom_e2e_asm_init_test_unlocked0
uvm_test_seq: chip_sw_rom_e2e_asm_init_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_e2e_bootstrap_entry_test_unlocked0:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_otp_image=OtpTypeCustom",
"+sw_test_timeout_ns=410_000_000",
]
run_timeout_mins: 480
}
{
name: rom_e2e_asm_init_dev
uvm_test_seq: chip_sw_rom_e2e_asm_init_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_e2e_bootstrap_entry_dev:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_otp_image=OtpTypeCustom",
"+sw_test_timeout_ns=20000000",
]
run_timeout_mins: 180
}
{
name: rom_e2e_asm_init_prod
uvm_test_seq: chip_sw_rom_e2e_asm_init_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_e2e_bootstrap_entry_prod:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_otp_image=OtpTypeCustom",
"+sw_test_timeout_ns=20000000",
]
run_timeout_mins: 180
}
{
name: rom_e2e_asm_init_prod_end
uvm_test_seq: chip_sw_rom_e2e_asm_init_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_e2e_bootstrap_entry_prod_end:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_otp_image=OtpTypeCustom",
"+sw_test_timeout_ns=20000000",
]
run_timeout_mins: 180
}
{
name: rom_e2e_asm_init_rma
uvm_test_seq: chip_sw_rom_e2e_asm_init_vseq
sw_images: [
"//sw/device/silicon_creator/rom/e2e:empty_test_slot_a:1:signed:ot_flash_binary:fake_prod_key_0",
"//sw/device/silicon_creator/rom/e2e:otp_img_e2e_bootstrap_entry_rma:4",
]
en_run_modes: ["sw_test_mode_rom"]
run_opts: [
"+use_otp_image=OtpTypeCustom",
"+sw_test_timeout_ns=20000000",
]
run_timeout_mins: 180
}
{
name: rom_e2e_static_critical
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/silicon_creator/rom/e2e:rom_e2e_static_critical:1:signed"]
en_run_modes: ["sw_test_mode_rom"]
run_opts: ["+sw_test_timeout_ns=20000000"]
}
{
name: rom_e2e_keymgr_init
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/silicon_creator/rom/e2e:rom_e2e_keymgr_init:1:signed"]
en_run_modes: ["sw_test_mode_rom"]
run_opts: ["+sw_test_timeout_ns=20000000"]
run_timeout_mins: 120
}
// Signed chip-level tests to be run with ROM, instead of test ROM.
{
name: chip_sw_uart_smoketest_signed
uvm_test_seq: chip_sw_uart_smoke_vseq
sw_images: ["//sw/device/tests:uart_smoketest_signed:1:signed"]
en_run_modes: ["sw_test_mode_rom"]
run_opts: ["+sw_test_timeout_ns=20000000"]
run_timeout_mins: 180
}
// ROM func tests to be run with test ROM.
{
name: rom_keymgr_functest
uvm_test_seq: chip_sw_base_vseq
sw_images: ["//sw/device/silicon_creator/lib/drivers:keymgr_functest:1"]
en_run_modes: ["sw_test_mode_test_rom"]
run_opts: ["+sw_test_timeout_ns=10_000_000"]
}
]
regressions: [
{
name: rom_functests
tests: ["rom_keymgr_functest"]
}
{
name: signed
tests: ["chip_sw_uart_smoketest_signed"]
}
{
name: rom_e2e_boot_policy_valid
tests: [
"rom_e2e_boot_policy_valid_a_good_b_good_test_unlocked0",
"rom_e2e_boot_policy_valid_a_good_b_good_dev",
"rom_e2e_boot_policy_valid_a_good_b_good_prod",
"rom_e2e_boot_policy_valid_a_good_b_good_prod_end",
"rom_e2e_boot_policy_valid_a_good_b_good_rma",
"rom_e2e_boot_policy_valid_a_good_b_bad_test_unlocked0",
"rom_e2e_boot_policy_valid_a_good_b_bad_dev",
"rom_e2e_boot_policy_valid_a_good_b_bad_prod",
"rom_e2e_boot_policy_valid_a_good_b_bad_prod_end",
"rom_e2e_boot_policy_valid_a_good_b_bad_rma",
"rom_e2e_boot_policy_valid_a_bad_b_good_test_unlocked0",
"rom_e2e_boot_policy_valid_a_bad_b_good_dev",
"rom_e2e_boot_policy_valid_a_bad_b_good_prod",
"rom_e2e_boot_policy_valid_a_bad_b_good_prod_end",
"rom_e2e_boot_policy_valid_a_bad_b_good_rma",
]
}
{
name: rom_e2e_sigverify_always
tests: [
"rom_e2e_sigverify_always_a_bad_b_bad_test_unlocked0",
"rom_e2e_sigverify_always_a_bad_b_bad_dev",
"rom_e2e_sigverify_always_a_bad_b_bad_prod",
"rom_e2e_sigverify_always_a_bad_b_bad_prod_end",
"rom_e2e_sigverify_always_a_bad_b_bad_rma",
"rom_e2e_sigverify_always_a_bad_b_nothing_test_unlocked0",
"rom_e2e_sigverify_always_a_bad_b_nothing_dev",
"rom_e2e_sigverify_always_a_bad_b_nothing_prod",
"rom_e2e_sigverify_always_a_bad_b_nothing_prod_end",
"rom_e2e_sigverify_always_a_bad_b_nothing_rma",
"rom_e2e_sigverify_always_a_nothing_b_bad_test_unlocked0",
"rom_e2e_sigverify_always_a_nothing_b_bad_dev",
"rom_e2e_sigverify_always_a_nothing_b_bad_prod",
"rom_e2e_sigverify_always_a_nothing_b_bad_prod_end",
"rom_e2e_sigverify_always_a_nothing_b_bad_rma",
]
}
{
name: rom_e2e_asm_init
tests: [
"rom_e2e_asm_init_test_unlocked0",
"rom_e2e_asm_init_dev",
"rom_e2e_asm_init_prod",
"rom_e2e_asm_init_prod_end",
"rom_e2e_asm_init_rma",
]
}
]
}