Monthly Archives: June 2012

Changing default menuentry in GRUB2

Initially i had to hit the arrow keys while GRUB menu comes, to choose windows or any other in list… had i been late by few seconds, and fedora, by default  starts booting by default, i have to press the CLTR+ALT+DEL for reboot…

GRUB menu

Finally i decided to change the default menuentry to windows or whatever  you want use frequently…

first let us know something about GRUB… Read the rest of this entry

Energy Saver

An advanced energy saver project with DTMF capabilities to use electricity efficiently by reducing the unwanted uses.

energy saver circuit

  • INTRODUCTION:   A lot of electricity is wasted due to ignorance or fault of the user. Sometimes a person in the room turns on all the electric equipments which is of no use to them. As an example, supposedly a person enters in the hall or conference hall (where a large number of tube lights or fans are available). In the default scenario, all the equipments would be turned on  which is just wastage of electricity or what if the number of people is not up to the capacity of the hall and the whole lot of equipment is being fed unnecessarily by the current. Also what if all the people went out leaving the switches on, consuming the energy until any one sees and turns them off. Read the rest of this entry

Do you like really LOUD Muzik??

Aaarghh!! this might be a stupid question,  there may hardly a guy who don`t like Music..It really doesn`t matter of what type you like, whatsoever is its language, and I guess its rightly said that Music is an art form whose medium is sound and silence..
Its a rather an awesome medium of communication..Says much of things.

I would definitely admit that listening to music is one of my favorite works but I like it a bit loud!! till my neighbours are irritated and complains in my Home..
Its like now they have also adapted to my loud music!

Here is my assembly.. Umm… my Semi-Assembled Music System. Most of the things are purchased in crap and then repaired up except of the speaker cum Woofer Box… (those are original Poineer woofer and the speaker are of 2150 model .. not easily available in India now.) Read the rest of this entry

Getting more into Embedded Linux: 2nd part

Here we are,  after getting introduced  to a very few terms in a very light manner…

In this particular post, I will not be giving out any technical description or learning instead we will see that WHAT WE ACTUALLY WILL DO??

just a glimpse of what we are trying to do with a very simple task of porting linux to my embedded board MINI2440 in the simplest possible manner (….atleast I think so…lolz)..

So, here are the videos in which I just ported linux kernel 2.6.32.2 and a qtopia based file system…(both of these are pre-compiled as provided by the Manufacturer).

 

 

 

Getting more into Embedded Linux : 1st part

So, in the previous posts we got introduced with the Embedded Linux..

From now onwards, we will be learning the real stuff.  I am assuming that you people are THRU  with the Pre-requisites  I mentioned in the previous post (at least fair knowledge of linux and C).  We will be taking a real example so as to take a Practical approach towards the Embedded Linux Systems…may be it becomes easier to understand..

Be real Passionate about any of the work you do otherwise It will appear bore to you specially for the case of Embedded Systems. It is real big domain!!!  Otherwise you may leave it after a while…a lot of people do..or I should say ..they quit pertaining to the difficulties faced in the Embedded linux stuff.

Introduction with a few Terms:

  • Bootloaders

an example

         For this, let me say in short, (we will have a seperate post for it); the code that makes the embedded system to LIVE UP..

(please comment if you people dont agree with my term LIVE UP..I always like discussions)

what I mean by live up is that any of the Embedded System specifically SBC and pc etc. are having so much of peripherals and  buses etc. So how to make them work in order.\i.e. their initiallisation part ..Its all done by Bootloader Read the rest of this entry

Installing softwares on Linux platforms!

thanks God, installing on linux is not this hard!!

So, In this post I am gonna share with you the stepts to be taken to install any software on Linux.  Most of the time we use these steps only for general distributions like Ubuntu, Fedora, etc.

Though most of the distributions have a Package Manager like that of YUM, apt-get, aptitude, Synaptic etc…But I would like and also recommend that You make the habit of installing any software by using the source code.
All it takes is just the three steps:: Read the rest of this entry

