/mksocfpga

Hostmot2 FPGA code for SoC/FPGA platforms from Altera and Xilinx

Primary LanguageVHDL

Further development of the mksocfpga project for the Snickerdoodle development board

This fork of mksocfpga is aimed at getting hostmot2 firmware running on the Snickerdoodle development board (http://krtkl.com), with a specific focus on developing a 3D printer configuration for mksocfpga. Most, if not all development is going on in the HW/VivadoProjects/snickerdoodle folder. You can find some information there about how I am building the firmware.

Mesanet.com firmware for the CycloneV and Zynq

hostmot2 firmware for Altera and Xilinx SoC/FPGA platforms, works with the Machinekit hm2_soc_ol driver.

Building for CycloneV platforms:

build docker images from https://github.com/machinekit/mksocfpga.git

docker pull cdsteinkuehler/jessie-quartus-15.1.2

git clone https://github.com/machinekit/mksocfpga.git/
cd mksocfpga
docker run -itv $(pwd):/work cdsteinkuehler/jessie-quartus-15.1.2 /work/build.quartus.sh

Building a single CycloneV bit file:

build docker images from https://github.com/machinekit/mksocfpga.git

Launch a Docker build machine with the latest mksocfpga source code

docker pull cdsteinkuehler/jessie-quartus-15.1.2

git clone https://github.com/machinekit/mksocfpga.git/
cd mksocfpga
docker run -itv $(pwd):/work cdsteinkuehler/jessie-quartus-15.1.2 /bin/bash

# You should now have a command prompt for the Docker Quartus build image

Build the firmware-id protobuf bindings

# From the Docker Quartus build image command line, run:
cd /work/HW/firmware-tag
make TOPDIR=/work py-proto

See bitfile configs available in a project

# From the Docker Quartus build image command line, run:
cd /work/HW/QuartusProjects/<project>
./build.sh ?

Build the desired FPGA bit file

# From the Docker Quartus build image command line, run:
cd /work/HW/QuartusProjects/<project>
./build.sh <config>

# ie:
cd /work/HW/QuartusProjects/DE0_Nano_SoC_DB25
./build.sh 7I76_7I76_7I76_7I76

Building for Zynq platforms:

build docker images from https://github.com/dkhughes/vivado-docker.

docker run -itv $(pwd):/work <maintainer>/jessie-vivado-2015.4 /work/build.vivado.sh

Debian packages

repo: http://deb.machinekit.io/debian jessie main

CycloneV: apt install socfpga-rbf

Zynq: apt install socfpga-bit

Quartus: build Quartus Build Status packaging Debian Packaging Status

Vivado: build Vivado Build Status packaging: Build Status