Skip to content

Commit 66d3cfb

Browse files
AlexJones0jwnrt
authored andcommitted
[bazel,qemu] Add SiVal QEMU execution environment.
Add a `sim_qemu_sival` environment for running tests with the SiVal lockdowns but without going through `ROM_EXT` to run owner code. Useful for e.g. OTP testing. Signed-off-by: Alex Jones <[email protected]>
1 parent aa2f2bd commit 66d3cfb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

hw/top_earlgrey/BUILD

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,18 @@ sim_qemu(
175175
rom = "//sw/device/silicon_creator/rom:mask_rom",
176176
)
177177

178+
sim_qemu(
179+
name = "sim_qemu_sival",
180+
testonly = True,
181+
base = ":sim_qemu_base",
182+
ecdsa_key = {"//sw/device/silicon_creator/rom/keys/fake/ecdsa:ecdsa_keyset": "prod_key_0"},
183+
exec_env = "sim_qemu_sival",
184+
manifest = "//sw/device/silicon_creator/rom_ext:manifest",
185+
otp = "//hw/ip/otp_ctrl/data/earlgrey_skus/emulation:otp_img_prod_manuf_personalized",
186+
rom = "//sw/device/silicon_creator/rom:mask_rom",
187+
spx_key = {"//sw/device/silicon_creator/rom/keys/fake/spx:spx_keyset": "prod_key_0"},
188+
)
189+
178190
sim_qemu(
179191
name = "sim_qemu_rom_ext",
180192
testonly = True,

0 commit comments

Comments
 (0)