What My PC has got, The Hardware?

I am pretty sure that most of you guys are interested about the hardware specs of your PC.  Most of you may already know it..
But here I am gonna just show the methods to know iff u don`t ..

In windows, one may have used softwares like that of Belarc Advisor and others OR if you are a system programmer then you may have used API to get the details of your hardware. ex-GetSystemInfo function.

Oops, what all I have got???

But what in case of Linux???

Those things wont work, You already know it!!!

So, lets check it out through the SHELL

$dmidecode (one of my fav. commands) 

As what its  README in source code syas,  Dmidecode reports information about your system’s hardware as described in your system BIOS according to

the SMBIOS/DMI standard. This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer. This will often include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of I/O ports (e.g. serial, parallel, USB).

Read the rest of this entry

Learning, mini2440 & Beaglebone !

The (this *) section is dedicated to the introduction to  Single Board Computers and these are my Mini2440 and Beaglebone.
–>So, lets first talk about Mini2440..

As the manufacturer says, 

FriendlyARM Mini 2440 SBC is a Single-Board Computer with 400 MHz Samsung S3C2440 ARM9 processor. The board measures 100 x 100 mm, ideal for learning about ARM9 systems..

So, actually I would recommend this particular Single Board Computer because of its several qualities that are not present in competitive boards for its PRICE(price being the main feature)! Read the rest of this entry

32 bit embedded system!!!

Just like we (or some or us) must have done 8 bit programming for 8051/AVR/PIC/ARDUINO etc….so is the case with the 32bit embedded systems…
but the point is why would I require to have such complex processors and heavier things when I can do the things by 8bit controllers only!!

32 bit embedded system

What I meant when I say all this is::, that most of the embedded system work like that of ADCs, Serial Communication, Memory Interfacing(Sd-card etc) through protocols like I2C,SPI,CAN are easily done via 8 bit systems..   so when would I use 32bit system??

Answer is fairly simple..

The 32-bit controller/processors takes efficiency to a new level, going beyond high performance and low power consumption. Native fixed point DSP support, dual port SRAM, multi layer data bus, peripheral DMA controller, peripheral event system and intelligent peripherals move performance and power consumption to the next step.

           The peripheral DMA controller and multi-layer high-speed bus architecture make the UC3 microcontrollers ideal for high throughput applications. Intelligent peripherals and dynamic power control make the devices the obvious choice for portable and battery-powered applications. Selected devices include an integrated Floating Point Unit (FPU) which improves arithmetic performance on decimal numbers, with better precision and wider dynamic range.

            Whooooof, guesss that was too technical,, I can say in short that when we increase the bit-capactity of our embedded system we take it to another higher level by increasing its bus size,  memory, decreasing power consumption, more GPIO`s, support to other protocols & devices..Higher width of buses and register size tends to fetch faster and more wide computation..Hence, we are both ahead & faster at the same time.. Read the rest of this entry

Getting Started With Embedded Linux

Here onwards, we will be focusing to the Embedded Linux..,.So we need to workout first with the pre-requisites of it..

What are the pre-requisites for it??

As we see it is containing two hell big Domains i.e. EMBEDDED & LINUX, and here we are trying to deal with Embedded Linux..So it is pretty much obvious that one should know both of the things atleast upto some extent(actually not to some extent …ther`s too much of it…lolzz)…

I would point out some of the things as I consider going ON for the real knowledge otherwise works are even also done without much of understanding:

  • Good in the C programming language and start reading out ASSEMBLY now onwards…

  • Be comfortable with command shells and scripts not with the GUI((try to avoid GUI as much as you can…there are many a reasons for this..)).

  • Be comfortable using any of the available text editors (e.g., Vi/Vim, Emacs.)

  • Compiling and Linking programs, constructing Makefiles etc.; i.e., be comfortable doing APPLICATION DEVELOPMENT in a Linux or Unix environment. Read the rest of this entry