Building the FPGA project and Bootloader with Quartus Pro 24.2¶
1. Prerequisites 2. Building the FPGA and Bootloader 3. Building the Filesystem 4. Building the SD Card
Introduction¶
The reference project for the MitySOM-A5E requires the Quartus Pro 24.2 tools installed and in your path.
Please review the Prequisites for software tool dependencies before attempting to build the projects.
Description | Repository | Branch |
Quartus Example Projects | git://support.criticallink.com/home/git/mitysom-a5e-ref.git | pro_24.2_stable |
Quick steps to build¶
Clone the repository¶
git clone -b pro_24.2_stable git://support.criticallink.com/home/git/mitysom-a5e-ref.git
Navigate into the folder for the reference Quartus project desired to build (E.g. mitysom-a5e-ref-base)¶
cd mitysom-a5e-ref-base
Build the FPGA project and Bootloader¶
make jic
This will result in the following:
output_files/a5e.hps.jic - The JIC file contains the preloader which is programming into the QSPI NOR.
output_files/a5e.core.rbf - The RBF file is the FPGA design, this belongs in /lib/firmware of the filesystem
software/bootloader/u-boot-socfpga/u-boot.itb - The bootloader file, this belongs in the FAT partition
Program the QSPI NOR with the preloader¶
The JIC can be programmed using the Altera USB-II Blaster with the following command:
quartus_pgm -m jtag -o "piv;output_files/a5e.hps.jic@2"
Bootloader¶
The preloader is part of the JIC file previously programmed. U-boot (second stage bootloader) is output in software/bootloader/u-boot-socfpga/u-boot.itb after running the make jic command above.
Bootloader Environment¶
The bootloader environment script can be found in software/boot.cmd. This is bootloader script that is ran as part of the boot process. The script can be compiled by running the following:
make uboot_script
The compiled output script will be in software/boot.scr, this belongs in the FAT partition
1. Prerequisites 2. Building the FPGA and Bootloader 3. Building the Filesystem 4. Building the SD Card
Go to top