Skip to content

Instantly share code, notes, and snippets.

View CaptChrisD's full-sized avatar

Chris Dutton CaptChrisD

  • Olympia, WA
View GitHub Profile
diff --git a/uboot/uboot.defconfig b/uboot/uboot.defconfig
index d7b376c..e43618c 100644
--- a/uboot/uboot.defconfig
+++ b/uboot/uboot.defconfig
@@ -1,81 +1,1660 @@
+CONFIG_CREATE_ARCH_SYMLINK=y
+CONFIG_LINKER_LIST_ALIGN=4
CONFIG_ARM=y
+CONFIG_SYS_ARCH="arm"
+CONFIG_SYS_CPU="armv7"
████▄▄ ▐███
█▌ ▀▀██▄▄ ▐█
█▌ ▄▄ ▀▀ ▐█ N E R V E S
█▌ ▀▀██▄▄ ▐█
███▌ ▀▀████
hello_live_view 0.1.0 (7a41badd-d728-5f8b-bf4f-e6a908af9598) arm bbb
Serial : 2324SBB03665
Uptime : 33.724 seconds
Clock : 2020-07-25 00:03:09 UTC (unsynchronized)
@CaptChrisD
CaptChrisD / 005-python2.patch
Last active December 20, 2022 05:25
CM3 on CM4 IO
diff --git a/arch/arm/mach-rockchip/decode_bl31.py b/arch/arm/mach-rockchip/decode_bl31.py
===================================================================
--- a/arch/arm/mach-rockchip/decode_bl31.py
+++ b/arch/arm/mach-rockchip/decode_bl31.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
#
# Copyright (C) 2020 Rockchip Electronics Co., Ltd
#
@CaptChrisD
CaptChrisD / setup_cm4-io.sh
Last active December 19, 2022 16:40
Script to setup Buildroot for CM3 on CM4 IO board
#!/bin/bash
set -e
mkdir cm4-io && cd cm4-io
git clone git://git.busybox.net/buildroot buildroot
git clone https://github.com/flatmax/buildroot.rockchip.git buildroot.rockchip.ext
cat >./cm4-io.patch <<EOF
diff --git a/configs/cm3_defconfig b/configs/cm3_defconfig
index 7dbb7d4..614a549 100644
--- a/configs/cm3_defconfig

I am trying to enable ADH (Anonymous Diffie-Hellman) cipher suite but cannot seem to get a connection.

I have verified the cipher suites attempted here are available through openssl ciphers -v ALL

This is attempting to start cowboy through Elixir

Note: cert_file, key_file, dh_file are functions that return a charlist to the respective files

@http_port 8002
@CaptChrisD
CaptChrisD / semaphore_cd_gcloud.sh
Last active January 18, 2017 21:52
Cops For Hire Semaphore CD script
#!/bin/bash
## Usage:
## ./semaphore_cd_gcloud.sh service_name project zone cluster
export PATH=$SEMAPHORE_CACHE_DIR/google-cloud-sdk/bin:$PATH
if [ ! -f "$SEMAPHORE_CACHE_DIR/google-cloud-sdk/bin/gcloud" ]
then
curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-134.0.0-linux-x86_64.tar.gz