Skip to content

Instantly share code, notes, and snippets.

View bandwidthcrunch's full-sized avatar

Manav Gautama bandwidthcrunch

View GitHub Profile
@bandwidthcrunch
bandwidthcrunch / gist:981a50c5332da3c4d079
Created May 21, 2014 08:49
dm3730 dw board logcat -working
root@android:/ # logcat
--------- beginning of /dev/log/main
E/uim-sysfs( 1125): uim:open(/sys/class/rfkill/rfkill37/type) failed: No such file or directory (2)
E/uim-sysfs( 1125):
E/uim-sysfs( 1125): uim:open(/sys/class/rfkill/rfkill38/type) failed: No such file or directory (2)
E/uim-sysfs( 1125):
E/uim-sysfs( 1125): uim:open(/sys/class/rfkill/rfkill39/type) failed: No such file or directory (2)
E/uim-sysfs( 1125):
E/uim-sysfs( 1125): uim:open(/sys/class/rfkill/rfkill40/type) failed: No such file or directory (2)
E/uim-sysfs( 1125):
@bandwidthcrunch
bandwidthcrunch / gist:9638386
Created March 19, 2014 09:28
openembedded automake texi patch
Index: automake1.10-1.10.3/doc/automake.texi
===================================================================
--- automake1.10-1.10.3.orig/doc/automake.texi 2013-08-11 16:43:03.000000000 +0000
+++ automake1.10-1.10.3/doc/automake.texi 2013-08-11 16:45:58.999400517 +0000
@@ -11635,7 +11635,7 @@
Options: these items on which Automake works have been rewritten as
separate Perl modules, and documented.
-@itemx 2004-01-11 Automake 1.8.1
+@item 2004-01-11 Automake 1.8.1
@bandwidthcrunch
bandwidthcrunch / gist:9463302
Created March 10, 2014 11:20
dm368 IPNC issues
Install tftpd-hpa: apt-getinstall tftpd-hpa / / tftp
install flex: apt-getinstall flex / / makesysall compilation process used
to install mkcramfs: apt-getinstall mkcramfs / / create the file system
to install libncurses5-dev: sudoapt-get install libncurses5-dev / / make menuconfig needs
4, modify the registry by the root user. Install vsftpd. (Refer to another article)
5, the installation target Linux
sudomkdir / camera/mv_pro_5.0
@bandwidthcrunch
bandwidthcrunch / gist:9419163
Created March 7, 2014 20:17
rMBP 10,1 acpi dsl
manav@manav-rMBP:~/rMBP$ cat dsdt.dsl
/*
* Intel ACPI Component Architecture
* AML Disassembler version 20100528
*
* Disassembly of dsdt.dat, Sat Mar 8 01:43:50 2014
*
*
* Original Table Header:
* Signature "DSDT"
@bandwidthcrunch
bandwidthcrunch / gist:6938808
Created October 11, 2013 17:33
apple macbook pro retina 10,1 2013 mmc crash
[ 15.438562] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input11
[ 15.438718] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input12
[ 15.438846] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input13
[ 16.932181] init: alsa-restore main process (1600) terminated with status 99
[ 61.203489] xor: automatically using best checksumming function:
[ 61.239856] avx : 27878.000 MB/sec
[ 61.323833] raid6: sse2x1 9606 MB/s
[ 61.391809] raid6: sse2x2 11716 MB/s
[ 61.459786] raid6: sse2x4 13783 MB/s
[ 61.459787] raid6: using algorithm sse2x4 (13783 MB/s)
@bandwidthcrunch
bandwidthcrunch / gist:6867994
Created October 7, 2013 13:26
ubuntu on macbook pro retina 15' 2013 eidtion
7]
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.11.0-11-generic (buildd@roseapple) (gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu4) ) #17-Ubuntu SMP Tue Oct 1 19:42:04 UTC 2013 (Ubuntu 3.11.0-11.17-generic 3.11.3)
[ 0.000000] Command line: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
@bandwidthcrunch
bandwidthcrunch / split
Created September 23, 2013 12:13
split tar
tar -czf /dev/stdout $(DIRECTORY_OR_FILE_TO_COMPRESS) | split -d -b $(CHUNK_SIZE_IN_BYTES) - $(FILE_NAME_PREFIX)
To extract the contents:
cat $(FILE_NAME_PREFIX)* >> /dev/stdout | tar -xzf /dev/stdin
@bandwidthcrunch
bandwidthcrunch / new_gist_file
Created September 23, 2013 05:56
play bootargs
setenv nandargs console=ttyO2,115200n8 ip=off mpurate=1000 omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:6M,1:6M,2:6M omapfb.mode=tv:pal omapdss.def_disp=tv ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs rw rootdelay=1 vram=16M tvp5150.debug=1 v4l2.debug=1 atkbd.softraw=0 mem=442M
modprobe cmemk allowOverlap=1 phys_start=0x86300000 phys_end=0x87300000 \
pools=1x5250000,6x829440,1x345600,1x691200,1x1 // FOR FLICKER FROM TVP RECORDING
@bandwidthcrunch
bandwidthcrunch / hist-1
Created September 21, 2013 19:00
mote play
1398 sudo mspdebug uif -d /dev/ttyUSB1 "prog sos.elf"
1399 sudo mspdebug uif -d /dev/ttyUSB1 gdb &
1400 locate msp430-gdb
1401 /home/manav/work/python-msp430-tools/scripts/msp430-gdb.py
1402 msp430gdb
1403 sudo apt-get install gdb-msp430
1418 ls reference/
1419 ls
1420 ls tools/