Skip to content

Instantly share code, notes, and snippets.

@mithro
Created October 8, 2015 17:08
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 mithro/1c93d628a57c639608f8 to your computer and use it in GitHub Desktop.
Save mithro/1c93d628a57c639608f8 to your computer and use it in GitHub Desktop.
Script to get the latest firmware for the HDMI2USB from the prebuilt repo.
#!/bin/bash
set -x
set -e
BOARD=${1:-atlys}
VERSION=${1:-unstable}
SYMLINK="$(wget https://raw.githubusercontent.com/timvideos/HDMI2USB-firmware-prebuilt/master/${BOARD}/firmware/${VERSION} -O- -q)"
for F in ${BOARD}_hdmi2usb-hdmi2usbsoc-${BOARD}.bit hdmi2usb.hex sha254sum.txt; do
rm $F || true
wget https://github.com/timvideos/HDMI2USB-firmware-prebuilt/raw/master/${BOARD}/firmware/${SYMLINK}/${F}
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment