commit | b867c1c8dc7d936f9b8a10c368a60b55dc8e3800 | [log] [tgz] |
---|---|---|
author | Timothy Trippel <ttrippel@google.com> | Wed Aug 03 23:42:16 2022 -0700 |
committer | Timothy Trippel <5633066+timothytrippel@users.noreply.github.com> | Thu Aug 04 11:58:52 2022 -0700 |
tree | 3c92182d726ccc3a858a320b00e42b63bb45e158 | |
parent | 6e2cf65b5e316d0fb6d349921060e0363cf52aaa [diff] |
[bazel] generate unsigned and signed flash images simultaneously There is a parameter on the `opentitan_flash_binary` macro that enables the generation of signed images. When a `opentitan_functest` macro passes this parameter through to the `opentitan_flash_binary`, and this parameter was set to `true`, then only signed images would be generated. This was an issue for chip-level tests like the UART smoke test that run with both test ROM and mask ROM in DV sim nightly regressions as the unsigned image would never get generated, and the testbench would look for the unsigned image. This fixes this by generating both signed and unsigned images when the `signed` flag is true, and only unsigned images when the signed flag is false. This enables the same bazel label to be passed to both dvsim.py invocations to run two different tests. Signed-off-by: Timothy Trippel <ttrippel@google.com>
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING and our documentation on project organization and processes for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).