Development Board Firmware/Software Examples
- Create a github account:
- On the Linux machine that you will clone the github from, generate a SSH key (if not already done)
https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/
- Add a new SSH key to your GitHub account
https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/
- Setup for large filesystems on github
$ git lfs install
$ git clone --recursive git@github.com:slaclab/dev-board-examples
- Setup Xilinx licensing
If you are on the SLAC network, here's how to setup the Xilinx licensing
In C-Shell:
$ source dev-board-examples/firmware/setup_env_slac.csh
In Bash:
$ source dev-board-examples/firmware/setup_env_slac.sh
- Go to the target directory (that you want to build) and make the firmware:
Example of building the Ac701GigE firmware example target
$ cd dev-board-examples/firmware/targets/XilinxKCU105DevBoard/Ac701GigE
$ make
- Optional: Review the results in GUI mode
$ make gui
- Install 'rogue' software on your platform
Build instrustions can be found here:
https://github.com/slaclab/rogue/blob/master/Readme_build.txt
If you are on the SLAC network, there in a network install of rogue on AFS:
/afs/slac/g/reseng/rogue/master/
- Go to your git clone's rogue software directory
$ cd dev-board-examples/software/rogue
- Setup your environment (example below assumes access to SLAC AFS):
$ source setup_template.csh
- Launch the PyQT QUI
$ python3 scripts/DevBoardGui.py