Skip to content

Instantly share code, notes, and snippets.

View mturquette's full-sized avatar

Michael Turquette mturquette

View GitHub Profile
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
--- 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>
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;
@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;
diff --git a/lib/board.c b/lib/board.c
index 00173b6..bd29766 100644
--- a/lib/board.c
+++ b/lib/board.c
@@ -244,6 +244,7 @@ void start_armboot (void)
break;
};
#endif
+ printf("I'm here!\n");
/* go run U-Boot and never return */
/ # cat /proc/version
Linux version 3.6.0-rc5-00190-g8891e82 (mturquette@nucleus) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #2 SMP Mon Sep 10 16:50:29 PDT 2012
/ # echo mem > /sys/power/state
[ 15.835510] PM: Syncing filesystems ... done.
[ 15.850189] Freezing user space processes ... (elapsed 0.02 seconds) done.
[ 15.881195] Freezing remaining freezable tasks ... (elapsed 0.02 seconds) done.
[ 15.912414] Suspending console(s) (use no_console_suspend to debug)
[ 15.942962] PM: suspend of devices complete after 18.218 msecs
[ 15.947570] PM: late suspend of devices complete after 4.577 msecs
[ 15.954925] PM: noirq suspend of devices complete after 7.324 msecs
# ----------------------- #
# 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:
#!/bin/sh
usage(){
echo "usage: $0 <path/to/qpkg>"
}
if [ $# -ne 1 ]
then
usage
exit 1

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:

diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index 4134038..fa31cb5 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -1,4 +1,5 @@
# CPUfreq core
+ccflags-y += -fdump-rtl-expand
obj-$(CONFIG_CPU_FREQ) += cpufreq.o freq_table.o
obj-$(CONFIG_PM_OPP) += cpufreq_opp.o