Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Webb arachsys

View GitHub Profile
@arachsys
arachsys / README
Created Jun 19, 2012
Notes on making a signed software release
View README
Notes on making a signed software release
=========================================
Create a signed tag called NAME-VERSION with
git tag --message=NAME-VERSION --sign NAME-VERSION
Generate a release tar.gz and signature with
git archive --output=NAME-VERSION.tar.gz --prefix=NAME-VERSION/ NAME-VERSION
@arachsys
arachsys / khadas-edge.patch
Created Jul 29, 2019
U-Boot device tree and configuration for Khadas Edge
View khadas-edge.patch
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index e985884d9a..c7bb110389 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -108,6 +108,7 @@ dtb-$(CONFIG_ROCKCHIP_RK3399) += \
rk3399-ficus.dtb \
rk3399-firefly.dtb \
rk3399-gru-bob.dtb \
+ rk3399-khadas-edge.dtb \
rk3399-nanopc-t4.dtb \
@arachsys
arachsys / openwrt.patch
Created Feb 20, 2020
My local openwrt diff: cosmetics, uqmi bug-fix, and usleep command in ash
View openwrt.patch
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index cf5166772d..f325630bd7 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -147,13 +147,9 @@ define Package/base-files/install
)
$(VERSION_SED_SCRIPT) \
- $(1)/etc/banner \
- $(1)/etc/openwrt_version \
@arachsys
arachsys / uqmi.patch
Created Feb 20, 2020
Locking fix for git://git.openwrt.org/project/uqmi.git
View uqmi.patch
diff --git a/dev.c b/dev.c
index bd10207..d14255a 100644
--- a/dev.c
+++ b/dev.c
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <sys/file.h>
#include "uqmi.h"
@arachsys
arachsys / README
Created Jun 12, 2012
Motif XF/XS arpeggio and waveform mapping from 5pinDIN on motifator.com
View README
Many thanks to 5pinDIN from the motifator.com forum for compiling this
invaluable list.
Columns in arpeggios.csv are (in order)
- XF arpeggio number
- XF main category
- XF sub category
- XF arpeggio name
- XS arpeggio number (-1 if not available)
@arachsys
arachsys / README
Created Jun 6, 2012
Yamaha YSFC file format
View README
Brief notes on the Yamaha-YSFC file format (version 1.0.2)
==========================================================
All Motif XF native files (X3A, X3G, X3V, etc) have an identical structure. The
extension just identifies which data types are contained within that structure
for the purposes of user interface.
32-bit and 16-bit quantities mentioned below are unsigned and stored in
big-endian byte ordering unless otherwise described.
@arachsys
arachsys / 8N70OS_.PGM
Last active Jul 18, 2021
Obtaining a shell on Yamaha Montage
@arachsys
arachsys / 8N70OS_.PGM
Last active Jul 18, 2021
Fixing CFX PopStudioGrand on Yamaha Montage
@arachsys
arachsys / fmt.patch
Created Jul 21, 2021
Disable double spaces between sentences in GNU fmt
View fmt.patch
diff --git a/src/fmt.c b/src/fmt.c
index d1e3bc3..6c5f982 100644
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -40,7 +40,7 @@
"best". Adjust to taste, subject to the caveats given. */
/* Default longest permitted line length (max_width). */
-#define WIDTH 75
+#define WIDTH 76
@arachsys
arachsys / proto-qmi.diff
Created Feb 27, 2020
Fix openwrt /lib/netifd/proto/qmi.sh to allow direct address configuration of qmi interfaces
View proto-qmi.diff
diff --git a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh
index 8cbe9e97e7..4aadd57813 100755
--- a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh
+++ b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh
@@ -19,6 +19,7 @@ proto_qmi_init_config() {
proto_config_add_string modes
proto_config_add_string pdptype
proto_config_add_int profile
+ proto_config_add_boolean dhcp
proto_config_add_boolean dhcpv6