https://github.com/machinekit/mksocfpga
Hostmot2 FPGA code for SoC/FPGA platforms from Altera and Xilinx
https://github.com/machinekit/mksocfpga
fpga-platforms zynq
Last synced: 4 months ago
JSON representation
Hostmot2 FPGA code for SoC/FPGA platforms from Altera and Xilinx
- Host: GitHub
- URL: https://github.com/machinekit/mksocfpga
- Owner: machinekit
- Created: 2016-01-30T15:36:12.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-11-11T16:58:59.000Z (over 2 years ago)
- Last Synced: 2024-03-26T23:47:15.583Z (about 2 years ago)
- Topics: fpga-platforms, zynq
- Language: VHDL
- Homepage:
- Size: 28.3 MB
- Stars: 31
- Watchers: 15
- Forks: 40
- Open Issues: 13
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# 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](http://www.machinekit.io/docs/man/man9/hm2_soc_ol/).
## 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/
./build.sh ?
````
### Build the desired FPGA bit file
````
# From the Docker Quartus build image command line, run:
cd /work/HW/QuartusProjects/
./build.sh
# 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 /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 [](https://jenkins.machinekit.io/job/mksocfpga-quartus)~
~packaging [](https://jenkins.machinekit.io/job/mksocfpga-packaging-quartus)~
~Vivado: build [](https://jenkins.machinekit.io/job/mksocfpga-vivado)~
~packaging: [](https://jenkins.machinekit.io/job/mksocfpga-packaging-vivado)~