Convert firmware and CI to use HOG
Convert firmware project to use Hog.
The advantages are:
- Cleaner structure that is meant for version control.
- Centrally supported CI implementation.
The compilation of Petalinux is done via "Pog", a custom set of scripts to run over the results of Hog. The ./Pog/BuildPetalinux.sh
script the petalinux project inside petalinux/
and copies the resulting image to bin/firwmarename/projectname
.
The CI builds two images: one meant for NFS (nfs
) and one meant for boot from SD card (sdcard
).
Instruction for compilation are:
The following commands will package our custom IP blocks.
./Hog/CreateProject.sh endeavour_ip
./Hog/CreateProject.sh amacv2_digital_io_ip
./Hog/CreateProject.sh freqmeas_ip
Create the Vivado project for the top-level firmware.
./Hog/CreateProject.sh microzed_7020
Compile the top-level project.
./Hog/LaunchWorkflow.sh microzed_7020
An PetaLinux image will be built for each firwmare in bin/
. There are two variations of PetaLinux available (sdcard
and nfs
). To build the sdcard
variation, run the fullowing:
./Pog/BuildPetalinux.sh sdcard