Skip to content

Instantly share code, notes, and snippets.

View pdp7's full-sized avatar
💭
Linux on RISC-V

Drew Fustini pdp7

💭
Linux on RISC-V
View GitHub Profile
@pdp7
pdp7 / Lisboa Greybus Demo Instructions
Last active September 10, 2019 15:29 — forked from cfriedt/Lisboa Greybus Demo Instructions
Lisboa Greybus Demo Instructions
# Install some Ubuntu dependencies
apt install libnl-genl-3-dev libbluetooth-dev libavahi-client-dev
# Install OpenOCD, dtc
# Build Greybus Out-of-Kernel (required due to gb-netlink)
git clone git@github.com:friedtco/greybus.git
cd greybus
make -j
# Make sure you're using bash not dash for this script.
@pdp7
pdp7 / Adafruit_BBIO.diff
Last active February 7, 2016 16:14 — forked from grizmio/gist:bc752dd070652f21266b
grizmio's Patch to make Adafruit's ADC python libraries works with ubuntu xenial, kernel 4
diff --git a/source/c_adc.c b/source/c_adc.c
index e0c754c..5269407 100644
--- a/source/c_adc.c
+++ b/source/c_adc.c
@@ -30,29 +30,28 @@ SOFTWARE.
#include "c_adc.h"
#include "common.h"
-char adc_prefix_dir[40];
+char adc_prefix_dir[49];
@pdp7
pdp7 / bbb_emmc_boot.txt
Created December 14, 2015 17:56 — forked from bonnieking/bbb_emmc_boot.txt
bbb booot
Welcome to minicom 2.3
OPTIONS: I18n
Compiled on Nov 23 2010, 13:27:13.
Port /dev/ttyUSB1
Press CTRL-A Z for help on special keys
Welcome to minicom 2.7
OPTIONS: I18n
Compiled on Aug 17 2014, 17:46:40.
Port /dev/ttyUSB0, 23:10:00
Press CTRL-A Z for help on special keys
Password:
@pdp7
pdp7 / lighthouse ps
Created December 14, 2015 17:55 — forked from bonnieking/lighthouse ps
lighthouse ps
outernet@outernet:~$ ps -ef
PID USER COMMAND
1 root init
2 root [kthreadd]
3 root [ksoftirqd/0]
5 root [kworker/0:0H]
6 root [kworker/u4:0]
7 root [migration/0]
8 root [rcu_preempt]
9 root [rcu_bh]
@pdp7
pdp7 / lighthouse notes 2015-12-14
Created December 14, 2015 17:55 — forked from bonnieking/lighthouse notes 2015-12-14
lighthouse notes 2015-12-14
########################################################################
root@outernet:~# find /sys |grep bcm
/sys/bus/sdio/drivers/bcmsdh_sdmmc
/sys/bus/sdio/drivers/bcmsdh_sdmmc/bind
/sys/bus/sdio/drivers/bcmsdh_sdmmc/sdio:0001:1
/sys/bus/sdio/drivers/bcmsdh_sdmmc/sdio:0001:2
/sys/bus/sdio/drivers/bcmsdh_sdmmc/uevent
/sys/bus/sdio/drivers/bcmsdh_sdmmc/unbind
root@outernet:~# find /sys -type f |grep broadcm
@pdp7
pdp7 / sources.list
Created November 11, 2015 16:29 — forked from anonymous/sources.list
BeagleBone Black: Tor exit node config
# path of this file: /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
#deb-src http://security.debian.org/ jessie/updates main contrib non-free
@pdp7
pdp7 / bbb rcn bb-kernel am33x-v3.8: part 1
Last active November 18, 2015 21:52 — forked from bonnieking/bbb rcn bb-kernel am33x-v3.8
bbb rcn bb-kernel am33x-v3.8: part 1
#################################################################
[bonniek@featherfall bb-kernel]$ git checkout am33x-v3.8
Already on 'am33x-v3.8'
Your branch is up-to-date with 'origin/am33x-v3.8'.
[bonniek@featherfall bb-kernel]$
[bonniek@featherfall bb-kernel]$ ./build_kernel.sh
+ Detected build host ["Fedora release 22 (Twenty Two)"]
+ host: [x86_64]
@pdp7
pdp7 / bbb rcn bb-kernel am33x-v3.8: part 2
Created November 2, 2015 05:38 — forked from bonnieking/bbb rcn bb-kernel am33x-v3.8: part 2
bbb rcn bb-kernel am33x-v3.8: part 2
[bonniek@featherfall KERNEL]$ git diff
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index a0c757a..fbbb7cc 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -15,6 +15,8 @@ config SH_MIPI_DSI
config SH_LCD_MIPI_DSI
bool
+source "drivers/video/fbtft/Kconfig"
@pdp7
pdp7 / bbb rcn bb-kernel linux 4.3
Created November 2, 2015 05:38 — forked from bonnieking/bbb rcn bb-kernel linux 4.3
bbb rcn bb-kernel linux 4.3
############################################################
[bonniek@featherfall bb-kernel-v2]$ git checkout am33x-v4.3
Already on 'am33x-v4.3'
Your branch is up-to-date with 'origin/am33x-v4.3'.
[bonniek@featherfall bb-kernel-v2]$ cat .git/cop
cat: .git/cop: No such file or directory
[bonniek@featherfall bb-kernel-v2]$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true