[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 thisContinueContinue 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 which is to beContinueContinue reading “[Linux]Significance of rc.local”

Design a site like this with WordPress.com
Get started