Skip to content

Instantly share code, notes, and snippets.

View DTS_905
/dts-v1/;
/ {
interrupt-parent = <0x1>;
model = "Amlogic";
#address-cells = <0x2>;
compatible = "amlogic, Gxbb";
#size-cells = <0x2>;
mali@d00c0000 {
View uboot_p201
U-Boot 2015.01-g7f72ae9-dirty (Feb 18 2016 - 11:34:07)
DRAM: 1 GiB
Relocation Offset is: 36ed3000
register usb cfg[0][1] = 0000000037f61d70
register usb cfg[0][2] = 0000000037f61d90
register usb cfg[2][0] = 0000000037f61db0
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
View dmesg.log
<6>[ 0.000000@0] Initializing cgroup subsys cpu
<6>[ 0.000000@0] Initializing cgroup subsys cpuacct
<5>[ 0.000000@0] Linux version 3.14.29-g9f503fc (wenbiao.zhang@droid13-sz) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #3 SMP PREEMPT Wed Feb 17 17:42:00 CST 2016
<4>[ 0.000000@0] CPU: AArch64 Processor [410fd034] revision 4
<6>[ 0.000000@0] no prop version_code
<6>[ 0.000000@0] bootconsole [earlycon0] enabled
<6>[ 0.000000@0] secmon: share mem setup
<6>[ 0.000000@0] Reserved memory: initialized node linux,secmon, compatible id amlogic, aml_secmon_memory
<6>[ 0.000000@0] ramoops: rmem_pstore_setup: 7300000, size 1048576
<6>[ 0.000000@0] Reserved memory: initialized node aml_pstore, compatible id amlogic, pstore
View DSDT.dsl
This file has been truncated, but you can view the full file.
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20160108-32
* Copyright (c) 2000 - 2016 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of DSDT.dat, Mon Feb 8 14:37:49 2016
*
View -
commit 582eb1754ef73cb741c821ba5cb88fae53392d6e
Author: Carlo Caione <carlo@endlessm.com>
Date: Fri Feb 19 07:51:08 2016 +0100
wip
This reverts commit 8f5cd6ee410562fcdf5d1eb13894dad1bfe9ca24.
diff --git a/arch/arm/boot/dts/meson8b-atv185.dts b/arch/arm/boot/dts/meson8b-atv185.dts
index 933bdde..000e2e4 100755
View hifi
SectionVerb {
EnableSequence [
exec "echo HiFi enable sequence"
]
DisableSequence [
exec "echo HiFi disable sequence"
]
Value {
View chtrt5645.conf
SectionUseCase."HiFi" {
File "hifi"
Comment "HiFi"
}
SectionDefaults [
cdev "hw:0"
cset "name='codec_out1 mix 0 pcm0_in Switch' on"
cset "name='media0_in Gain 0 Switch' on"
cset "name='media0_in Gain 0 Volume' 0%,0%"
View -
diff --git a/sound/soc/aml/m8/aml_m8.c b/sound/soc/aml/m8/aml_m8.c
index 6685521..749e1ba 100644
--- a/sound/soc/aml/m8/aml_m8.c
+++ b/sound/soc/aml/m8/aml_m8.c
@@ -714,6 +714,7 @@ static struct snd_soc_dai_link aml_codec_dai_link[] = {
.platform_name = "aml-i2s.0",
//.codec_name = "aml_m8_codec.0",
.ops = &aml_asoc_ops,
+ .no_pcm = 1,
},
View endless-e3533-no-mbim.patch
Disable MBIM checking for the Huawei E3533 device (USB ID 12d1:157d). This
avoids errors from the mbim driver like the following:
Dec 17 09:24:49 endless usb_modeswitch[2632]: switch device 12d1:157d on 001/011
Dec 17 09:24:49 endless kernel: usb 1-1: usbfs: interface 0 claimed by usb-storage while 'usb_modeswitch' sets config #2
Dec 17 09:24:50 endless kernel: usbcore: registered new interface driver cdc_ncm
Dec 17 09:24:50 endless kernel: usbcore: registered new interface driver cdc_wdm
Dec 17 09:24:50 endless kernel: hub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
Dec 17 09:24:50 endless kernel: cdc_mbim 1-1:2.0: bind() failure
Dec 17 09:24:50 endless kernel: usb 1-1: USB disconnect, device number 11
View gist:61698d357a0b0fc671a0
Feb 02 14:48:04 endless kernel: usb 1-1.3: new high-speed USB device number 4 using dwc_otg
Feb 02 14:48:04 endless kernel: usb-storage 1-1.3:1.0: USB Mass Storage device detected
Feb 02 14:48:04 endless kernel: scsi0 : usb-storage 1-1.3:1.0
Feb 02 14:48:04 endless mtp-probe[668]: checking bus 1, device 4: "/sys/devices/lm1/usb1/1-1/1-1.3"
Feb 02 14:48:04 endless mtp-probe[668]: bus: 1, device: 4 was not an MTP device
Feb 02 14:48:04 endless usb_modeswitch_dispatcher[676]: USB_ModeSwitch log from Tue Feb 02 14:48:04 CET 2016
Feb 02 14:48:04 endless usb_modeswitch_dispatcher[676]:
Feb 02 14:48:04 endless usb_modeswitch_dispatcher[676]: Use global config file: /etc/usb_modeswitch.conf
Feb 02 14:48:04 endless usb_modeswitch_dispatcher[676]: Raw args from udev: /1-1.3:1.0
Feb 02 14:48:04 endless usb_modeswitch_dispatcher[676]: