[Uboot][Linux-OS]How to boot zImage (os image) using uboot


There are two ways to boot zImage using uboot 1. Using mkImage command, convert zImage to uImage 2. Enable bootz feature in the uboot board config file Add “#define CONFIG_CMD_BOOTZ “in the corresponding board config file and build the new uImage    

[Linux][Python][mysql]ImportError: No module named MySQLdb


Here is the solution for ImportError: No module named MySQLdb install python-mysqldb using the following command (ubuntu ) apt-get install python-mysqldb in Fedora use yum install instead of apt-get install.

[Linux][Python]How to assign os.system output to a python variable


#This python script is to get  system’s VGA  monitor info import commands command = “lspci | grep VGA ” status, vgaInfo = commands.getstatusoutput(command) print “VGA info=%s” % ( vgaInfo ) which will give the output VGA info=00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18) in my system

[OS]Why flash memory blocks are called erase blocks ?


In a typical Flash memory chip, data can be changed from a binary 1 to a binary 0 under software control, 1 bit/word at a time, but to change a bit from a zero back to a one, an entire block must be erased. Hence Flash memory blocks are often called erase blocks for thisContinue reading “[OS]Why flash memory blocks are called erase blocks ?”

[Linux]Significance of rc.local


This script will be executed *after* all the other init scripts. We can put  the customized script  here, which needed to be run after system up. Also depending upon run level , there will be a local file. Like if System’s runlevel is 5 /etc/rc5.d/S99local is the file . There you can put the script whichContinue reading “[Linux]Significance of rc.local”

[Linux]How to install Skype 4.2 on Fedora 19/18/17/16/15/14


There are many libraries skype depends on , please check whether those are installed or  not alsa-lib.i686 fontconfig.i686 freetype.i686 glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 pulseaudio-libs.i686 qt.i686 qt-x11.i686 zlib.i686 If any of those above modules/libraries  are not present , install the same using yum install  or downliad the rpm file from the fedoraContinue reading “[Linux]How to install Skype 4.2 on Fedora 19/18/17/16/15/14”

[Linux driver]Module insertion error – “version magic ‘2.6.35 SMP mod_unload ‘ should be ‘2.6.35 SMP preempt mod_unload”


If you are getting the module insertion error in kernel , “version magic ‘2.6.35 SMP mod_unload ‘ should be ‘2.6.35 SMP preempt mod_unload”, while loading even a simple character driver , then rebuild your kernel by enabling preempt option , then build the driver module and try inserting .  Set following option in kernel configContinue reading “[Linux driver]Module insertion error – “version magic ‘2.6.35 SMP mod_unload ‘ should be ‘2.6.35 SMP preempt mod_unload””