Add example robot file to load bootloader and check Hello World.
diff --git a/shodan_bootrom.robot b/shodan_bootrom.robot new file mode 100644 index 0000000..c00b239 --- /dev/null +++ b/shodan_bootrom.robot
@@ -0,0 +1,22 @@ + +*** Settings *** +Suite Setup Setup +Suite Teardown Teardown +Test Setup Reset Emulation +Resource ${RENODEKEYWORDS} + +*** Test Cases *** +Should Boot from BootROM + Execute Command mach create + Execute Command machine LoadPlatformDescription @${PATH}/sim/config/shodan_secure.repl + Execute Command sysbus LoadELF @${PATH}/out/opentitan/build-bin/sw/device/boot_rom/boot_rom_sim_verilator.elf + Execute Command sysbus LoadELF @${PATH}/out/opentitan/build-bin/sw/device/examples/hello_world/hello_world_sim_verilator.elf + Execute Command sysbus.cpu_0 PC 0x8084 + + Create Terminal Tester sysbus.uart + + Start Emulation + + Wait For Line On Uart Hello World + +