The OpenTitan Reference Firmware Images together make up the Opentitan Reference Firmware Stack. Different images are used for different boot stages.
The Reference Firmware Images are, in boot order:
- The ROM (in
sw/device/rom), executed at chip reset;
- The ROM_EXT (in
sw/device/silicon_creator/rom_ext), the second stage Silicon Creator code, executed from flash; and
There are also some other standalone firmware images in the repository, which are only used for testing.
sw/device/testscontains several categories of chip-level tests, including smoke, IP integration, and system-level (use case) tests.
sw/device/riscv_compliance_supportcontains infrastructure so we can run the RISC-V Compliance tests on the OpenTitan core.
sw/device/scacontains on-device software used for Side-Channel Analysis.
sw/device/prebuiltcontains pre-built Tock images, which may not be up-to-date.
sw/device/examplescontains example images, including a simple Hello World.
There are also prototype versions of some of the boot stages, now only used for testing:
sw/device/lib/testing/test_romis a previous, testing-only version of the ROM.
sw/device/extscontains software for our prototype second boot stage images.