Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/firesim/firesim-software
Browse files Browse the repository at this point in the history
…into nvdla
  • Loading branch information
farzadfch committed Mar 28, 2019
2 parents 50b45f6 + dde6a03 commit 89efe35
Show file tree
Hide file tree
Showing 247 changed files with 8,483 additions and 3,631 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
*.img
*-bin
*.swp
test.log
fedora/Fedora-Developer-Rawhide-20181015.n.0-sda.raw
fedora/Fedora-Developer-Rawhide-20181015.n.0-sda.raw.xz
fedora/rootfs.cpio
br/buildroot-overlay/usr/darknet-nvdla/
darknet-nvdla.tar.gz
*__pycache__
_command.sh
.doit.db
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
path = riscv-pk
url = https://github.com/firesim/riscv-pk.git
[submodule "br/buildroot"]
path = br/buildroot
path = wlutil/br/buildroot
url = https://github.com/sifive/buildroot.git
34 changes: 12 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,19 @@
firesim-software
FireMarshal (firesim-software)
==================================

This builds base images for several linux-based distros that work with qemu,
This tool builds base images for several linux-based distros that work with qemu,
spike, and firesim.

## How to use:
All builds are controlled through json files. For example, br-disk.json will
build/run the disk-based buildroot distro.
This is just a quick primer. To see full documentation, please see the official
firesim documentation. Find pre-built documentation for the latest FireSim here:
https://docs.fires.im/en/latest/Advanced-Usage/FireMarshal/index.html

Prereq/Init:
Be sure to update/init submodules. The following will require the riscv-tools
on your path and a recent version of qemu.
You can also find the latest FireSim source at:
https://github.com/firesim/firesim

To build:
./sw-manager.py -c CONFIG.json build
## Requirements
This project was written for python 3.4

To run on qemu:
./sw-manager.py -c CONFIG.json launch

To run on spike:
./sw-manager.py -c CONFIG.json launch -s

To run on FireSim:
See the firesim documentation.

Tl;Dr: images built with build.py will work on firesim, you just need to update
the symlinks in workloads/deploy/ and then run them as normal. This will be
intergrated more completely in future releases.
python-requirements.txt and centos-requirements.txt are incomplete lists of
required packages for python3. If you find that you need a package not in those
lists, please file an issue.
8 changes: 0 additions & 8 deletions br-disk.json

This file was deleted.

7 changes: 0 additions & 7 deletions br-initramfs.json

This file was deleted.

8 changes: 0 additions & 8 deletions br/Makefile

This file was deleted.

10 changes: 0 additions & 10 deletions br/build.sh

This file was deleted.

Loading

0 comments on commit 89efe35

Please sign in to comment.