Linux Kernel


I found a nice tutorial in which the usage of Symlink is nicely covered..

Thanks to

Brass Cannon Consulting

The full story is here…
(more…)

As i had promised ,here comes the tutorial about ATNGW100.This is not a general purpose tutorial, but its a view of ATNGW100 from our perspective,how ,what we learned from our own experience.It explains basically what we did.I hope it will cover some of the questions faced by any newbie using ATNGW100.

Before i begin i shall say thanks to Mr Pramod CE (for much of the contents is borrowed from his own tutorial,and for his special support and guidance)and my groupmates and especially Prasanth PP who did much of the programming work.

ATNGW100

The Developing Environment of ATNGW100

The developing environment for the Atmel Network Gateway can be setup in Linux operating system.The main source of informaton for programming and customizing ATNGW100 can be obtained from the following locations. (more…)

Today wa s a little bit lazy , wondered what to do, then i thought that i d give a try on my Linux Kernel.I’d previously tried to compile a kernel myself but with no success..except when i tried to program the NGW100.That time i had compiled a prepatched kernel obtained fro m Atmel.

I googled ‘compiling kernel’ and found some interesting tutorials..Though my efforts werent fully successful, im putting up the steps i followed.

1.First downloaded the latest version of kernel from www.kernel.org

I downloaded version 2.6.24.3

2.Moved it to /usr/src

# cp linux-2.6.24.3.tar.bz2 /usr/src

3 Unzip it

# tar -xjvf linux-2.6.24.3.tar.bz2

You ll get a directory named linux-2.6.24.3 in the /usr/src folder

Im using Debian Etch system, there need to create a link (like a windows shortcut) from the original linux source folder to the newly created one

#ln -s /usr/src/linux-2.6.24.3/ /usr/src/linux

copying the current cofiguration to the newly formed directory

#cp /boot/config-2.6.18 /usr/src/linux 2.6.24.3/.config

#make xconfig or make menuconfig

#make

# make modules

#make modules_install

finally

#make install

now intrid image is created.its not necessary for all systems.This image has some device drivers and is used to load the rest of the operating system.I dunno what this really is..but to make it i downloaded mkinitrd fro m rpseek http://rpmseek.com/rpm/mkinitrd-5.1.19-1.i386.html?hl=com&cs=modutils:PN:0:0:0:0:3151117

and converted it using alien

#alien ‘package name’

then installed it using

#dpkg -i ‘package name’

now moved on to /boot/ directory

# cd /boot/

run

mkinitramfs -o initrd.img-2.6.24.3 2.6.24.3

update-grub

your are done

..