Skip to content

Instantly share code, notes, and snippets.

View ejoerns's full-sized avatar

Enrico Jorns ejoerns

View GitHub Profile
@ejoerns
ejoerns / 0001-NOT-FOR-MAINLINE-src-bootchooser-add-i-argument-to-b.patch
Created May 9, 2018 10:04
RAUC patch for calling barebox-state with DTB in EFI partition
From: Enrico Jorns <[email protected]>
Date: Wed, 13 Dec 2017 16:56:52 +0100
Subject: [PATCH] NOT FOR MAINLINE: src/bootchooser: add -i argument to
barebox-state call
This will load DTB from fixed EFI partition mount point on x86
Signed-off-by: Enrico Jorns <[email protected]>
---
src/bootchooser.c | 2 ++
@ejoerns
ejoerns / genimage-rpi-redundancy.config
Created April 16, 2018 12:42
genimage redundancy update sd card image configuration (for using with RAUC update tool)
image boot.vfat {
vfat {
file barebox.bin { image = "barebox-raspberry-pi-3.img" }
files = { @BOOTFILES@ }
}
name = boot
}
image data.ext4 {
ext4 {
@ejoerns
ejoerns / upload
Last active August 29, 2015 14:06
Quick Upload to your server
#!/bin/sh
# ------------------------------------------------------------------------------
# Upload file or directory to your server.
# Directory will be compressed to a .tar.gz archive
#
# Note: Program 'xclip' recommended for copying to X clipboard
# ------------------------------------------------------------------------------
[email protected]:subdir
OUTSERVER=http://subdir.server.de
@ejoerns
ejoerns / 52-inga-id-symlink.rules
Created May 9, 2014 11:09
udev rule for creating distinct /dev symlink entries for INGA nodes based on their ftdi serial id (e.g. /dev/ingaAE00EI8Y)
@ejoerns
ejoerns / inga-pin-dbg.h
Last active January 3, 2016 10:09
INGA pin debugging library for timing analyzis
#ifndef _INGA_PIN_DBG_H_
#define _INGA_PIN_DBG_H_
/**
* @defgroup inga_pin_dbg INGA pin debugging library for timing analyzis
*
* This library provides simple macros for toggling or switching on/off I/O port pins
* of the INGA sensor platform.
*
* The pins are mapped to pin numbers from 0 to 7.