Skip to content

Instantly share code, notes, and snippets.

View HiassofT's full-sized avatar

Matthias Reichl HiassofT

View GitHub Profile
/*
* Definitions for Allo Katana DAC boards
*
* NB. The Katana DAC board contains SABER DAC.
*/
/dts-v1/;
/plugin/;
/ {
@HiassofT
HiassofT / le82-lan78xx-oops
Last active March 25, 2018 18:59
oops in lan78xx_delayedwork on kernel 4.9.80
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.80-v7 (hias@tv) (gcc version 6.2.0 (GCC) ) #1 SMP Sun Mar 25 17:35:58 CEST 2018
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
[ 0.000000] cma: Reserved 8 MiB at 0x2f800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 14 pages/cpu @af0f0000 s25548 r8192 d23604 u57344
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 194880
@HiassofT
HiassofT / pcm5122-4c-graph-upstream.dts
Created March 8, 2018 09:14
audio graph card overlay for iqaudio dac on upstream kernel
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&i2s>;
__overlay__ {
#sound-dai-cells = <0>;
status = "okay";
@HiassofT
HiassofT / pcm5122-4c-graph.dts
Created February 6, 2018 14:51
audio graph card based pcm5122 overlay with amplifier-enable gpio
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&i2s>;
__overlay__ {
#sound-dai-cells = <0>;
status = "okay";
@HiassofT
HiassofT / upstream-4.9.44-rpi2.txt
Created August 21, 2017 15:06
crash booting upstream 4.9.44 on RPi2 with ftrace=function
[ 0.000000] Booting Linux on physical CPU 0xf00
[ 0.000000] Linux version 4.9.44 (hias@camel2) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1 SMP Sun Aug 20 19:32:41 CEST 2017
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: Raspberry Pi 2 Model B Rev 1.1
[ 0.000000] earlycon: pl11 at MMIO32 0x3f201000 (options '')
[ 0.000000] bootconsole [pl11] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
@HiassofT
HiassofT / upstream-4.12.8-rpi2.txt
Created August 21, 2017 15:05
crash booting upstream 4.12.8 on RPi2 with ftrace_filter=__request_module ftrace=function
[ 0.000000] Booting Linux on physical CPU 0xf00
[ 0.000000] Linux version 4.12.8 (hias@camel2) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1 SMP Sat Aug 19 13:15:50 CEST 2017
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 2 Model B Rev 1.1
[ 0.000000] earlycon: pl11 at MMIO32 0x3f201000 (options '')
[ 0.000000] bootconsole [pl11] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: Getting EFI parameters from FDT:
@HiassofT
HiassofT / rpi1bplus-ok.txt
Created August 18, 2017 19:45
ftrace=function works on RPi1B+
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.43+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1026 Wed Aug 16 22:26:02 BST 2017
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] OF: fdt:Machine model: Raspberry Pi Model B Plus Rev 1.2
[ 0.000000] earlycon: pl11 at MMIO32 0x20201000 (options '')
[ 0.000000] bootconsole [pl11] enabled
[ 0.000000] cma: Reserved 8 MiB at 0x1b400000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 113680
@HiassofT
HiassofT / rpi3-crash.txt
Created August 18, 2017 11:20
rpi3 kernel crash with ftrace=function
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.43-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1026 SMP Wed Aug 16 22:35:51 BST 2017
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: Raspberry Pi 3 Model B Rev 1.2
[ 0.000000] earlycon: pl11 at MMIO32 0x3f201000 (options '')
[ 0.000000] bootconsole [pl11] enabled
[ 0.000000] cma: Reserved 8 MiB at 0x3ac00000
[ 0.000000] Memory policy: Data cache writealloc
@HiassofT
HiassofT / pcm5122.dts
Last active May 24, 2017 12:38
simple card overlay for pcm5122 using 64fs
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&i2s>;
__overlay__ {
#sound-dai-cells = <0>;
status = "okay";
};
@HiassofT
HiassofT / linux-052-XBOX_remote_support.patch
Created May 18, 2017 21:10
lirc xbox patch for kernel 4.12
diff --git a/drivers/staging/media/lirc/Kconfig b/drivers/staging/media/lirc/Kconfig
index 3e350a9..935dcc2 100644
--- a/drivers/staging/media/lirc/Kconfig
+++ b/drivers/staging/media/lirc/Kconfig
@@ -12,10 +12,17 @@ menuconfig LIRC_STAGING
if LIRC_STAGING
+config LIRC_XBOX
+ tristate "XBOX USB IR Remote"