~vijaykumar

[ Home | Feed | Twitter | Vector Art | Ascii Art | Tutorials ]

Autotools and Cross Compilation

Tue, 14 Apr 2020

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, embedded, linux

Building Git From Scratch

Thu, 24 Nov 2016

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, linux

Demystifying the MMU - Part II

Thu, 01 Sep 2016

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, embedded, linux

Demystifying the MMU - Part I

Wed, 31 Aug 2016

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, embedded, linux

Linux Kernel Porting, Jargon Buster

Sat, 06 Aug 2016

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, embedded, linux

Finding the Lastest SVN Tag

Tue, 14 Oct 2014

The following script finds the latest tag on an SVN project. The basic idea is to use svn info to find the last revision of the tags folder, and identify the tag with that revision. If the tags folder is not present, or if the tags folder is present but empty, the script prints N/O/N/E.

#!/bin/bash

#
# Usage: svn-latest-tag <SVN-PROJ-URL>
#
# Prints the latest tag or N/O/N/E if none available.
#

if [ "x$1" == "x" ]; then
    echo "Usage: svn-latest-tag <SVN-PROJ-URL>"
    exit 1
fi

#
# Tag name to be printed if none found, less likely to be a real tag
# name. (directories cannot contain the forward slash, right?)
#

latest_tag="N/O/N/E"
tags=$(svn ls $1/tags)
if [ $? -ne 0 ]; then
    echo $latest_tag
    exit 1
fi
last_rev=$(svn info $1 | grep "Last Changed Rev")
if [ $? -ne 0 ]; then
    echo $latest_tag
    exit 1
fi
# echo $last_rev
for tag in $tags; do
    # echo "Checking tag" $tag
    if svn info $1/tags/$tag | grep "$last_rev"; then
        latest_tag=tag
        break
    fi
done
echo $latest_tag

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, foss, svn

GSM SMS Daemon on Debian

Mon, 30 Dec 2013

The gsm-utils package provides a GSM SMS Daemon that can be used to send and receive SMS, on a PC equipped with a GSM modem. The package has a couple of issues and pit-falls that makes installing it non-trivial.

Read Full Story ...

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, foss

From Make to SCons

Wed, 01 May 2013

Make is the standard Unix tool to build software, and has been around for the past 30 years. The make build system has certain drawbacks that more recent tools are trying to fix. One such tool in SCons. This article aims to help a make user come up to speed with SCons.

Read Full Story ...

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, foss, python

Writing NuttX Applications

Thu, 31 Jan 2013

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, embedded, linux

Building NuttX

Wed, 23 Jan 2013

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, embedded, linux

NuttX, Getting Started

Tue, 22 Jan 2013

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, embedded, linux

MVC Design Pattern

Mon, 30 Apr 2012

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: design-pattern, doc, python

Random Number Generation

Thu, 05 Jan 2012

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: 8051, arm, doc

Getting Started with ZigBee

Wed, 16 Nov 2011

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, zigbee

Virtualization Lab

Mon, 21 Mar 2011

The development of the FOSS Lab Manual for the Anna University Syllabus is underway at Google Code. The contents for the first Virtualization lab is available in this post. Post your suggestions and feedback.

Read Full Story ...

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, qemu

Embedded Prog. Using the GNU Toolchain - Slides

Sun, 04 Oct 2009

Slides and handout used at the talk in IITM’s Shaastra 2009. The talk is based on the Cortex-M3 architecture

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, embedded

Embedded Programming with the GNU Toolchain

Wed, 13 May 2009

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, embedded

Linux 2.6 Device Model

Sat, 16 Sep 2006

In the 2.4 and earlier Linux kernels, there was no unified database of what devices were present in the system, and how they were connected with each other. The implications of this are:

  • The user had to grep through log messages to find out if a particular device has been detected by the kernel or not. There was no straight forward method for an application to list out what devices have been detected by the kernel, and whether a driver has been associated with the device.

  • It was not possible to do proper power management, because this requires information on how the devices are connected in a system. As an example, before a USB controller is powered down, all the USB peripherals connected to that controller had to be powered down.

To overcome these problems, in 2.5 and later kernels a framework has been provided to maintain a device model. This article describes this device model framework. The intention of this article is to provide a bird’s eye view of the working of the device model framework. The specific details of each sub-component can be obtained from various other books/articles and of course the kernel source code.

Read Full Story ...

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, linux-kernel

GTK's Multiline Text Editing Widget

Tue, 16 May 2006

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, gtk

CVS Cheat Sheet

Sun, 20 Feb 2005

Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: doc, foss

Powered by Python | Made with PyBlosxom | Valid XHTML 1.1 | Best Viewed With Any Browser | Icon Credits | CC-BY-SA