DMA
DMA Read Operation:
1. DMAC transfers the data from the I/O device into the main memory.
2. DMAC issues an interrupt to the CPU signaling the reception of data.
3. CPU accesses the main memory and processes the received data
DMA Write Operation:
1. CPU writes the data into the main memory.
2. CPU signals the DMAC to start the transaction.
3. DMAC transfers the data from the main memory into the I/O device.
Two important properties of memory systems
Coherence and Consistency
Coherence concerns only one memory location
Consistency concerns apparent ordering for all locations
Coherence defines the behavior of reads and writes to the same memory location.
Consistency defines the behavior of reads and writes with respect to accesses to other memory locations.
Friday, January 16, 2009
Friday, January 9, 2009
HOWTO compile Android Linux on Fedora Core 9
Android - An Open Handset Alliance Project
Compile Linux Kernel
[ ]# mkdir -p /home/android/kernel
[ ]# cd /home/android/kernel
[ ]# wget http://android.googlecode.com/files/linux-2.6.25-android-1.0_r1.tar.gz
[ ]# tar zxvf linux-2.6.25-android-1.0_r1.tar.gz
[ ]# cd kernel.git
[ ]# make goldfish_defconfig
[ ]# CROSS_COMPILE=arm-linux- make
Android SDK
Download from Andriod
[ ]# cd /home/android
[ ]# wget http://dl.google.com/android/android-sdk-linux_x86-1.0_r2.zip
[ ]# unzip android-sdk-linux_x86-1.0_r2.zip
Execute the Emulator
[ ]# cd /home/android
[ ]# ./android-sdk-linux_x86-1.0_r2/tools/emulator -kernel kernel/kernel.git/arch/arm/boot/zImage
Here we go....

Compile the Emulator
[ ]# mkdir -p /home/android/emulator
[ ]# cd /home/android/emulator
[ ]# wget http://android.googlecode.com/files/android-emulator-1.0_r2.tar.bz2
[ ]# tar jxvf android-emulator-1.0_r2.tar.bz2
[ ]# cd android-emulator-20081210
Reference:
1. Android - An Open Handset Alliance Project
2. Google Code
Compile Linux Kernel
[ ]# mkdir -p /home/android/kernel
[ ]# cd /home/android/kernel
[ ]# wget http://android.googlecode.com/files/linux-2.6.25-android-1.0_r1.tar.gz
[ ]# tar zxvf linux-2.6.25-android-1.0_r1.tar.gz
[ ]# cd kernel.git
[ ]# make goldfish_defconfig
[ ]# CROSS_COMPILE=arm-linux- make
Android SDK
Download from Andriod
[ ]# cd /home/android
[ ]# wget http://dl.google.com/android/android-sdk-linux_x86-1.0_r2.zip
[ ]# unzip android-sdk-linux_x86-1.0_r2.zip
Execute the Emulator
[ ]# cd /home/android
[ ]# ./android-sdk-linux_x86-1.0_r2/tools/emulator -kernel kernel/kernel.git/arch/arm/boot/zImage
Here we go....

Compile the Emulator
[ ]# mkdir -p /home/android/emulator
[ ]# cd /home/android/emulator
[ ]# wget http://android.googlecode.com/files/android-emulator-1.0_r2.tar.bz2
[ ]# tar jxvf android-emulator-1.0_r2.tar.bz2
[ ]# cd android-emulator-20081210
Reference:
1. Android - An Open Handset Alliance Project
2. Google Code
HOWTO lock screen as root on Fedora Core 9
The default screen saver, xscreensaver, does not support this feature, so we need "xlockmore".
[ ]# yum install xlockmore
[ ]# yum install xautolock
[ ]# xlock
[ ]# yum install xlockmore
[ ]# yum install xautolock
[ ]# xlock
Wednesday, January 7, 2009
HOWTO Install Kermit on Fedora Core 9
Installation
[ ]# mkdir kermit
[ ]# cd kermit
[ ]# wget ftp://kermit.columbia.edu/kermit/archives/cku211.tar.gz
[ ]# tar zxvf cku211.tar.gz
[ ]# make linux
[ ]# make install
User Manual
[ ]# kermit -l /dev/ttyS0 -b 9600 -c
Reference:
1. http://www.columbia.edu/kermit
[ ]# mkdir kermit
[ ]# cd kermit
[ ]# wget ftp://kermit.columbia.edu/kermit/archives/cku211.tar.gz
[ ]# tar zxvf cku211.tar.gz
[ ]# make linux
[ ]# make install
User Manual
[ ]# kermit -l /dev/ttyS0 -b 9600 -c
Reference:
1. http://www.columbia.edu/kermit
Monday, December 29, 2008
HOWTO compile Optware on Fedora Core 9
1. Checkout source code from SVN server
[ ]# mkdir /home/NSLU2-Linux
[ ]# cd /home/NSLU2-Linux
[ ]# svn co http://svn.nslu2-linux.org/svnroot/optware/trunk optware
[ ]# cd optware
2.1 For Linksys NSLU2 platform:
[ ]# make nslu2-target
[ ]# make
2.2 For ts72xx platform:
[ ]# make ts72xx-target
[ ]# make
-- Failed
Reference:
1. http://trac.nslu2-linux.org/optware
2. http://peter.korsgaard.com/articles/debian-nslu2.php
[ ]# mkdir /home/NSLU2-Linux
[ ]# cd /home/NSLU2-Linux
[ ]# svn co http://svn.nslu2-linux.org/svnroot/optware/trunk optware
[ ]# cd optware
2.1 For Linksys NSLU2 platform:
[ ]# make nslu2-target
[ ]# make
2.2 For ts72xx platform:
[ ]# make ts72xx-target
[ ]# make
-- Failed
Reference:
1. http://trac.nslu2-linux.org/optware
2. http://peter.korsgaard.com/articles/debian-nslu2.php
Friday, December 26, 2008
HOWTO install/upgrade firefox-2 on Fedora Core 6 (FC6)
FC6 uses Firefox 1.5 by default. If you want to use Firefox 2, this blog is for you.
[ ]# wget http://rpms.famillecollet.com/fc6.i386/firefox2-2.0.0.14-1.fc6.remi.i386.rpm
[ ]# rpm -Uvh firefox2-2.0.0.14-1.fc6.remi.i386.rpm
Other RPM source:
firefox2-2.0.0.14-1.fc6.remi.i386.rpm
firefox2-devel-2.0.0.14-1.fc6.remi.i386.rpm
Reference:
1. HOWTO: Install Firefox 2.0 on Fedora Core 6
2. Installing Firefox 2 on Fedora Core 6
[ ]# wget http://rpms.famillecollet.com/fc6.i386/firefox2-2.0.0.14-1.fc6.remi.i386.rpm
[ ]# rpm -Uvh firefox2-2.0.0.14-1.fc6.remi.i386.rpm
Other RPM source:
firefox2-2.0.0.14-1.fc6.remi.i386.rpm
firefox2-devel-2.0.0.14-1.fc6.remi.i386.rpm
Reference:
1. HOWTO: Install Firefox 2.0 on Fedora Core 6
2. Installing Firefox 2 on Fedora Core 6
Subscribe to:
Posts (Atom)