Skip to content

Instantly share code, notes, and snippets.

View mturquette's full-sized avatar

Michael Turquette mturquette

View GitHub Profile
@mturquette
mturquette / gist:1142455
Created August 12, 2011 16:53
quick hack to disable DPLL cascading
diff --git a/arch/arm/mach-omap2/dpll-44xx.c b/arch/arm/mach-omap2/dpll-44xx.c
index e9fe634..61b7584 100644
--- a/arch/arm/mach-omap2/dpll-44xx.c
+++ b/arch/arm/mach-omap2/dpll-44xx.c
@@ -549,6 +549,7 @@ int omap4_dpll_low_power_cascade_check_entry()
*/
int omap4_dpll_low_power_cascade_enter()
{
+ return 0;
int ret = 0;
upstream code:
} else if (!strcmp(vdd->voltdm.name, "core")) {
vdd->volt_data = omap44xx_vdd_core_volt_data;
vdd->vp_reg.tranxdone_status =
OMAP4430_VP_CORE_TRANXDONE_ST_MASK;
vdd->vc_reg.cmdval_reg =
OMAP4_PRM_VC_VAL_CMD_VDD_CORE_L_OFFSET;
vdd->vc_reg.smps_sa_shift = OMAP4430_SA_VDD_CORE_L_0_6_SHIFT;
vdd->vc_reg.smps_sa_mask = OMAP4430_SA_VDD_CORE_L_0_6_MASK;
vdd->vc_reg.smps_volra_shift = OMAP4430_VOLRA_VDD_CORE_L_SHIFT;
--- libnl-1.1/include/netlink-local.h.orig 2009-06-29 10:15:42.093461465 -0500
+++ libnl-1.1/include/netlink-local.h 2009-06-29 10:14:16.109489088 -0500
@@ -12,6 +12,8 @@
#ifndef NETLINK_LOCAL_H_
#define NETLINK_LOCAL_H_
+#include <limits.h>
+
#include <stdio.h>
#include <errno.h>
NOTE: package tiopenmax-clock-3.21-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows (/home/mturquette/src/poky/tilinux/build/tmp/work/armv7a
-none-linux-gnueabi/tiopenmax-clock-3.21-r0/temp/log.do_compile.6271)
| NOTE: make -j 8 -e MAKEFLAGS= PREFIX=/home/mturquette/src/poky/tilinux/build/t
mp/work/armv7a-none-linux-gnueabi/tiopenmax-clock-3.21-r0/image PKGDIR=/home/mtu
rquette/src/poky/tilinux/build/tmp/work/armv7a-none-linux-gnueabi/tiopenmax-cloc
k-3.21-r0/tiopenmax-clock-3.21 CROSS=arm-none-linux-gnueabi- BRIDGEINCLUDEDIR=/h
ome/mturquette/src/poky/tilinux/build/tmp/staging/armv7a-none-linux-gnueabi/usr/
include/dspbridge BRIDGELIBDIR=/home/mturquette/src/poky/tilinux/build/tmp/stagi

Keybase proof

I hereby claim:

  • I am mturquette on github.
  • I am mturquette (https://keybase.io/mturquette) on keybase.
  • I have a public key whose fingerprint is BE4B AF4E CAB0 C33F 9235 20C4 3A8F 3B2F 5A7C 9849

To claim this, I am signing this object:

#!/bin/sh
usage(){
echo "usage: $0 <path/to/qpkg>"
}
if [ $# -ne 1 ]
then
usage
exit 1
# ----------------------- #
# Main Configs #
# ----------------------- #
url: http://yoursite.com
title: My Octopress Blog
subtitle: A blogging framework for hackers.
author: Your Name
simple_search: https://www.google.com/search
description: