Skip to content

Instantly share code, notes, and snippets.

View scottellis's full-sized avatar

Scott Ellis scottellis

View GitHub Profile
@scottellis
scottellis / rpi-freebsd-boot.txt
Last active August 29, 2015 14:07
RaspberryPi FreeBSD boot log
U-Boot 2013.01-rc1-svn18531 (Sep 19 2014 - 01:20:41)
DRAM: 224 MiB
WARNING: Caches not enabled
MMC: bcm2835_sdhci: 0
Using default environment
In: serial
Out: lcd
Err: lcd
@scottellis
scottellis / wandboard-freebsd-boot.txt
Last active August 29, 2015 14:07
Wandboard FreeBSD boot log
U-Boot 2014.07 (Sep 19 2014 - 03:43:08)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Board: Wandboard
I2C: ready
DRAM: 2 GiB
WARNING: Caches not enabled
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment
@scottellis
scottellis / overo-perf-boot.log
Created January 20, 2014 16:43
Gumstix Overo 3.5.7 kernel with perf counters enabled.
U-Boot SPL 2013.07-dirty (Dec 15 2013 - 11:03:17)
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2013.07-dirty (Dec 15 2013 - 11:03:17)
OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
Gumstix Overo board + LPDDR/NAND
@scottellis
scottellis / gist:8436482
Created January 15, 2014 13:44
Patch to hostapd for Duovero. The call to nl80211_mgmt_subscribe_ap_dev_sme() was added with commit a6cc060. It fails on the Duovero. Without it, the AP seems to work.
diff --git git/src/drivers/driver_nl80211.c git/src/drivers/driver_nl80211.c
index fce6efd..8f52df5 100644
--- git/src/drivers/driver_nl80211.c
+++ git/src/drivers/driver_nl80211.c
@@ -4340,28 +4340,6 @@ out_err:
}
-static int nl80211_mgmt_subscribe_ap_dev_sme(struct i802_bss *bss)
-{
@scottellis
scottellis / gumstix-wifi-analysis.txt
Created June 4, 2013 14:52
Some Gumstix Wifi testing
========== 3.2 Overo FireStorm ==========
Kernel from git://www.sakoman.com/git/linux.git;branch=omap-3.2
Contains this patch
513770d mmc: omap: add sdio interrupt support
root@overo:~# uname -a
Linux overo 3.2.0 #1 PREEMPT Wed May 29 14:03:48 EDT 2013 armv7l GNU/Linux
root@overo:~# ifconfig wlan0
@scottellis
scottellis / gist:2693853
Created May 14, 2012 13:08
kernel-crash-linux-sakoman-3.2-20120513
Mon May 14 08:30:00 UTC 2012
root@overo:~# Kernel panic - not syncing: Attempted to kill init!
BUG: scheduling while atomic: systemd/1/0x00000002
Modules linked in: ads7846 rfcomm hidp bluetooth rfkill ipv6
[<c0012cc4>] (unwind_backtrace+0x0/0x11c) from [<c044f1e4>] (__schedule+0x64/0x5c8)
[<c044f1e4>] (__schedule+0x64/0x5c8) from [<c04502b4>] (schedule_timeout+0x2e4/0x320)
[<c04502b4>] (schedule_timeout+0x2e4/0x320) from [<c044f920>] (wait_for_common+0xe4/0x19c)
[<c044f920>] (wait_for_common+0xe4/0x19c) from [<c033450c>] (omap_i2c_xfer+0x258/0x378)
[<c033450c>] (omap_i2c_xfer+0x258/0x378) from [<c0331848>] (i2c_transfer+0xac/0x134)
[<c0331848>] (i2c_transfer+0xac/0x134) from [<c02b4d34>] (twl_i2c_read+0xe4/0x130)
@scottellis
scottellis / gist:2621501
Created May 6, 2012 10:26
kernel-crash-linux-sakoman-3.2-20120505
Kernel panic - not syncing: Attempted to kill init!
BUG: scheduling while atomic: systemd/1/0x00000002
Modules linked in: ipv6
[<c0013130>] (unwind_backtrace+0x0/0x11c) from [<c044e11c>] (__schedule+0x64/0x5b4)
[<c044e11c>] (__schedule+0x64/0x5b4) from [<c044f188>] (schedule_timeout+0x280/0x318)
[<c044f188>] (schedule_timeout+0x280/0x318) from [<c044e82c>] (wait_for_common+0xcc/0x1a4)
[<c044e82c>] (wait_for_common+0xcc/0x1a4) from [<c0331b2c>] (omap_i2c_xfer+0x268/0x39c)
[<c0331b2c>] (omap_i2c_xfer+0x268/0x39c) from [<c032ed98>] (i2c_transfer+0xb8/0x140)
[<c032ed98>] (i2c_transfer+0xb8/0x140) from [<c02b1d20>] (twl_i2c_read+0xe8/0x138)
[<c02b1d20>] (twl_i2c_read+0xe8/0x138) from [<c027d610>] (twlreg_grp+0x18/0x24)
U-Boot SPL 2011.12-00017-gb48a523 (May 04 2012 - 10:19:39)
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2011.12-00017-gb48a523 (May 04 2012 - 10:19:39)
OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 720 mHz
Gumstix Overo board + LPDDR/NAND
@scottellis
scottellis / gist:1456937
Created December 10, 2011 23:05
SpacesRecordDecompress alternative
bool SpacesRecordDecompress(SYNTRO_RECORD_HEADER *pSRH, unsigned char **pBuff, int bufLen, bool bRight)
{
SYNTRO_RECORD_VIDEO *pSRV;
Mat mJpeg;
int size_required;
bool result = false;
switch (pSRH->nType)
{
case SYNTRO_RECORD_TYPE_VIDEO:
@scottellis
scottellis / mt9v032-increase-max-exposure.patch
Created October 26, 2011 16:47
mt9v032-increase-max-exposure.patch
diff --git git/drivers/media/video/mt9v032.c-orig git/drivers/media/video/mt9v032.c
index 7d33576..68c8560 100644
--- git/drivers/media/video/mt9v032.c-orig
+++ git/drivers/media/video/mt9v032.c
@@ -125,7 +125,7 @@ static const struct v4l2_queryctrl mt9v032_controls [] = {
.type = V4L2_CTRL_TYPE_INTEGER,
.name = "Exposure",
.minimum = 2,
- .maximum = 480,
+ .maximum = 566,