To run C/C++ applications on F1, build an AMI & AFI (instructions below), and
then run make regression
inside of bsg_replicant on the generated AMI.
These steps will build the FPGA image and upload it to AWS. FPGA_IMAGE_VERSION
will be used as the value for the 'Version' key in AFI Tags. The new AFI/AGFI
IDs are printed on the command line and in upload.json.
To run these steps, you will need to install the Amazon Web Services Command Line Interface (CLI) and configure it for your user account.
-
Clone this repository.
-
Update the
FPGA_IMAGE_VERSION
variable in project.mk to avoid naming conflicts. (FPGA_IMAGE_VERSION
will be used as the value for the 'Version' key in the AMI and AFI Tags.) -
Run
make build-afi
from inside this repository.
The new AFI/AGFI IDs are printed on the command line and in upload.json.
These steps will build the Machine image and upload it to
AWS. FPGA_IMAGE_VERSION
will be used as the value for the 'Version' key in AMI
Tags.
To run these steps, you will need to install the Amazon Web Services Command Line Interface (CLI) and configure it for your user account.
-
Clone this repository.
-
Update the
FPGA_IMAGE_VERSION
variable in project.mk to avoid naming conflicts. (FPGA_IMAGE_VERSION
will be used as the value for the 'Version' key in the AMI and AFI Tags.) -
Commit changes and push to a branch. (This step is critical!)
-
Run
make build-ami
from inside this repository.