File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
sw/device/silicon_creator/rom_ext/e2e/secver Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -127,22 +127,27 @@ opentitan_test(
127127 --exec="fpga load-bitstream {bitstream}"
128128
129129 # Bootstrap the initial version 0 into SlotA
130+ --exec="no-op --info='##### Bootstrap version 0 to slot A'"
130131 --exec="bootstrap --clear-uart=true {firmware}"
131132 --exec="console --non-interactive --exit-success='rom_ext_min_sec_ver = 0'"
132133
133134 # Rescue and update to SlotB. We expect to update the secver.
135+ --exec="no-op --info='##### Rescue and update to version 1 in slot B (will update secver)'"
134136 --exec="rescue firmware --raw --slot=SlotB fw1.bin"
135137 --exec="console --non-interactive --exit-success='rom_ext_min_sec_ver = 1'"
136138
137139 # Rescue and update to SlotA. We expect NOT to update the secver.
140+ --exec="no-op --info='##### Rescue and update to version 2 in slot A'"
138141 --exec="rescue firmware --raw --slot=SlotA fw2.bin"
139142 --exec="console --non-interactive --exit-success='rom_ext_min_sec_ver = 1'"
140143
141144 # Rescue and update to SlotB. We expect to update the secver.
145+ --exec="no-op --info='##### Rescue and update to version 3 in slot B (will update secver)'"
142146 --exec="rescue firmware --raw --slot=SlotB fw3.bin"
143147 --exec="console --non-interactive --exit-success='rom_ext_min_sec_ver = 3'"
144148
145149 # Finally, bootstrap back to version 0, which we expect NOT to work.
150+ --exec="no-op --info='##### Bootstrap back version 0 to slot A (expecting rollback prevention)'"
146151 --exec="bootstrap --clear-uart=true {firmware}"
147152 --exec="console --non-interactive --exit-success='{exit_success}' --timeout=10s"
148153 no-op
You can’t perform that action at this time.
0 commit comments