Skip to content

Instantly share code, notes, and snippets.

View gist:b93cfd9ee71e07fcf68d5c02256ff0fa
diff --git a/arch/arm/mach-rockchip/sdram_common.c b/arch/arm/mach-rockchip/sdram_common.c
index 6bad537af6..d21b85dc56 100644
--- a/arch/arm/mach-rockchip/sdram_common.c
+++ b/arch/arm/mach-rockchip/sdram_common.c
@@ -68,8 +68,8 @@ int dram_init(void)
return ret;
}
gd->ram_size = ram.size;
- debug("SDRAM base=%lx, size=%lx\n",
- (unsigned long)ram.base, (unsigned long)ram.size);
View EF20 DSDT
This file has been truncated, but you can view the full file.
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20160831-64
* Copyright (c) 2000 - 2016 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of dsdt.dat, Wed Apr 18 12:18:35 2018
*
View gist:82bff95ababb67dd33f52a86e94ce3ff
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20160831-64
* Copyright (c) 2000 - 2016 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of dsdt.dat, Fri Dec 1 20:53:24 2017
*
* Original Table Header:
View gpt2mbr.sh
#!/bin/bash -e
# Copyright (C) 2015 Endless Mobile, Inc.
# Licensed under the GPLv2
[ $# -lt 1 ] && exit 1
# TODO: check if in use
# TODO: parse both /dev/sdaX or sdaX
# TODO: check if partition contains EOS
# TODO: check if we are passing a partition and not a disk
View upstream_armsoc
diff --git a/configure.ac b/configure.ac
index b5f70d5..e33b209 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,7 +80,7 @@ AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes"])
# Checks for header files.
AC_HEADER_STDC
-
+AC_SYS_LARGEFILE
View efuse_tools_raw.c
#include <stdio.h>
#include <getopt.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)))
View p.patch
diff --git a/tools/btattach.c b/tools/btattach.c
index bdbbe16..a184823 100644
--- a/tools/btattach.c
+++ b/tools/btattach.c
@@ -37,13 +37,13 @@
#include <sys/ioctl.h>
#include <poll.h>
-#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
View gist:925540bc7b04eff01aa8
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.4.0-0-generic-64 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
View endless.log.filt
sdio debug board detected
TE: 99771
BL2 Built : 16:48:47, Feb 3 2016.
gxb g49f8e60 - xiaobo.gu@droid05
set vcck to 1100 mv
set vddee to 1000 mv
Board ID = 1
CPU clk: 1536MHz
DDR chl: Rank0+1 same @ 912MHz
DDR0: 1024MB-2T-13
View uboot_p201
gxb_p201_v1#reset
resetting ...
!-;
sdio debug board detected
TE: 44458
BL2 Built : 16:48:47, Feb 3 2016.
gxb g49f8e60 - xiaobo.gu@droid05
set vcck to 1100 mv