Skip to content

Instantly share code, notes, and snippets.

@jrsa
Created February 20, 2023 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrsa/892707ddccd544fa42a86e889377b23b to your computer and use it in GitHub Desktop.
Save jrsa/892707ddccd544fa42a86e889377b23b to your computer and use it in GitHub Desktop.
#! /bin/bash
set -ex
design=$1
path=/home/admin
bitbin=$design.bit.bin
fullbitbin=$path/$design.bit.bin
echo $fullbitbin
cp $fullbitbin /lib/firmware
echo $bitbin > /sys/class/fpga_manager/fpga0/firmware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment