Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh -e
### BEGIN INIT INFO
# Provides: led_aging.sh
# Required-Start: $local_fs
# Required-Stop: $local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable service provided by daemon.
### END INIT INFO
Bump
sudo dd if=/dev/zero of=/dev/sdb bs=1M count=10
sudo sfdisk --in-order --Linux --unit M /dev/sdb <<-__EOF__
1,,0x83,*
__EOF__
sudo sfdisk /dev/sdb <<-__EOF__
1M,,L,*
/*
* Copyright 2014 Mutli-Tech Systems, Inc.
*
* Author: Robert Nelson <[email protected]>
*
* Cape http://xyz.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
From a1d20ba78d04571d86224922fc6116a066dd054c Mon Sep 17 00:00:00 2001
From: Robert Nelson <[email protected]>
Date: Fri, 22 Aug 2014 11:57:49 -0500
Subject: [PATCH] testing
Signed-off-by: Robert Nelson <[email protected]>
---
arch/arm/boot/dts/am335x-bone-common-pinmux.dtsi | 7 +++++++
arch/arm/boot/dts/am335x-bone-rtc-01-00a1.dtsi | 21 +++++++++++++++++++++
2 files changed, 28 insertions(+)
[Desktop Entry]
Version=1.0
Name=Chromium Web Browser viewing BONE101
Exec=/home/debian/bone101.sh
Terminal=false
Type=Application
@RobertCNelson
RobertCNelson / gist:34eedeae27bce1ce6358
Last active August 29, 2015 14:13
BeagleBoard-X15: ducati...
sudo apt-get install autopoint libdrm-dev libgstreamer1.0-dev \
libgstreamer-plugins-bad1.0-dev libgstreamer-plugins-base1.0-dev linux-headers-`uname -r`
git clone git://git.ti.com/ipc/ipcdev.git --depth=1
cd ipcdev/
./configure --prefix=/usr PLATFORM=DRA7XX KERNEL_INSTALL_DIR=/lib/modules/`uname -r`/build/
make ; sudo make install
git clone git://git.omapzoom.org/repo/libdce.git --depth=1
cd libdce/
@RobertCNelson
RobertCNelson / build
Last active August 29, 2015 14:14
Shamrock
Debian Jessie:
sudo apt-get update
sudo apt-get install check cmake llvm-3.6 clang-3.6 libboost-dev libclang-3.6-dev \
mesa-common-dev opencl-headers
git clone https://github.com/RobertCNelson/shamrock.git
cd shamrock/
git checkout origin/ocl_1_2-jessie-llvm-3.6 -b tmp
@RobertCNelson
RobertCNelson / gist:89a1ac57b5b232794f45
Created March 1, 2015 19:56
v3.14.x: [PATCH] ARM: dts: am335x-bone*: usb0 is hardwired for peripheral
From d057554c24c600e0db3a8074043ef526be9f938d Mon Sep 17 00:00:00 2001
From: Robert Nelson <[email protected]>
Date: Tue, 24 Feb 2015 10:10:43 -0600
Subject: [PATCH] ARM: dts: am335x-bone*: usb0 is hardwired for peripheral
commit 67fd14b3eca63b14429350e9eadc5fab709a8821 upstream.
Fixes: http://bugs.elinux.org/issues/127
the bb.org community was seeing random reboots before this change.
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <dt-bindings/board/am335x-bbw-bbb-base.h>
@RobertCNelson
RobertCNelson / 2014 prompt
Last active January 7, 2016 08:19
bbb boot times
U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)
I2C: ready