lowRISC / opentitan

OpenTitan: Open source silicon root of trust
https://www.opentitan.org
Apache License 2.0
2.59k stars 781 forks source link

[bazel,rom_ext,manuf] develop reference non-mutable ROM_EXT code section and tooling support #24368

Open timothytrippel opened 3 months ago

timothytrippel commented 3 months ago

23425 added a feature to the Earlgrey PROD ROM to support execution of a non-mutable ROM_EXT code section in the ROM before handing execution over to the ROM_EXT itself. To enable using this feature, we should develop:

  1. a reference implementation of the most common use case for this feature (namely to perform UDS and CDI_0 key and certificate generation), and
  2. Bazel build rules to enable building this code section as a separate CC binary and embedding it directly in the ROM_EXT binary
  3. Bazel tooling to enable building an individualization binary with the proper code of hash of the expected non-mutable ROM_EXT to be deployed in a device's transport image
sasdf commented 3 weeks ago

Tasks for imm_rom_ext main logics