README
This commit is contained in:
parent
aa0c89ce09
commit
6988465183
5
Makefile
5
Makefile
|
@ -2,11 +2,6 @@
|
||||||
buildroot-image litex-f4pga-image hardware-container \
|
buildroot-image litex-f4pga-image hardware-container \
|
||||||
upsilon.tar.gz upsilon-opensbi.tar.gz
|
upsilon.tar.gz upsilon-opensbi.tar.gz
|
||||||
|
|
||||||
help:
|
|
||||||
@echo 'compile commands (run in order)'
|
|
||||||
@echo 'make clone: clone repositories'
|
|
||||||
@echo 'make images: build docker images'
|
|
||||||
|
|
||||||
###### Images
|
###### Images
|
||||||
|
|
||||||
images: hardware-image buildroot-image opensbi-image
|
images: hardware-image buildroot-image opensbi-image
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
Upsilon development environment setup.
|
Upsilon docker development environment setup.
|
||||||
Written by Peter McGoron.
|
Written by Peter McGoron.
|
||||||
|
|
||||||
# Preqreuisites
|
# Setup steps
|
||||||
|
|
||||||
## Rebinding Caps Lock to Escape
|
## Rebinding Caps Lock to Escape
|
||||||
|
|
||||||
|
@ -33,6 +33,23 @@ If you have issues with docker, try adding to `~/.config/docker/daemon.json`
|
||||||
|
|
||||||
Install `python3-venv` (or `python3-virtualenv`) and `python3-pip`.
|
Install `python3-venv` (or `python3-virtualenv`) and `python3-pip`.
|
||||||
|
|
||||||
# Setup Build Environment
|
## Clone External Repositories
|
||||||
|
|
||||||
|
Run `make clone`. You may need to download the upsilon repositories
|
||||||
|
and put them in the same folder as the Makefile.
|
||||||
|
|
||||||
|
## Setup Images
|
||||||
|
|
||||||
|
Run `make images` to create all docker images.
|
||||||
|
|
||||||
|
## Setup and Run Containers
|
||||||
|
|
||||||
|
There are three containers: `hardware`, `buildroot`, and `opensbi`. For
|
||||||
|
each of these:
|
||||||
|
|
||||||
|
1. Run `make $NAME-container` to build the container.
|
||||||
|
2. Run `make $NAME-container-copy` to copy Upsilon's code into the container.
|
||||||
|
3. Run `make $NAME-container-execute` to build the data.
|
||||||
|
4. Run `make $NAME-container-get` to retrieve the build artefacts.
|
||||||
|
5. (Optionally) run `make $NAME-container-clean` to delete the container.
|
||||||
|
|
||||||
Run `make image container attach`.
|
|
Reference in New Issue