Skip to content

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

Notifications You must be signed in to change notification settings

machinekit/mksocfpga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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