Skip to content

Instantly share code, notes, and snippets.

View Pheoxy's full-sized avatar
✈️
FIFO

Daniel Hancock Pheoxy

✈️
FIFO
View GitHub Profile
@Pheoxy
Pheoxy / build.sh
Last active May 8, 2019 14:06
Openwrt Build Script
#!/bin/bash
# Build openwrt in docker container
# Enviroment
GIT_BRANCH='openwrt-18.06'
CORES='-j6'
DEBUG='false'
# Stop on error
set -e
@Pheoxy
Pheoxy / alpinelinuxvfio_guide.md
Created December 3, 2018 18:49
Alpine Linux VFIO

Alpine Linux VFIO

A guide on getting vfio passthrough working on Alpine Linux.

Enable IOMMU

First we need to check for IOMMU by enabling VT-d or AMD-Vi and add equivalent kernel parameters in /boot/extlinux.conf before nomodeset depending on CPU:

Intel (VT-d) is intel_iommu=on AMD (AMD-Vi) is amd_iommu=on