Skip to content

Instantly share code, notes, and snippets.

View mithro's full-sized avatar

Tim 'mithro' Ansell mithro

View GitHub Profile
@mattisz
mattisz / ipmi-updater.py
Last active May 14, 2024 21:44 — forked from dekimsey/ipmi-updater.py
Supermicro IPMI certificate updater
#!/usr/bin/env python3
# vim: autoindent tabstop=4 shiftwidth=4 expandtab softtabstop=4 filetype=python
# This file is part of Supermicro IPMI certificate updater.
# Supermicro IPMI certificate updater is free software: you can
# redistribute it and/or modify it under the terms of the GNU General Public
# License as published by the Free Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
@geerlingguy
geerlingguy / increase-pci-bar-space.sh
Last active May 7, 2024 15:31
Increase the BAR memory address space for PCIe devices on the Raspberry Pi Compute Module 4
#!/bin/bash
# The default BAR address space available on the CM4 may be too small to allow
# some devices to initialize correctly. To avoid 'failed to assign memory'
# errors on boot, you can increase the range of the PCIe bus in the Raspberry
# Pi's Device Tree (a .dtb file specific to each Pi model).
#
# You should probably read up on Device Trees if you don't know what they are:
# https://www.raspberrypi.org/documentation/configuration/device-tree.md
#
@mithro
mithro / merge-migen+misoc.sh
Last active May 17, 2018 04:25
Prepare an upstream migen/misoc for merging into litex
#! /bin/bash
set -x
set -e
function git_commit {
git commit -a -m"litex import: $1"
}
mkdir -p repos
@projectgus
projectgus / _KiCad_Length_Matching
Last active February 10, 2021 05:18
Length matching scripts for KiCad
This script now has its own proper repo thanks to @mithro:
https://github.com/mithro/kicad-length-matching-checks
@makestuff
makestuff / fx2loader
Last active August 29, 2015 13:57
Building fx2loader
---------------------------------------------------------------------------------------------------
Building fx2loader on Linux:
sudo apt-get install build-essential libusb-1.0-0-dev
mkdir $HOME/20140524
cd $HOME/20140524
wget -qO- http://makestuff.eu/bil | tar zxf -
cd makestuff/apps
../scripts/msget.sh makestuff/fx2loader/20140524
cd fx2loader