commit | 399af406069a3123f13380368bef66db0f17a62a | [log] [tgz] |
---|---|---|
author | Drew Macrae <drewmacrae@google.com> | Mon Nov 01 18:15:09 2021 +0000 |
committer | cfrantz <frantzcj+github@gmail.com> | Wed Nov 24 14:48:29 2021 -0800 |
tree | a9ee8a8d2d288f5c7f8e11612479888f18cad133 | |
parent | a9aec87b1fdd7426082e032b47e5e6760aa3de8f [diff] |
[bazel] Rules to build the boot-rom. * Adding resources to stamp the bootrom * Fulfilling and tweaking boot-rom dependencies for bazel * scramble_image.py * rom_chip_info.py * take version input as a file not a command-line arg * added autogen for hw/ip/rv_core_ibex/data * Added a rule to autogen chip_info * Added a rule to build ibex_peri.c in sw/device/lib * added a shell script to list details of workspace for a boot-rom stamp Tested: ``` build/lowrisc_dv_chip_verilator_sim_0.1/sim-verilator/Vchip_sim_tb --meminit=rom,bazel-out/k8-fastbuild-ST-b8775c98f59c/bin/sw/device/boot_rom/boot_rom_verilator.scr.40.vmem --meminit=flash,bazel-out/k8-fastbuild-ST-b8775c98f59c/bin/sw/device/examples/hello_world/hello_world_verilator.elf --meminit=otp,build-bin/sw/device/otp_img/otp_img_sim_verilator.vmem ``` outputs: ``` I00001 boot_rom.c:70] Boot ROM initialisation has completed, jump into flash! ``` to uart0.log Signed-off-by: Drew Macrae <drewmacrae@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).