Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Software workload management tool for RISC-V based SoC research. This is the default workload management tool for Chipyard and FireSim.

License

NotificationsYou must be signed in to change notification settings

firesim/FireMarshal

Repository files navigation

FireMarshal is a workload generation tool for RISC-V based systems that automates constructing boot binaries and filesystem images and their evaluation.

Quick Links

Setup

RECOMMENDED Chipyard/FireSim Integration

The easiest way to use FireMarshal is to run it viaChipyard orFireSim.However, this is not required.To run FireMarshal independently, follow along from the next section (Standalone setup).

Standalone Setup

FireMarshal uses theConda package manager to help manage system dependencies.This allows users to create an "environment" that holds system dependencies likemake,git, etc.

Next you can run the following commands to create a FireMarshal environment calledfiremarshal with a RISC-V compatible toolchain:

./scripts/setup-conda.sh --conda-env-name firemarshal

To enter this environment, you then run theactivate command.Note that this command should be run whenever you want to use FireMarshal so that packages can be properly be added to yourPATH.

conda activate firemarshal# or whatever name/prefix you gave during environment creation

In addition to standard packages added in the conda environment, you will need the RISC-V ISA simulator (Spike).To install Spike, please refer tohttps://github.com/riscv-software-src/riscv-isa-sim.

Finally, if you are running as a user on a machine withoutsudo access it is required for you to installguestmount for disk manipulation.You can install this through your default package manager (for ex.apt oryum).You can also follow along with theguestmountinstallation instructions found in the FireSim project.

Basic Usage

If you only want to build bare-metal workloads, you can skip updating submodules.Otherwise, you should update the required submodules by running:

./init-submodules.sh

Building workloads:

./marshal build br-base.json

To run in qemu:

./marshal launch br-base.json

To install into FireSim (assuming FireMarshal is setup within a Chipyard/FireSim installation):

./marshal install br-base.json

Security Note

Be advised that FireMarshal will run initialization scripts provided by workloads.These scripts will have all the permissions your user has, be sure to read all workloads carefully before building them.

Releases

The master branch of this project contains the latest unstable version of FireMarshal.It should generally work correctly, but it may contain bugs or other inconsistencies from time to time.For stable releases, see the release git tags or GitHub releases page.


[8]ページ先頭

©2009-2025 Movatter.jp