You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Introduction

This confluence page describes how to build the firmware.  For this project, there are two flavors of firmware: "Simple" and "PGP".

Licensing

If you are building on a SLAC server:

$ cd /u1/ExampleRceProject/firmware

$ source setup_env.csh

If you are building on a remote server, you (or your IT department) will be responsible for setting up the FLEX_LM licensing server and install Vivado software

Vivado Version

Currently, all firmware targets are locked to Vivado Version 2014.4 and will not build if otherwise.

Creating a build output directory

$ cd /u1/ExampleRceProject/firmware

$ mkdir build

Building SimpleDpm

 

$ cd /u1/ExampleRceProject/firmware/target/SimpleDpm/

$ make

Building SimpleDtm

 

$ cd /u1/ExampleRceProject/firmware/target/SimpleDtm/

$ make

Building PgpDpm

 

$ cd /u1/ExampleRceProject/firmware/target/PgpDpm/

$ make

Building PgpDtm

 

$ cd /u1/ExampleRceProject/firmware/target/PgpDtm/

$ make

Updating the .bit image on the SD memory card

The .bit image on the SD memory card can be updated using the following commands:

$ scp $TARGET_PATH root@$IP_ADDRESS:/mnt/boot/fpga.bit

$ ssh root@192.168.2.117

# sync

# reboot

Where $TARGET_PATH is the path to the new .bit file and $IP_ADDRESS is the IP address of the RCE that you want to update.  The "sync" command synchronizes the SD memory card.

  • No labels