Skip to content

Instantly share code, notes, and snippets.

View mithro's full-sized avatar

Tim 'mithro' Ansell mithro

View GitHub Profile
@mithro
mithro / keybase.md
Last active August 29, 2015 14:05
Keybase Gist

Keybase proof

I hereby claim:

  • I am mithro on github.
  • I am mithro (https://keybase.io/mithro) on keybase.
  • I have a public key whose fingerprint is 76DA C924 D054 91E1 0805 2863 156E EC09 090A C729

To claim this, I am signing this object:

@mithro
mithro / gist:fe144b0c24bfc3a7f317
Created September 22, 2014 06:53
OpenCores.org DNS Details
92.43.36.68 opencores.org
92.43.36.68 www.opencores.org
92.43.36.68 cdn.opencores.org
92.43.36.68 bugzilla.opencores.org
92.43.36.70 git.opencores.org
92.43.36.70 lists.opencores.org
92.43.36.70 openrisc.opencores.org
92.43.36.70 mailman.opencores.org
There appears to be a wildcard which maps *.opencores.org to 92.43.36.68
@mithro
mithro / Commands.md
Last active August 29, 2015 14:06
gst-plugins-bad to gst-plugins-ptz || gst-plugins-speakertrack commands

Aim make a new gst-plugins-ptz and gst-plugins-speakertrack repositories which contain the history of the modules which is currently found inside https://github.com/timvideos/gst-plugins-bad and https://github.com/timvideos/gst-switch

Then to merge the gst-plugins template and make them compile as stand alone modules which can be installed in the same way gst-plugins-dvswitch can.

Current value of the gst-switch/temp/temp file;

git filter-branch -f --prune-empty --index-filter \
  'git rm --cached -r -q -- . ; git reset -q $GIT_COMMIT -- tests/examples/speakertrack ext/speakertrack tool/gst-switch gst/tcpfunnel' -- --all

Files: 70-persistent-net.rules fake.conf setup-xilinx.sh

70-persistent-net.rules

SUBSYSTEM=="net", KERNEL=="dummy0", NAME="eth0"

# USB device 0x:0x (ax88179_178a)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="8c:ae:4c:ee:0a:ce", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
@mithro
mithro / get-firmware.sh
Created October 8, 2015 17:08
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)"
@mithro
mithro / ryan.py
Created October 29, 2015 03:39
Modified Ryan's script
#!/usr/bin/python
import time
import serial
import Tkinter
SERIAL = "/dev/ttyVIZ0"
EXPECT = "HDMI2USB>"
INIT = """
output0 on
output1 off
#!/bin/bash
# Make sure you have v4l-info installed
# sudo apt-get install v4l-conf
for VIDEO in /dev/video*; do
if v4l-info $VIDEO | grep 'HDMI2USB' > /dev/null 2>&1; then
echo $VIDEO
break
fi
done
@mithro
mithro / clone-n-update-litex.sh
Last active October 13, 2017 05:50
Script to get all the enjoy-digital repos and set up a conda environment for using them in
#! /bin/bash
# Get environment setup for working with nexys+netv2 SoC
if [ "`whoami`" = "root" ]
then
echo "Running the script as root is not permitted"
exit 1
fi
@mithro
mithro / HDMI-Testing.txt
Created August 23, 2016 00:36
HDMI Testing Instructions
----------------------------
# Test 0 - 5V power supply test
* Power on the board with nothing connected to the HDMI ports.
* On RX ports, +5V pin should be ~0V.
* On TX ports, +5V pin should be 5V.
* Shorting the +5V pin to ground on any port should not cause board
@mithro
mithro / lcanotes.txt
Created August 23, 2016 00:41
Notes from LCA about Opsis stuff
* VGA output not working on the Opsis board
### d2.212
#-------------------------------------------------------------
HDMI1 connected primary 1280x720+0+0 (normal left inverted right x axis y axis) 16mm x 9mm
EDID:
00ffffffffffff00170e000000000000
00130103800000782a00000000000000