Skip to content

Dockerized FPGA toolchains containing openxc7, f4pga, vivado and more

Notifications You must be signed in to change notification settings

FPGAOL-CE/osstoolchain-docker-things

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osstoolchain-docker-things

OPENXC7

Pull image: docker pull regymm/openxc7 Build image: docker build -t regymm/openxc7 -f Dockerfile.openxc7 . Documentation: [OpenXC7 Dockerize User Guide](./openxc7/OpenXC7 Dockerized User Guide.md)

F4PGA

F4PGA image based on carlosedp/symbiflow

Pull image: docker pull regymm/symbiflow Build image: docker build -t regymm/symbiflow -f Dockerfile.symbiflow .

VIVADO

The proprietary solution for Xilinx FPGAs.

A local installation is required to be compress to tar.gz format for building the docker file, which certainly won't be released here. Vivado 2019.1 installation using offline full-sized installer is recommended. xsetup --agree XilinxEULA,3rdPartyEULA --batch Install --config install_config.txt can be used for command line installation. A config containing only 7-series devices is here.

See Dockerfile for details.

RISCV TOOLCHAINS

RV32IMA newlib toolchain for compiling baremetal RISC-V 32-bit binaries, like firmware for custom RISC-V SoCs. Run image: docker run regymm/rv32ima.

RV32IMA minimal buildroot toolchain for MMU/No-MMU development. Based on my No MMU buildroot port Contains a pre-built Linux kernel/rootfs ready for QEMU launch.

Run image: docker run regymm/buildroot-rv32mmu and docker run regymm/buildroot-rv32nommu.

QUICKSTART

Clone the test repo:

git clone https://github.com/FPGAOL-CE/user-examples
cd user-examples

Generate Makefile using CaaS Wizard, using pre-built Docker container as an example:

docker run -it --rm -v .:/mnt regymm/caasw
(in Docker)
cd /mnt/basys3
caasw.py mfgen --overwrite

Makefile.caas and run_caas.sh will be generated. You may modify these files for customization, like changing the CHIPDB path.

Do the compilation with OpenXC7 Docker:

./run_caas.sh

Bitstream will be built at ./build/top.bit

About

Dockerized FPGA toolchains containing openxc7, f4pga, vivado and more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published