commit | 03a68377235b2305ef328e4eb20efdd2c95b8bcd | [log] [tgz] |
---|---|---|
author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Thu Oct 15 14:08:31 2020 +0100 |
committer | Rupert Swarbrick <rswarbrick@gmail.com> | Tue Oct 27 09:51:22 2020 +0000 |
tree | 0e79012f21c688f7b9128181e6fde74f433a223e | |
parent | fe8ab97ca6973c136d9cf0abb3e8df488e195e91 [diff] |
[memutil] Load ELF files via a staging area This doesn't change the behaviour of LoadElfToMemories (the core of memutil's ELF loading code), but the function now works in two stages. The first stage loads the code into segments that are split between the named memories (stored in staging_area_). The second stage iterates over these memories and segments loading them into the memory. Of course, the point of this is that we can choose to do just the first stage (by calling StageElf) and then programmatically get at the segments. This will be used by a following commit to expose the contents of the ELF over DPI to the OTBN testbench. Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
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 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).