Monthly Archives: December 2012

Using gdb to debug program on target

Man I use to be a pro with gdb and debugging remote programs. I wrote a target-side stub for heaven’s sake. Now I can’t even remember how to do a basic connection. sad. Setup: Host: x86_64 Ubuntu (192.168.1.18) Target: ARM-based … Continue reading

Posted in troubleshooting | Tagged , , | 2 Comments

Gitolite: add new repository

I enable certain users to create repositories by adding this to gitolite.conf file: repo [a-zA-Z0-9].* C = @admin @staff RW+ = CREATOR RW = WRITERS @admin R = READERS @staff To create a new repo I had to do this: … Continue reading

Posted in Git | Tagged , , , , , | 3 Comments

Linux: diff two directory to create patch

diff -b -r -w <DIR1> <DIR2> -N  -x ‘*.o’ -x ‘*.cmd’ -x ‘*.builtin’ -x ‘*.order’ > g_ncm.patch The -N option copies into the .patch files that exists in only one of the directory. Option: `-b’ Ignore changes in amount of … Continue reading

Posted in Linux | Tagged , , | Leave a comment

Linux: Buildroot

Man, I need Buildroot to only rebuild Qt. No sure how to do that. What I ended up doing was using the emptypackage config, add in the toolchain and then qt. Then have it make from there. Then to change … Continue reading

Posted in Linux, Qt | Tagged , , , | Leave a comment

Qt: Qt Embedded with dbus

If you want Qt Embedded with dbus support make sure you cross compile the expat and dbus libraries. These are instructions I’ve researched and worked for a co-worker but not me. Hopefully you’ll have better luck cross-compile expat tar zxvf … Continue reading

Posted in Embedded, Linux, Qt | Tagged , , , , , | Leave a comment

Linux: Big Endian Little Endian test from command line

If it return 0, it’s Big Endian If it returns 1, it’s Little Endian Reference: http://serverfault.com/questions/163487/linux-how-to-tell-if-system-is-big-endian-or-little-endian  

Posted in Linux | Tagged , , | 2 Comments

Linux: Build D-Bus examples

In my pursuit of learning about d-bus, I realized I have no idea how to compile it. Not sure why but the books and blogs that give examples don’t give instructions to build it. I’ll fill in that vacuum. I’m … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment

Linux: Meld Diff Viewer

I’ve searched high and low for a usable GUI diff program for Linux. Think I found my answer with Meld Diff Viewer. It’s usable not as nice as WinMerge but easier and cleaner than other Linux ones I’ve tried. Two … Continue reading

Posted in Linux, Productivity | Tagged , , , , | Leave a comment

Linux: PulseAudio (PA)

Downloaded the PulseAudio src via git branch v0.9.21. To build: ./autogen.sh make -j3 Found this after, a much more complete guide to building PulseAudio. Probably should’ve read the PulseAudio Blog first. contains some useful information, well after all the PulseAudio conference … Continue reading

Posted in Linux | Tagged | 1 Comment

Linux: Advanced Linux Sound Architecture (ALSA) PulseAudio (PA)

Looks like I’m going to be audiophile in the future. Need to learn the inner workings or at least APIs to ALSA, PA, and GStreamer. Also, need to learn about D-Bus. The D-Bus website has extraordinary documentation. Considering I know nothing … Continue reading

Posted in Embedded, Linux | Tagged | Leave a comment